class_docstr: Transforms an FX node to an ONNX node.
class_docstr_tok: ["Transforms","an","FX","node","to","an","ONNX","node","."]
docstr: Returns a tuple of (Rule, Level, message) for this Rule.
  
  Message template: 'Transforming FX node {node_repr} to ONNX node.'
docstr_tok: ["Returns","a","tuple","of","(","Rule",",","Level",",","message",")","for","this","Rule",".","Message","template",":","'Transforming","FX","node","{","node_repr","}","to","ONNX","node",".","'"]
code: def format(  # type: ignore[override]
      self, level: infra.Level, node_repr
  ) -> Tuple[infra.Rule, infra.Level, str]:
      """Returns a tuple of (Rule, Level, message) for this Rule.
  
      Message template: 'Transforming FX node {node_repr} to ONNX node.'
      """
      return self, level, self.format_message(node_repr=node_repr)
  
imports: import dataclasses
  from typing import Tuple
  from torch.onnx._internal.diagnostics import infra
label_desc: Use image node_id 2 for calling the _FxNodeToOnnx obj's underlying member method code with example usage: obj.format(level, node_repr) and returns: self,  level,  self