类说明
Tensor数据类,作为模型推理的输入与输出的数据结构。
Tensor类涉及申请Device侧资源,与MxDeInit的作用域冲突,因此,其作用域不能大于或等于MxDeInit的作用域。
父主题:
Tensor