how to structure multidataset format to train ComputationGraph in deeplearning4j?

See Deeplearning4j spark running error too large frame - #2 by treo.