code: def my_train_split(ds, y):
      # Return (corpus.train, corpus.valid) in case the network
      # is fitted using net.fit(corpus.train).
      return ds, skorch.dataset.Dataset(corpus.valid[:200], y=None)
  
file_path: skorch/examples/word_language_model/train.py
imports: import argparse
  import skorch
  import torch
  from sklearn.model_selection import GridSearchCV
  import data
  from model import RNNModel
  from net import Net
label_desc: Use image node_id 1 for calling a global function with example usage: my_train_split(ds, y) and returns: ds,  skorch