Package io.deephaven.modelfarm
Class ModelInputSerializer<T>
java.lang.Object
io.deephaven.modelfarm.ModelInputSerializer<T>
- Type Parameters:
T
- input data type
- All Implemented Interfaces:
Model<T>
,AutoCloseable
Serialize model inputs to a file.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ModelInputSerializer
Creates a new serializer.- Parameters:
filename
- output file name
-
-
Method Details
-
exec
Description copied from interface:Model
Execute the model on a new dataset. -
close
Closes the output stream.- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
- problem closing the output stream
-