get_tensor
产品支持情况
产品 |
是否支持 |
---|---|
x |
|
√ |
|
x |
|
x |
|
x |
函数功能
获取FlowMsg中的tensor对象。
函数原型
1 | get_tensor() -> dataflow.Tensor |
参数说明
无
返回值
返回dataflow.Tensor类型对象。
异常处理
无
约束说明
如果FlowMsg中是空,则tensor返回None。
父主题: FlowMsg类
产品 |
是否支持 |
---|---|
x |
|
√ |
|
x |
|
x |
|
x |
获取FlowMsg中的tensor对象。
1 | get_tensor() -> dataflow.Tensor |
无
返回dataflow.Tensor类型对象。
无
如果FlowMsg中是空,则tensor返回None。