TensorDesc

Description

Defines the tensor description information.

Structure Definition

1
2
3
4
5
struct TensorDesc { 
    size_t tensorSize; 
    std::string tensorName; 
    std::vector<int64_t> tensorDims; 
};

Parameters

Parameter

Input/Output

Description

tensorSize

Output

Tensor size, in bytes

tensorName

Output

Tensor name

tensorDims

Output

Tensor dimension