public abstract class MnistDbFileextends RandomAccessFile
|Constructor and Description|
Creates new instance and reads the header information.
|Modifier and Type||Method and Description|
The current entry index.
Number of bytes for each entry.
MNIST DB files start with unique integer number.
Move to the next entry.
Move to the previous entry.
Set the required current entry index.
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF
protected abstract int getMagicNumber()
public long getCurrentIndex() throws IOException
public void setCurrentIndex(long curr)
curr- the entry index
public int getHeaderSize()
public int getEntryLength()
public int getCount()
Copyright © 2015. All rights reserved.