diff --git a/torch/_tensor.py b/torch/_tensor.py index 9d4155188b2..7491b1a940a 100644 --- a/torch/_tensor.py +++ b/torch/_tensor.py @@ -700,8 +700,6 @@ class Tensor(torch._C._TensorBase): def __dir__(self): if has_torch_function_unary(self): return handle_torch_function(Tensor.__dir__, (self,), self) - if self.is_quantized: - warnings.warn('Only a small subset of methods are supported for quantized tensors.') tensor_methods = dir(self.__class__) tensor_methods.remove('volatile') # deprecated attrs = list(self.__dict__.keys())