code: def fast_cumsum_sub_one(data, dim=0):
      if data.dim() != 2 or dim != 0:
          raise Exception(
              "Unimplemented fast_cumsum_sub_one() of data = %s and dim = %s"
              % (data.size(), dim)
          )
      if not data.is_cuda or not use_fast_cumsum:
          return torch_cumsum_sub_one(data)
      return torch.ops.tutel_ops.cumsum(data)
  
imports: import os
  import torch
  import logging
  from ..impls.jit_compiler import tutel_custom_kernel
label_desc: Use image node_id 2 for calling a global function with example usage: fast_cumsum_sub_one(data, dim) and returns: torch, torch_cumsum_sub_one