code: def adam_max(self, op, loss, reduced_vars):
      return (-loss).reduce(ops.min, reduced_vars)
  
file_path: funsor/funsor/adam.py
imports: import funsor.ops
  from funsor.domains import RealsType
  from funsor.interpretations import StatefulInterpretation
  from funsor.tensor import Tensor
  from funsor.terms import Funsor, Reduce
  from funsor.util import get_backend
label_desc: Use image node_id 2 for calling a global function with example usage: adam_max(op, loss, reduced_vars) and returns: unknown