Skip to content

Commit

Permalink
Fix Quant grammar (#2541)
Browse files Browse the repository at this point in the history
fixes #2539
  • Loading branch information
sdasgup3 authored Sep 12, 2024
1 parent 5790920 commit 7e89e4c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,15 +133,15 @@ QuantizedTensorElementType ::= '!quant.uniform' '<'
[':' QuantizationDimension]
',' QuantizationParameters '>'
QuantizationStorageType ::= IntegerType
QuantizationStorageMin ::= IntegerConstant
QuantizationStorageMax ::= IntegerConstant
QuantizationStorageMin ::= IntegerLiteral
QuantizationStorageMax ::= IntegerLiteral
QuantizationExpressedType ::= FloatType
QuantizationDimension ::= IntegerConstant
QuantizationDimension ::= IntegerLiteral
QuantizationParameters ::= QuantizationParameter
| '{' QuantizationParameter {',' QuantizationParameter} '}'
QuantizationParameter ::= QuantizationScale ':' QuantizationZeroPoint
QuantizationScale ::= FloatConstant
QuantizationZeroPoint ::= IntegerConstant
QuantizationParameter ::= QuantizationScale [':' QuantizationZeroPoint]
QuantizationScale ::= FloatLiteral
QuantizationZeroPoint ::= IntegerLiteral
```

| Name | Type | Constraints |
Expand Down

0 comments on commit 7e89e4c

Please sign in to comment.