code: def th_gather_nd(x, coords):
      x = x.contiguous()
      inds = coords.mv(th.LongTensor(x.stride()))
      x_gather = th.index_select(th_flatten(x), 0, inds)
      return x_gather
  
imports: import pickle
  import random
  from .optimizers import *
  from .callbacks import *
  import torch
  from pywick.callbacks import *
label_desc: Use image node_id 11 for calling a global function with example usage: th_gather_nd(x, coords) and returns: x_gather