code: def __transform_gtn_data(self):
      self.__data.train_mask = torch.zeros(
          self.__data.x.size(0), dtype=torch.bool
      )
      self.__data.val_mask = torch.zeros(
          self.__data.x.size(0), dtype=torch.bool
      )
      self.__data.test_mask = torch.zeros(
          self.__data.x.size(0), dtype=torch.bool
      )
      self.__data.train_mask[getattr(self.__data, "train_node")] = True
      self.__data.val_mask[getattr(self.__data, "valid_node")] = True
      self.__data.test_mask[getattr(self.__data, "test_node")] = True
  
imports: import os
  import os.path
  import shutil
  import pickle
  import numpy
  import torch
  import typing
  from autogl.data import Data, download_url, InMemoryStaticGraphSet
  from autogl.data.graph import GeneralStaticGraphGenerator
  from ._dataset_registry import DatasetUniversalRegistry
  from ._data_source import OnlineDataSource
  from ..None import backend
label_desc: Use image node_id 5 for calling the _GTNDataSource obj's underlying member method code with example usage: obj.__transform_gtn_data() without return types