code: def create_batch(input_data):
      num_sample = input_data[0].shape[0]
      list_bat = []
      for i in range(0, num_sample, batch_size):
          if (i + batch_size) < num_sample:
              list_bat.append((i, i + batch_size))
          else:
              list_bat.append((i, num_sample))
      return list_bat
  
file_path: PGL/examples/chebnetii/ogb/large_train.py
imports: import random
  import argparse
  import uuid
  import numpy
  import paddle
  from paddle.optimizer import Adam
  from model import ChebNetII
  from utils import set_seed
label_desc: Use image node_id 1 for calling a global function with example usage: create_batch(input_data) and returns: list_bat