caffe2/core/blob_serialization.cc
// The blob serialization member function implementation.
The blob serialization member function implementation.
The blob serialization member function implementation .
void Blob::Serialize(
    const string& name,
    BlobSerializerBase::SerializationAcceptor acceptor,
    int chunk_size) const {
  std::unique_ptr<BlobSerializerBase> serializer(CreateSerializer(meta_.id()));
  CAFFE_ENFORCE(serializer, "No known serializer for ", meta_.name());
  serializer->SerializeWithChunkSize(*this, name, acceptor, chunk_size);
}
void Blob :: Serialize ( const string & name , BlobSerializerBase :: SerializationAcceptor acceptor , int chunk_size ) const { std :: unique_ptr < BlobSerializerBase > serializer ( CreateSerializer ( meta_ . id ( ) ) ) ; CAFFE_ENFORCE ( serializer , " " , meta_ . name ( ) ) ; serializer -> SerializeWithChunkSize ( * this , name , acceptor , chunk_size ) ; }
The blob serialization member function implementation.
The blob serialization member function implementation .