TensorDesc

Function

This API defines the tensor description information.

Structure Definition

struct TensorDesc { 
    size_t tensorSize; 
    std::string tensorName; 
    std::vector<int64_t> tensorDims; 
};

Parameter Description

Parameter

Input/Output

Description

tensorSize

Output

Tensor size in bytes

tensorName

Output

Tensor name

tensorDims

Output

Tensor dimension