Commit 50dd03ca by Alexander Pivovarov Committed by Haichen Shen

Fix typo in word explicitly (#3376)

parent b8fa8f62
...@@ -411,7 +411,7 @@ class Caffe2NetDef(object): ...@@ -411,7 +411,7 @@ class Caffe2NetDef(object):
identity_list=None, identity_list=None,
convert_map=None): convert_map=None):
"""Convert from Caffe2 operator to nnvm operator. """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. apply handlers to operator attributes.
Parameters Parameters
......
...@@ -963,7 +963,7 @@ class GraphProto(object): ...@@ -963,7 +963,7 @@ class GraphProto(object):
identity_list=None, identity_list=None,
convert_map=None): convert_map=None):
"""Convert from onnx operator to nnvm operator. """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. apply handlers to operator attributes.
Parameters Parameters
......
...@@ -1520,7 +1520,7 @@ class GraphProto(object): ...@@ -1520,7 +1520,7 @@ class GraphProto(object):
def _convert_operator(self, op_name, inputs, attrs, def _convert_operator(self, op_name, inputs, attrs,
graph, identity_list=None, convert_map=None): graph, identity_list=None, convert_map=None):
"""Convert from Tensorflow operator to nnvm operator. """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. apply handlers to operator attributes.
Parameters Parameters
......
...@@ -137,7 +137,7 @@ def test_forward_fc_flatten(): ...@@ -137,7 +137,7 @@ def test_forward_fc_flatten():
def test_forward_clip(): def test_forward_clip():
data = mx.sym.var('data') 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) 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)) verify_mxnet_frontend_impl(mx_sym, (1, 3, 100, 100), (1, 6, 100, 100))
......
...@@ -222,7 +222,7 @@ class NotEqualOp(NodeGeneric, ExprOp): ...@@ -222,7 +222,7 @@ class NotEqualOp(NodeGeneric, ExprOp):
class Expr(ExprOp, NodeBase): class Expr(ExprOp, NodeBase):
"""Base class of all tvm Expressions""" """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__ # https://docs.python.org/3.1/reference/datamodel.html#object.__hash__
__hash__ = NodeBase.__hash__ __hash__ = NodeBase.__hash__
......
...@@ -505,7 +505,7 @@ class Caffe2NetDef(object): ...@@ -505,7 +505,7 @@ class Caffe2NetDef(object):
identity_list=None, identity_list=None,
convert_map=None): convert_map=None):
"""Convert from Caffe2 operator to Relay operator. """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. apply handlers to operator attributes.
Parameters Parameters
......
...@@ -1154,7 +1154,7 @@ class GraphProto(object): ...@@ -1154,7 +1154,7 @@ class GraphProto(object):
attrs, attrs,
opset): opset):
"""Convert ONNX operator into a Relay operator. """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. apply handlers to operator attributes.
Parameters Parameters
......
...@@ -2277,7 +2277,7 @@ class GraphProto(object): ...@@ -2277,7 +2277,7 @@ class GraphProto(object):
def _convert_operator(self, op_name, inputs, attrs, def _convert_operator(self, op_name, inputs, attrs,
graph, identity_list=None, convert_map=None): graph, identity_list=None, convert_map=None):
"""Convert from Tensorflow operator to relay operator. """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. apply handlers to operator attributes.
Parameters Parameters
......
...@@ -143,7 +143,7 @@ def test_forward_fc_flatten(): ...@@ -143,7 +143,7 @@ def test_forward_fc_flatten():
def test_forward_clip(): def test_forward_clip():
data = mx.sym.var('data') 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) 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)) verify_mxnet_frontend_impl(mx_sym, (1, 3, 100, 100), (1, 6, 100, 100))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment