VariableΒΆ

The base class for all Variable types.

Abstract Signature:

Variable(value)

PyTorch

API: torch.nn.Parameter
Strategy: Plugin (nnx_param_to_torch)

Keras

API: keras.Variable
Strategy: Direct Mapping

TensorFlow

API: tf.Variable
Strategy: Direct Mapping

Apple MLX

API: mlx.core.array
Strategy: Direct Mapping

Flax NNX

API: flax.nnx.Variable
Strategy: Direct Mapping