GetTensor

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

x

Atlas inference products

x

Atlas training products

x

Function Description

Obtains the tensor pointer in FlowMsg.

Prototype

1
Tensor *GetTensor() const

Command-Line Options

None

Returns

Pointer to the tensor type.

Troubleshooting

None

Constraints

The pointer to the tensor type can be obtained only when the message type is TENSOR_DATA_TYPE. Otherwise, NULL is returned.