API symbolsvision_to_tensor
Copy
tensorplay.vision_to_tensor
- tensorplay.vision_to_tensor(image: Annotated[numpy.typing.ArrayLike, numpy.uint8]) tensorplay::Tensor
Optimized conversion from HWC uint8 image to CHW float32 tensor (div 255)
Help improve this page
Found an error, an unclear step, or a missing example?
Was this page helpful?

