encoderModel_add_logit_loss: Add classifier loss component

Description Usage Arguments Value

View source: R/backend_encoder.R

Description

Cross entropy of labels and predictions

Usage

1
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


quon-titative-biology/scAlign documentation built on Nov. 17, 2021, 9:57 a.m.