code: def compute_argmax(model, approx_vars):
      """
      Computes argmax of a funsor.
  
      :param Funsor model: A function of the approximated vars.
      :param frozenset approx_vars: A frozenset of
          :class:`~funsor.terms.Variable` s to maximize.
      :returns: A dict mapping name (str) to point estimate (Funsor), for each
          variable name in ``approx_vars``.
      :rtype: str
      """
      if approx_vars.isdisjoint(model.input_vars):
          return {}  # nothing to do
      raise NotImplementedError
  
imports: from collections import OrderedDict
  from functools import reduce, singledispatch
  from funsor.cnf import Contraction, GaussianMixture
  from funsor.delta import Delta
  from funsor.gaussian import Gaussian, _compute_offsets
  from funsor.instrument import debug_logged
  from funsor.integrate import Integrate
  from funsor.interpretations import DispatchedInterpretation
  from funsor.tensor import Tensor, align_tensor
  from funsor.terms import Approximate, Funsor
  from funsor.typing import deep_isinstance
  from .None import ops
label_desc: Use image node_id 5 for calling a global function with example usage: compute_argmax(model, approx_vars) and returns: dict