From b8b93f8d762a7977c6da7cce2caee38377be195c Mon Sep 17 00:00:00 2001 From: Alexander Pivovarov Date: Fri, 14 Jun 2019 21:34:37 -0700 Subject: [PATCH] Fix typo in word explicitly (#3376) --- nnvm/python/nnvm/frontend/caffe2.py | 2 +- nnvm/python/nnvm/frontend/onnx.py | 2 +- nnvm/python/nnvm/frontend/tensorflow.py | 2 +- nnvm/tests/python/frontend/mxnet/test_forward.py | 2 +- python/tvm/expr.py | 2 +- python/tvm/relay/frontend/caffe2.py | 2 +- python/tvm/relay/frontend/onnx.py | 2 +- python/tvm/relay/frontend/tensorflow.py | 2 +- tests/python/frontend/mxnet/test_forward.py | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) diff --git a/nnvm/python/nnvm/frontend/caffe2.py b/nnvm/python/nnvm/frontend/caffe2.py index 2b3ff5a27e01..f951db66b5a6 100644 --- a/nnvm/python/nnvm/frontend/caffe2.py +++ b/nnvm/python/nnvm/frontend/caffe2.py @@ -411,7 +411,7 @@ def _convert_operator(self, identity_list=None, convert_map=None): """Convert from Caffe2 operator to nnvm operator. - The converter must specify conversions explicity for incompatible name, and + The converter must specify conversions explicitly for incompatible name, and apply handlers to operator attributes. Parameters diff --git a/nnvm/python/nnvm/frontend/onnx.py b/nnvm/python/nnvm/frontend/onnx.py index c8b050ad2343..b5e294b97fb1 100644 --- a/nnvm/python/nnvm/frontend/onnx.py +++ b/nnvm/python/nnvm/frontend/onnx.py @@ -963,7 +963,7 @@ def _convert_operator(self, identity_list=None, convert_map=None): """Convert from onnx operator to nnvm operator. - The converter must specify conversions explicity for incompatible name, and + The converter must specify conversions explicitly for incompatible name, and apply handlers to operator attributes. Parameters diff --git a/nnvm/python/nnvm/frontend/tensorflow.py b/nnvm/python/nnvm/frontend/tensorflow.py index e59a4e76c465..7b4147155d93 100644 --- a/nnvm/python/nnvm/frontend/tensorflow.py +++ b/nnvm/python/nnvm/frontend/tensorflow.py @@ -1550,7 +1550,7 @@ def _convert_rnn_operator(self, op_name, inputs, def _convert_operator(self, op_name, inputs, attrs, graph, identity_list=None, convert_map=None): """Convert from Tensorflow operator to nnvm operator. - The converter must specify conversions explicity for incompatible name, and + The converter must specify conversions explicitly for incompatible name, and apply handlers to operator attributes. Parameters diff --git a/nnvm/tests/python/frontend/mxnet/test_forward.py b/nnvm/tests/python/frontend/mxnet/test_forward.py index db5534daee1a..446ebebbfc5a 100644 --- a/nnvm/tests/python/frontend/mxnet/test_forward.py +++ b/nnvm/tests/python/frontend/mxnet/test_forward.py @@ -137,7 +137,7 @@ def test_forward_fc_flatten(): def test_forward_clip(): data = mx.sym.var('data') - data = mx.sym.concat(data, -data, dim=1) # negative part explicity + data = mx.sym.concat(data, -data, dim=1) # negative part explicitly mx_sym = mx.sym.clip(data, a_min=0, a_max=1) verify_mxnet_frontend_impl(mx_sym, (1, 3, 100, 100), (1, 6, 100, 100)) diff --git a/python/tvm/expr.py b/python/tvm/expr.py index b4588e5d971a..9c8a9ab89d3b 100644 --- a/python/tvm/expr.py +++ b/python/tvm/expr.py @@ -222,7 +222,7 @@ def asnode(self): class Expr(ExprOp, NodeBase): """Base class of all tvm Expressions""" - # In Python3, We have to explicity tell interpreter to retain __hash__ if we overide __eq__ + # In Python3, We have to explicitly tell interpreter to retain __hash__ if we overide __eq__ # https://docs.python.org/3.1/reference/datamodel.html#object.__hash__ __hash__ = NodeBase.__hash__ diff --git a/python/tvm/relay/frontend/caffe2.py b/python/tvm/relay/frontend/caffe2.py index e92a6226072f..eb8e717bb343 100644 --- a/python/tvm/relay/frontend/caffe2.py +++ b/python/tvm/relay/frontend/caffe2.py @@ -505,7 +505,7 @@ def _convert_operator(self, identity_list=None, convert_map=None): """Convert from Caffe2 operator to Relay operator. - The converter must specify conversions explicity for incompatible name, and + The converter must specify conversions explicitly for incompatible name, and apply handlers to operator attributes. Parameters diff --git a/python/tvm/relay/frontend/onnx.py b/python/tvm/relay/frontend/onnx.py index 18253e498560..98ff10bd8318 100644 --- a/python/tvm/relay/frontend/onnx.py +++ b/python/tvm/relay/frontend/onnx.py @@ -1154,7 +1154,7 @@ def _convert_operator(self, attrs, opset): """Convert ONNX operator into a Relay operator. - The converter must specify conversions explicity for incompatible name, and + The converter must specify conversions explicitly for incompatible name, and apply handlers to operator attributes. Parameters diff --git a/python/tvm/relay/frontend/tensorflow.py b/python/tvm/relay/frontend/tensorflow.py index 7319d5eb4a7e..866a6228980e 100644 --- a/python/tvm/relay/frontend/tensorflow.py +++ b/python/tvm/relay/frontend/tensorflow.py @@ -2277,7 +2277,7 @@ def _convert_control_flow_operator(self, node, inputs, attrs, control_flow_node_ def _convert_operator(self, op_name, inputs, attrs, graph, identity_list=None, convert_map=None): """Convert from Tensorflow operator to relay operator. - The converter must specify conversions explicity for incompatible name, and + The converter must specify conversions explicitly for incompatible name, and apply handlers to operator attributes. Parameters diff --git a/tests/python/frontend/mxnet/test_forward.py b/tests/python/frontend/mxnet/test_forward.py index 8d7c15bb0be5..45e2ab58cae3 100644 --- a/tests/python/frontend/mxnet/test_forward.py +++ b/tests/python/frontend/mxnet/test_forward.py @@ -143,7 +143,7 @@ def test_forward_fc_flatten(): def test_forward_clip(): data = mx.sym.var('data') - data = mx.sym.concat(data, -data, dim=1) # negative part explicity + data = mx.sym.concat(data, -data, dim=1) # negative part explicitly mx_sym = mx.sym.clip(data, a_min=0, a_max=1) verify_mxnet_frontend_impl(mx_sym, (1, 3, 100, 100), (1, 6, 100, 100))