code: def create_agent(game):
      model = Connect4Model(game, args)
      algorithm = AlphaZero(model)
      alphazero_agent = AlphaZeroAgent(algorithm, game)
      return alphazero_agent
  
file_path: PARL/examples/AlphaZero/alphazero_agent.py
imports: import parl
  import paddle
  import numpy
  from utils import *
  from tqdm import tqdm
  from connect4_model import Connect4Model
label_desc: Use image node_id 1 for calling a global function with example usage: create_agent(game) and returns: alphazero_agent