class_docstr: Base interface for implementing passes.
  
  It is required to implement the `call` function so that we can directly
  pass instances of the Pass directly to the PassManager and call them as a
  function.
  
  We can directly pass an instance of a class implementing this interface into
  the PassManager's `passes` attribute.
docstr: Runs the precondition check, the pass itself, and the postcondition check.
docstr_tok: ["Runs","the","precondition","check",",","the","pass","itself",",","and","the","postcondition","check","."]
code: def __call__(self, graph_module: GraphModule) -> Optional[PassResult]:
      """
      Runs the precondition check, the pass itself, and the postcondition check.
      """
  
      self.requires(graph_module)
      res = self.call(graph_module)
      self.ensures(graph_module)
      return res
  
file_path: pytorch/torch/fx/passes/infra/pass_base.py
imports: import abc
  from collections import namedtuple
  from typing import Optional
  from torch.fx.graph_module import GraphModule
  from torch.fx._compatibility import compatibility
label_desc: Use image node_id 1 for calling the PassBase obj's underlying member method code with example usage: obj.__call__(graph_module) and returns: res