---
title: E10012 Invalid_Argument_Tensor_Input_Shape
description: "--dynamic_batch_size is included, but the dimension count of the dynamic-shape input configured in --input_shape is less than 1."
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/troubleshooting/atlaserrorcode_15_0012.html
sourcePath: /source/zh/canncommercial/900/maintenref/troubleshooting/atlaserrorcode_15_0012.html
indexId: e55ad4c2b54131841731bac36f8032f9eb5392ae2d5035130bfbdde623f7e92184
---
# 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.
