(self, module)
Applies compression scheme to module.
    
        :param module: PyTorch module.
        :type module: `torch.nn.Module`
Applies compression scheme to module.
    
        :param module: PyTorch module.
        :type module: `torch.nn.Module`
Applies compression scheme to module . : param module : PyTorch module . : type module : torch . nn . Module
def pi(self, module):
        """
        Applies compression scheme to module.
    
        :param module: PyTorch module.
        :type module: `torch.nn.Module`
        """
        for m in module.modules():
            if type(m) in self.layer_types and not hasattr(
                    m, 'condensa_nocompress'):
                condensa.quantize(m, self.dtype)
def pi ( self , module ) : for m in module . modules ( ) : if type ( m ) in self . layer_types and not hasattr ( m , 'condensa_nocompress' ) : condensa . quantize ( m , self . dtype )