DeterministicSetVisitor set the deterministic parameter given the deterministic value.
More...
|
template<typename T > |
std::enable_if< HasDeterministicCheck< T, bool &(T::*)(void)>::value &&HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, void >::type | LayerDeterministic (T *layer) const |
| Set the deterministic parameter if the module implements the Deterministic() and Model() function. More...
|
|
template<typename T > |
std::enable_if< !HasDeterministicCheck< T, bool &(T::*)(void)>::value &&HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, void >::type | LayerDeterministic (T *layer) const |
| Set the deterministic parameter if the module implements the Model() function. More...
|
|
template<typename T > |
std::enable_if< HasDeterministicCheck< T, bool &(T::*)(void)>::value &&!HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, void >::type | LayerDeterministic (T *layer) const |
| Set the deterministic parameter if the module implements the Deterministic() function. More...
|
|
template<typename T > |
std::enable_if< !HasDeterministicCheck< T, bool &(T::*)(void)>::value &&!HasModelCheck< T, std::vector< LayerTypes > &(T::*)()>::value, void >::type | LayerDeterministic (T *layer) const |
| Do not set the deterministic parameter if the module doesn't implement the Deterministic() or Model() function. More...
|
|
DeterministicSetVisitor set the deterministic parameter given the deterministic value.
Definition at line 29 of file deterministic_set_visitor.hpp.
mlpack::ann::DeterministicSetVisitor::DeterministicSetVisitor |
( |
const bool |
deterministic = true | ) |
|
Set the deterministic parameter given the current deterministic value.
template<typename T >
std::enable_if< HasDeterministicCheck<T, bool&(T::*)(void)>::value && HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, void>::type mlpack::ann::DeterministicSetVisitor::LayerDeterministic |
( |
T * |
layer | ) |
const |
|
private |
Set the deterministic parameter if the module implements the Deterministic() and Model() function.
template<typename T >
std::enable_if< !HasDeterministicCheck<T, bool&(T::*)(void)>::value && HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, void>::type mlpack::ann::DeterministicSetVisitor::LayerDeterministic |
( |
T * |
layer | ) |
const |
|
private |
Set the deterministic parameter if the module implements the Model() function.
template<typename T >
std::enable_if< HasDeterministicCheck<T, bool&(T::*)(void)>::value && !HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, void>::type mlpack::ann::DeterministicSetVisitor::LayerDeterministic |
( |
T * |
layer | ) |
const |
|
private |
Set the deterministic parameter if the module implements the Deterministic() function.
template<typename T >
std::enable_if< !HasDeterministicCheck<T, bool&(T::*)(void)>::value && !HasModelCheck<T, std::vector<LayerTypes>&(T::*)()>::value, void>::type mlpack::ann::DeterministicSetVisitor::LayerDeterministic |
( |
T * |
layer | ) |
const |
|
private |
Do not set the deterministic parameter if the module doesn't implement the Deterministic() or Model() function.
template<typename LayerType >
void mlpack::ann::DeterministicSetVisitor::operator() |
( |
LayerType * |
layer | ) |
const |
Set the deterministic parameter.
const bool mlpack::ann::DeterministicSetVisitor::deterministic |
|
private |
The documentation for this class was generated from the following file: