FillΒΆ
Creates a tensor filled with a scalar value.
Abstract Signature:
Fill(input: Tensor, value: float)
TensorFlow
API:
tf.fillStrategy: Macro 'tf.fill(tf.shape({input}), {value})'
Apple MLX
API:
mlx.core.fullStrategy: Macro 'mx.full({input}.shape, {value}, dtype={input}.dtype)'