|
void | Serialize (const void *pointer, TypeMeta typeMeta, const string &name, BlobSerializerBase::SerializationAcceptor acceptor) override |
| Serializes a DBReader. More...
|
|
virtual void | Serialize (const void *pointer, TypeMeta typeMeta, const std::string &name, SerializationAcceptor acceptor)=0 |
| The virtual function that returns a serialized string for the input blob. More...
|
|
virtual void | SerializeWithChunkSize (const void *pointer, TypeMeta typeMeta, const std::string &name, SerializationAcceptor acceptor, int) |
|
|
using | SerializationAcceptor = std::function< void(const std::string &blobName, const std::string &data)> |
|
Definition at line 297 of file db.h.
void caffe2::db::DBReaderSerializer::Serialize |
( |
const void * |
pointer, |
|
|
TypeMeta |
typeMeta, |
|
|
const string & |
name, |
|
|
BlobSerializerBase::SerializationAcceptor |
acceptor |
|
) |
| |
|
override |
Serializes a DBReader.
Note that this blob has to contain DBReader, otherwise this function produces a fatal error.
Definition at line 174 of file db.cc.
The documentation for this class was generated from the following files: