class_docstr: Buffer to store the data from the games played by the MCTS agent.
code: def __del__(self):
      shutil.rmtree(self.temp_dir)
  
imports: import json
  import os
  import shutil
  import tempfile
  from pathlib import Path
  from typing import List, Tuple
  import numpy
  import torch
  from torch.utils.data import Dataset
  from open_alpha_tensor.core.data.generation import generate_synthetic_data
  from open_alpha_tensor.core.data.utils import get_scalars, map_triplet_to_action
label_desc: Use image node_id 2 for calling the GameDataBuffer obj's underlying member method code with example usage: obj.__del__() without return types