Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Make lint happy again
Browse files Browse the repository at this point in the history
  • Loading branch information
junrushao committed Jul 20, 2018
1 parent ad1be05 commit 376a196
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/mxnet/ndarray/contrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ def _func_wrapper(loop_vars):
))
return stacked_outputs, list(loop_vars)

def cond(cond_func, then_func, else_func, inputs):
def cond(cond_func, then_func, else_func, inputs): # pylint: disable=redefined-outer-name
"""Run an if-then-else using user-defined condition and computation
This operator simulates a if-like branch which chooses to do one of
Expand Down
2 changes: 1 addition & 1 deletion python/mxnet/symbol/contrib.py
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ def _union_inputs(*graphs):
final_loop_vars = [result[i] for i in range(num_out_data, num_outputs)]
return outputs, final_loop_vars

def cond(cond_func, then_func, else_func, inputs, name="cond"):
def cond(cond_func, then_func, else_func, inputs, name="cond"): # pylint: disable=redefined-outer-name
"""Run an if-then-else using user-defined condition and computation
This operator simulates a if-like branch which chooses to do one of
Expand Down

0 comments on commit 376a196

Please sign in to comment.