Skip to content

Commit

Permalink
fix typo in doc
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Jan 18, 2022
1 parent 87c287e commit 62880c6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/tvm/relay/op/nn/nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -3789,7 +3789,7 @@ def conv2d_backward_weight(
r"""The gradient of conv2d with respect to weight.
This operator takes the output gradient `grad` as the convolution kernel
and convolves it with `data` to produce the gradeint with respect to weight.
and convolves it with `data` to produce the gradient with respect to weight.
Depending on an implementation, the roles of `data` and `grad` can be swapped
(For example, in CUTLASS `data` acts as the filter).
Expand Down
2 changes: 1 addition & 1 deletion src/relay/op/nn/convolution.cc
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ RELAY_REGISTER_OP("nn.conv2d_backward_weight")
.describe(R"code(The gradient of the 2D convolution layer with respect to the weight.
This layer computes the gradient of the conv2d op with respect to weight,
given the origial input data and the output gradient.
given the original input data and the output gradient.
- **data**: This depends on the `layout` parameter. Input is 4D array of shape
(batch_size, in_channels, height, width) if `layout` is `NCHW`.
Expand Down

0 comments on commit 62880c6

Please sign in to comment.