code: def SparseTensor(
      feats, coordinates, batch, device=torch.device("cpu")
  ):
      if batch.dim() == 1:
          batch = batch.unsqueeze(-1)
      coords = torch.cat([batch.int(), coordinates.int()], -1)
      return ME.SparseTensor(
          features=feats, coordinates=coords, device=device
      )
  
file_path: torch-points3d/torch_points3d/modules/SparseConv3d/nn/minkowski.py
imports: import torch
  import MinkowskiEngine
label_desc: Use image node_id 2 for calling a global function with example usage: SparseTensor(feats, coordinates, batch, device) and returns: ME