DiSMEC++
|
#include <hash_vector.h>
Public Member Functions | |
CacheHelper (Eigen::Index size) | |
template<class F > | |
const DenseRealVector & | update (const HashVector &input, F &&function) |
void | invalidate () |
Private Attributes | |
VectorHash | m_Input |
DenseRealVector | m_Output |
Definition at line 181 of file hash_vector.h.
|
inlineexplicit |
Definition at line 183 of file hash_vector.h.
|
inline |
Definition at line 195 of file hash_vector.h.
References m_Input.
Referenced by dismec::objective::DenseAndSparseLinearBase::invalidate_labels().
|
inline |
Definition at line 186 of file hash_vector.h.
References dismec::HashVector::get(), dismec::HashVector::hash(), m_Input, and m_Output.
Referenced by dismec::objective::DenseAndSparseLinearBase::cached_2nd_derivative(), and dismec::objective::DenseAndSparseLinearBase::cached_derivative().
|
private |
Definition at line 199 of file hash_vector.h.
Referenced by invalidate(), and update().
|
private |
Definition at line 200 of file hash_vector.h.
Referenced by update().