intel / onnxruntime

ONNX Runtime: cross-platform, high performance scoring engine for ML models
MIT License
57 stars 23 forks source link

Validate numeric input for number of threads and Updated the docker script for ubuntu 22 #411

Closed jatinwadhwa921 closed 3 months ago

jatinwadhwa921 commented 3 months ago
  1. Add check to ensure input for 'num_of_threads' is a valid numeric string
  2. Prevent conversion of non-numeric strings (e.g., '1b', '1#c') to integers
  3. Throw exception for invalid inputs to improve error handling
  4. Updated the docker script for ubuntu 22
preetha-intel commented 3 months ago

LGTM