Commit e69e9ec0 by Marcus Shawcroft Committed by Tianqi Chen

Stop pylint complaining about unnecessary return statement. (#2684)

Recent pylint introduced support for the useless-return diagnostic.
This patch remove the useless returns.
parent dc7a7cbd
......@@ -124,7 +124,6 @@ def conv2d_nchwc_rewrite(ref_call, new_args, ctx):
warnings.warn("NCHWc layout Conv2D detected, please use a lower "
"optimization level before applying the quantization "
"pass as quantization will have no effect here...")
return None
@register_annotate_function("nn.conv2d")
......
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