Open OAHLSTM opened 6 months ago
AFAIK our Tensor interface provides no interface to query such metadata. As for can it be ascertained at the model level, tagging @yufenglee as I am not sure about that.
Hello @yufenglee , Any update on the topic ?
Thank you for your support,
This issue has been automatically marked as stale due to inactivity and will be closed in 30 days if no further activity occurs. If further support is needed, please provide an update and/or more details.
Describe the issue
Hello, I'm trying to get quantization parameters from an input tensor such as the quantization type (Static Linear per tensor/ Static linear per channel/ dynamic) and the associated quantization parameter (scales & zero_points). In tensorflow-lite, we are able to check if the model is quantized statically per-tensor or per-channel by simply doing:
I was wondering if there are any ways to do similar quantization parameters retrieving using onnxruntime. Thank you for your help.
To reproduce
Not applicable
Urgency
This is really urgent since we are migrating from tensorflow-lite to onnxruntime, and this feature is kind of crucial for our implementation.
Platform
Linux
OS Version
Ubuntu 22.04
ONNX Runtime Installation
Built from Source
ONNX Runtime Version or Commit ID
1.15.1
ONNX Runtime API
C++
Architecture
X64
Execution Provider
Default CPU
Execution Provider Library Version
No response