nncf/common/pruning/utils.py
def join(self, other: 'PruningAnalysisDecision') -> 'PruningAnalysisDecision':
        """
        Join two pruning analysis decisions about one NNCFNode.

        :param other: pruning analysis decision to join with.
        :return: Joint pruning analysis decision.
        """
        if self.decision and other.decision:
            return self

        reasons = []
        for decision in [self, other]:
            if decision.reasons:
                reasons.extend(decision.reasons)

        return PruningAnalysisDecision(False, reasons)

        Join two pruning analysis decisions about one NNCFNode.

        :param other: pruning analysis decision to join with.
        :return: Joint pruning analysis decision.
        
Join two pruning analysis decisions about one NNCFNode.
Join two pruning analysis decisions about one NNCFNode .
def join(self, other: 'PruningAnalysisDecision') -> 'PruningAnalysisDecision':
        if self.decision and other.decision:
            return self
        reasons = []
        for decision in [self, other]:
            if decision.reasons:
                reasons.extend(decision.reasons)
        return PruningAnalysisDecision(False, reasons)
def join ( self , other : 'PruningAnalysisDecision' ) -> 'PruningAnalysisDecision' : if self . decision and other . decision : return self reasons = [ ] for decision in [ self , other ] : if decision . reasons : reasons . extend ( decision . reasons ) return PruningAnalysisDecision ( False , reasons )
Join two pruning analysis decisions about one NNCFNode.
Join two pruning analysis decisions about one NNCFNode .
"""
        Join two pruning analysis decisions about one NNCFNode.

        :param other: pruning analysis decision to join with.
        :return: Joint pruning analysis decision.
        """
Joint pruning analysis decision.
Joint pruning analysis decision .
self
other
'PruningAnalysisDecision'
pruning analysis decision to join with.
pruning analysis decision to join with .