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


scAlign documentation built on April 28, 2020, 6:10 p.m.