Detach_ ======= Detaches the Tensor from the graph in-place. **Abstract Signature:** ``Detach_(input: Tensor)`` .. raw:: html

PyTorch

API: torch.detach_
Strategy: Direct Mapping

JAX (Core)

API: jax.lax.stop_gradient
Strategy: Direct Mapping

NumPy

API:
Strategy: Macro '{input}'

Keras

API: keras.ops.stop_gradient
Strategy: Direct Mapping

TensorFlow

API: tf.stop_gradient
Strategy: Direct Mapping

Apple MLX

API: mlx.core.stop_gradient
Strategy: Direct Mapping

Flax NNX

API: jax.lax.stop_gradient
Strategy: Direct Mapping

PaxML / Praxis

API: jax.lax.stop_gradient
Strategy: Direct Mapping