operator=接口
接口功能
禁用InferTensor的拷贝赋值函数。
接口格式
InferTensor &operator=(const InferTensor &other) = delete;
接口参数
参数 |
是否必选 |
说明 |
取值要求 |
---|---|---|---|
other |
是 |
其他的InferTensor对象。 |
InferTensor对象。 |
使用样例
无。
返回值
无。
父主题: InferTensor
禁用InferTensor的拷贝赋值函数。
InferTensor &operator=(const InferTensor &other) = delete;
参数 |
是否必选 |
说明 |
取值要求 |
---|---|---|---|
other |
是 |
其他的InferTensor对象。 |
InferTensor对象。 |
无。
无。