code: def __init__(self, game, args, seed):
      np.random.seed(seed)
      os.environ["OMP_NUM_THREADS"] = "1"
      self.game = game
      self.args = args
  
      # neural network of previous generation
      self.previous_agent = create_agent(self.game, cuda=False)
      # neural network of current generation
      self.current_agent = create_agent(self.game, cuda=False)
  
      # MCTS of previous generation
      self.previous_mcts = MCTS(
          self.game,
          self.previous_agent,
          self.args,
          dirichlet_noise=True,
      )
      # MCTS of current generation
      self.current_mcts = MCTS(
          self.game, self.current_agent, self.args, dirichlet_noise=True
      )
  
file_path: PARL/benchmark/torch/AlphaZero/actor.py
imports: import numpy
  import parl
  import os
  from alphazero_agent import create_agent
  from MCTS import MCTS
  from Arena import Arena
  from utils import win_loss_draw
label_desc: Use image node_id 1 to create a new Actor object from inherited base classes: object with example: obj = Actor(game, args, seed)