E10405 Invalid_Argument

错误信息

报错格式如下,占位符%s的含义依次为内存大小、tensor数量:

The number of input buffers is %s, which does not match the number of input tensors %s.

报错示例如下:

The number of input buffers is 5, which does not match the number of input tensors 4.

解决方法

检查算子inputDesc和inputs中的元素个数是否设置正确,可能涉及aclopExecuteV2和aclopCompileAndExecute接口,接口说明请参见官方文档。