nncf/experimental/tensorflow/context.py
def enter(self,
              in_call: bool,
              wrap_ops: bool,
              model: Optional[tf.keras.Model] = None):
        """
        Pushes parameters onto the tracing context.

        :param in_call: Whether currently inside the `call()` method of a model.
        :param wrap_ops: Whether currently adding the compression pre-hooks and post-hooks
            to TensorFlow operations.
        :param model: The Keras model whose `call()` method is currently active.
        """
        model = self.state.model if model is None else model
        next_state = TFTracingContextState(in_call, wrap_ops, model)
        return TFTracingContextManager(self, next_state)

        Pushes parameters onto the tracing context.

        :param in_call: Whether currently inside the `call()` method of a model.
        :param wrap_ops: Whether currently adding the compression pre-hooks and post-hooks
            to TensorFlow operations.
        :param model: The Keras model whose `call()` method is currently active.
        
Pushes parameters onto the tracing context.
Pushes parameters onto the tracing context .
def enter(self,
              in_call: bool,
              wrap_ops: bool,
              model: Optional[tf.keras.Model] = None):
        model = self.state.model if model is None else model
        next_state = TFTracingContextState(in_call, wrap_ops, model)
        return TFTracingContextManager(self, next_state)
def enter ( self , in_call : bool , wrap_ops : bool , model : Optional [ tf . keras . Model ] = None ) : model = self . state . model if model is None else model next_state = TFTracingContextState ( in_call , wrap_ops , model ) return TFTracingContextManager ( self , next_state )
Pushes parameters onto the tracing context.
Pushes parameters onto the tracing context .
"""
        Pushes parameters onto the tracing context.

        :param in_call: Whether currently inside the `call()` method of a model.
        :param wrap_ops: Whether currently adding the compression pre-hooks and post-hooks
            to TensorFlow operations.
        :param model: The Keras model whose `call()` method is currently active.
        """
self
in_call
bool
Whether currently inside the `call()` method of a model.
Whether currently inside the ` call () ` method of a model .
wrap_ops
bool
Whether currently adding the compression pre-hooks and post-hooks
to TensorFlow operations.
Whether currently adding the compression pre - hooks and post - hooks to TensorFlow operations .
model
Optional[tf.keras.Model]
The Keras model whose `call()` method is currently active.
The Keras model whose ` call () ` method is currently active .