- All Implemented Interfaces:
- java.io.Serializable, org.apache.spark.api.java.function.VoidFunction<java.util.Iterator<org.nd4j.linalg.dataset.api.MultiDataSet>>
public class MultiDataSetExportFunction
extends java.lang.Object
implements org.apache.spark.api.java.function.VoidFunction<java.util.Iterator<org.nd4j.linalg.dataset.api.MultiDataSet>>
A function (used in forEachPartition) to save MultiDataSet objects to disk/HDFS. Each MultiDataSet object is given a random and
(probably) unique name, starting with "mds_" and ending with ".bin".
Use with JavaRDD<MultiDataSet>.foreachPartition()
- See Also:
- Serialized Form