Function tensorflow::eager::raw_ops::softmax_cross_entropy_with_logits
source · pub fn softmax_cross_entropy_with_logits<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
ctx: &'a Context,
features: &T0,
labels: &T1
) -> Result<[TensorHandle<'a>; 2]>
Expand description
Shorthand for SoftmaxCrossEntropyWithLogits::new().call(&ctx, &features, &labels)
.
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/SoftmaxCrossEntropyWithLogits