昇腾社区首页
中文
注册
开发者
下载

E10012 Invalid_Argument_Tensor_Input_Shape

Symptom

--dynamic_batch_size is included, but the dimension count of the dynamic-shape input configured in --input_shape is less than 1.

Solution

  1. In static shape scenarios, remove the --dynamic_batch_size option from your command line.
  2. In dynamic shape scenarios, set the corresponding axis of the dynamic-shape input in --input_shape to -1.