Operation Namespaces
// ND4J mode
INDArray output = Nd4j.loss.absoluteDifference(labels, predictions, null);
// SameDiff mode
SDVariable output = SameDiff.loss.absoluteDifference(labels, predictions, null);Namespaces
Last updated
Was this helpful?