encoderModel_add_logit_loss {scAlign} | R Documentation

## Add classifier loss component

### Description

Cross entropy of labels and predictions

### Usage

    encoderModel_add_logit_loss(logits, labels, weight = 1)

### Arguments

`logits` | cell x label logits
`labels` | cell x 1 true labels
`weight` | Scale of classifier loss component
`smoothing` | tensorflow label_smoothing (unused)

### Value

Tensorflow loss op

[Package scAlign version 1.8.0 Index]