nncf/experimental/torch/nas/bootstrapNAS/elasticity/elastic_width.py
def resolve_conflicts_with_other_elasticities(self,
                                                  config: ElasticWidthConfig,
                                                  elasticity_handlers: ELASTICITY_HANDLERS_MAP) -> ElasticWidthConfig:
        """
        Resolves a conflict between the given elasticity config and active elasticity configs of the given handlers.
        For example, elastic width configuration may contradict to elastic depth one. When we activate some
        configuration in the Elastic Width Handler, i.e. define number of output channels for some layers, we
        change output shapes of the layers. Consequently, it affects the blocks that can be skipped by Elastic Depth
        Handler, because input and output shapes may not be identical now.

        :param config: elasticity configuration
        :param elasticity_handlers: map of elasticity dimension to elasticity handler
        :return: elasticity configuration without conflicts with other active configs of other elasticity handlers
        """
        return config

        Resolves a conflict between the given elasticity config and active elasticity configs of the given handlers.
        For example, elastic width configuration may contradict to elastic depth one. When we activate some
        configuration in the Elastic Width Handler, i.e. define number of output channels for some layers, we
        change output shapes of the layers. Consequently, it affects the blocks that can be skipped by Elastic Depth
        Handler, because input and output shapes may not be identical now.

        :param config: elasticity configuration
        :param elasticity_handlers: map of elasticity dimension to elasticity handler
        :return: elasticity configuration without conflicts with other active configs of other elasticity handlers
        
Resolves a conflict between the given elasticity config and active elasticity configs of the given handlers.
For example, elastic width configuration may contradict to elastic depth one. When we activate some
configuration in the Elastic Width Handler, i.e. define number of output channels for some layers, we
change output shapes of the layers. Consequently, it affects the blocks that can be skipped by Elastic Depth
Handler, because input and output shapes may not be identical now.
Resolves a conflict between the given elasticity config and active elasticity configs of the given handlers . For example elastic width configuration may contradict to elastic depth one . When we activate some configuration in the Elastic Width Handler i . e . define number of output channels for some layers we change output shapes of the layers . Consequently it affects the blocks that can be skipped by Elastic Depth Handler because input and output shapes may not be identical now .
def resolve_conflicts_with_other_elasticities(self,
                                                  config: ElasticWidthConfig,
                                                  elasticity_handlers: ELASTICITY_HANDLERS_MAP) -> ElasticWidthConfig:
        return config
def resolve_conflicts_with_other_elasticities ( self , config : ElasticWidthConfig , elasticity_handlers : ELASTICITY_HANDLERS_MAP ) -> ElasticWidthConfig : return config
Resolves a conflict between the given elasticity config and active elasticity configs of the given handlers.
Resolves a conflict between the given elasticity config and active elasticity configs of the given handlers .
"""
        Resolves a conflict between the given elasticity config and active elasticity configs of the given handlers.
        For example, elastic width configuration may contradict to elastic depth one. When we activate some
        configuration in the Elastic Width Handler, i.e. define number of output channels for some layers, we
        change output shapes of the layers. Consequently, it affects the blocks that can be skipped by Elastic Depth
        Handler, because input and output shapes may not be identical now.

        :param config: elasticity configuration
        :param elasticity_handlers: map of elasticity dimension to elasticity handler
        :return: elasticity configuration without conflicts with other active configs of other elasticity handlers
        """
elasticity configuration without conflicts with other active configs of other elasticity handlers
elasticity configuration without conflicts with other active configs of other elasticity handlers
self
config
ElasticWidthConfig
None
elasticity_handlers
ELASTICITY_HANDLERS_MAP
map of elasticity dimension to elasticity handler
map of elasticity dimension to elasticity handler