|
LBANN
0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
|
#include <select.hpp>
Public Member Functions | |
| SelectOperator (double value=0., bool constant_if_true=false, bool constant_if_false=false, double value_if_true=0., double value_if_false=0., double epsilon=1e-5) | |
| SelectOperator (SelectOperator &&)=default | |
| SelectOperator (SelectOperator const &)=default | |
| SelectOperator & | operator= (SelectOperator &&)=default |
| SelectOperator & | operator= (SelectOperator const &)=default |
| ~SelectOperator ()=default | |
| std::string | get_type () const final |
| int | get_backprop_requirements () const final |
| template<typename ArchiveT > | |
| void | serialize (ArchiveT &ar) |
| DataT | get_value () |
| DataT | get_epsilon () |
| bool | is_true_case_constant () |
| bool | is_false_case_constant () |
| DataT | get_constant_true_case () |
| DataT | get_constant_false_case () |
Public Member Functions inherited from lbann::Cloneable< SelectOperator< DataT, D >, ElementwiseOperator< DataT, DataT, D > > | |
| std::unique_ptr< SelectOperator< DataT, D > > | clone () const |
| Return an exception-safe, memory-safe copy of this object. More... | |
Private Types | |
| using | BaseType = Cloneable< SelectOperator< DataT, D >, ElementwiseOperator< DataT, DataT, D > > |
| using | LocalInputTensorType = typename BaseType::LocalInputTensorType |
| using | LocalOutputTensorType = typename BaseType::LocalOutputTensorType |
| using | ConstLocalInputTensorType = typename BaseType::ConstLocalInputTensorType |
| using | ConstLocalOutputTensorType = typename BaseType::ConstLocalOutputTensorType |
Private Member Functions | |
| void | fp_compute_local (std::vector< ConstLocalInputTensorType > inputs, std::vector< LocalOutputTensorType > outputs) const final |
| void | bp_compute_local (std::vector< ConstLocalInputTensorType > inputs, std::vector< ConstLocalOutputTensorType > grads_wrt_outputs, std::vector< LocalInputTensorType > grads_wrt_inputs) const final |
| void | set_proto_params (lbann_data::Operator &msg) const final |
| void | do_fill_description (description &desc) const final |
Private Attributes | |
| DataT | m_value |
| bool | m_constant_if_true |
| bool | m_constant_if_false |
| DataT | m_value_if_true |
| DataT | m_value_if_false |
| DataT | m_epsilon |
Definition at line 46 of file select.hpp.
|
private |
Definition at line 51 of file select.hpp.
|
private |
Definition at line 55 of file select.hpp.
|
private |
Definition at line 57 of file select.hpp.
|
private |
Definition at line 52 of file select.hpp.
|
private |
Definition at line 53 of file select.hpp.
|
inline |
|
default |
|
default |
|
default |
|
finalprivate |
|
inlinefinalprivate |
Definition at line 122 of file select.hpp.
|
finalprivate |
|
inlinefinal |
Definition at line 79 of file select.hpp.
|
inline |
|
inline |
Definition at line 101 of file select.hpp.
|
inline |
Definition at line 98 of file select.hpp.
|
inlinefinal |
Definition at line 78 of file select.hpp.
|
inline |
Definition at line 97 of file select.hpp.
|
inline |
Definition at line 100 of file select.hpp.
|
inline |
Definition at line 99 of file select.hpp.
|
default |
|
default |
|
inline |
Definition at line 84 of file select.hpp.
|
inlinefinalprivate |
Definition at line 111 of file select.hpp.
|
private |
Definition at line 148 of file select.hpp.
|
private |
Definition at line 148 of file select.hpp.
|
private |
Definition at line 149 of file select.hpp.
|
private |
Definition at line 147 of file select.hpp.
|
private |
Definition at line 149 of file select.hpp.
|
private |
Definition at line 149 of file select.hpp.