ToFlowMsg
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Description
Converts the input tensor to FlowMsg that carries tensors.
Prototype
1 | virtual std::shared_ptr<FlowMsg> ToFlowMsg(std::shared_ptr<Tensor> tensor) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
tensor |
Input |
Pointer to a tensor. |
Returns
Pointer to the converted FlowMsg.
Exception Handling
NULL is returned if the conversion fails.
Constraints
None
Parent topic: Class MetaRunContext