class_docstr: GAIL Builder.
class_docstr_tok: ["GAIL","Builder","."]
code: def __init__(
      self,
      config: GAILConfig,
      make_demonstrations: Callable[[int], Iterator[types.Transition]],
  ):
      ppo_builder = ppo.PPOBuilder(config.ppo_config)
      super().__init__(
          ppo_builder,
          config=config.ail_config,
          discriminator_loss=losses.gail_loss(),
          make_demonstrations=make_demonstrations,
      )
  
file_path: acme/acme/agents/jax/ail/gail.py
imports: import dataclasses
  from typing import Callable, Iterator
  from acme import types
  from acme.agents.jax import actor_core
  from acme.agents.jax import ppo
  from acme.agents.jax.ail import builder
  from acme.agents.jax.ail import config
  from acme.agents.jax.ail import losses
label_desc: Use image node_id 1 to create a new GAILBuilder object from inherited base classes: builder.AILBuilder with example: obj = GAILBuilder(config, make_demonstrations)