nncf/experimental/torch/nas/bootstrapNAS/elasticity/elastic_kernel.py
def from_config(cls, config: Dict[str, Any]) -> 'ElasticKernelParams':
        """
        Creates the object from its config.
        """
        kwargs = {
            cls._state_names.MAX_NUM_KERNELS: config.get(cls._state_names.MAX_NUM_KERNELS, -1),
        }
        return cls(**kwargs)

        Creates the object from its config.
        
Creates the object from its config.
Creates the object from its config .
def from_config(cls, config: Dict[str, Any]) -> 'ElasticKernelParams':
        kwargs = {
            cls._state_names.MAX_NUM_KERNELS: config.get(cls._state_names.MAX_NUM_KERNELS, -1),
        }
        return cls(**kwargs)
def from_config ( cls , config : Dict [ str , Any ] ) -> 'ElasticKernelParams' : kwargs = { cls . _state_names . MAX_NUM_KERNELS : config . get ( cls . _state_names . MAX_NUM_KERNELS , - 1 ) , } return cls ( ** kwargs )
Creates the object from its config.
Creates the object from its config .
"""
        Creates the object from its config.
        """
cls
config
Dict[str, Any]