org.deeplearning4j.zoo.InstantiableModel Maven / Gradle / Ivy
package org.deeplearning4j.zoo;
import org.deeplearning4j.nn.api.Model;
/**
* Interface for defining a model that can be instantiated and return
* information about itself.
*/
public interface InstantiableModel {
void setInputShape(int[][] inputShape);
M init();
@Deprecated ModelMetaData metaData();
Class extends Model> modelType();
String pretrainedUrl(PretrainedType pretrainedType);
long pretrainedChecksum(PretrainedType pretrainedType);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy