code: def to_local_f(input: DTensor):
      return input.shardings.merge()
  
imports: import torch
  from fate.arch.tensor import _custom_ops
  from ._tensor import DTensor, implements
label_desc: Use image node_id 1 for calling a global function with example usage: to_local_f(input) and returns: input