Skip to content

Commit

Permalink
Set op pattern to injective
Browse files Browse the repository at this point in the history
  • Loading branch information
notoraptor committed Apr 23, 2020
1 parent d41d482 commit c3297bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/tvm/relay/op/nn/_nn.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def compute_dilate(attrs, inputs, out_dtype):
return [topi.nn.dilate(inputs[0], attrs.strides)]

reg.register_broadcast_schedule("nn.dilate")
reg.register_pattern("nn.dilate", OpPattern.OPAQUE)
reg.register_pattern("nn.dilate", OpPattern.INJECTIVE)


# cross_entropy_with_logits
Expand Down

0 comments on commit c3297bc

Please sign in to comment.