get_msg_type
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Obtains the message type of FlowMsg.
Prototype
1 | get_msg_type(self) |
Parameters
None
Returns
Message type of class FlowMsg
1 2 3 4 5 | import dataflow.flow_func.flow_func as ff # The following values are returned: ff.MSG_TYPE_TENSOR_DATA ff.MSG_TYPE_RAW_MSG # If the value is greater than or equal to 1,024, the type is defined by a user. |
Exception Handling
None
Constraints
None
Parent topic: Class FlowMsg