获取aclTensor的总元素个数。
int64_t Numel()
无
返回aclTensor的总元素个数。
1 2 3 4
// 获取input的总元素个数 void Func(const aclTensor *input) { int64_t num = input->Numel(); }