Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
merrymercy committed Nov 21, 2018
1 parent a61fc74 commit 844e006
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions python/tvm/relay/op/_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,6 @@ def zeros_compute(attrs, inputs, output_type, target):
return [topi.full(output_type.shape, output_type.dtype, 0.0)]

register_schedule("zeros", schedule_broadcast)
register_pattern("zeros", OpPattern.ELEMWISE)

# zeros_like
@register_compute("zeros_like")
Expand All @@ -248,7 +247,6 @@ def ones_compute(attrs, inputs, output_type, target):
return [topi.full(output_type.shape, output_type.dtype, 1.0)]

register_schedule("ones", schedule_broadcast)
register_pattern("ones", OpPattern.ELEMWISE)

# ones_like
@register_compute("ones_like")
Expand All @@ -265,7 +263,6 @@ def clip_compute(attrs, inputs, output_type, target):
return [topi.clip(inputs[0], attrs.a_min, attrs.a_max)]

register_schedule("clip", schedule_elemwise)
register_pattern("clip", OpPattern.ELEMWISE)

# concatenate
@register_compute("concatenate")
Expand Down

0 comments on commit 844e006

Please sign in to comment.