Crate image2tensor
source ·Enums§
Functions§
- Calculate the expected tensor data size of an image of
width
xheight
with the givenprecision
. - Same as convert_image_to_tensor_bytes but accepts a
bytes
slice instead.
width
x height
with the given
precision
.bytes
slice instead.