(self)
return w
Executes model compressor.

        :return: Compressed model.
        :rtype: `torch.nn.Module`
Executes model compressor.
Executes model compressor .
def run(self):
        """
        Executes model compressor.

        :return: Compressed model.
        :rtype: `torch.nn.Module`
        """
        w, statistics = self.opt.compress(self.model, self.pi, self.delta,
                                          self.trainloader, self.testloader,
                                          self.valloader, self.criterion)
        self._statistics = statistics
        return w
def run ( self ) : w , statistics = self . opt . compress ( self . model , self . pi , self . delta , self . trainloader , self . testloader , self . valloader , self . criterion ) self . _statistics = statistics return w