ToFlowMsg
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Converts the input tensor to FlowMsg used to carry the tensor.
Prototype
1 | virtual std::shared_ptr<FlowMsg> ToFlowMsg(std::shared_ptr<Tensor> tensor) |
Command-Line Options
Parameter |
Input/Output |
Description |
|---|---|---|
tensor |
Input |
Pointer to a tensor. |
Returns
Pointer to the converted FlowMsg.
Troubleshooting
If the conversion fails, NULL is returned.
Constraints
None
Parent topic: GetOutputNum