Hi everyone
When I build caffe on Windows by VS2015, I realize in a message struct (in a src/proto/caffe.proto file) if the option is "repeated" , Visual Studio will make a function/parameter such "void add_your_parameter(::google::protobuf::uint32 value);" in a caffe.pb.h file, and if the option is "optional", there will not make a "add_......." function
Question is What's the mean of that different ?
example:
message PowerParameter {
// PowerLayer computes outputs y = (shift + scale * x) ^ power.
optional float power = 1 [default = 1.0];
repeated float scale = 2 [default = 1.0];
optional float shift = 3 [default = 0.0];
}
Windows 10
Visual Studio Update 3
CPU