Serializer

Utility class used by vectorflow to serialize a net. @TODO: handle endianness properly for cross-arch compat.

Constructors

this
this(File* f)
Undocumented in source.

Members

Classes

EOFException
class EOFException
Undocumented in source.

Functions

deserialize_layers
NeuralLayer[] deserialize_layers()
Undocumented in source. Be warned that the author may not have intended to support it.
read
T read()
Undocumented in source. Be warned that the author may not have intended to support it.
read_vec
T[] read_vec()
Undocumented in source. Be warned that the author may not have intended to support it.
write
void write(T data)
Undocumented in source. Be warned that the author may not have intended to support it.
write_vec
void write_vec(T vec)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_f
File* _f;
Undocumented in source.

Meta