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

Public Member Functions

 Index (int64_tValue maxElements)
 
void Get (const T *keys, int64_tValue *values, size_t numKeys)
 
bool Load (const T *keys, size_t numKeys)
 
bool Store (Tensor *out)
 
- Public Member Functions inherited from caffe2::IndexBase
 IndexBase (int64_tValue maxElements, const TypeMeta &type)
 
void Freeze ()
 
bool isFrozen () const
 
int64_t maxElements () const
 
const TypeMetaType () const
 
int64_tValue Size ()
 

Additional Inherited Members

- Protected Attributes inherited from caffe2::IndexBase
int64_t maxElements_
 
TypeMeta meta_
 
int64_tValue nextId_ {1}
 
std::atomic< bool > frozen_ {false}
 
std::mutex dictMutex_
 

Detailed Description

template<typename T>
struct caffe2::Index< T >

Definition at line 56 of file index_ops.h.


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