Calculates:
output = log2(exp2(input) + exp2(other)) Copy
output = log2(exp2(input) + exp2(other))
Gradient:
var ein = exp2(input); var eoth = exp2(other); var sum_ein_eoth = ein + eoth; inputGrad = outputGrad * (ein / sum_ein_eoth); otherGrad = outputGrad * (eoth / sum_ein_eoth ); Copy
var ein = exp2(input); var eoth = exp2(other); var sum_ein_eoth = ein + eoth; inputGrad = outputGrad * (ein / sum_ein_eoth); otherGrad = outputGrad * (eoth / sum_ein_eoth );
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: