Skip to content

Commit

Permalink
fix lint (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-haibin-lin authored Jun 10, 2017
1 parent 6d329cd commit c8d3742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/mxnet/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _create_kvstore(kvstore, num_device, arg_params, name2idx=None):
kv = None
else:
kv = kvs.create(kvstore, name2idx=name2idx)
if kvstore is 'local':
if kvstore == 'local':
# automatically select a proper local
max_size = max(np.prod(param.shape) for param in
arg_params.values())
Expand Down

0 comments on commit c8d3742

Please sign in to comment.