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

org.deeplearning4j.datasets.fetchers.CacheableDataSet Maven / Gradle / Ivy

There is a newer version: 1.0.0-M2.1
Show newest version
package org.deeplearning4j.datasets.fetchers;

import org.datavec.api.records.reader.RecordReader;
import org.datavec.image.transform.ImageTransform;

/**
 * Interface for defining a model that can be instantiated and return
 * information about itself.
 *
 * @author Justin Long (crockpotveggies)
 */
interface CacheableDataSet {

    String remoteDataUrl();
    String remoteDataUrl(DataSetType set);
    String localCacheName();
    String dataSetName(DataSetType set);
    long expectedChecksum();
    long expectedChecksum(DataSetType set);
    boolean isCached();
    RecordReader getRecordReader(long rngSeed, int[] imgDim, DataSetType set, ImageTransform imageTransform);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy