November 2019
Intermediate to advanced
304 pages
8h 40m
English
ComputationGraphConfiguration configuration = builder.build(); ComputationGraph model = new ComputationGraph(configuration);
for(int i=0;i<epochs;i++){ model.fit(trainDataSetIterator); }
You can use the following approach as well:
model.fit(trainDataSetIterator,epochs);
We can then avoid using a for loop by directly specifying the epochs parameter in the fit() method.