SubΒΆ
Subtracts other from input.
Abstract Signature:
Sub(input: Tensor, other: Tensor, alpha: float = 1.0)
JAX (Core)
API:
optax.tree.subStrategy: Macro 'jax.numpy.subtract({input}, {other} * {alpha})'
NumPy
API:
numpy.f2py.symbolic.ArithOp.SUBStrategy: Macro 'numpy.subtract({input}, {other} * {alpha})'
Keras
API:
keras.ops.subtractStrategy: Macro 'keras.ops.subtract({input}, {other} * {alpha})'
TensorFlow
API:
tf.math.subtractStrategy: Macro 'tf.math.subtract({input}, {other} * {alpha})'
Apple MLX
API:
mx.subtractStrategy: Macro 'mlx.core.subtract({input}, {other} * {alpha})'
NVIDIA SASS
API:
FADDStrategy: Direct Mapping