27 #ifndef LBANN_CALLBACKS_CALLBACK_PERTURB_DROPOUT_HPP_INCLUDED 28 #define LBANN_CALLBACKS_CALLBACK_PERTURB_DROPOUT_HPP_INCLUDED 51 std::set<std::string> layer_names = std::set<std::string>());
53 std::string
name()
const override {
return "perturb dropout"; }
61 template <
class Archive>
85 template <
typename TensorDataType, data_layout T_layout, El::Device Dev>
93 std::unique_ptr<callback_base>
95 std::shared_ptr<lbann_summary>
const&);
100 #endif // LBANN_CALLBACKS_CALLBACK_PERTURB_DROPOUT_HPP_INCLUDED Hyperparameter exploration with dropouts.
std::string name() const override
Return this callback's name.
Neural network tensor operation.
friend class cereal::access
perturb_dropout * copy() const override
Base class for callbacks during training/testing.
void write_specific_proto(lbann_data::Callback &proto) const final
std::set< std::string > m_layer_names
Abstract base class for neural network models.
dropout< TensorDataType, T_layout, Dev > * get_dropout_layer(Layer *l)
EvalType m_keep_prob_factor
Probabilistically drop layer outputs.
void serialize(Archive &ar)
Store state to archive for checkpoint and restart.
std::unique_ptr< callback_base > build_perturb_dropout_callback_from_pbuf(const google::protobuf::Message &, std::shared_ptr< lbann_summary > const &)
void setup(model *m) override
Called once to set up the callback on the model (after all layers are set up).