---
title: E10018 Invalid_Argument_Tensor_Dynamic_Shape
description: "Value %s for shape %s is invalid. When --dynamic_batch_size is included, only batch size N can be -1 in --input_shape."
url: https://www.hiascend.com/document/detail/zh/canncommercial/latest/maintenref/troubleshooting/atlaserrorcode_15_0018.html
sourcePath: /source/zh/canncommercial/900/maintenref/troubleshooting/atlaserrorcode_15_0018.html
indexId: 6551a8be80d00a59592321dff833d11b09c5c9c68fe76e8eb29b49f8d32e695e84
---
# E10018 Invalid_Argument_Tensor_Dynamic_Shape

#### Symptom

Value %s for shape %s is invalid. When --dynamic_batch_size is included, only batch size N can be -1 in --input_shape.


#### Solution

Try again with a valid --input_shape argument. Make sure that non-batch size axes are not -1.
