MCPcopy Create free account
hub / github.com/LBANN/lbann / write_specific_proto

Method write_specific_proto

src/callbacks/dump_weights.cpp:359–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

357}
358
359void dump_weights::write_specific_proto(lbann_data::Callback& proto) const
360{
361 auto* msg = proto.mutable_dump_weights();
362 msg->set_directory(m_directory);
363 msg->set_epoch_interval(m_epoch_interval);
364 msg->set_format(to_string(*m_file_format));
365}
366
367std::unique_ptr<callback_base> build_dump_weights_callback_from_pbuf(
368 const google::protobuf::Message& proto_msg,

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.70

Tested by

no test coverage detected