Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
caffe2::db::DBReaderSerializer Class Reference
Inheritance diagram for caffe2::db::DBReaderSerializer:
caffe2::BlobSerializerBase

Public Member Functions

void Serialize (const Blob &blob, const string &name, BlobSerializerBase::SerializationAcceptor acceptor) override
 Serializes a DBReader. More...
 
- Public Member Functions inherited from caffe2::BlobSerializerBase
virtual void Serialize (const Blob &blob, const std::string &name, SerializationAcceptor acceptor)=0
 The virtual function that returns a serialized string for the input blob. More...
 
virtual void SerializeWithChunkSize (const Blob &blob, const std::string &name, SerializationAcceptor acceptor, int chunk_size)
 

Additional Inherited Members

- Public Types inherited from caffe2::BlobSerializerBase
using SerializationAcceptor = std::function< void(const std::string &blobName, const std::string &data)>
 

Detailed Description

Definition at line 260 of file db.h.

Member Function Documentation

◆ Serialize()

void caffe2::db::DBReaderSerializer::Serialize ( const Blob blob,
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 172 of file db.cc.


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