ToFlowMsg(tensor) 函数功能根据输入的tensor转换成用于承载tensor的FlowMsg。 函数原型1FlowMsgPtr ToFlowMsg(const Tensor &tensor) 参数说明 参数名 输入/输出 描述 tensor 输入 Tensor对象。 返回值转换的FlowMsg指针。 异常处理转换失败则返回NULL。 约束说明无。 父主题: FlowBufferFactory数据类型