code: def min(self, dim=None, keepdim=False, one_hot=True):
      """Returns the minimum value of all elements in the input tensor."""
      result = (-self).max(dim=dim, keepdim=keepdim, one_hot=one_hot)
      if dim is None:
          return -result
      else:
          return -result[0], result[1]
  
file_path: FATE/python/fate/arch/protocol/mpc/functions/maximum.py
imports: import math
  import torch
  from fate.arch.protocol import mpc
  from fate.arch.protocol.mpc.config import cfg
label_desc: Use image node_id 4 for calling a global function with example usage: min(dim, keepdim, one_hot) and returns: unknown, unknown,  result