(self, dtype=condensa.float16)
Creates `Quantize` class instance.

        :param dtype: Target data type (default: float16).
Creates `Quantize` class instance.
Creates Quantize class instance .
def __init__(self, dtype=condensa.float16):
        """
        Creates `Quantize` class instance.

        :param dtype: Target data type (default: float16).
        """
        self.dtype = dtype
        self.layer_types = [torch.nn.Linear, torch.nn.Conv2d]
def __init__ ( self , dtype = condensa . float16 ) : self . dtype = dtype self . layer_types = [ torch . nn . Linear , torch . nn . Conv2d ]