GetMsgType

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

Prototype

1
MsgType GetMsgType() const

Command-Line Options

None

Returns

Message type of FlowMsg.

1
2
3
4
5
6
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_TENSOR_LIST = 2,          // raw data msg type
    MSG_TYPE_USER_DEFINE_START = 1024  // user define type start
};

Troubleshooting

None

Constraints

None