code: def __init__(self, smiles_list, smiles2graph=smiles2graph):
      super(OnTheFlyPCQMDataset, self).__init__()
      self.smiles_list = smiles_list
      self.smiles2graph = smiles2graph
  
file_path: dgl/examples/pytorch/ogb_lsc/PCQM4M/test_inference.py
imports: import argparse
  import os
  import random
  import dgl
  import numpy
  import torch
  from gnn import GNN
  from ogb.lsc import PCQM4MDataset, PCQM4MEvaluator
  from ogb.utils import smiles2graph
  from torch.utils.data import DataLoader
  from tqdm import tqdm
label_desc: Use image node_id 1 to create a new OnTheFlyPCQMDataset object from inherited base classes: object with example: obj = OnTheFlyPCQMDataset(smiles_list, smiles2graph)