code: def train_dataloader_creator(config):
      return DataLoader(
          LinearDataset(size=config["train_size"]),
          batch_size=config["batch_size"],
          shuffle=config["shuffle"],
      )
  
imports: from unittest import TestCase
  from bigdl.orca.automl.model.base_pytorch_model import PytorchModelBuilder
  from torch.utils.data import Dataset, DataLoader
  import pytest
  import numpy
  import torch
  import torch.nn
label_desc: Use image node_id 3 for calling a global function with example usage: train_dataloader_creator(config) and returns: DataLoader