Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions
caffe2::db::Transaction Class Referenceabstract

An abstract class for the current database transaction while writing. More...

#include <db.h>

Inheritance diagram for caffe2::db::Transaction:
caffe2::db::LevelDBTransaction caffe2::db::LMDBTransaction caffe2::db::MiniDBTransaction caffe2::db::ProtoDBTransaction caffe2::db::RocksDBTransaction

Public Member Functions

virtual void Put (const string &key, const string &value)=0
 Puts the key value pair to the database.
 
virtual void Commit ()=0
 Commits the current writes.
 
 DISABLE_COPY_AND_ASSIGN (Transaction)
 

Detailed Description

An abstract class for the current database transaction while writing.

Definition at line 61 of file db.h.


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