code: def __init__(
      self,
      ignore_op_fn: Union[Callable[[OpOverload], bool], None] = None,
      *,
      check_strides=True,
      check_aliasing=True,
  ):
      self.ignore_op_fn = (
          ignore_op_fn if ignore_op_fn is not None else lambda fn: False
      )
      self.check_strides = check_strides
      self.check_aliasing = check_aliasing
  
file_path: pytorch/torch/_subclasses/fake_utils.py
imports: import functools
  import warnings
  from typing import Callable, Union
  import torch
  import torch.utils._pytree
  from torch._ops import OpOverload
  from torch._subclasses.fake_tensor import FakeTensorMode, tree_flatten_only, UnsupportedFakeTensorException
  from torch.utils._python_dispatch import TorchDispatchMode
label_desc: Use image node_id 1 to create a new CrossRefFakeMode object from inherited base classes: TorchDispatchMode with example: obj = CrossRefFakeMode(ignore_op_fn)