Skip to content

Commit f1ee0b4

Browse files
authored
Fix misspelling (#1800)
Signed-off-by: Masahiro Hiramori <[email protected]> Signed-off-by: mshr-h <[email protected]>
1 parent fd93ca8 commit f1ee0b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tf2onnx/onnx_opset/nn.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ def get_channels_last_permutation(spatial):
5959

6060
def conv_convert_inputs(ctx, node, with_kernel=False, new_kernel_shape=None,
6161
input_indices=None, output_indices=None, spatial=2):
62-
"""Convert input and kernel from tensorflow to onnx. This maybe require to
63-
to insert transpose ops for input, kernel and output unless they are constants
62+
"""Convert input and kernel from tensorflow to onnx. This may be required to
63+
insert transpose ops for input, kernel, and output unless they are constants
6464
and we can transpose the constant.
6565
We transpose inputs if they are in NHWC. We always transpose the kernel from
6666
HWNC to NCHW. Outputs are transposed if the format is NHWC.

0 commit comments

Comments
 (0)