diff --git a/python/tvm/te/tensor.py b/python/tvm/te/tensor.py index 11084da0cc7f..4ef1b67969c8 100644 --- a/python/tvm/te/tensor.py +++ b/python/tvm/te/tensor.py @@ -131,16 +131,6 @@ class PlaceholderOp(Operation): class BaseComputeOp(Operation): """Compute operation.""" - @property - def axis(self): - """Represent the IterVar axis, defined when it is a ComputeOp""" - return self.__getattr__("axis") - - @property - def reduce_axis(self): - """Represent axis of reductions, only defined when it is a ComputeOp""" - return self.__getattr__("reduce_axis") - @tvm_ffi.register_object("te.ComputeOp") class ComputeOp(BaseComputeOp): @@ -151,11 +141,6 @@ class ComputeOp(BaseComputeOp): class ScanOp(Operation): """Scan operation.""" - @property - def scan_axis(self): - """Represent the scan axis, only defined when it is a ScanOp""" - return self.__getattr__("scan_axis") - @tvm_ffi.register_object("te.ExternOp") class ExternOp(Operation):