Comments (1)
Good question! It is a bit mystifying. Looking at the rest of the spec., my interpretation is that axis
is a relevant attribute only when not doing a per-tensor quantization (that is, when doing a per-axis or blocked-quantization). And that rank of the x_scale
input is being used to determine if it is per-tensor quantization or not. And that the default-value of axis applies only if it is not per-tensor quantization.
It would be great to improve the documentation, but the behavior seems reasonable (with some minor tradeoff to having a default-value ... it might have been better not to have a default-value and produced a warning message if the attribute is specified for per-tensor quantization).
from onnx.
Related Issues (20)
- Model zoo test failures HOT 1
- DequantizeLinear spec clarification: What happens if the subtraction overflows/underflows? HOT 1
- the model for UniqueOp in backend test is not always correct for different input
- A conflict doc abount compatibility between Onnx Version & ML Opset Version HOT 2
- [Shape Inference] Robustness of `ConstantOfShape` operator HOT 2
- Numpy 2.0.0rc2 causes `pytest` on ONNX to fail HOT 2
- How to modify Slice attribute HOT 4
- Error While Installing ONNX HOT 3
- Export onnx model from pytorch with dynamic input size, output tensor doesn't match. HOT 9
- Discussion on the Correct Approach for Converting ONNX Models to Other Frameworks HOT 2
- Way to swap parameters inside .onnx graph (LoRA functionality) HOT 6
- docs/Operators.md missing input type description at Constant HOT 1
- React Native Support HOT 1
- [Question] Where is `onnx-operators-ml.pb.h` HOT 1
- onnx.shape_inference.infer_shapes creates a blank graph when passed a >2GB model HOT 1
- Test using bfloat16 and model input/output HOT 1
- Missing type support in parser for various types (float16, bfloat16, ...) HOT 1
- INT4 TensorProto byte size is 5x larger than expected with negative values
- The PixelUnshuffle op Cannot be converted to SpaceToDepth HOT 2
- OperatorSetProto.onnx: the instance of immutable operator set domain ai.onnx and ai.onnx.ml HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from onnx.