Calculates:
output = tan(input) Copy
output = tan(input)
Gradient:
inputGrad = outputGrad / (cos(input) * cos(input)) Copy
inputGrad = outputGrad / (cos(input) * cos(input))
the input tensor of any shape
the output tensor
Generated using TypeDoc
Calculates:
Gradient: