Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
caffe2::QTensorSerializer< Context > Class Template Reference
Inheritance diagram for caffe2::QTensorSerializer< Context >:

Public Member Functions

void Serialize (const void *pointer, TypeMeta typeMeta, const string &name, SerializationAcceptor acceptor) override
 Serializes a Blob. More...
- Public Member Functions inherited from caffe2::BlobSerializerBase
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)

Additional Inherited Members

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

Detailed Description

template<class Context>
class caffe2::QTensorSerializer< Context >

Definition at line 12 of file qtensor_serialization.h.

Member Function Documentation

template<class Context >
void caffe2::QTensorSerializer< Context >::Serialize ( const void *  pointer,
TypeMeta  typeMeta,
const string &  name,
BlobSerializerBase::SerializationAcceptor  acceptor 

Serializes a Blob.

Note that this blob has to contain QTensor<Context>.

Definition at line 37 of file qtensor_serialization.h.

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