Calculates:
output = input == 0.0 ? 0.0 : input * log(other) Copy
output = input == 0.0 ? 0.0 : input * log(other)
Gradient:
inputGrad = input == 0.0 ? 0.0 : outputGrad * log(other); otherGrad = input == 0.0 ? 0.0 : outputGrad * (input / other); Copy
inputGrad = input == 0.0 ? 0.0 : outputGrad * log(other); otherGrad = input == 0.0 ? 0.0 : outputGrad * (input / other);
the input tensor of any shape
the other tensor whose shape is broadcastable with the input tensor
the output tensor
Generated using TypeDoc
Calculates:
Gradient: