code: def _get_fft_func(op, xp):
      fun_name = type(op).__name__.lower()[
          6:
      ]  # all op starts with tensor
      return getattr(xp.fft, fun_name)
  
imports: from collections.abc import Iterable
  from ...core import recursive_tile
  from ...serialization.serializables import FieldTypes, KeyField, StringField, Int32Field, Int64Field, TupleField
  from ...utils import has_unknown_shape
  from ..utils import validate_axis, decide_chunk_sizes
  from ..operands import TensorHasInput, TensorOperandMixin
  from ..array_utils import get_array_module
label_desc: Use image node_id 3 for calling a global function with example usage: _get_fft_func(op, xp) and returns: getattr