ConvertToTensor

Function Usage

Converts the Image class to the Tensor class. If the conversion fails, an empty tensor example is returned.

If the Tensor class fails to be constructed due to insufficient memory or unidentified processor, an exception occurs.

Prototype

Tensor ConvertToTensor();

Return Parameter Description

Data Structure

Description

Tensor

Tensor class. For details, see Tensor.