def reset_to_new_call(self):
        """
        Resets the internal op counter to start a new top level module call
        """
        # torch.nn.Module __setattr__ has overhead,
        # this code is the explicit fast path for `self.idx = 0`
        object.__setattr__(self, "idx", 0)

        Resets the internal op counter to start a new top level module call
        
intel_extension_for_pytorch/quantization/_quantization_state.py