get_original_tensor

Function Usage

Obtains tensor objects in the valid range of an image.

The following image color gamut types are supported:

If you want to convert an image into ndarray, use this API to convert the image into a tensor on the host and then into ndarray.

Prototype

1
get_original_tensor()

Response Parameters

Tensor