GetMsgType

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 message type of FlowMsg.

Prototype

1
MsgType GetMsgType() const

Parameters

None

Returns

Message type of FlowMsg.

1
2
3
4
5
enum class MsgType : uint16_t {
    MSG_TYPE_TENSOR_DATA = 0,          // tensor data msg type
    MSG_TYPE_RAW_MSG = 1,              // raw data msg type
    MSG_TYPE_USER_DEFINE_START = 1024  // user define type start
};

Exception Handling

None

Constraints

None