get_size接口
接口功能
获取张量对象数据大小。
C++函数原型
size_t GetSize() const
Python函数
get_size()
接口参数
无。
使用样例
tensor_size = infer_tensor.get_size()
父主题:
InferTensor