Tensor构造函数和析构函数
产品支持情况
产品 |
是否支持 |
---|---|
√ |
|
x |
|
x |
|
x |
函数功能
Tensor构造函数和析构函数。
函数原型
1 | __init__(self, data: Any, *, tensor_desc: TensorDesc = None) -> None |
参数说明
无
返回值
返回dataflow模块Tensor类型的对象。
异常处理
无
约束说明
无
父主题: Tensor类
产品 |
是否支持 |
---|---|
√ |
|
x |
|
x |
|
x |
Tensor构造函数和析构函数。
1 | __init__(self, data: Any, *, tensor_desc: TensorDesc = None) -> None |
无
返回dataflow模块Tensor类型的对象。
无
无