carpet/lista_base.py
def export_parameters(self):
        """ Return a list with all the parameters of the network.

        This list can be used to init a new network which will have the same
        output. Usefull to save the parameters.
        """
        return {
            group_name: {k: p.detach().cpu().numpy()
                         for k, p in group_params.items()}
            for group_name, group_params in self.parameter_groups.items()
        }
 Return a list with all the parameters of the network.

        This list can be used to init a new network which will have the same
        output. Usefull to save the parameters.
        
Return a list with all the parameters of the network.
This list can be used to init a new network which will have the same
output. Usefull to save the parameters.
Return a list with all the parameters of the network . This list can be used to init a new network which will have the same output . Usefull to save the parameters .
def export_parameters(self):
        return {
            group_name: {k: p.detach().cpu().numpy()
                         for k, p in group_params.items()}
            for group_name, group_params in self.parameter_groups.items()
        }
def export_parameters ( self ) : return { group_name : { k : p . detach ( ) . cpu ( ) . numpy ( ) for k , p in group_params . items ( ) } for group_name , group_params in self . parameter_groups . items ( ) }
Return a list with all the parameters of the network.
Return a list with all the parameters of the network .
""" Return a list with all the parameters of the network.

        This list can be used to init a new network which will have the same
        output. Usefull to save the parameters.
        """
self