diff --git a/docs/spec.md b/docs/spec.md index bdfe4df4d20..e6f94f3e9a8 100644 --- a/docs/spec.md +++ b/docs/spec.md @@ -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 |