Skip to content

Commit

Permalink
Editorial: Fix an instance of "nchw" enum member styling/linking
Browse files Browse the repository at this point in the history
  • Loading branch information
inexorabletash committed Jul 22, 2024
1 parent 487a992 commit 0a5839d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1922,7 +1922,7 @@ partial interface MLGraphBuilder {
interpreted according to the value of *options*.{{MLConv2dOptions/filterLayout}} and *options*.{{MLConv2dOptions/groups}}.
- <dfn>options</dfn>: an {{MLConv2dOptions}}. The optional parameters of the operation.

**Returns:** an {{MLOperand}}. The output 4-D tensor that contains the convolution result. The output shape is interpreted according to the *options*.{{MLConv2dOptions/inputLayout}} value. More specifically, the spatial dimensions or the sizes of the last two dimensions of the output tensor for the *nchw* input layout can be calculated as follows:
**Returns:** an {{MLOperand}}. The output 4-D tensor that contains the convolution result. The output shape is interpreted according to the *options*.{{MLConv2dOptions/inputLayout}} value. More specifically, the spatial dimensions or the sizes of the last two dimensions of the output tensor for the {{MLInputOperandLayout/"nchw"}} input layout can be calculated as follows:

`outputSize = 1 + (inputSize - (filterSize - 1) * dilation - 1 + beginningPadding + endingPadding) / stride`
</div>
Expand Down

0 comments on commit 0a5839d

Please sign in to comment.