Skip to content
Snippets Groups Projects
Commit 3c2569a0 authored by Yuwei HU's avatar Yuwei HU Committed by Tianqi Chen
Browse files

minor fix (#313)

parent e4b500b6
No related branches found
No related tags found
No related merge requests found
......@@ -103,7 +103,7 @@ def schedule_depthwise_conv2d_map(op):
if OP not in s.outputs:
s[OP].compute_inline()
for tensor in OP.input_tensors:
if str(tensor.op.input_tensors) != str([]):
if tensor.op.input_tensors:
traverse(tensor.op)
# schedule depthwise_conv2d
if OP.tag == 'depthwise_conv2d':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment