nncf/experimental/tensorflow/graph/transformations/layout.py
def register(self, transformation: TransformationCommand) -> None:
        """
        Registers the transformation command in the transformation layout.

        The `TFTransformationLayoutV2` is a simplified version of the
        `TransformationLayout` class where some redundant functionality
        was removed.

        :param transformation: The transformation command to be registered in
            the transformation layout.
        """
        if transformation.type == TransformationType.REMOVE:
            # TODO(andrey-churkin): Add support.
            pass
        elif transformation.type == TransformationType.INSERT:
            self._register_insertion_transformation(transformation)
        else:
            raise ValueError(f'Unknown type of transformation command: {transformation.type}')

        Registers the transformation command in the transformation layout.

        The `TFTransformationLayoutV2` is a simplified version of the
        `TransformationLayout` class where some redundant functionality
        was removed.

        :param transformation: The transformation command to be registered in
            the transformation layout.
        
Registers the transformation command in the transformation layout.
The `TFTransformationLayoutV2` is a simplified version of the
`TransformationLayout` class where some redundant functionality
was removed.
Registers the transformation command in the transformation layout . The ` TFTransformationLayoutV2 ` is a simplified version of the ` TransformationLayout ` class where some redundant functionality was removed .
def register(self, transformation: TransformationCommand) -> None:
        if transformation.type == TransformationType.REMOVE:
            pass
        elif transformation.type == TransformationType.INSERT:
            self._register_insertion_transformation(transformation)
        else:
            raise ValueError(f'Unknown type of transformation command: {transformation.type}')
def register ( self , transformation : TransformationCommand ) -> None : if transformation . type == TransformationType . REMOVE : pass elif transformation . type == TransformationType . INSERT : self . _register_insertion_transformation ( transformation ) else : raise ValueError ( f'Unknown type of transformation command: {transformation.type}' )
Registers the transformation command in the transformation layout.
Registers the transformation command in the transformation layout .
"""
        Registers the transformation command in the transformation layout.

        The `TFTransformationLayoutV2` is a simplified version of the
        `TransformationLayout` class where some redundant functionality
        was removed.

        :param transformation: The transformation command to be registered in
            the transformation layout.
        """ # TODO(andrey-churkin): Add support.
self
transformation
TransformationCommand
The transformation command to be registered in
the transformation layout.
The transformation command to be registered in the transformation layout .