nncf/experimental/torch/nas/bootstrapNAS/elasticity/elasticity_builder.py
def _get_state_without_name(self) -> Dict[str, Any]:
        """
        Implementation of get_state that returns state without builder name.

        :return: Returns a dictionary with Python data structures
            (dict, list, tuple, str, int, float, True, False, None) that represents state of the object.
        """
        builder_states = {dim.value: builder.get_state() for dim, builder in self._elasticity_builders.items()}
        available_elasticity_dims_state = list(map(lambda x: x.value, self.get_available_elasticity_dims()))
        return {
            self._state_names.BUILDER_STATES: builder_states,
            self._state_names.AVAILABLE_ELASTICITY_DIMS: available_elasticity_dims_state
        }

        Implementation of get_state that returns state without builder name.

        :return: Returns a dictionary with Python data structures
            (dict, list, tuple, str, int, float, True, False, None) that represents state of the object.
        
Implementation of get_state that returns state without builder name.
Implementation of get_state that returns state without builder name .
def _get_state_without_name(self) -> Dict[str, Any]:
        builder_states = {dim.value: builder.get_state() for dim, builder in self._elasticity_builders.items()}
        available_elasticity_dims_state = list(map(lambda x: x.value, self.get_available_elasticity_dims()))
        return {
            self._state_names.BUILDER_STATES: builder_states,
            self._state_names.AVAILABLE_ELASTICITY_DIMS: available_elasticity_dims_state
        }
def _get_state_without_name ( self ) -> Dict [ str , Any ] : builder_states = { dim . value : builder . get_state ( ) for dim , builder in self . _elasticity_builders . items ( ) } available_elasticity_dims_state = list ( map ( lambda x : x . value , self . get_available_elasticity_dims ( ) ) ) return { self . _state_names . BUILDER_STATES : builder_states , self . _state_names . AVAILABLE_ELASTICITY_DIMS : available_elasticity_dims_state }
Implementation of get_state that returns state without builder name.
Implementation of get_state that returns state without builder name .
"""
        Implementation of get_state that returns state without builder name.

        :return: Returns a dictionary with Python data structures
            (dict, list, tuple, str, int, float, True, False, None) that represents state of the object.
        """
Returns a dictionary with Python data structures
(dict, list, tuple, str, int, float, True, False, None) that represents state of the object.
Returns a dictionary with Python data structures ( dict list tuple str int float True False None ) that represents state of the object .
self