Apache SINGA
A distributed deep learning platform .
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
singa::ModelProto Class Reference
Inheritance diagram for singa::ModelProto:

Public Types

typedef ModelProto_GradCalcAlg GradCalcAlg
 

Public Member Functions

 ModelProto (const ModelProto &from)
 
ModelProtooperator= (const ModelProto &from)
 
const
::google::protobuf::UnknownFieldSet & 
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (ModelProto *other)
 
ModelProtoNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const ModelProto &from)
 
void MergeFrom (const ModelProto &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
bool has_name () const
 
void clear_name ()
 
const ::std::string & name () const
 
void set_name (const ::std::string &value)
 
void set_name (const char *value)
 
void set_name (const char *value, size_t size)
 
inline::std::string * mutable_name ()
 
inline::std::string * release_name ()
 
void set_allocated_name (::std::string *name)
 
bool has_train_folder () const
 
void clear_train_folder ()
 
const ::std::string & train_folder () const
 
void set_train_folder (const ::std::string &value)
 
void set_train_folder (const char *value)
 
void set_train_folder (const char *value, size_t size)
 
inline::std::string * mutable_train_folder ()
 
inline::std::string * release_train_folder ()
 
void set_allocated_train_folder (::std::string *train_folder)
 
bool has_test_folder () const
 
void clear_test_folder ()
 
const ::std::string & test_folder () const
 
void set_test_folder (const ::std::string &value)
 
void set_test_folder (const char *value)
 
void set_test_folder (const char *value, size_t size)
 
inline::std::string * mutable_test_folder ()
 
inline::std::string * release_test_folder ()
 
void set_allocated_test_folder (::std::string *test_folder)
 
bool has_validation_folder () const
 
void clear_validation_folder ()
 
const ::std::string & validation_folder () const
 
void set_validation_folder (const ::std::string &value)
 
void set_validation_folder (const char *value)
 
void set_validation_folder (const char *value, size_t size)
 
inline::std::string * mutable_validation_folder ()
 
inline::std::string * release_validation_folder ()
 
void set_allocated_validation_folder (::std::string *validation_folder)
 
bool has_display_after_steps () const
 
void clear_display_after_steps ()
 
inline::google::protobuf::int32 display_after_steps () const
 
void set_display_after_steps (::google::protobuf::int32 value)
 
bool has_display_frequency () const
 
void clear_display_frequency ()
 
inline::google::protobuf::int32 display_frequency () const
 
void set_display_frequency (::google::protobuf::int32 value)
 
bool has_validation_after_steps () const
 
void clear_validation_after_steps ()
 
inline::google::protobuf::int32 validation_after_steps () const
 
void set_validation_after_steps (::google::protobuf::int32 value)
 
bool has_validation_frequency () const
 
void clear_validation_frequency ()
 
inline::google::protobuf::int32 validation_frequency () const
 
void set_validation_frequency (::google::protobuf::int32 value)
 
bool has_test_after_steps () const
 
void clear_test_after_steps ()
 
inline::google::protobuf::int32 test_after_steps () const
 
void set_test_after_steps (::google::protobuf::int32 value)
 
bool has_test_frequency () const
 
void clear_test_frequency ()
 
inline::google::protobuf::int32 test_frequency () const
 
void set_test_frequency (::google::protobuf::int32 value)
 
bool has_checkpoint_after_steps () const
 
void clear_checkpoint_after_steps ()
 
inline::google::protobuf::int32 checkpoint_after_steps () const
 
void set_checkpoint_after_steps (::google::protobuf::int32 value)
 
bool has_checkpoint_frequency () const
 
void clear_checkpoint_frequency ()
 
inline::google::protobuf::int32 checkpoint_frequency () const
 
void set_checkpoint_frequency (::google::protobuf::int32 value)
 
bool has_prefetch () const
 
void clear_prefetch ()
 
bool prefetch () const
 
void set_prefetch (bool value)
 
bool has_train_steps () const
 
void clear_train_steps ()
 
inline::google::protobuf::int32 train_steps () const
 
void set_train_steps (::google::protobuf::int32 value)
 
bool has_validation_steps () const
 
void clear_validation_steps ()
 
inline::google::protobuf::int32 validation_steps () const
 
void set_validation_steps (::google::protobuf::int32 value)
 
bool has_test_steps () const
 
void clear_test_steps ()
 
inline::google::protobuf::int32 test_steps () const
 
void set_test_steps (::google::protobuf::int32 value)
 
bool has_step () const
 
void clear_step ()
 
inline::google::protobuf::int32 step () const
 
void set_step (::google::protobuf::int32 value)
 
bool has_updater () const
 
void clear_updater ()
 
const ::singa::UpdaterProtoupdater () const
 
inline::singa::UpdaterProto * mutable_updater ()
 
inline::singa::UpdaterProto * release_updater ()
 
void set_allocated_updater (::singa::UpdaterProto *updater)
 
bool has_alg () const
 
void clear_alg ()
 
inline::singa::ModelProto_GradCalcAlg alg () const
 
void set_alg (::singa::ModelProto_GradCalcAlg value)
 
bool has_hogwild () const
 
void clear_hogwild ()
 
bool hogwild () const
 
void set_hogwild (bool value)
 
bool has_neuralnet () const
 
void clear_neuralnet ()
 
const ::singa::NetProtoneuralnet () const
 
inline::singa::NetProto * mutable_neuralnet ()
 
inline::singa::NetProto * release_neuralnet ()
 
void set_allocated_neuralnet (::singa::NetProto *neuralnet)
 
bool has_debug () const
 
void clear_debug ()
 
bool debug () const
 
void set_debug (bool value)
 
bool has_warmup_steps () const
 
void clear_warmup_steps ()
 
inline::google::protobuf::int32 warmup_steps () const
 
void set_warmup_steps (::google::protobuf::int32 value)
 

Static Public Member Functions

static const
::google::protobuf::Descriptor * 
descriptor ()
 
static const ModelProtodefault_instance ()
 
static bool GradCalcAlg_IsValid (int value)
 
static const
::google::protobuf::EnumDescriptor * 
GradCalcAlg_descriptor ()
 
static const ::std::string & GradCalcAlg_Name (GradCalcAlg value)
 
static bool GradCalcAlg_Parse (const ::std::string &name, GradCalcAlg *value)
 

Static Public Attributes

static const GradCalcAlg kBackPropagation = ModelProto_GradCalcAlg_kBackPropagation
 
static const GradCalcAlg kContrastiveDivergence = ModelProto_GradCalcAlg_kContrastiveDivergence
 
static const GradCalcAlg GradCalcAlg_MIN
 
static const GradCalcAlg GradCalcAlg_MAX
 
static const int GradCalcAlg_ARRAYSIZE
 
static const int kNameFieldNumber = 1
 
static const int kTrainFolderFieldNumber = 2
 
static const int kTestFolderFieldNumber = 3
 
static const int kValidationFolderFieldNumber = 4
 
static const int kDisplayAfterStepsFieldNumber = 6
 
static const int kDisplayFrequencyFieldNumber = 7
 
static const int kValidationAfterStepsFieldNumber = 10
 
static const int kValidationFrequencyFieldNumber = 11
 
static const int kTestAfterStepsFieldNumber = 13
 
static const int kTestFrequencyFieldNumber = 14
 
static const int kCheckpointAfterStepsFieldNumber = 15
 
static const int kCheckpointFrequencyFieldNumber = 16
 
static const int kPrefetchFieldNumber = 18
 
static const int kTrainStepsFieldNumber = 20
 
static const int kValidationStepsFieldNumber = 21
 
static const int kTestStepsFieldNumber = 22
 
static const int kStepFieldNumber = 29
 
static const int kUpdaterFieldNumber = 31
 
static const int kAlgFieldNumber = 32
 
static const int kHogwildFieldNumber = 33
 
static const int kNeuralnetFieldNumber = 40
 
static const int kDebugFieldNumber = 41
 
static const int kWarmupStepsFieldNumber = 50
 

Friends

void protobuf_AddDesc_model_2eproto ()
 
void protobuf_AssignDesc_model_2eproto ()
 
void protobuf_ShutdownFile_model_2eproto ()
 

Member Data Documentation

const int singa::ModelProto::GradCalcAlg_ARRAYSIZE
static
Initial value:
=
ModelProto_GradCalcAlg_GradCalcAlg_ARRAYSIZE
const GradCalcAlg singa::ModelProto::GradCalcAlg_MAX
static
Initial value:
=
ModelProto_GradCalcAlg_GradCalcAlg_MAX
const GradCalcAlg singa::ModelProto::GradCalcAlg_MIN
static
Initial value:
=
ModelProto_GradCalcAlg_GradCalcAlg_MIN

The documentation for this class was generated from the following file: