Struct SnpeUdo_TensorInfo_t

Struct Documentation

struct SnpeUdo_TensorInfo_t

A struct which defines tensor information for activation tensors only.

It describes an activation tensor object using its name, the intended layout and the datatype it will take depending on the intended runtime core. The repeated field indicates that that the tensor info describes several input/output activation tensors, which all share the aforementioned properties.

Public Members

SnpeUdo_String_t tensorName

The tensor name.

SnpeUdo_TensorLayout_t layout

The tensor layout type: NCHW, NHWC, etc.

SnpeUdo_PerCoreDatatype_t *perCoreDatatype

The per core datatype: {SNPE_UDO_DATATYPE, SNPE_UDO_CORE_TYPE}.

bool repeated

A boolean field indicating that this tensorinfo will be repeated e.x for ops such as Concat or Split.

bool isStatic

A boolean field indicating whether input is static or not.