LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
protobuf_utils.hpp File Reference

static methods for parsing command line for prototext filenames, reading in prototext files, etc. More...

#include <memory>
#include <string>
#include <vector>
Include dependency graph for protobuf_utils.hpp:

Go to the source code of this file.

Classes

struct  lbann::prototext_fn_triple
 

Namespaces

 lbann_data
 
 lbann
 
 lbann::protobuf_utils
 

Functions

std::vector< std::unique_ptr< lbann_data::LbannPB > > lbann::protobuf_utils::load_prototext (const bool master, const int trainer_rank=0)
 convience wrapper for other parsing, loading, and verifying prototext. More...
 
std::vector< prototext_fn_triple > lbann::protobuf_utils::parse_prototext_filenames_from_command_line (const bool master, const int trainer_rank=0)
 Parses the command line for special prototext flags. More...
 
std::vector< std::unique_ptr< lbann_data::LbannPB > > lbann::protobuf_utils::read_in_prototext_files (const bool master, const std::vector< prototext_fn_triple > &names)
 
void lbann::protobuf_utils::verify_prototext (const bool master, const std::vector< std::unique_ptr< lbann_data::LbannPB >> &models)
 attempts to verify the all models are valid, and contain an optimizer and reader More...
 

Detailed Description

static methods for parsing command line for prototext filenames, reading in prototext files, etc.

Definition in file protobuf_utils.hpp.