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

Public Member Functions

 LayerProto (const LayerProto &from)
 
LayerProtooperator= (const LayerProto &from)
 
const
::google::protobuf::UnknownFieldSet & 
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (LayerProto *other)
 
LayerProtoNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const LayerProto &from)
 
void MergeFrom (const LayerProto &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_type () const
 
void clear_type ()
 
const ::std::string & type () const
 
void set_type (const ::std::string &value)
 
void set_type (const char *value)
 
void set_type (const char *value, size_t size)
 
inline::std::string * mutable_type ()
 
inline::std::string * release_type ()
 
void set_allocated_type (::std::string *type)
 
int srclayers_size () const
 
void clear_srclayers ()
 
const ::std::string & srclayers (int index) const
 
inline::std::string * mutable_srclayers (int index)
 
void set_srclayers (int index, const ::std::string &value)
 
void set_srclayers (int index, const char *value)
 
void set_srclayers (int index, const char *value, size_t size)
 
inline::std::string * add_srclayers ()
 
void add_srclayers (const ::std::string &value)
 
void add_srclayers (const char *value)
 
void add_srclayers (const char *value, size_t size)
 
const
::google::protobuf::RepeatedPtrField
< ::std::string > & 
srclayers () const
 
inline::google::protobuf::RepeatedPtrField
< ::std::string > * 
mutable_srclayers ()
 
bool has_locationid () const
 
void clear_locationid ()
 
inline::google::protobuf::int32 locationid () const
 
void set_locationid (::google::protobuf::int32 value)
 
bool has_partitionid () const
 
void clear_partitionid ()
 
inline::google::protobuf::int32 partitionid () const
 
void set_partitionid (::google::protobuf::int32 value)
 
bool has_partition_type () const
 
void clear_partition_type ()
 
inline::singa::PartitionType partition_type () const
 
void set_partition_type (::singa::PartitionType value)
 
bool has_datablob () const
 
void clear_datablob ()
 
const ::std::string & datablob () const
 
void set_datablob (const ::std::string &value)
 
void set_datablob (const char *value)
 
void set_datablob (const char *value, size_t size)
 
inline::std::string * mutable_datablob ()
 
inline::std::string * release_datablob ()
 
void set_allocated_datablob (::std::string *datablob)
 
int share_ary_size () const
 
void clear_share_ary ()
 
const ::std::string & share_ary (int index) const
 
inline::std::string * mutable_share_ary (int index)
 
void set_share_ary (int index, const ::std::string &value)
 
void set_share_ary (int index, const char *value)
 
void set_share_ary (int index, const char *value, size_t size)
 
inline::std::string * add_share_ary ()
 
void add_share_ary (const ::std::string &value)
 
void add_share_ary (const char *value)
 
void add_share_ary (const char *value, size_t size)
 
const
::google::protobuf::RepeatedPtrField
< ::std::string > & 
share_ary () const
 
inline::google::protobuf::RepeatedPtrField
< ::std::string > * 
mutable_share_ary ()
 
int param_size () const
 
void clear_param ()
 
const ::singa::ParamProtoparam (int index) const
 
inline::singa::ParamProto * mutable_param (int index)
 
inline::singa::ParamProto * add_param ()
 
const
::google::protobuf::RepeatedPtrField
< ::singa::ParamProto > & 
param () const
 
inline::google::protobuf::RepeatedPtrField
< ::singa::ParamProto > * 
mutable_param ()
 
int share_param_size () const
 
void clear_share_param ()
 
const ::std::string & share_param (int index) const
 
inline::std::string * mutable_share_param (int index)
 
void set_share_param (int index, const ::std::string &value)
 
void set_share_param (int index, const char *value)
 
void set_share_param (int index, const char *value, size_t size)
 
inline::std::string * add_share_param ()
 
void add_share_param (const ::std::string &value)
 
void add_share_param (const char *value)
 
void add_share_param (const char *value, size_t size)
 
const
::google::protobuf::RepeatedPtrField
< ::std::string > & 
share_param () const
 
inline::google::protobuf::RepeatedPtrField
< ::std::string > * 
mutable_share_param ()
 
int exclude_size () const
 
void clear_exclude ()
 
inline::singa::Phase exclude (int index) const
 
void set_exclude (int index,::singa::Phase value)
 
void add_exclude (::singa::Phase value)
 
const
::google::protobuf::RepeatedField
< int > & 
exclude () const
 
inline::google::protobuf::RepeatedField
< int > * 
mutable_exclude ()
 
bool has_convolution_param () const
 
void clear_convolution_param ()
 
const ::singa::ConvolutionProtoconvolution_param () const
 
inline::singa::ConvolutionProto * mutable_convolution_param ()
 
inline::singa::ConvolutionProto * release_convolution_param ()
 
void set_allocated_convolution_param (::singa::ConvolutionProto *convolution_param)
 
bool has_concate_param () const
 
void clear_concate_param ()
 
const ::singa::ConcateProtoconcate_param () const
 
inline::singa::ConcateProto * mutable_concate_param ()
 
inline::singa::ConcateProto * release_concate_param ()
 
void set_allocated_concate_param (::singa::ConcateProto *concate_param)
 
bool has_data_param () const
 
void clear_data_param ()
 
const ::singa::DataProtodata_param () const
 
inline::singa::DataProto * mutable_data_param ()
 
inline::singa::DataProto * release_data_param ()
 
void set_allocated_data_param (::singa::DataProto *data_param)
 
bool has_dropout_param () const
 
void clear_dropout_param ()
 
const ::singa::DropoutProtodropout_param () const
 
inline::singa::DropoutProto * mutable_dropout_param ()
 
inline::singa::DropoutProto * release_dropout_param ()
 
void set_allocated_dropout_param (::singa::DropoutProto *dropout_param)
 
bool has_inner_product_param () const
 
void clear_inner_product_param ()
 
const ::singa::InnerProductProtoinner_product_param () const
 
inline::singa::InnerProductProto * mutable_inner_product_param ()
 
inline::singa::InnerProductProto * release_inner_product_param ()
 
void set_allocated_inner_product_param (::singa::InnerProductProto *inner_product_param)
 
bool has_lrn_param () const
 
void clear_lrn_param ()
 
const ::singa::LRNProtolrn_param () const
 
inline::singa::LRNProto * mutable_lrn_param ()
 
inline::singa::LRNProto * release_lrn_param ()
 
void set_allocated_lrn_param (::singa::LRNProto *lrn_param)
 
bool has_mnist_param () const
 
void clear_mnist_param ()
 
const ::singa::MnistProtomnist_param () const
 
inline::singa::MnistProto * mutable_mnist_param ()
 
inline::singa::MnistProto * release_mnist_param ()
 
void set_allocated_mnist_param (::singa::MnistProto *mnist_param)
 
bool has_pooling_param () const
 
void clear_pooling_param ()
 
const ::singa::PoolingProtopooling_param () const
 
inline::singa::PoolingProto * mutable_pooling_param ()
 
inline::singa::PoolingProto * release_pooling_param ()
 
void set_allocated_pooling_param (::singa::PoolingProto *pooling_param)
 
int sublayers_size () const
 
void clear_sublayers ()
 
const ::singa::LayerProtosublayers (int index) const
 
inline::singa::LayerProto * mutable_sublayers (int index)
 
inline::singa::LayerProto * add_sublayers ()
 
const
::google::protobuf::RepeatedPtrField
< ::singa::LayerProto > & 
sublayers () const
 
inline::google::protobuf::RepeatedPtrField
< ::singa::LayerProto > * 
mutable_sublayers ()
 
bool has_slice_param () const
 
void clear_slice_param ()
 
const ::singa::SliceProtoslice_param () const
 
inline::singa::SliceProto * mutable_slice_param ()
 
inline::singa::SliceProto * release_slice_param ()
 
void set_allocated_slice_param (::singa::SliceProto *slice_param)
 
bool has_split_param () const
 
void clear_split_param ()
 
const ::singa::SplitProtosplit_param () const
 
inline::singa::SplitProto * mutable_split_param ()
 
inline::singa::SplitProto * release_split_param ()
 
void set_allocated_split_param (::singa::SplitProto *split_param)
 
bool has_relu_param () const
 
void clear_relu_param ()
 
const ::singa::ReLUProtorelu_param () const
 
inline::singa::ReLUProto * mutable_relu_param ()
 
inline::singa::ReLUProto * release_relu_param ()
 
void set_allocated_relu_param (::singa::ReLUProto *relu_param)
 
bool has_rgbimage_param () const
 
void clear_rgbimage_param ()
 
const ::singa::RGBImagergbimage_param () const
 
inline::singa::RGBImage * mutable_rgbimage_param ()
 
inline::singa::RGBImage * release_rgbimage_param ()
 
void set_allocated_rgbimage_param (::singa::RGBImage *rgbimage_param)
 
bool has_softmaxloss_param () const
 
void clear_softmaxloss_param ()
 
const ::singa::SoftmaxLossProtosoftmaxloss_param () const
 
inline::singa::SoftmaxLossProto * mutable_softmaxloss_param ()
 
inline::singa::SoftmaxLossProto * release_softmaxloss_param ()
 
void set_allocated_softmaxloss_param (::singa::SoftmaxLossProto *softmaxloss_param)
 
bool has_tanh_param () const
 
void clear_tanh_param ()
 
const ::singa::TanhPrototanh_param () const
 
inline::singa::TanhProto * mutable_tanh_param ()
 
inline::singa::TanhProto * release_tanh_param ()
 
void set_allocated_tanh_param (::singa::TanhProto *tanh_param)
 

Static Public Member Functions

static const
::google::protobuf::Descriptor * 
descriptor ()
 
static const LayerProtodefault_instance ()
 

Static Public Attributes

static const int kNameFieldNumber = 1
 
static const int kTypeFieldNumber = 2
 
static const int kSrclayersFieldNumber = 3
 
static const int kLocationidFieldNumber = 4
 
static const int kPartitionidFieldNumber = 5
 
static const int kPartitionTypeFieldNumber = 6
 
static const int kDatablobFieldNumber = 7
 
static const int kShareAryFieldNumber = 11
 
static const int kParamFieldNumber = 12
 
static const int kShareParamFieldNumber = 13
 
static const int kExcludeFieldNumber = 20
 
static const int kConvolutionParamFieldNumber = 21
 
static const int kConcateParamFieldNumber = 31
 
static const int kDataParamFieldNumber = 22
 
static const int kDropoutParamFieldNumber = 23
 
static const int kInnerProductParamFieldNumber = 24
 
static const int kLrnParamFieldNumber = 25
 
static const int kMnistParamFieldNumber = 26
 
static const int kPoolingParamFieldNumber = 27
 
static const int kSublayersFieldNumber = 35
 
static const int kSliceParamFieldNumber = 32
 
static const int kSplitParamFieldNumber = 33
 
static const int kReluParamFieldNumber = 28
 
static const int kRgbimageParamFieldNumber = 34
 
static const int kSoftmaxlossParamFieldNumber = 29
 
static const int kTanhParamFieldNumber = 30
 

Friends

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

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