Skip to content

Commit

Permalink
fix output type
Browse files Browse the repository at this point in the history
Signed-off-by: Xavier Dupre <xadupre@microsoft.com>
  • Loading branch information
xadupre committed Aug 7, 2023
1 parent 21aa30c commit 8e0fdf3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -24042,7 +24042,7 @@ This version of the operator has been available since version 20 of the default
<dl>
<dt><tt>y</tt> : T2</dt>
<dd>Quantized output tensor</dd>
<dt><tt>y_scale</tt> : tensor(float)</dt>
<dt><tt>y_scale</tt> : T1</dt>
<dd>Output scale. It's a scalar, which means a per-tensor/layer quantization.</dd>
<dt><tt>y_zero_point</tt> : T2</dt>
<dd>Output zero point. It's a scalar, which means a per-tensor/layer quantization.</dd>
Expand Down
2 changes: 1 addition & 1 deletion docs/Operators.md
Original file line number Diff line number Diff line change
Expand Up @@ -7952,7 +7952,7 @@ Other versions of this operator: <a href="Changelog.md#DynamicQuantizeLinear-11"
<dl>
<dt><tt>y</tt> : T2</dt>
<dd>Quantized output tensor</dd>
<dt><tt>y_scale</tt> : tensor(float)</dt>
<dt><tt>y_scale</tt> : T1</dt>
<dd>Output scale. It's a scalar, which means a per-tensor/layer quantization.</dd>
<dt><tt>y_zero_point</tt> : T2</dt>
<dd>Output zero point. It's a scalar, which means a per-tensor/layer quantization.</dd>
Expand Down
2 changes: 1 addition & 1 deletion onnx/defs/quantization/defs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ ONNX_OPERATOR_SET_SCHEMA(
1,
"y_scale",
"Output scale. It's a scalar, which means a per-tensor/layer quantization.",
"tensor(float)")
"T1")
.Output(
2,
"y_zero_point",
Expand Down

0 comments on commit 8e0fdf3

Please sign in to comment.