Lerp ==== Linear interpolation. **Abstract Signature:** ``Lerp(input: Tensor, end: Tensor, weight: Tensor)`` .. raw:: html

PyTorch

API: torch.lerp
Strategy: Direct Mapping

JAX (Core)

API:
Strategy: Macro '{input} + {weight} * ({end} - {input})'

NumPy

API:
Strategy: Macro '{input} + {weight} * ({end} - {input})'

Keras

API:
Strategy: Macro '{input} + {weight} * ({end} - {input})'

TensorFlow

API:
Strategy: Macro '{input} + {weight} * ({end} - {input})'

Apple MLX

API:
Strategy: Macro 'mx.add({input}, mx.multiply({weight}, mx.subtract({end}, {input})))'

Flax NNX

API:
Strategy: Macro '{input} + {weight} * ({end} - {input})'

PaxML / Praxis

API:
Strategy: Macro '{input} + {weight} * ({end} - {input})'