本文整理了Java中org.deeplearning4j.nn.api.Layer.fit()
方法的一些代码示例,展示了Layer.fit()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Layer.fit()
方法的具体详情如下:
包路径:org.deeplearning4j.nn.api.Layer
类名称:Layer
方法名:fit
暂无
代码示例来源:origin: org.deeplearning4j/deeplearning4j-scaleout-akka
@Override
public void perform(Job job) {
Serializable work = job.getWork();
if(work instanceof DataSet) {
DataSet data = (DataSet) work;
neuralNetwork.fit(data.getFeatureMatrix());
}
else if(work instanceof INDArray) {
neuralNetwork.fit((INDArray) work);
}
job.setResult(neuralNetwork.params());
}
代码示例来源:origin: org.deeplearning4j/deeplearning4j-cli-api
DataSetIterator iter = new RecordReaderDataSetIterator( reader , 1);
while(iter.hasNext()) {
l.fit(iter.next().getFeatureMatrix());
代码示例来源:origin: org.deeplearning4j/cdh4
while(recordParser.hasMoreRecords()) {
DataSet params = (DataSet) recordParser.nextRecord();
neuralNetwork.fit(params.getFeatureMatrix());
代码示例来源:origin: org.deeplearning4j/deeplearning4j-nn
layer.fit(gv.getInputs()[0]);
layer.conf().setPretrain(false);
代码示例来源:origin: org.deeplearning4j/deeplearning4j-nn
layer.fit(layerInput);
代码示例来源:origin: org.deeplearning4j/deeplearning4j-nn
layer.fit(layerInput);
layer.conf().setPretrain(false);
内容来源于网络,如有侵权,请联系作者删除!