Class SoftmaxCrossEntropyWithLogits
Defined in File softmax_cross_entropy_with_logits.h
Inheritance Relationships
Base Type
public mindspore::ops::BaseOperator
Class Documentation
-
class SoftmaxCrossEntropyWithLogits : public mindspore::ops::BaseOperator
Gets the softmax cross-entropy value between logits and labels with one-hot encoding. Refer to Python API mindspore.ops.SoftmaxCrossEntropyWithLogits for more details.
Public Functions
-
inline SoftmaxCrossEntropyWithLogits()
Constructor.
-
inline void Init() const
Init.
-
inline SoftmaxCrossEntropyWithLogits()