(self)
A method that will be available after add_flops_counting_methods() is called
    on a desired net object.

    Stops computing the mean flops consumption per image.
    Call whenever you want to pause the computation.
A method that will be available after add_flops_counting_methods() is called
    on a desired net object.
A method that will be available after add_flops_counting_methods () is called on a desired net object .
def stop_flops_count(self):
    """
    A method that will be available after add_flops_counting_methods() is called
    on a desired net object.

    Stops computing the mean flops consumption per image.
    Call whenever you want to pause the computation.

    """
    remove_batch_counter_hook_function(self)
    self.apply(remove_flops_counter_hook_function)
def stop_flops_count ( self ) : remove_batch_counter_hook_function ( self ) self . apply ( remove_flops_counter_hook_function )