add informative error message regarding symbolic dimensions (#4297)
add informative error message regarding symbolic dimensions (#4297)

* add informative error message regarding symbolic dimensions

* fix code format and move negative value check in for loop
microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime