All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.deeplearning4j.spark.api.WorkerConfiguration Maven / Gradle / Ivy

There is a newer version: 1.0.0-beta_spark_2
Show newest version
package org.deeplearning4j.spark.api;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.io.Serializable;

/**
 * A simple configuration object (common settings for workers)
 *
 * @author Alex Black
 */
@AllArgsConstructor @Data
public class WorkerConfiguration implements Serializable {

    protected final boolean isGraphNetwork;
    protected final int batchSizePerWorker;
    protected final int maxBatchesPerWorker;
    protected final int prefetchNumBatches;
    protected final boolean collectTrainingStats;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy