code: def __init__(self, triple):
      self.triple = triple
      self.len = self.triple.shape[0]
  
file_path: dgl/examples/pytorch/TAHIN/data_loader.py
imports: import os
  import pickle
  import random
  import dgl
  import numpy
  import torch
  from torch.utils.data import DataLoader, Dataset
label_desc: Use image node_id 1 to create a new MyDataset object from inherited base classes: Dataset with example: obj = MyDataset(triple)