Caffe2 - C++ API
A deep learning, cross platform ML framework
Public Member Functions | Protected Attributes
caffe2::IndexBase Struct Reference
Inheritance diagram for caffe2::IndexBase:
caffe2::Index< T >

Public Member Functions

 IndexBase (int64_tValue maxElements, const TypeMeta &type)
 
void Freeze ()
 
bool isFrozen () const
 
int64_t maxElements () const
 
const TypeMetaType () const
 
int64_tValue Size ()
 

Protected Attributes

int64_t maxElements_
 
TypeMeta meta_
 
int64_tValue nextId_ {1}
 
std::atomic< bool > frozen_ {false}
 
std::mutex dictMutex_
 

Detailed Description

Definition at line 19 of file index_ops.h.


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