public class BinaryPerceptronModelReader extends PerceptronModelReader
Constructor and Description |
---|
BinaryPerceptronModelReader(java.io.DataInputStream dis)
Constructor which directly instantiates the DataInputStream containing
the model contents.
|
BinaryPerceptronModelReader(java.io.File f)
Constructor which takes a File and creates a reader for it.
|
checkModelType, constructModel
getModel, readDouble, readInt, readUTF
public BinaryPerceptronModelReader(java.io.DataInputStream dis)
dis
- The DataInputStream containing the model information.public BinaryPerceptronModelReader(java.io.File f) throws java.io.IOException
f
- The File in which the model is stored.java.io.IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved