UInt8ΒΆ
8-bit unsigned integer type/constructor.
Abstract Signature:
UInt8(value = 0)
PyTorch
API:
βStrategy: Macro 'torch.tensor({value}, dtype=torch.uint8)'
Keras
API:
keras.ops.castStrategy: Macro 'keras.ops.cast({value}, 'uint8')'
TensorFlow
API:
tf.castStrategy: Macro 'tf.cast({value}, tf.uint8)'
Apple MLX
API:
mlx.core.arrayStrategy: Macro 'mlx.core.array({value}, dtype=mlx.core.uint8)'