Class SoftmaxCrossEntropyWithLogits

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.