code: def __init__(
      self, action, obs, done, reward, state, mcts, parent=None
  ):
      self.env = parent.env
      self.action = action  # Action used to go to this state
  
      self.is_expanded = False
      self.parent = parent
      self.children = {}
  
      self.action_space_size = self.env.action_space.n
      self.child_total_value = np.zeros(
          [self.action_space_size], dtype=np.float32
      )  # Q
      self.child_priors = np.zeros(
          [self.action_space_size], dtype=np.float32
      )  # P
      self.child_number_visits = np.zeros(
          [self.action_space_size], dtype=np.float32
      )  # N
      self.valid_actions = obs["action_mask"].astype(np.bool_)
  
      self.reward = reward
      self.done = done
      self.state = state
      self.obs = obs
  
      self.mcts = mcts
  
imports: import collections
  import math
  import numpy
label_desc: Use image node_id 1 to create a new Node object  with example: obj = Node(action, obs, done, reward, state, mcts, parent)