class_docstr: CQL Builder.
class_docstr_tok: ["CQL","Builder","."]
docstr: Construct the policy.
docstr_tok: ["Construct","the","policy","."]
code: def make_policy(
      self,
      networks: cql_networks.CQLNetworks,
      environment_spec: specs.EnvironmentSpec,
      evaluation: bool,
  ) -> actor_core_lib.FeedForwardPolicy:
      """Construct the policy."""
      del environment_spec, evaluation
  
      def evaluation_policy(
          params: networks_lib.Params,
          key: networks_lib.PRNGKey,
          observation: networks_lib.Observation,
      ) -> networks_lib.Action:
          dist_params = networks.policy_network.apply(
              params, observation
          )
          return networks.sample_eval(dist_params, key)
  
      return evaluation_policy
  
imports: from typing import Iterator, Optional
  from acme import core
  from acme import specs
  from acme import types
  from acme.agents.jax import actor_core
  from acme.agents.jax import actors
  from acme.agents.jax import builders
  from acme.agents.jax.cql import config
  from acme.agents.jax.cql import learning
  from acme.agents.jax.cql import networks
  from acme.jax import networks
  from acme.jax import variable_utils
  from acme.utils import counting
  from acme.utils import loggers
  import optax
label_desc: Use image node_id 4 for calling the CQLBuilder obj's underlying member method code with example usage: obj.make_policy(networks, environment_spec, evaluation) and returns: evaluation_policy, networks