Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
masahi committed Mar 12, 2020
1 parent a629ec8 commit dd3d3c7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion include/tvm/relay/attrs/nn.h
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ struct AdaptivePool3DAttrs : public tvm::AttrsNode<AdaptivePool3DAttrs> {
.describe("Output depth, height and width.");
TVM_ATTR_FIELD(layout).set_default("NCDHW")
.describe("Dimension ordering of data and weight. Can be 'NCDHW', 'NDHWC', etc."
"'N', 'D', 'C', 'H', 'W' stands for batch, dpeth channel, height, and width"
"'N', 'C', 'D', 'H', 'W' stands for batch, channel, depth, height, and width"
"dimensions respectively. Convolution is applied on 'D', 'H' and"
"'W' dimensions.");
}
Expand Down
4 changes: 2 additions & 2 deletions python/tvm/relay/op/nn/nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -2394,7 +2394,7 @@ def adaptive_max_pool3d(data,
as output depth, height and width.
If a single integer is provided for output_size, the output size is
(N x C x output_size, output_size x output_size) for any input (NCDHW).
(N x C x output_size x output_size x output_size) for any input (NCDHW).
If a tuple of integers (depth, height, width) are provided for output_size,
the output size is (N x C x depth x height x width) for any input (NCDHW).
Expand Down Expand Up @@ -2440,7 +2440,7 @@ def adaptive_avg_pool3d(data,
as output depth, height and width.
If a single integer is provided for output_size, the output size is
(N x C x output_size, output_size x output_size) for any input (NCDHW).
(N x C x output_size x output_size x output_size) for any input (NCDHW).
If a tuple of integers (depth, height, width) are provided for output_size,
the output size is (N x C x depth x height x width) for any input (NCDHW).
Expand Down
4 changes: 2 additions & 2 deletions src/relay/op/nn/pooling.cc
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ RELAY_REGISTER_OP("nn.adaptive_max_pool3d")
If a single integer is provided for output_size, the output size is
(N x C x output_size x output_size x output_size) for any input (NCDHW).
If a tuple of integers (depth, height, width) are provided for output_size,
the output size is (N x C x depth, height x width) for any input (NCDHW).
the output size is (N x C x depth x height x width) for any input (NCDHW).
- **out**: This depends on the `layout` parameter. Output is 5D array of shape
(batch_size, channels, output_depth, output_height, output_width) if `layout` is `NCDHW`.
Expand Down Expand Up @@ -736,7 +736,7 @@ RELAY_REGISTER_OP("nn.adaptive_avg_pool3d")
If a single integer is provided for output_size, the output size is
(N x C x output_size x output_size x output_size) for any input (NCDHW).
If a tuple of integers (depth, height, width) are provided for output_size,
the output size is (N x C x depth, height x width) for any input (NCDHW).
the output size is (N x C x depth x height x width) for any input (NCDHW).
- **out**: This depends on the `layout` parameter. Output is 5D array of shape
(batch_size, channels, output_depth, output_height, output_width) if `layout` is `NCDHW`.
)code" TVM_ADD_FILELINE)
Expand Down

0 comments on commit dd3d3c7

Please sign in to comment.