Public Member Functions | |
void | Serialize (const Blob &blob, const string &name, SerializationAcceptor acceptor) override |
Serializes a Blob. 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)> |
Definition at line 12 of file qtensor_serialization.h.
|
override |
Serializes a Blob.
Note that this blob has to contain QTensor<Context>.
Definition at line 36 of file qtensor_serialization.h.