Skip to content

Commit a339598

Browse files
fumihwhhouseroad
authored andcommitted
fix ConvTranspose spec (#1566)
1 parent 882c528 commit a339598

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎docs/Changelog.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ This version of the operator has been available since version 1 of the default O
787787
<dt><tt>W</tt> : T</dt>
788788
<dd>The weight tensor that will be used in the convolutions; has size (C x M/group x kH x kW), where C is the number of channels, and kH and kW are the height and width of the kernel, and M is the number of feature maps. For more than 2 dimensions, the weight shape will be (C x M/group x k1 x k2 x ... x kn), where (k1 x k2 x ... x kn) is the dimension of the kernel. The number of channels in the output should be equal to W.shape[1] * group (assuming zero based indices of the shape array)</dd>
789789
<dt><tt>B</tt> (optional) : T</dt>
790-
<dd>Optional 1D bias to be added to the convolution, has size of C.</dd>
790+
<dd>Optional 1D bias to be added to the convolution, has size of M.</dd>
791791
</dl>
792792

793793
#### Outputs

‎docs/Operators.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2233,7 +2233,7 @@ This version of the operator has been available since version 1 of the default O
22332233
<dt><tt>W</tt> : T</dt>
22342234
<dd>The weight tensor that will be used in the convolutions; has size (C x M/group x kH x kW), where C is the number of channels, and kH and kW are the height and width of the kernel, and M is the number of feature maps. For more than 2 dimensions, the weight shape will be (C x M/group x k1 x k2 x ... x kn), where (k1 x k2 x ... x kn) is the dimension of the kernel. The number of channels in the output should be equal to W.shape[1] * group (assuming zero based indices of the shape array)</dd>
22352235
<dt><tt>B</tt> (optional) : T</dt>
2236-
<dd>Optional 1D bias to be added to the convolution, has size of C.</dd>
2236+
<dd>Optional 1D bias to be added to the convolution, has size of M.</dd>
22372237
</dl>
22382238

22392239
#### Outputs

‎onnx/defs/nn/defs.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ output_shape can also be explicitly specified in which case pads values are auto
879879
schema.Input(
880880
2,
881881
"B",
882-
"Optional 1D bias to be added to the convolution, has size of C.",
882+
"Optional 1D bias to be added to the convolution, has size of M.",
883883
"T",
884884
OpSchema::Optional);
885885
schema.Output(

0 commit comments

Comments
 (0)