to_flow_msg

Applicable Products

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

Converts a dataflow tensor into a FlowMsg.

Prototype

1
to_flow_msg(self, tensor)

Parameters

Parameter

Input/Output

Description

tensor

Input

Dataflow tensor to be converted.

Returns

The FlowMsg instance is returned in normal scenarios. None is returned in failure scenarios.

Exception Handling

None

Constraints

None