Apache SINGA
A distributed deep learning platform .
|
implementation of file i/o stream More...
#include <tensor_io.h>
Public Member Functions | |
FileStream (FILE *fp) | |
constructor | |
virtual size_t | Read (void *ptr, size_t size) |
read data from stream More... | |
virtual void | Write (const void *ptr, size_t size) |
write data to stream More... | |
void | Close (void) |
close file | |
Public Member Functions inherited from mshadow::utils::IStream | |
virtual | ~IStream (void) |
virtual destructor | |
implementation of file i/o stream
|
inlinevirtual |
read data from stream
ptr | pointer to memory buffer |
size | size of block |
Implements mshadow::utils::IStream.
|
inlinevirtual |
write data to stream
ptr | pointer to memory buffer |
size | size of block |
Implements mshadow::utils::IStream.