uint8_img_to_float_img

ivy.uint8_img_to_float_img(x, f=None)[source]

Converts an image of uint8 values into a bit-cast float image.

Parameters
  • x (array) – Input uint8 image [batch_shape,h,w,4].

  • f (ml_framework, optional) – Machine learning library. Inferred from inputs if None.

Returns

The new float image [batch_shape,h,w]


Supported Frameworks:

empty jax_logo empty tf_logo empty pytorch_logo empty mxnet_logo empty numpy_logo empty