Skip to content

[core] [add] Reciprocal operation

Context

To implement LayerNormalization meta-operation aidge_onnx#79 (moved), we should add support for Reciprocal operation.

Forward equation:

y = \frac{1}{x}

Backward equation:

\frac{\partial \mathcal{L}}{\partial x} = - \frac{\partial \mathcal{L}}{\partial y} \odot x^{-2}

Edited by Maxence Naud