code: def _np_to_creator(self, data):
      def data_creator(config):
          x, y = PytorchBaseModel.covert_input(data)
          x = self._reshape_input(x)
          y = self._reshape_input(y)
          return DataLoader(
              TensorDataset(x, y),
              batch_size=int(config["batch_size"]),
              shuffle=True,
          )
  
      return data_creator
  
imports: import torch
  from torch.utils.data import TensorDataset, DataLoader
  import types
  import numpy
  import math
  import pandas
  import tempfile
  import os
  from zoo.orca.automl.model.abstract import BaseModel, ModelBuilder
  from zoo.orca.automl.metrics import Evaluator
  from zoo.orca.automl.pytorch_utils import LR_NAME, DEFAULT_LR
label_desc: Use image node_id 6 for calling the PytorchBaseModel obj's underlying member method code with example usage: obj._np_to_creator(data) and returns: data_creator, DataLoader