class_docstr: BVE Builder.
docstr: Create the actor for the BVE to perform online evals.
  
  Args:
    random_key: prng key.
    policy: The DQN policy.
    environment_spec: The environment spec.
    variable_source: The source of where the variables are coming from.
  
  Returns:
    Return the actor for the evaluations.
docstr_tok: ["Create","the","actor","for","the","BVE","to","perform","online","evals",".","Args",":","random_key",":","prng","key",".","policy",":","The","DQN","policy",".","environment_spec",":","The","environment","spec",".","variable_source",":","The","source","of","where","the","variables","are","coming","from",".","Returns",":","Return","the","actor","for","the","evaluations","."]
code: def make_actor(
      self,
      random_key: jax_types.PRNGKey,
      policy: actor_core_lib.ActorCore,
      environment_spec: specs.EnvironmentSpec,
      variable_source: Optional[core.VariableSource] = None,
  ) -> core.Actor:
      """Create the actor for the BVE to perform online evals.
  
      Args:
        random_key: prng key.
        policy: The DQN policy.
        environment_spec: The environment spec.
        variable_source: The source of where the variables are coming from.
  
      Returns:
        Return the actor for the evaluations.
      """
      del environment_spec
      variable_client = variable_utils.VariableClient(
          variable_source, "policy", device="cpu"
      )
      return actors.GenericActor(policy, random_key, variable_client)
  
imports: from typing import Iterator, Optional
  from acme import core
  from acme import specs
  from acme.agents.jax import actor_core
  from acme.agents.jax import actors
  from acme.agents.jax import builders
  from acme.agents.jax.bve import losses
  from acme.agents.jax.bve import networks
  from acme.agents.jax.dqn import learning_lib
  from acme.jax import networks
  from acme.jax import types
  from acme.jax import utils
  from acme.jax import variable_utils
  from acme.utils import counting
  from acme.utils import loggers
  import haiku
  import optax
label_desc: Use image node_id 3 for calling the BVEBuilder obj's underlying member method code with example usage: obj.make_actor(random_key, policy, environment_spec, variable_source) and returns: actors