From 844e00608444100219612eee1f999a579e93219b Mon Sep 17 00:00:00 2001 From: Mercy Date: Wed, 21 Nov 2018 02:13:37 -0800 Subject: [PATCH] clean up --- python/tvm/relay/op/_tensor.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/python/tvm/relay/op/_tensor.py b/python/tvm/relay/op/_tensor.py index 7aef4d4377af0..ff98e5eba7555 100644 --- a/python/tvm/relay/op/_tensor.py +++ b/python/tvm/relay/op/_tensor.py @@ -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") @@ -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") @@ -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")