RsubΒΆ
Subtracts input from other (other - input) scaling input by alpha.
Abstract Signature:
Rsub(input: Tensor, other: Tensor, alpha: float = 1)
JAX (Core)
API:
βStrategy: Macro '{other} - ({input} * {alpha})'
NumPy
API:
βStrategy: Macro 'numpy.subtract({other}, {input} * {alpha})'
Keras
API:
βStrategy: Macro 'keras.ops.subtract({other}, {input} * {alpha})'
TensorFlow
API:
βStrategy: Macro 'tf.math.subtract({other}, {input} * {alpha})'
Apple MLX
API:
βStrategy: Macro 'mlx.core.subtract({other}, {input} * {alpha})'
Flax NNX
API:
βStrategy: Macro '{other} - ({input} * {alpha})'
PaxML / Praxis
API:
βStrategy: Macro '{other} - ({input} * {alpha})'