get_tensor

Applicability

Product

Supported

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

x

Atlas inference product

x

Atlas training product

x

Function Description

Obtains the tensor object of FlowMsg.

Prototype

1
get_tensor() -> dataflow.Tensor

Parameters

None

Returns

Object of the dataflow.Tensor type

Exception Handling

None

Constraints

If FlowMsg is empty, None is returned for the tensor.