|
|
virtual bool | want_interrupt ()=0 |
| |
Definition at line 250 of file AuxIndexStructures.h.
| void faiss::InterruptCallback::check |
( |
| ) |
|
|
static |
check if:
- an interrupt callback is set
- the callback retuns true if this is the case, then throw an exception
Definition at line 307 of file AuxIndexStructures.cpp.
| size_t faiss::InterruptCallback::get_period_hint |
( |
size_t |
flops | ) |
|
|
static |
assuming each iteration takes a certain number of flops, what is a reasonable interval to check for interrupts?
Definition at line 324 of file AuxIndexStructures.cpp.
| bool faiss::InterruptCallback::is_interrupted |
( |
| ) |
|
|
static |
The documentation for this struct was generated from the following files: