Python wrappers
Public Python APIs implemented by this engine symbol.Autograd node for element-wise sine .
Saves the input x so the backward pass can evaluate and
scale the upstream gradient by it. The input is interpreted in radians.
Math
\frac{\partial y}{\partial x} = \cos(x), \qquad \frac{\partial \mathcal{L}}{\partial x} = \cos(x)\,\frac{\partial \mathcal{L}}{\partial y}.$$Attributes
schema_v1OpSchemaRegistered as
"sin" with AmpPolicy::Promote.Notes
Dispatch: Accelerate vvsinf/vvsin (CPU) / MLX sin (GPU).