public class FileIterationListener
extends java.lang.Object
implements org.deeplearning4j.optimize.api.IterationListener
| Constructor and Description |
|---|
FileIterationListener(java.lang.String filename,
int numMiniBatches)
Constructor for this listener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
invoke()
No-op method.
|
boolean |
invoked()
Always returns false.
|
void |
iterationDone(org.deeplearning4j.nn.api.Model model,
int epoch)
Method that gets called when an iteration is done.
|
public FileIterationListener(java.lang.String filename,
int numMiniBatches)
throws java.lang.Exception
filename - the file to write the information tonumMiniBatches - the number of mini batchesjava.lang.Exceptionpublic void invoke()
invoke in interface org.deeplearning4j.optimize.api.IterationListenerpublic boolean invoked()
invoked in interface org.deeplearning4j.optimize.api.IterationListenerpublic void iterationDone(org.deeplearning4j.nn.api.Model model,
int epoch)
iterationDone in interface org.deeplearning4j.optimize.api.IterationListenermodel - the model to operate withepoch - the epoch number