def METHOD_NAME(self, tensor: torch.Tensor, _) -> torch.Tensor:
    """
    Quantize-dequantize the tensor, using the saved encoding for this tensor
    :param tensor: Tensor to quantize-dequantize
    :param _: Rounding mode parameter is not used
    :return: Resulting tensor
    """
    if self.enabled:
        quantized_tensor = self.adaround_weights(tensor)
    else:
        quantized_tensor = tensor
    return quantized_tensor