ToFlowMsg (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

Converts the input tensor to FlowMsg that carries tensors.

Prototype

1
FlowMsgPtr ToFlowMsg(const Tensor &tensor)

Parameters

Parameter

Input/Output

Description

tensor

Input

Tensor object.

Returns

Pointer to the converted FlowMsg.

Exception Handling

NULL is returned if the conversion fails.

Constraints

None