27 #ifndef LBANN_CALLBACKS_CALLBACK_DUMP_MODEL_GRAPH_HPP_INCLUDED 28 #define LBANN_CALLBACKS_CALLBACK_DUMP_MODEL_GRAPH_HPP_INCLUDED 53 std::string
name()
const override {
return "print tensor dimensions"; }
69 const google::protobuf::Message&,
70 std::shared_ptr<lbann_summary>
const&);
75 #endif // LBANN_CALLBACKS_CALLBACK_DUMP_MODEL_GRAPH_HPP_INCLUDED void on_setup_end(model *m) override
Called at the end of setup.
std::unique_ptr< callback_base > build_dump_model_graph_callback_from_pbuf(const google::protobuf::Message &, std::shared_ptr< lbann_summary > const &)
void write_specific_proto(lbann_data::Callback &proto) const final
dump_model_graph(std::string basename, bool print)
dump_model_graph * copy() const override
Base class for callbacks during training/testing.
Abstract base class for neural network models.
void print(const El::Matrix< uint8_t > &mat, El::Int height, El::Int width, El::Int channels=1)
dump_model_graph & operator=(const dump_model_graph &)=default
Dump model graph callback.
std::string name() const override
Return this callback's name.