Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Friends
caffe2::serialize::PyTorchStreamWriter Class Referencefinal

Public Member Functions

 PyTorchStreamWriter (std::string archive_name, std::ostream *out=nullptr)
 
 PyTorchStreamWriter (std::ostream *out)
 
void writeRecord (const std::string &name, const void *data, size_t size)
 
void writeEndOfFile ()
 
bool finalized () const
 
const std::string & archiveName ()
 

Friends

size_t ostream_write_func (void *pOpaque, uint64_t file_ofs, const void *pBuf, size_t n)
 

Detailed Description

Definition at line 127 of file inline_container.h.


The documentation for this class was generated from the following files: