qcnn
Class DataGenerator
java.lang.Object
qcnn.DataGenerator
public class DataGenerator
- extends java.lang.Object
- Author:
- nabhoth
TODO To change the template for this generated type comment go to Window -
Preferences - Java - Code Style - Code Templates
Field Summary |
(package private) int |
dataLength
|
(package private) java.io.File |
f
|
(package private) java.io.RandomAccessFile |
raf
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
raf
java.io.RandomAccessFile raf
f
java.io.File f
dataLength
int dataLength
DataGenerator
public DataGenerator()
DataGenerator
public DataGenerator(int inputW,
int outputW)
genData
public void genData(int in,
int out)
throws java.io.IOException
- Throws:
java.io.IOException
getDataFileName
public java.lang.String getDataFileName()
getDataStream
public java.io.RandomAccessFile getDataStream()
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
main
public static void main(java.lang.String[] args)