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