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 (TIndexValue maxElements, const TypeMeta &type)
 
void Freeze ()
 
bool isFrozen () const
 
int64_t maxElements () const
 
const TypeMetaType () const
 
TIndexValue Size ()
 

Protected Attributes

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

Detailed Description

Definition at line 33 of file index_ops.cc.


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