code: def should_pad_bmm(match: Match) -> bool:
      mat1, mat2 = fetch_fake_tensors(match, ("mat1", "mat2"))
      return should_pad_common(mat1, mat2) and should_pad_bench(
          mat1, mat2, torch.ops.aten.bmm
      )
  
imports: import functools
  from typing import List, Optional
  import torch
  from torch import Tensor
  from torch._inductor import utils
  from torch.utils._mode_utils import no_dispatch
  from torch.utils._triton import has_triton
  from ..pattern_matcher import fwd_only, joint_fwd_bwd, Match, register_replacement
label_desc: Use image node_id 24 for calling a global function with example usage: should_pad_bmm(match) and returns: unknown