class_docstr: Determine if type promotion is required for the FX node. Insert cast nodes if needed.
class_docstr_tok: ["Determine","if","type","promotion","is","required","for","the","FX","node",".","Insert","cast","nodes","if","needed","."]
docstr: Returns a tuple of (Rule, Level, message) for this Rule.
  
  Message template: 'Performing explicit type promotion for node {target}. '
docstr_tok: ["Returns","a","tuple","of","(","Rule",",","Level",",","message",")","for","this","Rule",".","Message","template",":","'Performing","explicit","type","promotion","for","node","{","target","}",".","'"]
code: def format(  # type: ignore[override]
      self, level: infra.Level, target
  ) -> Tuple[infra.Rule, infra.Level, str]:
      """Returns a tuple of (Rule, Level, message) for this Rule.
  
      Message template: 'Performing explicit type promotion for node {target}. '
      """
      return self, level, self.format_message(target=target)
  
imports: import dataclasses
  from typing import Tuple
  from torch.onnx._internal.diagnostics import infra
label_desc: Use image node_id 2 for calling the _FxNodeInsertTypePromotion obj's underlying member method code with example usage: obj.format(level, target) and returns: self,  level,  self