hshatti / TONNXRuntime

TOnnxRuntime is a Microsoft ONNXRuntime AI and Machine Learning Library for Freepascal / Delphi
MIT License
49 stars 10 forks source link

fix range check exception when the input tensor is double of any scalar #9

Closed chinshou closed 4 months ago

chinshou commented 4 months ago

When the input tensor is a scalar, an exception will be thrown when calling GetShape.