Skip to content

Commit

Permalink
fix some typo in conv2d.py (apache#12067)
Browse files Browse the repository at this point in the history
  • Loading branch information
jikechao authored and masahi committed Jul 15, 2022
1 parent ec82ed9 commit 10f451f
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions python/tvm/topi/nn/conv2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -977,9 +977,9 @@ def _conv2d_winograd_nhwc_impl(
Parameters
----------
data : tvm.Tensor
data : tvm.te.Tensor
4-D with shape [batch, in_height, in_width, in_channel]
weight : tvm.Tensor
weight : tvm.te.Tensor
4-D with shape [filter_height, filter_width, in_channel, num_filter]
strides : int or a list/tuple of two ints
stride size, or [stride_height, stride_width]
Expand All @@ -1000,7 +1000,7 @@ def _conv2d_winograd_nhwc_impl(
Returns
-------
output : tvm.Tensor
output : tvm.te.Tensor
4-D with shape [batch, out_height, out_width, out_channel]
"""
N, H, W, CI = get_const_tuple(data.shape)
Expand Down Expand Up @@ -1159,9 +1159,9 @@ def conv2d_winograd_nhwc(
Parameters
----------
data : tvm.Tensor
data : tvm.te.Tensor
4-D with shape [batch, in_height, in_width, in_channel]
weight : tvm.Tensor
weight : tvm.te.Tensor
4-D with shape [filter_height, filter_width, in_channel, num_filter]
strides : int or a list/tuple of two ints
stride size, or [stride_height, stride_width]
Expand All @@ -1180,7 +1180,7 @@ def conv2d_winograd_nhwc(
Returns
-------
output : tvm.Tensor
output : tvm.te.Tensor
4-D with shape [batch, out_height, out_width, out_channel]
"""
tile_size = 4
Expand Down Expand Up @@ -1214,9 +1214,9 @@ def conv2d_winograd_nhwc_without_weight_transform(
Parameters
----------
data : tvm.Tensor
data : tvm.te.Tensor
4-D with shape [batch, in_height, in_width, in_channel]
weight : tvm.Tensor
weight : tvm.te.Tensor
4-D with shape [filter_height, filter_width, in_channel, num_filter]
strides : int or a list/tuple of two ints
stride size, or [stride_height, stride_width]
Expand All @@ -1233,7 +1233,7 @@ def conv2d_winograd_nhwc_without_weight_transform(
Returns
-------
output : tvm.Tensor
output : tvm.te.Tensor
4-D with shape [batch, out_height, out_width, out_channel]
"""

Expand Down

0 comments on commit 10f451f

Please sign in to comment.