Return right category of error. Use INVALID_ARGUMENT when the input is incorrect. (#1248)
Return right category of error. Use INVALID_ARGUMENT when the input is incorrect. (#1248)

* Return the right category of error.

* Return right category of error

microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime,microsoft/onnxruntime