code: def logp_duration(
      acts: torch.Tensor,
      maxT: int,
      maxU: int,
      num_durations: int,
      mb: int,
      t: int,
      u: int,
      v: int,
  ):
      col = (mb * maxT + t) * maxU + u
      return acts[col * num_durations + v]
  
file_path: NeMo/nemo/collections/asr/parts/numba/rnnt_loss/utils/cuda_utils/gpu_rnnt_kernel.py
imports: import math
  import torch
  from numba import cuda
  from nemo.collections.asr.parts.numba.rnnt_loss.utils import rnnt_helper
label_desc: Use image node_id 2 for calling a global function with example usage: logp_duration(acts, maxT, maxU, num_durations, mb, t, u, v) and returns: acts