class_docstr: DiscreteQFArgmax policy.
  
  Args:
      env_spec (garage.envs.env_spec.EnvSpec): Environment specification.
      qf (garage.q_functions.QFunction): The q-function used.
      name (str): Name of the policy.
code: def __init__(self, env_spec, qf, name="DiscreteQFArgmaxPolicy"):
      assert isinstance(
          env_spec.action_space, akro.Discrete
      ), "DiscreteQFArgmaxPolicy only supports akro.Discrete action spaces"
      if isinstance(env_spec.observation_space, akro.Dict):
          raise ValueError(
              "CNN policies do not support"
              "with akro.Dict observation spaces."
          )
      super().__init__(name)
      self._env_spec = env_spec
      self._qf = qf
  
      self._initialize()
  
imports: import akro
  import numpy
  import tensorflow
  from garage.tf.models import Module
  from garage.tf.policies.policy import Policy
label_desc: Use image node_id 1 to create a new DiscreteQFArgmaxPolicy object from inherited base classes: Module, Policy with example: obj = DiscreteQFArgmaxPolicy(env_spec, qf, name)