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 >:

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

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

Definition at line 52 of file

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