1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: opencv-caffe.proto
3
4 #ifndef PROTOBUF_opencv_2dcaffe_2eproto__INCLUDED
5 #define PROTOBUF_opencv_2dcaffe_2eproto__INCLUDED
6
7 #include <string>
8
9 #include <google/protobuf/stubs/common.h>
10
11 #if GOOGLE_PROTOBUF_VERSION < 3005000
12 #error This file was generated by a newer version of protoc which is
13 #error incompatible with your Protocol Buffer headers. Please update
14 #error your headers.
15 #endif
16 #if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION
17 #error This file was generated by an older version of protoc which is
18 #error incompatible with your Protocol Buffer headers. Please
19 #error regenerate this file with a newer version of protoc.
20 #endif
21
22 #include <google/protobuf/io/coded_stream.h>
23 #include <google/protobuf/arena.h>
24 #include <google/protobuf/arenastring.h>
25 #include <google/protobuf/generated_message_table_driven.h>
26 #include <google/protobuf/generated_message_util.h>
27 #include <google/protobuf/metadata.h>
28 #include <google/protobuf/message.h>
29 #include <google/protobuf/repeated_field.h> // IWYU pragma: export
30 #include <google/protobuf/extension_set.h> // IWYU pragma: export
31 #include <google/protobuf/generated_enum_reflection.h>
32 #include <google/protobuf/unknown_field_set.h>
33 // @@protoc_insertion_point(includes)
34
35 namespace protobuf_opencv_2dcaffe_2eproto {
36 // Internal implementation detail -- do not use these members.
37 struct TableStruct {
38 static const ::google::protobuf::internal::ParseTableField entries[];
39 static const ::google::protobuf::internal::AuxillaryParseTableField aux[];
40 static const ::google::protobuf::internal::ParseTable schema[71];
41 static const ::google::protobuf::internal::FieldMetadata field_metadata[];
42 static const ::google::protobuf::internal::SerializationTable serialization_table[];
43 static const ::google::protobuf::uint32 offsets[];
44 };
45 void AddDescriptors();
46 void InitDefaultsBlobShapeImpl();
47 void InitDefaultsBlobShape();
48 void InitDefaultsBlobProtoImpl();
49 void InitDefaultsBlobProto();
50 void InitDefaultsBlobProtoVectorImpl();
51 void InitDefaultsBlobProtoVector();
52 void InitDefaultsPermuteParameterImpl();
53 void InitDefaultsPermuteParameter();
54 void InitDefaultsNormalizeBBoxParameterImpl();
55 void InitDefaultsNormalizeBBoxParameter();
56 void InitDefaultsPriorBoxParameterImpl();
57 void InitDefaultsPriorBoxParameter();
58 void InitDefaultsDetectionOutputParameterImpl();
59 void InitDefaultsDetectionOutputParameter();
60 void InitDefaultsDatumImpl();
61 void InitDefaultsDatum();
62 void InitDefaultsFillerParameterImpl();
63 void InitDefaultsFillerParameter();
64 void InitDefaultsNetParameterImpl();
65 void InitDefaultsNetParameter();
66 void InitDefaultsSolverParameterImpl();
67 void InitDefaultsSolverParameter();
68 void InitDefaultsSolverStateImpl();
69 void InitDefaultsSolverState();
70 void InitDefaultsNetStateImpl();
71 void InitDefaultsNetState();
72 void InitDefaultsNetStateRuleImpl();
73 void InitDefaultsNetStateRule();
74 void InitDefaultsParamSpecImpl();
75 void InitDefaultsParamSpec();
76 void InitDefaultsLayerParameterImpl();
77 void InitDefaultsLayerParameter();
78 void InitDefaultsTransformationParameterImpl();
79 void InitDefaultsTransformationParameter();
80 void InitDefaultsLossParameterImpl();
81 void InitDefaultsLossParameter();
82 void InitDefaultsAccuracyParameterImpl();
83 void InitDefaultsAccuracyParameter();
84 void InitDefaultsArgMaxParameterImpl();
85 void InitDefaultsArgMaxParameter();
86 void InitDefaultsConcatParameterImpl();
87 void InitDefaultsConcatParameter();
88 void InitDefaultsBatchNormParameterImpl();
89 void InitDefaultsBatchNormParameter();
90 void InitDefaultsBiasParameterImpl();
91 void InitDefaultsBiasParameter();
92 void InitDefaultsContrastiveLossParameterImpl();
93 void InitDefaultsContrastiveLossParameter();
94 void InitDefaultsConvolutionParameterImpl();
95 void InitDefaultsConvolutionParameter();
96 void InitDefaultsCropParameterImpl();
97 void InitDefaultsCropParameter();
98 void InitDefaultsDataParameterImpl();
99 void InitDefaultsDataParameter();
100 void InitDefaultsNonMaximumSuppressionParameterImpl();
101 void InitDefaultsNonMaximumSuppressionParameter();
102 void InitDefaultsSaveOutputParameterImpl();
103 void InitDefaultsSaveOutputParameter();
104 void InitDefaultsDropoutParameterImpl();
105 void InitDefaultsDropoutParameter();
106 void InitDefaultsDummyDataParameterImpl();
107 void InitDefaultsDummyDataParameter();
108 void InitDefaultsEltwiseParameterImpl();
109 void InitDefaultsEltwiseParameter();
110 void InitDefaultsELUParameterImpl();
111 void InitDefaultsELUParameter();
112 void InitDefaultsEmbedParameterImpl();
113 void InitDefaultsEmbedParameter();
114 void InitDefaultsExpParameterImpl();
115 void InitDefaultsExpParameter();
116 void InitDefaultsFlattenParameterImpl();
117 void InitDefaultsFlattenParameter();
118 void InitDefaultsHDF5DataParameterImpl();
119 void InitDefaultsHDF5DataParameter();
120 void InitDefaultsHDF5OutputParameterImpl();
121 void InitDefaultsHDF5OutputParameter();
122 void InitDefaultsHingeLossParameterImpl();
123 void InitDefaultsHingeLossParameter();
124 void InitDefaultsImageDataParameterImpl();
125 void InitDefaultsImageDataParameter();
126 void InitDefaultsInfogainLossParameterImpl();
127 void InitDefaultsInfogainLossParameter();
128 void InitDefaultsInnerProductParameterImpl();
129 void InitDefaultsInnerProductParameter();
130 void InitDefaultsInputParameterImpl();
131 void InitDefaultsInputParameter();
132 void InitDefaultsLogParameterImpl();
133 void InitDefaultsLogParameter();
134 void InitDefaultsLRNParameterImpl();
135 void InitDefaultsLRNParameter();
136 void InitDefaultsMemoryDataParameterImpl();
137 void InitDefaultsMemoryDataParameter();
138 void InitDefaultsMVNParameterImpl();
139 void InitDefaultsMVNParameter();
140 void InitDefaultsParameterParameterImpl();
141 void InitDefaultsParameterParameter();
142 void InitDefaultsPoolingParameterImpl();
143 void InitDefaultsPoolingParameter();
144 void InitDefaultsPowerParameterImpl();
145 void InitDefaultsPowerParameter();
146 void InitDefaultsPythonParameterImpl();
147 void InitDefaultsPythonParameter();
148 void InitDefaultsRecurrentParameterImpl();
149 void InitDefaultsRecurrentParameter();
150 void InitDefaultsReductionParameterImpl();
151 void InitDefaultsReductionParameter();
152 void InitDefaultsReLUParameterImpl();
153 void InitDefaultsReLUParameter();
154 void InitDefaultsReshapeParameterImpl();
155 void InitDefaultsReshapeParameter();
156 void InitDefaultsScaleParameterImpl();
157 void InitDefaultsScaleParameter();
158 void InitDefaultsSigmoidParameterImpl();
159 void InitDefaultsSigmoidParameter();
160 void InitDefaultsSliceParameterImpl();
161 void InitDefaultsSliceParameter();
162 void InitDefaultsSoftmaxParameterImpl();
163 void InitDefaultsSoftmaxParameter();
164 void InitDefaultsTanHParameterImpl();
165 void InitDefaultsTanHParameter();
166 void InitDefaultsTileParameterImpl();
167 void InitDefaultsTileParameter();
168 void InitDefaultsThresholdParameterImpl();
169 void InitDefaultsThresholdParameter();
170 void InitDefaultsWindowDataParameterImpl();
171 void InitDefaultsWindowDataParameter();
172 void InitDefaultsSPPParameterImpl();
173 void InitDefaultsSPPParameter();
174 void InitDefaultsV1LayerParameterImpl();
175 void InitDefaultsV1LayerParameter();
176 void InitDefaultsV0LayerParameterImpl();
177 void InitDefaultsV0LayerParameter();
178 void InitDefaultsPReLUParameterImpl();
179 void InitDefaultsPReLUParameter();
180 void InitDefaultsNormalizedBBoxImpl();
181 void InitDefaultsNormalizedBBox();
182 void InitDefaultsROIPoolingParameterImpl();
183 void InitDefaultsROIPoolingParameter();
184 void InitDefaultsProposalParameterImpl();
185 void InitDefaultsProposalParameter();
186 void InitDefaultsPSROIPoolingParameterImpl();
187 void InitDefaultsPSROIPoolingParameter();
InitDefaults()188 inline void InitDefaults() {
189 InitDefaultsBlobShape();
190 InitDefaultsBlobProto();
191 InitDefaultsBlobProtoVector();
192 InitDefaultsPermuteParameter();
193 InitDefaultsNormalizeBBoxParameter();
194 InitDefaultsPriorBoxParameter();
195 InitDefaultsDetectionOutputParameter();
196 InitDefaultsDatum();
197 InitDefaultsFillerParameter();
198 InitDefaultsNetParameter();
199 InitDefaultsSolverParameter();
200 InitDefaultsSolverState();
201 InitDefaultsNetState();
202 InitDefaultsNetStateRule();
203 InitDefaultsParamSpec();
204 InitDefaultsLayerParameter();
205 InitDefaultsTransformationParameter();
206 InitDefaultsLossParameter();
207 InitDefaultsAccuracyParameter();
208 InitDefaultsArgMaxParameter();
209 InitDefaultsConcatParameter();
210 InitDefaultsBatchNormParameter();
211 InitDefaultsBiasParameter();
212 InitDefaultsContrastiveLossParameter();
213 InitDefaultsConvolutionParameter();
214 InitDefaultsCropParameter();
215 InitDefaultsDataParameter();
216 InitDefaultsNonMaximumSuppressionParameter();
217 InitDefaultsSaveOutputParameter();
218 InitDefaultsDropoutParameter();
219 InitDefaultsDummyDataParameter();
220 InitDefaultsEltwiseParameter();
221 InitDefaultsELUParameter();
222 InitDefaultsEmbedParameter();
223 InitDefaultsExpParameter();
224 InitDefaultsFlattenParameter();
225 InitDefaultsHDF5DataParameter();
226 InitDefaultsHDF5OutputParameter();
227 InitDefaultsHingeLossParameter();
228 InitDefaultsImageDataParameter();
229 InitDefaultsInfogainLossParameter();
230 InitDefaultsInnerProductParameter();
231 InitDefaultsInputParameter();
232 InitDefaultsLogParameter();
233 InitDefaultsLRNParameter();
234 InitDefaultsMemoryDataParameter();
235 InitDefaultsMVNParameter();
236 InitDefaultsParameterParameter();
237 InitDefaultsPoolingParameter();
238 InitDefaultsPowerParameter();
239 InitDefaultsPythonParameter();
240 InitDefaultsRecurrentParameter();
241 InitDefaultsReductionParameter();
242 InitDefaultsReLUParameter();
243 InitDefaultsReshapeParameter();
244 InitDefaultsScaleParameter();
245 InitDefaultsSigmoidParameter();
246 InitDefaultsSliceParameter();
247 InitDefaultsSoftmaxParameter();
248 InitDefaultsTanHParameter();
249 InitDefaultsTileParameter();
250 InitDefaultsThresholdParameter();
251 InitDefaultsWindowDataParameter();
252 InitDefaultsSPPParameter();
253 InitDefaultsV1LayerParameter();
254 InitDefaultsV0LayerParameter();
255 InitDefaultsPReLUParameter();
256 InitDefaultsNormalizedBBox();
257 InitDefaultsROIPoolingParameter();
258 InitDefaultsProposalParameter();
259 InitDefaultsPSROIPoolingParameter();
260 }
261 } // namespace protobuf_opencv_2dcaffe_2eproto
262 namespace opencv_caffe {
263 class AccuracyParameter;
264 class AccuracyParameterDefaultTypeInternal;
265 extern AccuracyParameterDefaultTypeInternal _AccuracyParameter_default_instance_;
266 class ArgMaxParameter;
267 class ArgMaxParameterDefaultTypeInternal;
268 extern ArgMaxParameterDefaultTypeInternal _ArgMaxParameter_default_instance_;
269 class BatchNormParameter;
270 class BatchNormParameterDefaultTypeInternal;
271 extern BatchNormParameterDefaultTypeInternal _BatchNormParameter_default_instance_;
272 class BiasParameter;
273 class BiasParameterDefaultTypeInternal;
274 extern BiasParameterDefaultTypeInternal _BiasParameter_default_instance_;
275 class BlobProto;
276 class BlobProtoDefaultTypeInternal;
277 extern BlobProtoDefaultTypeInternal _BlobProto_default_instance_;
278 class BlobProtoVector;
279 class BlobProtoVectorDefaultTypeInternal;
280 extern BlobProtoVectorDefaultTypeInternal _BlobProtoVector_default_instance_;
281 class BlobShape;
282 class BlobShapeDefaultTypeInternal;
283 extern BlobShapeDefaultTypeInternal _BlobShape_default_instance_;
284 class ConcatParameter;
285 class ConcatParameterDefaultTypeInternal;
286 extern ConcatParameterDefaultTypeInternal _ConcatParameter_default_instance_;
287 class ContrastiveLossParameter;
288 class ContrastiveLossParameterDefaultTypeInternal;
289 extern ContrastiveLossParameterDefaultTypeInternal _ContrastiveLossParameter_default_instance_;
290 class ConvolutionParameter;
291 class ConvolutionParameterDefaultTypeInternal;
292 extern ConvolutionParameterDefaultTypeInternal _ConvolutionParameter_default_instance_;
293 class CropParameter;
294 class CropParameterDefaultTypeInternal;
295 extern CropParameterDefaultTypeInternal _CropParameter_default_instance_;
296 class DataParameter;
297 class DataParameterDefaultTypeInternal;
298 extern DataParameterDefaultTypeInternal _DataParameter_default_instance_;
299 class Datum;
300 class DatumDefaultTypeInternal;
301 extern DatumDefaultTypeInternal _Datum_default_instance_;
302 class DetectionOutputParameter;
303 class DetectionOutputParameterDefaultTypeInternal;
304 extern DetectionOutputParameterDefaultTypeInternal _DetectionOutputParameter_default_instance_;
305 class DropoutParameter;
306 class DropoutParameterDefaultTypeInternal;
307 extern DropoutParameterDefaultTypeInternal _DropoutParameter_default_instance_;
308 class DummyDataParameter;
309 class DummyDataParameterDefaultTypeInternal;
310 extern DummyDataParameterDefaultTypeInternal _DummyDataParameter_default_instance_;
311 class ELUParameter;
312 class ELUParameterDefaultTypeInternal;
313 extern ELUParameterDefaultTypeInternal _ELUParameter_default_instance_;
314 class EltwiseParameter;
315 class EltwiseParameterDefaultTypeInternal;
316 extern EltwiseParameterDefaultTypeInternal _EltwiseParameter_default_instance_;
317 class EmbedParameter;
318 class EmbedParameterDefaultTypeInternal;
319 extern EmbedParameterDefaultTypeInternal _EmbedParameter_default_instance_;
320 class ExpParameter;
321 class ExpParameterDefaultTypeInternal;
322 extern ExpParameterDefaultTypeInternal _ExpParameter_default_instance_;
323 class FillerParameter;
324 class FillerParameterDefaultTypeInternal;
325 extern FillerParameterDefaultTypeInternal _FillerParameter_default_instance_;
326 class FlattenParameter;
327 class FlattenParameterDefaultTypeInternal;
328 extern FlattenParameterDefaultTypeInternal _FlattenParameter_default_instance_;
329 class HDF5DataParameter;
330 class HDF5DataParameterDefaultTypeInternal;
331 extern HDF5DataParameterDefaultTypeInternal _HDF5DataParameter_default_instance_;
332 class HDF5OutputParameter;
333 class HDF5OutputParameterDefaultTypeInternal;
334 extern HDF5OutputParameterDefaultTypeInternal _HDF5OutputParameter_default_instance_;
335 class HingeLossParameter;
336 class HingeLossParameterDefaultTypeInternal;
337 extern HingeLossParameterDefaultTypeInternal _HingeLossParameter_default_instance_;
338 class ImageDataParameter;
339 class ImageDataParameterDefaultTypeInternal;
340 extern ImageDataParameterDefaultTypeInternal _ImageDataParameter_default_instance_;
341 class InfogainLossParameter;
342 class InfogainLossParameterDefaultTypeInternal;
343 extern InfogainLossParameterDefaultTypeInternal _InfogainLossParameter_default_instance_;
344 class InnerProductParameter;
345 class InnerProductParameterDefaultTypeInternal;
346 extern InnerProductParameterDefaultTypeInternal _InnerProductParameter_default_instance_;
347 class InputParameter;
348 class InputParameterDefaultTypeInternal;
349 extern InputParameterDefaultTypeInternal _InputParameter_default_instance_;
350 class LRNParameter;
351 class LRNParameterDefaultTypeInternal;
352 extern LRNParameterDefaultTypeInternal _LRNParameter_default_instance_;
353 class LayerParameter;
354 class LayerParameterDefaultTypeInternal;
355 extern LayerParameterDefaultTypeInternal _LayerParameter_default_instance_;
356 class LogParameter;
357 class LogParameterDefaultTypeInternal;
358 extern LogParameterDefaultTypeInternal _LogParameter_default_instance_;
359 class LossParameter;
360 class LossParameterDefaultTypeInternal;
361 extern LossParameterDefaultTypeInternal _LossParameter_default_instance_;
362 class MVNParameter;
363 class MVNParameterDefaultTypeInternal;
364 extern MVNParameterDefaultTypeInternal _MVNParameter_default_instance_;
365 class MemoryDataParameter;
366 class MemoryDataParameterDefaultTypeInternal;
367 extern MemoryDataParameterDefaultTypeInternal _MemoryDataParameter_default_instance_;
368 class NetParameter;
369 class NetParameterDefaultTypeInternal;
370 extern NetParameterDefaultTypeInternal _NetParameter_default_instance_;
371 class NetState;
372 class NetStateDefaultTypeInternal;
373 extern NetStateDefaultTypeInternal _NetState_default_instance_;
374 class NetStateRule;
375 class NetStateRuleDefaultTypeInternal;
376 extern NetStateRuleDefaultTypeInternal _NetStateRule_default_instance_;
377 class NonMaximumSuppressionParameter;
378 class NonMaximumSuppressionParameterDefaultTypeInternal;
379 extern NonMaximumSuppressionParameterDefaultTypeInternal _NonMaximumSuppressionParameter_default_instance_;
380 class NormalizeBBoxParameter;
381 class NormalizeBBoxParameterDefaultTypeInternal;
382 extern NormalizeBBoxParameterDefaultTypeInternal _NormalizeBBoxParameter_default_instance_;
383 class NormalizedBBox;
384 class NormalizedBBoxDefaultTypeInternal;
385 extern NormalizedBBoxDefaultTypeInternal _NormalizedBBox_default_instance_;
386 class PReLUParameter;
387 class PReLUParameterDefaultTypeInternal;
388 extern PReLUParameterDefaultTypeInternal _PReLUParameter_default_instance_;
389 class PSROIPoolingParameter;
390 class PSROIPoolingParameterDefaultTypeInternal;
391 extern PSROIPoolingParameterDefaultTypeInternal _PSROIPoolingParameter_default_instance_;
392 class ParamSpec;
393 class ParamSpecDefaultTypeInternal;
394 extern ParamSpecDefaultTypeInternal _ParamSpec_default_instance_;
395 class ParameterParameter;
396 class ParameterParameterDefaultTypeInternal;
397 extern ParameterParameterDefaultTypeInternal _ParameterParameter_default_instance_;
398 class PermuteParameter;
399 class PermuteParameterDefaultTypeInternal;
400 extern PermuteParameterDefaultTypeInternal _PermuteParameter_default_instance_;
401 class PoolingParameter;
402 class PoolingParameterDefaultTypeInternal;
403 extern PoolingParameterDefaultTypeInternal _PoolingParameter_default_instance_;
404 class PowerParameter;
405 class PowerParameterDefaultTypeInternal;
406 extern PowerParameterDefaultTypeInternal _PowerParameter_default_instance_;
407 class PriorBoxParameter;
408 class PriorBoxParameterDefaultTypeInternal;
409 extern PriorBoxParameterDefaultTypeInternal _PriorBoxParameter_default_instance_;
410 class ProposalParameter;
411 class ProposalParameterDefaultTypeInternal;
412 extern ProposalParameterDefaultTypeInternal _ProposalParameter_default_instance_;
413 class PythonParameter;
414 class PythonParameterDefaultTypeInternal;
415 extern PythonParameterDefaultTypeInternal _PythonParameter_default_instance_;
416 class ROIPoolingParameter;
417 class ROIPoolingParameterDefaultTypeInternal;
418 extern ROIPoolingParameterDefaultTypeInternal _ROIPoolingParameter_default_instance_;
419 class ReLUParameter;
420 class ReLUParameterDefaultTypeInternal;
421 extern ReLUParameterDefaultTypeInternal _ReLUParameter_default_instance_;
422 class RecurrentParameter;
423 class RecurrentParameterDefaultTypeInternal;
424 extern RecurrentParameterDefaultTypeInternal _RecurrentParameter_default_instance_;
425 class ReductionParameter;
426 class ReductionParameterDefaultTypeInternal;
427 extern ReductionParameterDefaultTypeInternal _ReductionParameter_default_instance_;
428 class ReshapeParameter;
429 class ReshapeParameterDefaultTypeInternal;
430 extern ReshapeParameterDefaultTypeInternal _ReshapeParameter_default_instance_;
431 class SPPParameter;
432 class SPPParameterDefaultTypeInternal;
433 extern SPPParameterDefaultTypeInternal _SPPParameter_default_instance_;
434 class SaveOutputParameter;
435 class SaveOutputParameterDefaultTypeInternal;
436 extern SaveOutputParameterDefaultTypeInternal _SaveOutputParameter_default_instance_;
437 class ScaleParameter;
438 class ScaleParameterDefaultTypeInternal;
439 extern ScaleParameterDefaultTypeInternal _ScaleParameter_default_instance_;
440 class SigmoidParameter;
441 class SigmoidParameterDefaultTypeInternal;
442 extern SigmoidParameterDefaultTypeInternal _SigmoidParameter_default_instance_;
443 class SliceParameter;
444 class SliceParameterDefaultTypeInternal;
445 extern SliceParameterDefaultTypeInternal _SliceParameter_default_instance_;
446 class SoftmaxParameter;
447 class SoftmaxParameterDefaultTypeInternal;
448 extern SoftmaxParameterDefaultTypeInternal _SoftmaxParameter_default_instance_;
449 class SolverParameter;
450 class SolverParameterDefaultTypeInternal;
451 extern SolverParameterDefaultTypeInternal _SolverParameter_default_instance_;
452 class SolverState;
453 class SolverStateDefaultTypeInternal;
454 extern SolverStateDefaultTypeInternal _SolverState_default_instance_;
455 class TanHParameter;
456 class TanHParameterDefaultTypeInternal;
457 extern TanHParameterDefaultTypeInternal _TanHParameter_default_instance_;
458 class ThresholdParameter;
459 class ThresholdParameterDefaultTypeInternal;
460 extern ThresholdParameterDefaultTypeInternal _ThresholdParameter_default_instance_;
461 class TileParameter;
462 class TileParameterDefaultTypeInternal;
463 extern TileParameterDefaultTypeInternal _TileParameter_default_instance_;
464 class TransformationParameter;
465 class TransformationParameterDefaultTypeInternal;
466 extern TransformationParameterDefaultTypeInternal _TransformationParameter_default_instance_;
467 class V0LayerParameter;
468 class V0LayerParameterDefaultTypeInternal;
469 extern V0LayerParameterDefaultTypeInternal _V0LayerParameter_default_instance_;
470 class V1LayerParameter;
471 class V1LayerParameterDefaultTypeInternal;
472 extern V1LayerParameterDefaultTypeInternal _V1LayerParameter_default_instance_;
473 class WindowDataParameter;
474 class WindowDataParameterDefaultTypeInternal;
475 extern WindowDataParameterDefaultTypeInternal _WindowDataParameter_default_instance_;
476 } // namespace opencv_caffe
477 namespace opencv_caffe {
478
479 enum PriorBoxParameter_CodeType {
480 PriorBoxParameter_CodeType_CORNER = 1,
481 PriorBoxParameter_CodeType_CENTER_SIZE = 2
482 };
483 bool PriorBoxParameter_CodeType_IsValid(int value);
484 const PriorBoxParameter_CodeType PriorBoxParameter_CodeType_CodeType_MIN = PriorBoxParameter_CodeType_CORNER;
485 const PriorBoxParameter_CodeType PriorBoxParameter_CodeType_CodeType_MAX = PriorBoxParameter_CodeType_CENTER_SIZE;
486 const int PriorBoxParameter_CodeType_CodeType_ARRAYSIZE = PriorBoxParameter_CodeType_CodeType_MAX + 1;
487
488 const ::google::protobuf::EnumDescriptor* PriorBoxParameter_CodeType_descriptor();
PriorBoxParameter_CodeType_Name(PriorBoxParameter_CodeType value)489 inline const ::std::string& PriorBoxParameter_CodeType_Name(PriorBoxParameter_CodeType value) {
490 return ::google::protobuf::internal::NameOfEnum(
491 PriorBoxParameter_CodeType_descriptor(), value);
492 }
PriorBoxParameter_CodeType_Parse(const::std::string & name,PriorBoxParameter_CodeType * value)493 inline bool PriorBoxParameter_CodeType_Parse(
494 const ::std::string& name, PriorBoxParameter_CodeType* value) {
495 return ::google::protobuf::internal::ParseNamedEnum<PriorBoxParameter_CodeType>(
496 PriorBoxParameter_CodeType_descriptor(), name, value);
497 }
498 enum FillerParameter_VarianceNorm {
499 FillerParameter_VarianceNorm_FAN_IN = 0,
500 FillerParameter_VarianceNorm_FAN_OUT = 1,
501 FillerParameter_VarianceNorm_AVERAGE = 2
502 };
503 bool FillerParameter_VarianceNorm_IsValid(int value);
504 const FillerParameter_VarianceNorm FillerParameter_VarianceNorm_VarianceNorm_MIN = FillerParameter_VarianceNorm_FAN_IN;
505 const FillerParameter_VarianceNorm FillerParameter_VarianceNorm_VarianceNorm_MAX = FillerParameter_VarianceNorm_AVERAGE;
506 const int FillerParameter_VarianceNorm_VarianceNorm_ARRAYSIZE = FillerParameter_VarianceNorm_VarianceNorm_MAX + 1;
507
508 const ::google::protobuf::EnumDescriptor* FillerParameter_VarianceNorm_descriptor();
FillerParameter_VarianceNorm_Name(FillerParameter_VarianceNorm value)509 inline const ::std::string& FillerParameter_VarianceNorm_Name(FillerParameter_VarianceNorm value) {
510 return ::google::protobuf::internal::NameOfEnum(
511 FillerParameter_VarianceNorm_descriptor(), value);
512 }
FillerParameter_VarianceNorm_Parse(const::std::string & name,FillerParameter_VarianceNorm * value)513 inline bool FillerParameter_VarianceNorm_Parse(
514 const ::std::string& name, FillerParameter_VarianceNorm* value) {
515 return ::google::protobuf::internal::ParseNamedEnum<FillerParameter_VarianceNorm>(
516 FillerParameter_VarianceNorm_descriptor(), name, value);
517 }
518 enum SolverParameter_SnapshotFormat {
519 SolverParameter_SnapshotFormat_HDF5 = 0,
520 SolverParameter_SnapshotFormat_BINARYPROTO = 1
521 };
522 bool SolverParameter_SnapshotFormat_IsValid(int value);
523 const SolverParameter_SnapshotFormat SolverParameter_SnapshotFormat_SnapshotFormat_MIN = SolverParameter_SnapshotFormat_HDF5;
524 const SolverParameter_SnapshotFormat SolverParameter_SnapshotFormat_SnapshotFormat_MAX = SolverParameter_SnapshotFormat_BINARYPROTO;
525 const int SolverParameter_SnapshotFormat_SnapshotFormat_ARRAYSIZE = SolverParameter_SnapshotFormat_SnapshotFormat_MAX + 1;
526
527 const ::google::protobuf::EnumDescriptor* SolverParameter_SnapshotFormat_descriptor();
SolverParameter_SnapshotFormat_Name(SolverParameter_SnapshotFormat value)528 inline const ::std::string& SolverParameter_SnapshotFormat_Name(SolverParameter_SnapshotFormat value) {
529 return ::google::protobuf::internal::NameOfEnum(
530 SolverParameter_SnapshotFormat_descriptor(), value);
531 }
SolverParameter_SnapshotFormat_Parse(const::std::string & name,SolverParameter_SnapshotFormat * value)532 inline bool SolverParameter_SnapshotFormat_Parse(
533 const ::std::string& name, SolverParameter_SnapshotFormat* value) {
534 return ::google::protobuf::internal::ParseNamedEnum<SolverParameter_SnapshotFormat>(
535 SolverParameter_SnapshotFormat_descriptor(), name, value);
536 }
537 enum SolverParameter_SolverMode {
538 SolverParameter_SolverMode_CPU = 0,
539 SolverParameter_SolverMode_GPU = 1
540 };
541 bool SolverParameter_SolverMode_IsValid(int value);
542 const SolverParameter_SolverMode SolverParameter_SolverMode_SolverMode_MIN = SolverParameter_SolverMode_CPU;
543 const SolverParameter_SolverMode SolverParameter_SolverMode_SolverMode_MAX = SolverParameter_SolverMode_GPU;
544 const int SolverParameter_SolverMode_SolverMode_ARRAYSIZE = SolverParameter_SolverMode_SolverMode_MAX + 1;
545
546 const ::google::protobuf::EnumDescriptor* SolverParameter_SolverMode_descriptor();
SolverParameter_SolverMode_Name(SolverParameter_SolverMode value)547 inline const ::std::string& SolverParameter_SolverMode_Name(SolverParameter_SolverMode value) {
548 return ::google::protobuf::internal::NameOfEnum(
549 SolverParameter_SolverMode_descriptor(), value);
550 }
SolverParameter_SolverMode_Parse(const::std::string & name,SolverParameter_SolverMode * value)551 inline bool SolverParameter_SolverMode_Parse(
552 const ::std::string& name, SolverParameter_SolverMode* value) {
553 return ::google::protobuf::internal::ParseNamedEnum<SolverParameter_SolverMode>(
554 SolverParameter_SolverMode_descriptor(), name, value);
555 }
556 enum SolverParameter_SolverType {
557 SolverParameter_SolverType_SGD = 0,
558 SolverParameter_SolverType_NESTEROV = 1,
559 SolverParameter_SolverType_ADAGRAD = 2,
560 SolverParameter_SolverType_RMSPROP = 3,
561 SolverParameter_SolverType_ADADELTA = 4,
562 SolverParameter_SolverType_ADAM = 5
563 };
564 bool SolverParameter_SolverType_IsValid(int value);
565 const SolverParameter_SolverType SolverParameter_SolverType_SolverType_MIN = SolverParameter_SolverType_SGD;
566 const SolverParameter_SolverType SolverParameter_SolverType_SolverType_MAX = SolverParameter_SolverType_ADAM;
567 const int SolverParameter_SolverType_SolverType_ARRAYSIZE = SolverParameter_SolverType_SolverType_MAX + 1;
568
569 const ::google::protobuf::EnumDescriptor* SolverParameter_SolverType_descriptor();
SolverParameter_SolverType_Name(SolverParameter_SolverType value)570 inline const ::std::string& SolverParameter_SolverType_Name(SolverParameter_SolverType value) {
571 return ::google::protobuf::internal::NameOfEnum(
572 SolverParameter_SolverType_descriptor(), value);
573 }
SolverParameter_SolverType_Parse(const::std::string & name,SolverParameter_SolverType * value)574 inline bool SolverParameter_SolverType_Parse(
575 const ::std::string& name, SolverParameter_SolverType* value) {
576 return ::google::protobuf::internal::ParseNamedEnum<SolverParameter_SolverType>(
577 SolverParameter_SolverType_descriptor(), name, value);
578 }
579 enum ParamSpec_DimCheckMode {
580 ParamSpec_DimCheckMode_STRICT = 0,
581 ParamSpec_DimCheckMode_PERMISSIVE = 1
582 };
583 bool ParamSpec_DimCheckMode_IsValid(int value);
584 const ParamSpec_DimCheckMode ParamSpec_DimCheckMode_DimCheckMode_MIN = ParamSpec_DimCheckMode_STRICT;
585 const ParamSpec_DimCheckMode ParamSpec_DimCheckMode_DimCheckMode_MAX = ParamSpec_DimCheckMode_PERMISSIVE;
586 const int ParamSpec_DimCheckMode_DimCheckMode_ARRAYSIZE = ParamSpec_DimCheckMode_DimCheckMode_MAX + 1;
587
588 const ::google::protobuf::EnumDescriptor* ParamSpec_DimCheckMode_descriptor();
ParamSpec_DimCheckMode_Name(ParamSpec_DimCheckMode value)589 inline const ::std::string& ParamSpec_DimCheckMode_Name(ParamSpec_DimCheckMode value) {
590 return ::google::protobuf::internal::NameOfEnum(
591 ParamSpec_DimCheckMode_descriptor(), value);
592 }
ParamSpec_DimCheckMode_Parse(const::std::string & name,ParamSpec_DimCheckMode * value)593 inline bool ParamSpec_DimCheckMode_Parse(
594 const ::std::string& name, ParamSpec_DimCheckMode* value) {
595 return ::google::protobuf::internal::ParseNamedEnum<ParamSpec_DimCheckMode>(
596 ParamSpec_DimCheckMode_descriptor(), name, value);
597 }
598 enum LossParameter_NormalizationMode {
599 LossParameter_NormalizationMode_FULL = 0,
600 LossParameter_NormalizationMode_VALID = 1,
601 LossParameter_NormalizationMode_BATCH_SIZE = 2,
602 LossParameter_NormalizationMode_NONE = 3
603 };
604 bool LossParameter_NormalizationMode_IsValid(int value);
605 const LossParameter_NormalizationMode LossParameter_NormalizationMode_NormalizationMode_MIN = LossParameter_NormalizationMode_FULL;
606 const LossParameter_NormalizationMode LossParameter_NormalizationMode_NormalizationMode_MAX = LossParameter_NormalizationMode_NONE;
607 const int LossParameter_NormalizationMode_NormalizationMode_ARRAYSIZE = LossParameter_NormalizationMode_NormalizationMode_MAX + 1;
608
609 const ::google::protobuf::EnumDescriptor* LossParameter_NormalizationMode_descriptor();
LossParameter_NormalizationMode_Name(LossParameter_NormalizationMode value)610 inline const ::std::string& LossParameter_NormalizationMode_Name(LossParameter_NormalizationMode value) {
611 return ::google::protobuf::internal::NameOfEnum(
612 LossParameter_NormalizationMode_descriptor(), value);
613 }
LossParameter_NormalizationMode_Parse(const::std::string & name,LossParameter_NormalizationMode * value)614 inline bool LossParameter_NormalizationMode_Parse(
615 const ::std::string& name, LossParameter_NormalizationMode* value) {
616 return ::google::protobuf::internal::ParseNamedEnum<LossParameter_NormalizationMode>(
617 LossParameter_NormalizationMode_descriptor(), name, value);
618 }
619 enum ConvolutionParameter_Engine {
620 ConvolutionParameter_Engine_DEFAULT = 0,
621 ConvolutionParameter_Engine_CAFFE = 1,
622 ConvolutionParameter_Engine_CUDNN = 2
623 };
624 bool ConvolutionParameter_Engine_IsValid(int value);
625 const ConvolutionParameter_Engine ConvolutionParameter_Engine_Engine_MIN = ConvolutionParameter_Engine_DEFAULT;
626 const ConvolutionParameter_Engine ConvolutionParameter_Engine_Engine_MAX = ConvolutionParameter_Engine_CUDNN;
627 const int ConvolutionParameter_Engine_Engine_ARRAYSIZE = ConvolutionParameter_Engine_Engine_MAX + 1;
628
629 const ::google::protobuf::EnumDescriptor* ConvolutionParameter_Engine_descriptor();
ConvolutionParameter_Engine_Name(ConvolutionParameter_Engine value)630 inline const ::std::string& ConvolutionParameter_Engine_Name(ConvolutionParameter_Engine value) {
631 return ::google::protobuf::internal::NameOfEnum(
632 ConvolutionParameter_Engine_descriptor(), value);
633 }
ConvolutionParameter_Engine_Parse(const::std::string & name,ConvolutionParameter_Engine * value)634 inline bool ConvolutionParameter_Engine_Parse(
635 const ::std::string& name, ConvolutionParameter_Engine* value) {
636 return ::google::protobuf::internal::ParseNamedEnum<ConvolutionParameter_Engine>(
637 ConvolutionParameter_Engine_descriptor(), name, value);
638 }
639 enum DataParameter_DB {
640 DataParameter_DB_LEVELDB = 0,
641 DataParameter_DB_LMDB = 1
642 };
643 bool DataParameter_DB_IsValid(int value);
644 const DataParameter_DB DataParameter_DB_DB_MIN = DataParameter_DB_LEVELDB;
645 const DataParameter_DB DataParameter_DB_DB_MAX = DataParameter_DB_LMDB;
646 const int DataParameter_DB_DB_ARRAYSIZE = DataParameter_DB_DB_MAX + 1;
647
648 const ::google::protobuf::EnumDescriptor* DataParameter_DB_descriptor();
DataParameter_DB_Name(DataParameter_DB value)649 inline const ::std::string& DataParameter_DB_Name(DataParameter_DB value) {
650 return ::google::protobuf::internal::NameOfEnum(
651 DataParameter_DB_descriptor(), value);
652 }
DataParameter_DB_Parse(const::std::string & name,DataParameter_DB * value)653 inline bool DataParameter_DB_Parse(
654 const ::std::string& name, DataParameter_DB* value) {
655 return ::google::protobuf::internal::ParseNamedEnum<DataParameter_DB>(
656 DataParameter_DB_descriptor(), name, value);
657 }
658 enum EltwiseParameter_EltwiseOp {
659 EltwiseParameter_EltwiseOp_PROD = 0,
660 EltwiseParameter_EltwiseOp_SUM = 1,
661 EltwiseParameter_EltwiseOp_MAX = 2
662 };
663 bool EltwiseParameter_EltwiseOp_IsValid(int value);
664 const EltwiseParameter_EltwiseOp EltwiseParameter_EltwiseOp_EltwiseOp_MIN = EltwiseParameter_EltwiseOp_PROD;
665 const EltwiseParameter_EltwiseOp EltwiseParameter_EltwiseOp_EltwiseOp_MAX = EltwiseParameter_EltwiseOp_MAX;
666 const int EltwiseParameter_EltwiseOp_EltwiseOp_ARRAYSIZE = EltwiseParameter_EltwiseOp_EltwiseOp_MAX + 1;
667
668 const ::google::protobuf::EnumDescriptor* EltwiseParameter_EltwiseOp_descriptor();
EltwiseParameter_EltwiseOp_Name(EltwiseParameter_EltwiseOp value)669 inline const ::std::string& EltwiseParameter_EltwiseOp_Name(EltwiseParameter_EltwiseOp value) {
670 return ::google::protobuf::internal::NameOfEnum(
671 EltwiseParameter_EltwiseOp_descriptor(), value);
672 }
EltwiseParameter_EltwiseOp_Parse(const::std::string & name,EltwiseParameter_EltwiseOp * value)673 inline bool EltwiseParameter_EltwiseOp_Parse(
674 const ::std::string& name, EltwiseParameter_EltwiseOp* value) {
675 return ::google::protobuf::internal::ParseNamedEnum<EltwiseParameter_EltwiseOp>(
676 EltwiseParameter_EltwiseOp_descriptor(), name, value);
677 }
678 enum HingeLossParameter_Norm {
679 HingeLossParameter_Norm_L1 = 1,
680 HingeLossParameter_Norm_L2 = 2
681 };
682 bool HingeLossParameter_Norm_IsValid(int value);
683 const HingeLossParameter_Norm HingeLossParameter_Norm_Norm_MIN = HingeLossParameter_Norm_L1;
684 const HingeLossParameter_Norm HingeLossParameter_Norm_Norm_MAX = HingeLossParameter_Norm_L2;
685 const int HingeLossParameter_Norm_Norm_ARRAYSIZE = HingeLossParameter_Norm_Norm_MAX + 1;
686
687 const ::google::protobuf::EnumDescriptor* HingeLossParameter_Norm_descriptor();
HingeLossParameter_Norm_Name(HingeLossParameter_Norm value)688 inline const ::std::string& HingeLossParameter_Norm_Name(HingeLossParameter_Norm value) {
689 return ::google::protobuf::internal::NameOfEnum(
690 HingeLossParameter_Norm_descriptor(), value);
691 }
HingeLossParameter_Norm_Parse(const::std::string & name,HingeLossParameter_Norm * value)692 inline bool HingeLossParameter_Norm_Parse(
693 const ::std::string& name, HingeLossParameter_Norm* value) {
694 return ::google::protobuf::internal::ParseNamedEnum<HingeLossParameter_Norm>(
695 HingeLossParameter_Norm_descriptor(), name, value);
696 }
697 enum LRNParameter_NormRegion {
698 LRNParameter_NormRegion_ACROSS_CHANNELS = 0,
699 LRNParameter_NormRegion_WITHIN_CHANNEL = 1
700 };
701 bool LRNParameter_NormRegion_IsValid(int value);
702 const LRNParameter_NormRegion LRNParameter_NormRegion_NormRegion_MIN = LRNParameter_NormRegion_ACROSS_CHANNELS;
703 const LRNParameter_NormRegion LRNParameter_NormRegion_NormRegion_MAX = LRNParameter_NormRegion_WITHIN_CHANNEL;
704 const int LRNParameter_NormRegion_NormRegion_ARRAYSIZE = LRNParameter_NormRegion_NormRegion_MAX + 1;
705
706 const ::google::protobuf::EnumDescriptor* LRNParameter_NormRegion_descriptor();
LRNParameter_NormRegion_Name(LRNParameter_NormRegion value)707 inline const ::std::string& LRNParameter_NormRegion_Name(LRNParameter_NormRegion value) {
708 return ::google::protobuf::internal::NameOfEnum(
709 LRNParameter_NormRegion_descriptor(), value);
710 }
LRNParameter_NormRegion_Parse(const::std::string & name,LRNParameter_NormRegion * value)711 inline bool LRNParameter_NormRegion_Parse(
712 const ::std::string& name, LRNParameter_NormRegion* value) {
713 return ::google::protobuf::internal::ParseNamedEnum<LRNParameter_NormRegion>(
714 LRNParameter_NormRegion_descriptor(), name, value);
715 }
716 enum LRNParameter_Engine {
717 LRNParameter_Engine_DEFAULT = 0,
718 LRNParameter_Engine_CAFFE = 1,
719 LRNParameter_Engine_CUDNN = 2
720 };
721 bool LRNParameter_Engine_IsValid(int value);
722 const LRNParameter_Engine LRNParameter_Engine_Engine_MIN = LRNParameter_Engine_DEFAULT;
723 const LRNParameter_Engine LRNParameter_Engine_Engine_MAX = LRNParameter_Engine_CUDNN;
724 const int LRNParameter_Engine_Engine_ARRAYSIZE = LRNParameter_Engine_Engine_MAX + 1;
725
726 const ::google::protobuf::EnumDescriptor* LRNParameter_Engine_descriptor();
LRNParameter_Engine_Name(LRNParameter_Engine value)727 inline const ::std::string& LRNParameter_Engine_Name(LRNParameter_Engine value) {
728 return ::google::protobuf::internal::NameOfEnum(
729 LRNParameter_Engine_descriptor(), value);
730 }
LRNParameter_Engine_Parse(const::std::string & name,LRNParameter_Engine * value)731 inline bool LRNParameter_Engine_Parse(
732 const ::std::string& name, LRNParameter_Engine* value) {
733 return ::google::protobuf::internal::ParseNamedEnum<LRNParameter_Engine>(
734 LRNParameter_Engine_descriptor(), name, value);
735 }
736 enum PoolingParameter_PoolMethod {
737 PoolingParameter_PoolMethod_MAX = 0,
738 PoolingParameter_PoolMethod_AVE = 1,
739 PoolingParameter_PoolMethod_STOCHASTIC = 2
740 };
741 bool PoolingParameter_PoolMethod_IsValid(int value);
742 const PoolingParameter_PoolMethod PoolingParameter_PoolMethod_PoolMethod_MIN = PoolingParameter_PoolMethod_MAX;
743 const PoolingParameter_PoolMethod PoolingParameter_PoolMethod_PoolMethod_MAX = PoolingParameter_PoolMethod_STOCHASTIC;
744 const int PoolingParameter_PoolMethod_PoolMethod_ARRAYSIZE = PoolingParameter_PoolMethod_PoolMethod_MAX + 1;
745
746 const ::google::protobuf::EnumDescriptor* PoolingParameter_PoolMethod_descriptor();
PoolingParameter_PoolMethod_Name(PoolingParameter_PoolMethod value)747 inline const ::std::string& PoolingParameter_PoolMethod_Name(PoolingParameter_PoolMethod value) {
748 return ::google::protobuf::internal::NameOfEnum(
749 PoolingParameter_PoolMethod_descriptor(), value);
750 }
PoolingParameter_PoolMethod_Parse(const::std::string & name,PoolingParameter_PoolMethod * value)751 inline bool PoolingParameter_PoolMethod_Parse(
752 const ::std::string& name, PoolingParameter_PoolMethod* value) {
753 return ::google::protobuf::internal::ParseNamedEnum<PoolingParameter_PoolMethod>(
754 PoolingParameter_PoolMethod_descriptor(), name, value);
755 }
756 enum PoolingParameter_Engine {
757 PoolingParameter_Engine_DEFAULT = 0,
758 PoolingParameter_Engine_CAFFE = 1,
759 PoolingParameter_Engine_CUDNN = 2
760 };
761 bool PoolingParameter_Engine_IsValid(int value);
762 const PoolingParameter_Engine PoolingParameter_Engine_Engine_MIN = PoolingParameter_Engine_DEFAULT;
763 const PoolingParameter_Engine PoolingParameter_Engine_Engine_MAX = PoolingParameter_Engine_CUDNN;
764 const int PoolingParameter_Engine_Engine_ARRAYSIZE = PoolingParameter_Engine_Engine_MAX + 1;
765
766 const ::google::protobuf::EnumDescriptor* PoolingParameter_Engine_descriptor();
PoolingParameter_Engine_Name(PoolingParameter_Engine value)767 inline const ::std::string& PoolingParameter_Engine_Name(PoolingParameter_Engine value) {
768 return ::google::protobuf::internal::NameOfEnum(
769 PoolingParameter_Engine_descriptor(), value);
770 }
PoolingParameter_Engine_Parse(const::std::string & name,PoolingParameter_Engine * value)771 inline bool PoolingParameter_Engine_Parse(
772 const ::std::string& name, PoolingParameter_Engine* value) {
773 return ::google::protobuf::internal::ParseNamedEnum<PoolingParameter_Engine>(
774 PoolingParameter_Engine_descriptor(), name, value);
775 }
776 enum ReductionParameter_ReductionOp {
777 ReductionParameter_ReductionOp_SUM = 1,
778 ReductionParameter_ReductionOp_ASUM = 2,
779 ReductionParameter_ReductionOp_SUMSQ = 3,
780 ReductionParameter_ReductionOp_MEAN = 4
781 };
782 bool ReductionParameter_ReductionOp_IsValid(int value);
783 const ReductionParameter_ReductionOp ReductionParameter_ReductionOp_ReductionOp_MIN = ReductionParameter_ReductionOp_SUM;
784 const ReductionParameter_ReductionOp ReductionParameter_ReductionOp_ReductionOp_MAX = ReductionParameter_ReductionOp_MEAN;
785 const int ReductionParameter_ReductionOp_ReductionOp_ARRAYSIZE = ReductionParameter_ReductionOp_ReductionOp_MAX + 1;
786
787 const ::google::protobuf::EnumDescriptor* ReductionParameter_ReductionOp_descriptor();
ReductionParameter_ReductionOp_Name(ReductionParameter_ReductionOp value)788 inline const ::std::string& ReductionParameter_ReductionOp_Name(ReductionParameter_ReductionOp value) {
789 return ::google::protobuf::internal::NameOfEnum(
790 ReductionParameter_ReductionOp_descriptor(), value);
791 }
ReductionParameter_ReductionOp_Parse(const::std::string & name,ReductionParameter_ReductionOp * value)792 inline bool ReductionParameter_ReductionOp_Parse(
793 const ::std::string& name, ReductionParameter_ReductionOp* value) {
794 return ::google::protobuf::internal::ParseNamedEnum<ReductionParameter_ReductionOp>(
795 ReductionParameter_ReductionOp_descriptor(), name, value);
796 }
797 enum ReLUParameter_Engine {
798 ReLUParameter_Engine_DEFAULT = 0,
799 ReLUParameter_Engine_CAFFE = 1,
800 ReLUParameter_Engine_CUDNN = 2
801 };
802 bool ReLUParameter_Engine_IsValid(int value);
803 const ReLUParameter_Engine ReLUParameter_Engine_Engine_MIN = ReLUParameter_Engine_DEFAULT;
804 const ReLUParameter_Engine ReLUParameter_Engine_Engine_MAX = ReLUParameter_Engine_CUDNN;
805 const int ReLUParameter_Engine_Engine_ARRAYSIZE = ReLUParameter_Engine_Engine_MAX + 1;
806
807 const ::google::protobuf::EnumDescriptor* ReLUParameter_Engine_descriptor();
ReLUParameter_Engine_Name(ReLUParameter_Engine value)808 inline const ::std::string& ReLUParameter_Engine_Name(ReLUParameter_Engine value) {
809 return ::google::protobuf::internal::NameOfEnum(
810 ReLUParameter_Engine_descriptor(), value);
811 }
ReLUParameter_Engine_Parse(const::std::string & name,ReLUParameter_Engine * value)812 inline bool ReLUParameter_Engine_Parse(
813 const ::std::string& name, ReLUParameter_Engine* value) {
814 return ::google::protobuf::internal::ParseNamedEnum<ReLUParameter_Engine>(
815 ReLUParameter_Engine_descriptor(), name, value);
816 }
817 enum SigmoidParameter_Engine {
818 SigmoidParameter_Engine_DEFAULT = 0,
819 SigmoidParameter_Engine_CAFFE = 1,
820 SigmoidParameter_Engine_CUDNN = 2
821 };
822 bool SigmoidParameter_Engine_IsValid(int value);
823 const SigmoidParameter_Engine SigmoidParameter_Engine_Engine_MIN = SigmoidParameter_Engine_DEFAULT;
824 const SigmoidParameter_Engine SigmoidParameter_Engine_Engine_MAX = SigmoidParameter_Engine_CUDNN;
825 const int SigmoidParameter_Engine_Engine_ARRAYSIZE = SigmoidParameter_Engine_Engine_MAX + 1;
826
827 const ::google::protobuf::EnumDescriptor* SigmoidParameter_Engine_descriptor();
SigmoidParameter_Engine_Name(SigmoidParameter_Engine value)828 inline const ::std::string& SigmoidParameter_Engine_Name(SigmoidParameter_Engine value) {
829 return ::google::protobuf::internal::NameOfEnum(
830 SigmoidParameter_Engine_descriptor(), value);
831 }
SigmoidParameter_Engine_Parse(const::std::string & name,SigmoidParameter_Engine * value)832 inline bool SigmoidParameter_Engine_Parse(
833 const ::std::string& name, SigmoidParameter_Engine* value) {
834 return ::google::protobuf::internal::ParseNamedEnum<SigmoidParameter_Engine>(
835 SigmoidParameter_Engine_descriptor(), name, value);
836 }
837 enum SoftmaxParameter_Engine {
838 SoftmaxParameter_Engine_DEFAULT = 0,
839 SoftmaxParameter_Engine_CAFFE = 1,
840 SoftmaxParameter_Engine_CUDNN = 2
841 };
842 bool SoftmaxParameter_Engine_IsValid(int value);
843 const SoftmaxParameter_Engine SoftmaxParameter_Engine_Engine_MIN = SoftmaxParameter_Engine_DEFAULT;
844 const SoftmaxParameter_Engine SoftmaxParameter_Engine_Engine_MAX = SoftmaxParameter_Engine_CUDNN;
845 const int SoftmaxParameter_Engine_Engine_ARRAYSIZE = SoftmaxParameter_Engine_Engine_MAX + 1;
846
847 const ::google::protobuf::EnumDescriptor* SoftmaxParameter_Engine_descriptor();
SoftmaxParameter_Engine_Name(SoftmaxParameter_Engine value)848 inline const ::std::string& SoftmaxParameter_Engine_Name(SoftmaxParameter_Engine value) {
849 return ::google::protobuf::internal::NameOfEnum(
850 SoftmaxParameter_Engine_descriptor(), value);
851 }
SoftmaxParameter_Engine_Parse(const::std::string & name,SoftmaxParameter_Engine * value)852 inline bool SoftmaxParameter_Engine_Parse(
853 const ::std::string& name, SoftmaxParameter_Engine* value) {
854 return ::google::protobuf::internal::ParseNamedEnum<SoftmaxParameter_Engine>(
855 SoftmaxParameter_Engine_descriptor(), name, value);
856 }
857 enum TanHParameter_Engine {
858 TanHParameter_Engine_DEFAULT = 0,
859 TanHParameter_Engine_CAFFE = 1,
860 TanHParameter_Engine_CUDNN = 2
861 };
862 bool TanHParameter_Engine_IsValid(int value);
863 const TanHParameter_Engine TanHParameter_Engine_Engine_MIN = TanHParameter_Engine_DEFAULT;
864 const TanHParameter_Engine TanHParameter_Engine_Engine_MAX = TanHParameter_Engine_CUDNN;
865 const int TanHParameter_Engine_Engine_ARRAYSIZE = TanHParameter_Engine_Engine_MAX + 1;
866
867 const ::google::protobuf::EnumDescriptor* TanHParameter_Engine_descriptor();
TanHParameter_Engine_Name(TanHParameter_Engine value)868 inline const ::std::string& TanHParameter_Engine_Name(TanHParameter_Engine value) {
869 return ::google::protobuf::internal::NameOfEnum(
870 TanHParameter_Engine_descriptor(), value);
871 }
TanHParameter_Engine_Parse(const::std::string & name,TanHParameter_Engine * value)872 inline bool TanHParameter_Engine_Parse(
873 const ::std::string& name, TanHParameter_Engine* value) {
874 return ::google::protobuf::internal::ParseNamedEnum<TanHParameter_Engine>(
875 TanHParameter_Engine_descriptor(), name, value);
876 }
877 enum SPPParameter_PoolMethod {
878 SPPParameter_PoolMethod_MAX = 0,
879 SPPParameter_PoolMethod_AVE = 1,
880 SPPParameter_PoolMethod_STOCHASTIC = 2
881 };
882 bool SPPParameter_PoolMethod_IsValid(int value);
883 const SPPParameter_PoolMethod SPPParameter_PoolMethod_PoolMethod_MIN = SPPParameter_PoolMethod_MAX;
884 const SPPParameter_PoolMethod SPPParameter_PoolMethod_PoolMethod_MAX = SPPParameter_PoolMethod_STOCHASTIC;
885 const int SPPParameter_PoolMethod_PoolMethod_ARRAYSIZE = SPPParameter_PoolMethod_PoolMethod_MAX + 1;
886
887 const ::google::protobuf::EnumDescriptor* SPPParameter_PoolMethod_descriptor();
SPPParameter_PoolMethod_Name(SPPParameter_PoolMethod value)888 inline const ::std::string& SPPParameter_PoolMethod_Name(SPPParameter_PoolMethod value) {
889 return ::google::protobuf::internal::NameOfEnum(
890 SPPParameter_PoolMethod_descriptor(), value);
891 }
SPPParameter_PoolMethod_Parse(const::std::string & name,SPPParameter_PoolMethod * value)892 inline bool SPPParameter_PoolMethod_Parse(
893 const ::std::string& name, SPPParameter_PoolMethod* value) {
894 return ::google::protobuf::internal::ParseNamedEnum<SPPParameter_PoolMethod>(
895 SPPParameter_PoolMethod_descriptor(), name, value);
896 }
897 enum SPPParameter_Engine {
898 SPPParameter_Engine_DEFAULT = 0,
899 SPPParameter_Engine_CAFFE = 1,
900 SPPParameter_Engine_CUDNN = 2
901 };
902 bool SPPParameter_Engine_IsValid(int value);
903 const SPPParameter_Engine SPPParameter_Engine_Engine_MIN = SPPParameter_Engine_DEFAULT;
904 const SPPParameter_Engine SPPParameter_Engine_Engine_MAX = SPPParameter_Engine_CUDNN;
905 const int SPPParameter_Engine_Engine_ARRAYSIZE = SPPParameter_Engine_Engine_MAX + 1;
906
907 const ::google::protobuf::EnumDescriptor* SPPParameter_Engine_descriptor();
SPPParameter_Engine_Name(SPPParameter_Engine value)908 inline const ::std::string& SPPParameter_Engine_Name(SPPParameter_Engine value) {
909 return ::google::protobuf::internal::NameOfEnum(
910 SPPParameter_Engine_descriptor(), value);
911 }
SPPParameter_Engine_Parse(const::std::string & name,SPPParameter_Engine * value)912 inline bool SPPParameter_Engine_Parse(
913 const ::std::string& name, SPPParameter_Engine* value) {
914 return ::google::protobuf::internal::ParseNamedEnum<SPPParameter_Engine>(
915 SPPParameter_Engine_descriptor(), name, value);
916 }
917 enum V1LayerParameter_LayerType {
918 V1LayerParameter_LayerType_NONE = 0,
919 V1LayerParameter_LayerType_ABSVAL = 35,
920 V1LayerParameter_LayerType_ACCURACY = 1,
921 V1LayerParameter_LayerType_ARGMAX = 30,
922 V1LayerParameter_LayerType_BNLL = 2,
923 V1LayerParameter_LayerType_CONCAT = 3,
924 V1LayerParameter_LayerType_CONTRASTIVE_LOSS = 37,
925 V1LayerParameter_LayerType_CONVOLUTION = 4,
926 V1LayerParameter_LayerType_DATA = 5,
927 V1LayerParameter_LayerType_DECONVOLUTION = 39,
928 V1LayerParameter_LayerType_DROPOUT = 6,
929 V1LayerParameter_LayerType_DUMMY_DATA = 32,
930 V1LayerParameter_LayerType_EUCLIDEAN_LOSS = 7,
931 V1LayerParameter_LayerType_ELTWISE = 25,
932 V1LayerParameter_LayerType_EXP = 38,
933 V1LayerParameter_LayerType_FLATTEN = 8,
934 V1LayerParameter_LayerType_HDF5_DATA = 9,
935 V1LayerParameter_LayerType_HDF5_OUTPUT = 10,
936 V1LayerParameter_LayerType_HINGE_LOSS = 28,
937 V1LayerParameter_LayerType_IM2COL = 11,
938 V1LayerParameter_LayerType_IMAGE_DATA = 12,
939 V1LayerParameter_LayerType_INFOGAIN_LOSS = 13,
940 V1LayerParameter_LayerType_INNER_PRODUCT = 14,
941 V1LayerParameter_LayerType_LRN = 15,
942 V1LayerParameter_LayerType_MEMORY_DATA = 29,
943 V1LayerParameter_LayerType_MULTINOMIAL_LOGISTIC_LOSS = 16,
944 V1LayerParameter_LayerType_MVN = 34,
945 V1LayerParameter_LayerType_POOLING = 17,
946 V1LayerParameter_LayerType_POWER = 26,
947 V1LayerParameter_LayerType_RELU = 18,
948 V1LayerParameter_LayerType_SIGMOID = 19,
949 V1LayerParameter_LayerType_SIGMOID_CROSS_ENTROPY_LOSS = 27,
950 V1LayerParameter_LayerType_SILENCE = 36,
951 V1LayerParameter_LayerType_SOFTMAX = 20,
952 V1LayerParameter_LayerType_SOFTMAX_LOSS = 21,
953 V1LayerParameter_LayerType_SPLIT = 22,
954 V1LayerParameter_LayerType_SLICE = 33,
955 V1LayerParameter_LayerType_TANH = 23,
956 V1LayerParameter_LayerType_WINDOW_DATA = 24,
957 V1LayerParameter_LayerType_THRESHOLD = 31
958 };
959 bool V1LayerParameter_LayerType_IsValid(int value);
960 const V1LayerParameter_LayerType V1LayerParameter_LayerType_LayerType_MIN = V1LayerParameter_LayerType_NONE;
961 const V1LayerParameter_LayerType V1LayerParameter_LayerType_LayerType_MAX = V1LayerParameter_LayerType_DECONVOLUTION;
962 const int V1LayerParameter_LayerType_LayerType_ARRAYSIZE = V1LayerParameter_LayerType_LayerType_MAX + 1;
963
964 const ::google::protobuf::EnumDescriptor* V1LayerParameter_LayerType_descriptor();
V1LayerParameter_LayerType_Name(V1LayerParameter_LayerType value)965 inline const ::std::string& V1LayerParameter_LayerType_Name(V1LayerParameter_LayerType value) {
966 return ::google::protobuf::internal::NameOfEnum(
967 V1LayerParameter_LayerType_descriptor(), value);
968 }
V1LayerParameter_LayerType_Parse(const::std::string & name,V1LayerParameter_LayerType * value)969 inline bool V1LayerParameter_LayerType_Parse(
970 const ::std::string& name, V1LayerParameter_LayerType* value) {
971 return ::google::protobuf::internal::ParseNamedEnum<V1LayerParameter_LayerType>(
972 V1LayerParameter_LayerType_descriptor(), name, value);
973 }
974 enum V1LayerParameter_DimCheckMode {
975 V1LayerParameter_DimCheckMode_STRICT = 0,
976 V1LayerParameter_DimCheckMode_PERMISSIVE = 1
977 };
978 bool V1LayerParameter_DimCheckMode_IsValid(int value);
979 const V1LayerParameter_DimCheckMode V1LayerParameter_DimCheckMode_DimCheckMode_MIN = V1LayerParameter_DimCheckMode_STRICT;
980 const V1LayerParameter_DimCheckMode V1LayerParameter_DimCheckMode_DimCheckMode_MAX = V1LayerParameter_DimCheckMode_PERMISSIVE;
981 const int V1LayerParameter_DimCheckMode_DimCheckMode_ARRAYSIZE = V1LayerParameter_DimCheckMode_DimCheckMode_MAX + 1;
982
983 const ::google::protobuf::EnumDescriptor* V1LayerParameter_DimCheckMode_descriptor();
V1LayerParameter_DimCheckMode_Name(V1LayerParameter_DimCheckMode value)984 inline const ::std::string& V1LayerParameter_DimCheckMode_Name(V1LayerParameter_DimCheckMode value) {
985 return ::google::protobuf::internal::NameOfEnum(
986 V1LayerParameter_DimCheckMode_descriptor(), value);
987 }
V1LayerParameter_DimCheckMode_Parse(const::std::string & name,V1LayerParameter_DimCheckMode * value)988 inline bool V1LayerParameter_DimCheckMode_Parse(
989 const ::std::string& name, V1LayerParameter_DimCheckMode* value) {
990 return ::google::protobuf::internal::ParseNamedEnum<V1LayerParameter_DimCheckMode>(
991 V1LayerParameter_DimCheckMode_descriptor(), name, value);
992 }
993 enum V0LayerParameter_PoolMethod {
994 V0LayerParameter_PoolMethod_MAX = 0,
995 V0LayerParameter_PoolMethod_AVE = 1,
996 V0LayerParameter_PoolMethod_STOCHASTIC = 2
997 };
998 bool V0LayerParameter_PoolMethod_IsValid(int value);
999 const V0LayerParameter_PoolMethod V0LayerParameter_PoolMethod_PoolMethod_MIN = V0LayerParameter_PoolMethod_MAX;
1000 const V0LayerParameter_PoolMethod V0LayerParameter_PoolMethod_PoolMethod_MAX = V0LayerParameter_PoolMethod_STOCHASTIC;
1001 const int V0LayerParameter_PoolMethod_PoolMethod_ARRAYSIZE = V0LayerParameter_PoolMethod_PoolMethod_MAX + 1;
1002
1003 const ::google::protobuf::EnumDescriptor* V0LayerParameter_PoolMethod_descriptor();
V0LayerParameter_PoolMethod_Name(V0LayerParameter_PoolMethod value)1004 inline const ::std::string& V0LayerParameter_PoolMethod_Name(V0LayerParameter_PoolMethod value) {
1005 return ::google::protobuf::internal::NameOfEnum(
1006 V0LayerParameter_PoolMethod_descriptor(), value);
1007 }
V0LayerParameter_PoolMethod_Parse(const::std::string & name,V0LayerParameter_PoolMethod * value)1008 inline bool V0LayerParameter_PoolMethod_Parse(
1009 const ::std::string& name, V0LayerParameter_PoolMethod* value) {
1010 return ::google::protobuf::internal::ParseNamedEnum<V0LayerParameter_PoolMethod>(
1011 V0LayerParameter_PoolMethod_descriptor(), name, value);
1012 }
1013 enum Type {
1014 DOUBLE = 0,
1015 FLOAT = 1,
1016 FLOAT16 = 2,
1017 INT = 3,
1018 UINT = 4
1019 };
1020 bool Type_IsValid(int value);
1021 const Type Type_MIN = DOUBLE;
1022 const Type Type_MAX = UINT;
1023 const int Type_ARRAYSIZE = Type_MAX + 1;
1024
1025 const ::google::protobuf::EnumDescriptor* Type_descriptor();
Type_Name(Type value)1026 inline const ::std::string& Type_Name(Type value) {
1027 return ::google::protobuf::internal::NameOfEnum(
1028 Type_descriptor(), value);
1029 }
Type_Parse(const::std::string & name,Type * value)1030 inline bool Type_Parse(
1031 const ::std::string& name, Type* value) {
1032 return ::google::protobuf::internal::ParseNamedEnum<Type>(
1033 Type_descriptor(), name, value);
1034 }
1035 enum Phase {
1036 TRAIN = 0,
1037 TEST = 1
1038 };
1039 bool Phase_IsValid(int value);
1040 const Phase Phase_MIN = TRAIN;
1041 const Phase Phase_MAX = TEST;
1042 const int Phase_ARRAYSIZE = Phase_MAX + 1;
1043
1044 const ::google::protobuf::EnumDescriptor* Phase_descriptor();
Phase_Name(Phase value)1045 inline const ::std::string& Phase_Name(Phase value) {
1046 return ::google::protobuf::internal::NameOfEnum(
1047 Phase_descriptor(), value);
1048 }
Phase_Parse(const::std::string & name,Phase * value)1049 inline bool Phase_Parse(
1050 const ::std::string& name, Phase* value) {
1051 return ::google::protobuf::internal::ParseNamedEnum<Phase>(
1052 Phase_descriptor(), name, value);
1053 }
1054 // ===================================================================
1055
1056 class BlobShape : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.BlobShape) */ {
1057 public:
1058 BlobShape();
1059 virtual ~BlobShape();
1060
1061 BlobShape(const BlobShape& from);
1062
1063 inline BlobShape& operator=(const BlobShape& from) {
1064 CopyFrom(from);
1065 return *this;
1066 }
1067 #if LANG_CXX11
BlobShape(BlobShape && from)1068 BlobShape(BlobShape&& from) noexcept
1069 : BlobShape() {
1070 *this = ::std::move(from);
1071 }
1072
1073 inline BlobShape& operator=(BlobShape&& from) noexcept {
1074 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1075 if (this != &from) InternalSwap(&from);
1076 } else {
1077 CopyFrom(from);
1078 }
1079 return *this;
1080 }
1081 #endif
unknown_fields()1082 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1083 return _internal_metadata_.unknown_fields();
1084 }
mutable_unknown_fields()1085 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1086 return _internal_metadata_.mutable_unknown_fields();
1087 }
1088
1089 static const ::google::protobuf::Descriptor* descriptor();
1090 static const BlobShape& default_instance();
1091
1092 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1093 static inline const BlobShape* internal_default_instance() {
1094 return reinterpret_cast<const BlobShape*>(
1095 &_BlobShape_default_instance_);
1096 }
1097 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1098 0;
1099
1100 void Swap(BlobShape* other);
swap(BlobShape & a,BlobShape & b)1101 friend void swap(BlobShape& a, BlobShape& b) {
1102 a.Swap(&b);
1103 }
1104
1105 // implements Message ----------------------------------------------
1106
New()1107 inline BlobShape* New() const PROTOBUF_FINAL { return New(NULL); }
1108
1109 BlobShape* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1110 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1111 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1112 void CopyFrom(const BlobShape& from);
1113 void MergeFrom(const BlobShape& from);
1114 void Clear() PROTOBUF_FINAL;
1115 bool IsInitialized() const PROTOBUF_FINAL;
1116
1117 size_t ByteSizeLong() const PROTOBUF_FINAL;
1118 bool MergePartialFromCodedStream(
1119 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1120 void SerializeWithCachedSizes(
1121 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1122 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1123 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()1124 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1125 private:
1126 void SharedCtor();
1127 void SharedDtor();
1128 void SetCachedSize(int size) const PROTOBUF_FINAL;
1129 void InternalSwap(BlobShape* other);
1130 private:
GetArenaNoVirtual()1131 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1132 return NULL;
1133 }
MaybeArenaPtr()1134 inline void* MaybeArenaPtr() const {
1135 return NULL;
1136 }
1137 public:
1138
1139 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1140
1141 // nested types ----------------------------------------------------
1142
1143 // accessors -------------------------------------------------------
1144
1145 // repeated int64 dim = 1 [packed = true];
1146 int dim_size() const;
1147 void clear_dim();
1148 static const int kDimFieldNumber = 1;
1149 ::google::protobuf::int64 dim(int index) const;
1150 void set_dim(int index, ::google::protobuf::int64 value);
1151 void add_dim(::google::protobuf::int64 value);
1152 const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
1153 dim() const;
1154 ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
1155 mutable_dim();
1156
1157 // @@protoc_insertion_point(class_scope:opencv_caffe.BlobShape)
1158 private:
1159
1160 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1161 ::google::protobuf::internal::HasBits<1> _has_bits_;
1162 mutable int _cached_size_;
1163 ::google::protobuf::RepeatedField< ::google::protobuf::int64 > dim_;
1164 mutable int _dim_cached_byte_size_;
1165 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
1166 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsBlobShapeImpl();
1167 };
1168 // -------------------------------------------------------------------
1169
1170 class BlobProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.BlobProto) */ {
1171 public:
1172 BlobProto();
1173 virtual ~BlobProto();
1174
1175 BlobProto(const BlobProto& from);
1176
1177 inline BlobProto& operator=(const BlobProto& from) {
1178 CopyFrom(from);
1179 return *this;
1180 }
1181 #if LANG_CXX11
BlobProto(BlobProto && from)1182 BlobProto(BlobProto&& from) noexcept
1183 : BlobProto() {
1184 *this = ::std::move(from);
1185 }
1186
1187 inline BlobProto& operator=(BlobProto&& from) noexcept {
1188 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1189 if (this != &from) InternalSwap(&from);
1190 } else {
1191 CopyFrom(from);
1192 }
1193 return *this;
1194 }
1195 #endif
unknown_fields()1196 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1197 return _internal_metadata_.unknown_fields();
1198 }
mutable_unknown_fields()1199 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1200 return _internal_metadata_.mutable_unknown_fields();
1201 }
1202
1203 static const ::google::protobuf::Descriptor* descriptor();
1204 static const BlobProto& default_instance();
1205
1206 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1207 static inline const BlobProto* internal_default_instance() {
1208 return reinterpret_cast<const BlobProto*>(
1209 &_BlobProto_default_instance_);
1210 }
1211 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1212 1;
1213
1214 void Swap(BlobProto* other);
swap(BlobProto & a,BlobProto & b)1215 friend void swap(BlobProto& a, BlobProto& b) {
1216 a.Swap(&b);
1217 }
1218
1219 // implements Message ----------------------------------------------
1220
New()1221 inline BlobProto* New() const PROTOBUF_FINAL { return New(NULL); }
1222
1223 BlobProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1224 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1225 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1226 void CopyFrom(const BlobProto& from);
1227 void MergeFrom(const BlobProto& from);
1228 void Clear() PROTOBUF_FINAL;
1229 bool IsInitialized() const PROTOBUF_FINAL;
1230
1231 size_t ByteSizeLong() const PROTOBUF_FINAL;
1232 bool MergePartialFromCodedStream(
1233 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1234 void SerializeWithCachedSizes(
1235 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1236 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1237 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()1238 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1239 private:
1240 void SharedCtor();
1241 void SharedDtor();
1242 void SetCachedSize(int size) const PROTOBUF_FINAL;
1243 void InternalSwap(BlobProto* other);
1244 private:
GetArenaNoVirtual()1245 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1246 return NULL;
1247 }
MaybeArenaPtr()1248 inline void* MaybeArenaPtr() const {
1249 return NULL;
1250 }
1251 public:
1252
1253 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1254
1255 // nested types ----------------------------------------------------
1256
1257 // accessors -------------------------------------------------------
1258
1259 // repeated float data = 5 [packed = true];
1260 int data_size() const;
1261 void clear_data();
1262 static const int kDataFieldNumber = 5;
1263 float data(int index) const;
1264 void set_data(int index, float value);
1265 void add_data(float value);
1266 const ::google::protobuf::RepeatedField< float >&
1267 data() const;
1268 ::google::protobuf::RepeatedField< float >*
1269 mutable_data();
1270
1271 // repeated float diff = 6 [packed = true];
1272 int diff_size() const;
1273 void clear_diff();
1274 static const int kDiffFieldNumber = 6;
1275 float diff(int index) const;
1276 void set_diff(int index, float value);
1277 void add_diff(float value);
1278 const ::google::protobuf::RepeatedField< float >&
1279 diff() const;
1280 ::google::protobuf::RepeatedField< float >*
1281 mutable_diff();
1282
1283 // repeated double double_data = 8 [packed = true];
1284 int double_data_size() const;
1285 void clear_double_data();
1286 static const int kDoubleDataFieldNumber = 8;
1287 double double_data(int index) const;
1288 void set_double_data(int index, double value);
1289 void add_double_data(double value);
1290 const ::google::protobuf::RepeatedField< double >&
1291 double_data() const;
1292 ::google::protobuf::RepeatedField< double >*
1293 mutable_double_data();
1294
1295 // repeated double double_diff = 9 [packed = true];
1296 int double_diff_size() const;
1297 void clear_double_diff();
1298 static const int kDoubleDiffFieldNumber = 9;
1299 double double_diff(int index) const;
1300 void set_double_diff(int index, double value);
1301 void add_double_diff(double value);
1302 const ::google::protobuf::RepeatedField< double >&
1303 double_diff() const;
1304 ::google::protobuf::RepeatedField< double >*
1305 mutable_double_diff();
1306
1307 // optional bytes raw_data = 12 [packed = false];
1308 bool has_raw_data() const;
1309 void clear_raw_data();
1310 static const int kRawDataFieldNumber = 12;
1311 const ::std::string& raw_data() const;
1312 void set_raw_data(const ::std::string& value);
1313 #if LANG_CXX11
1314 void set_raw_data(::std::string&& value);
1315 #endif
1316 void set_raw_data(const char* value);
1317 void set_raw_data(const void* value, size_t size);
1318 ::std::string* mutable_raw_data();
1319 ::std::string* release_raw_data();
1320 void set_allocated_raw_data(::std::string* raw_data);
1321
1322 // optional .opencv_caffe.BlobShape shape = 7;
1323 bool has_shape() const;
1324 void clear_shape();
1325 static const int kShapeFieldNumber = 7;
1326 const ::opencv_caffe::BlobShape& shape() const;
1327 ::opencv_caffe::BlobShape* release_shape();
1328 ::opencv_caffe::BlobShape* mutable_shape();
1329 void set_allocated_shape(::opencv_caffe::BlobShape* shape);
1330
1331 // optional int32 num = 1 [default = 0];
1332 bool has_num() const;
1333 void clear_num();
1334 static const int kNumFieldNumber = 1;
1335 ::google::protobuf::int32 num() const;
1336 void set_num(::google::protobuf::int32 value);
1337
1338 // optional int32 channels = 2 [default = 0];
1339 bool has_channels() const;
1340 void clear_channels();
1341 static const int kChannelsFieldNumber = 2;
1342 ::google::protobuf::int32 channels() const;
1343 void set_channels(::google::protobuf::int32 value);
1344
1345 // optional int32 height = 3 [default = 0];
1346 bool has_height() const;
1347 void clear_height();
1348 static const int kHeightFieldNumber = 3;
1349 ::google::protobuf::int32 height() const;
1350 void set_height(::google::protobuf::int32 value);
1351
1352 // optional int32 width = 4 [default = 0];
1353 bool has_width() const;
1354 void clear_width();
1355 static const int kWidthFieldNumber = 4;
1356 ::google::protobuf::int32 width() const;
1357 void set_width(::google::protobuf::int32 value);
1358
1359 // optional .opencv_caffe.Type raw_data_type = 10;
1360 bool has_raw_data_type() const;
1361 void clear_raw_data_type();
1362 static const int kRawDataTypeFieldNumber = 10;
1363 ::opencv_caffe::Type raw_data_type() const;
1364 void set_raw_data_type(::opencv_caffe::Type value);
1365
1366 // @@protoc_insertion_point(class_scope:opencv_caffe.BlobProto)
1367 private:
1368 void set_has_shape();
1369 void clear_has_shape();
1370 void set_has_raw_data_type();
1371 void clear_has_raw_data_type();
1372 void set_has_raw_data();
1373 void clear_has_raw_data();
1374 void set_has_num();
1375 void clear_has_num();
1376 void set_has_channels();
1377 void clear_has_channels();
1378 void set_has_height();
1379 void clear_has_height();
1380 void set_has_width();
1381 void clear_has_width();
1382
1383 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1384 ::google::protobuf::internal::HasBits<1> _has_bits_;
1385 mutable int _cached_size_;
1386 ::google::protobuf::RepeatedField< float > data_;
1387 mutable int _data_cached_byte_size_;
1388 ::google::protobuf::RepeatedField< float > diff_;
1389 mutable int _diff_cached_byte_size_;
1390 ::google::protobuf::RepeatedField< double > double_data_;
1391 mutable int _double_data_cached_byte_size_;
1392 ::google::protobuf::RepeatedField< double > double_diff_;
1393 mutable int _double_diff_cached_byte_size_;
1394 ::google::protobuf::internal::ArenaStringPtr raw_data_;
1395 ::opencv_caffe::BlobShape* shape_;
1396 ::google::protobuf::int32 num_;
1397 ::google::protobuf::int32 channels_;
1398 ::google::protobuf::int32 height_;
1399 ::google::protobuf::int32 width_;
1400 int raw_data_type_;
1401 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
1402 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsBlobProtoImpl();
1403 };
1404 // -------------------------------------------------------------------
1405
1406 class BlobProtoVector : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.BlobProtoVector) */ {
1407 public:
1408 BlobProtoVector();
1409 virtual ~BlobProtoVector();
1410
1411 BlobProtoVector(const BlobProtoVector& from);
1412
1413 inline BlobProtoVector& operator=(const BlobProtoVector& from) {
1414 CopyFrom(from);
1415 return *this;
1416 }
1417 #if LANG_CXX11
BlobProtoVector(BlobProtoVector && from)1418 BlobProtoVector(BlobProtoVector&& from) noexcept
1419 : BlobProtoVector() {
1420 *this = ::std::move(from);
1421 }
1422
1423 inline BlobProtoVector& operator=(BlobProtoVector&& from) noexcept {
1424 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1425 if (this != &from) InternalSwap(&from);
1426 } else {
1427 CopyFrom(from);
1428 }
1429 return *this;
1430 }
1431 #endif
unknown_fields()1432 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1433 return _internal_metadata_.unknown_fields();
1434 }
mutable_unknown_fields()1435 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1436 return _internal_metadata_.mutable_unknown_fields();
1437 }
1438
1439 static const ::google::protobuf::Descriptor* descriptor();
1440 static const BlobProtoVector& default_instance();
1441
1442 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1443 static inline const BlobProtoVector* internal_default_instance() {
1444 return reinterpret_cast<const BlobProtoVector*>(
1445 &_BlobProtoVector_default_instance_);
1446 }
1447 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1448 2;
1449
1450 void Swap(BlobProtoVector* other);
swap(BlobProtoVector & a,BlobProtoVector & b)1451 friend void swap(BlobProtoVector& a, BlobProtoVector& b) {
1452 a.Swap(&b);
1453 }
1454
1455 // implements Message ----------------------------------------------
1456
New()1457 inline BlobProtoVector* New() const PROTOBUF_FINAL { return New(NULL); }
1458
1459 BlobProtoVector* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1460 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1461 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1462 void CopyFrom(const BlobProtoVector& from);
1463 void MergeFrom(const BlobProtoVector& from);
1464 void Clear() PROTOBUF_FINAL;
1465 bool IsInitialized() const PROTOBUF_FINAL;
1466
1467 size_t ByteSizeLong() const PROTOBUF_FINAL;
1468 bool MergePartialFromCodedStream(
1469 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1470 void SerializeWithCachedSizes(
1471 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1472 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1473 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()1474 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1475 private:
1476 void SharedCtor();
1477 void SharedDtor();
1478 void SetCachedSize(int size) const PROTOBUF_FINAL;
1479 void InternalSwap(BlobProtoVector* other);
1480 private:
GetArenaNoVirtual()1481 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1482 return NULL;
1483 }
MaybeArenaPtr()1484 inline void* MaybeArenaPtr() const {
1485 return NULL;
1486 }
1487 public:
1488
1489 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1490
1491 // nested types ----------------------------------------------------
1492
1493 // accessors -------------------------------------------------------
1494
1495 // repeated .opencv_caffe.BlobProto blobs = 1;
1496 int blobs_size() const;
1497 void clear_blobs();
1498 static const int kBlobsFieldNumber = 1;
1499 const ::opencv_caffe::BlobProto& blobs(int index) const;
1500 ::opencv_caffe::BlobProto* mutable_blobs(int index);
1501 ::opencv_caffe::BlobProto* add_blobs();
1502 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >*
1503 mutable_blobs();
1504 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >&
1505 blobs() const;
1506
1507 // @@protoc_insertion_point(class_scope:opencv_caffe.BlobProtoVector)
1508 private:
1509
1510 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1511 ::google::protobuf::internal::HasBits<1> _has_bits_;
1512 mutable int _cached_size_;
1513 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto > blobs_;
1514 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
1515 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsBlobProtoVectorImpl();
1516 };
1517 // -------------------------------------------------------------------
1518
1519 class PermuteParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.PermuteParameter) */ {
1520 public:
1521 PermuteParameter();
1522 virtual ~PermuteParameter();
1523
1524 PermuteParameter(const PermuteParameter& from);
1525
1526 inline PermuteParameter& operator=(const PermuteParameter& from) {
1527 CopyFrom(from);
1528 return *this;
1529 }
1530 #if LANG_CXX11
PermuteParameter(PermuteParameter && from)1531 PermuteParameter(PermuteParameter&& from) noexcept
1532 : PermuteParameter() {
1533 *this = ::std::move(from);
1534 }
1535
1536 inline PermuteParameter& operator=(PermuteParameter&& from) noexcept {
1537 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1538 if (this != &from) InternalSwap(&from);
1539 } else {
1540 CopyFrom(from);
1541 }
1542 return *this;
1543 }
1544 #endif
unknown_fields()1545 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1546 return _internal_metadata_.unknown_fields();
1547 }
mutable_unknown_fields()1548 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1549 return _internal_metadata_.mutable_unknown_fields();
1550 }
1551
1552 static const ::google::protobuf::Descriptor* descriptor();
1553 static const PermuteParameter& default_instance();
1554
1555 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1556 static inline const PermuteParameter* internal_default_instance() {
1557 return reinterpret_cast<const PermuteParameter*>(
1558 &_PermuteParameter_default_instance_);
1559 }
1560 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1561 3;
1562
1563 void Swap(PermuteParameter* other);
swap(PermuteParameter & a,PermuteParameter & b)1564 friend void swap(PermuteParameter& a, PermuteParameter& b) {
1565 a.Swap(&b);
1566 }
1567
1568 // implements Message ----------------------------------------------
1569
New()1570 inline PermuteParameter* New() const PROTOBUF_FINAL { return New(NULL); }
1571
1572 PermuteParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1573 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1574 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1575 void CopyFrom(const PermuteParameter& from);
1576 void MergeFrom(const PermuteParameter& from);
1577 void Clear() PROTOBUF_FINAL;
1578 bool IsInitialized() const PROTOBUF_FINAL;
1579
1580 size_t ByteSizeLong() const PROTOBUF_FINAL;
1581 bool MergePartialFromCodedStream(
1582 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1583 void SerializeWithCachedSizes(
1584 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1585 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1586 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()1587 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1588 private:
1589 void SharedCtor();
1590 void SharedDtor();
1591 void SetCachedSize(int size) const PROTOBUF_FINAL;
1592 void InternalSwap(PermuteParameter* other);
1593 private:
GetArenaNoVirtual()1594 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1595 return NULL;
1596 }
MaybeArenaPtr()1597 inline void* MaybeArenaPtr() const {
1598 return NULL;
1599 }
1600 public:
1601
1602 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1603
1604 // nested types ----------------------------------------------------
1605
1606 // accessors -------------------------------------------------------
1607
1608 // repeated uint32 order = 1;
1609 int order_size() const;
1610 void clear_order();
1611 static const int kOrderFieldNumber = 1;
1612 ::google::protobuf::uint32 order(int index) const;
1613 void set_order(int index, ::google::protobuf::uint32 value);
1614 void add_order(::google::protobuf::uint32 value);
1615 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
1616 order() const;
1617 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
1618 mutable_order();
1619
1620 // @@protoc_insertion_point(class_scope:opencv_caffe.PermuteParameter)
1621 private:
1622
1623 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1624 ::google::protobuf::internal::HasBits<1> _has_bits_;
1625 mutable int _cached_size_;
1626 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > order_;
1627 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
1628 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsPermuteParameterImpl();
1629 };
1630 // -------------------------------------------------------------------
1631
1632 class NormalizeBBoxParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.NormalizeBBoxParameter) */ {
1633 public:
1634 NormalizeBBoxParameter();
1635 virtual ~NormalizeBBoxParameter();
1636
1637 NormalizeBBoxParameter(const NormalizeBBoxParameter& from);
1638
1639 inline NormalizeBBoxParameter& operator=(const NormalizeBBoxParameter& from) {
1640 CopyFrom(from);
1641 return *this;
1642 }
1643 #if LANG_CXX11
NormalizeBBoxParameter(NormalizeBBoxParameter && from)1644 NormalizeBBoxParameter(NormalizeBBoxParameter&& from) noexcept
1645 : NormalizeBBoxParameter() {
1646 *this = ::std::move(from);
1647 }
1648
1649 inline NormalizeBBoxParameter& operator=(NormalizeBBoxParameter&& from) noexcept {
1650 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1651 if (this != &from) InternalSwap(&from);
1652 } else {
1653 CopyFrom(from);
1654 }
1655 return *this;
1656 }
1657 #endif
unknown_fields()1658 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1659 return _internal_metadata_.unknown_fields();
1660 }
mutable_unknown_fields()1661 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1662 return _internal_metadata_.mutable_unknown_fields();
1663 }
1664
1665 static const ::google::protobuf::Descriptor* descriptor();
1666 static const NormalizeBBoxParameter& default_instance();
1667
1668 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1669 static inline const NormalizeBBoxParameter* internal_default_instance() {
1670 return reinterpret_cast<const NormalizeBBoxParameter*>(
1671 &_NormalizeBBoxParameter_default_instance_);
1672 }
1673 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1674 4;
1675
1676 void Swap(NormalizeBBoxParameter* other);
swap(NormalizeBBoxParameter & a,NormalizeBBoxParameter & b)1677 friend void swap(NormalizeBBoxParameter& a, NormalizeBBoxParameter& b) {
1678 a.Swap(&b);
1679 }
1680
1681 // implements Message ----------------------------------------------
1682
New()1683 inline NormalizeBBoxParameter* New() const PROTOBUF_FINAL { return New(NULL); }
1684
1685 NormalizeBBoxParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1686 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1687 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1688 void CopyFrom(const NormalizeBBoxParameter& from);
1689 void MergeFrom(const NormalizeBBoxParameter& from);
1690 void Clear() PROTOBUF_FINAL;
1691 bool IsInitialized() const PROTOBUF_FINAL;
1692
1693 size_t ByteSizeLong() const PROTOBUF_FINAL;
1694 bool MergePartialFromCodedStream(
1695 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1696 void SerializeWithCachedSizes(
1697 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1698 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1699 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()1700 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1701 private:
1702 void SharedCtor();
1703 void SharedDtor();
1704 void SetCachedSize(int size) const PROTOBUF_FINAL;
1705 void InternalSwap(NormalizeBBoxParameter* other);
1706 private:
GetArenaNoVirtual()1707 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1708 return NULL;
1709 }
MaybeArenaPtr()1710 inline void* MaybeArenaPtr() const {
1711 return NULL;
1712 }
1713 public:
1714
1715 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1716
1717 // nested types ----------------------------------------------------
1718
1719 // accessors -------------------------------------------------------
1720
1721 // optional .opencv_caffe.FillerParameter scale_filler = 2;
1722 bool has_scale_filler() const;
1723 void clear_scale_filler();
1724 static const int kScaleFillerFieldNumber = 2;
1725 const ::opencv_caffe::FillerParameter& scale_filler() const;
1726 ::opencv_caffe::FillerParameter* release_scale_filler();
1727 ::opencv_caffe::FillerParameter* mutable_scale_filler();
1728 void set_allocated_scale_filler(::opencv_caffe::FillerParameter* scale_filler);
1729
1730 // optional bool across_spatial = 1 [default = true];
1731 bool has_across_spatial() const;
1732 void clear_across_spatial();
1733 static const int kAcrossSpatialFieldNumber = 1;
1734 bool across_spatial() const;
1735 void set_across_spatial(bool value);
1736
1737 // optional bool channel_shared = 3 [default = true];
1738 bool has_channel_shared() const;
1739 void clear_channel_shared();
1740 static const int kChannelSharedFieldNumber = 3;
1741 bool channel_shared() const;
1742 void set_channel_shared(bool value);
1743
1744 // optional float eps = 4 [default = 1e-10];
1745 bool has_eps() const;
1746 void clear_eps();
1747 static const int kEpsFieldNumber = 4;
1748 float eps() const;
1749 void set_eps(float value);
1750
1751 // @@protoc_insertion_point(class_scope:opencv_caffe.NormalizeBBoxParameter)
1752 private:
1753 void set_has_across_spatial();
1754 void clear_has_across_spatial();
1755 void set_has_scale_filler();
1756 void clear_has_scale_filler();
1757 void set_has_channel_shared();
1758 void clear_has_channel_shared();
1759 void set_has_eps();
1760 void clear_has_eps();
1761
1762 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
1763 ::google::protobuf::internal::HasBits<1> _has_bits_;
1764 mutable int _cached_size_;
1765 ::opencv_caffe::FillerParameter* scale_filler_;
1766 bool across_spatial_;
1767 bool channel_shared_;
1768 float eps_;
1769 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
1770 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsNormalizeBBoxParameterImpl();
1771 };
1772 // -------------------------------------------------------------------
1773
1774 class PriorBoxParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.PriorBoxParameter) */ {
1775 public:
1776 PriorBoxParameter();
1777 virtual ~PriorBoxParameter();
1778
1779 PriorBoxParameter(const PriorBoxParameter& from);
1780
1781 inline PriorBoxParameter& operator=(const PriorBoxParameter& from) {
1782 CopyFrom(from);
1783 return *this;
1784 }
1785 #if LANG_CXX11
PriorBoxParameter(PriorBoxParameter && from)1786 PriorBoxParameter(PriorBoxParameter&& from) noexcept
1787 : PriorBoxParameter() {
1788 *this = ::std::move(from);
1789 }
1790
1791 inline PriorBoxParameter& operator=(PriorBoxParameter&& from) noexcept {
1792 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
1793 if (this != &from) InternalSwap(&from);
1794 } else {
1795 CopyFrom(from);
1796 }
1797 return *this;
1798 }
1799 #endif
unknown_fields()1800 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
1801 return _internal_metadata_.unknown_fields();
1802 }
mutable_unknown_fields()1803 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
1804 return _internal_metadata_.mutable_unknown_fields();
1805 }
1806
1807 static const ::google::protobuf::Descriptor* descriptor();
1808 static const PriorBoxParameter& default_instance();
1809
1810 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()1811 static inline const PriorBoxParameter* internal_default_instance() {
1812 return reinterpret_cast<const PriorBoxParameter*>(
1813 &_PriorBoxParameter_default_instance_);
1814 }
1815 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
1816 5;
1817
1818 void Swap(PriorBoxParameter* other);
swap(PriorBoxParameter & a,PriorBoxParameter & b)1819 friend void swap(PriorBoxParameter& a, PriorBoxParameter& b) {
1820 a.Swap(&b);
1821 }
1822
1823 // implements Message ----------------------------------------------
1824
New()1825 inline PriorBoxParameter* New() const PROTOBUF_FINAL { return New(NULL); }
1826
1827 PriorBoxParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
1828 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1829 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
1830 void CopyFrom(const PriorBoxParameter& from);
1831 void MergeFrom(const PriorBoxParameter& from);
1832 void Clear() PROTOBUF_FINAL;
1833 bool IsInitialized() const PROTOBUF_FINAL;
1834
1835 size_t ByteSizeLong() const PROTOBUF_FINAL;
1836 bool MergePartialFromCodedStream(
1837 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
1838 void SerializeWithCachedSizes(
1839 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
1840 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
1841 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()1842 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
1843 private:
1844 void SharedCtor();
1845 void SharedDtor();
1846 void SetCachedSize(int size) const PROTOBUF_FINAL;
1847 void InternalSwap(PriorBoxParameter* other);
1848 private:
GetArenaNoVirtual()1849 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
1850 return NULL;
1851 }
MaybeArenaPtr()1852 inline void* MaybeArenaPtr() const {
1853 return NULL;
1854 }
1855 public:
1856
1857 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
1858
1859 // nested types ----------------------------------------------------
1860
1861 typedef PriorBoxParameter_CodeType CodeType;
1862 static const CodeType CORNER =
1863 PriorBoxParameter_CodeType_CORNER;
1864 static const CodeType CENTER_SIZE =
1865 PriorBoxParameter_CodeType_CENTER_SIZE;
CodeType_IsValid(int value)1866 static inline bool CodeType_IsValid(int value) {
1867 return PriorBoxParameter_CodeType_IsValid(value);
1868 }
1869 static const CodeType CodeType_MIN =
1870 PriorBoxParameter_CodeType_CodeType_MIN;
1871 static const CodeType CodeType_MAX =
1872 PriorBoxParameter_CodeType_CodeType_MAX;
1873 static const int CodeType_ARRAYSIZE =
1874 PriorBoxParameter_CodeType_CodeType_ARRAYSIZE;
1875 static inline const ::google::protobuf::EnumDescriptor*
CodeType_descriptor()1876 CodeType_descriptor() {
1877 return PriorBoxParameter_CodeType_descriptor();
1878 }
CodeType_Name(CodeType value)1879 static inline const ::std::string& CodeType_Name(CodeType value) {
1880 return PriorBoxParameter_CodeType_Name(value);
1881 }
CodeType_Parse(const::std::string & name,CodeType * value)1882 static inline bool CodeType_Parse(const ::std::string& name,
1883 CodeType* value) {
1884 return PriorBoxParameter_CodeType_Parse(name, value);
1885 }
1886
1887 // accessors -------------------------------------------------------
1888
1889 // repeated float min_size = 1;
1890 int min_size_size() const;
1891 void clear_min_size();
1892 static const int kMinSizeFieldNumber = 1;
1893 float min_size(int index) const;
1894 void set_min_size(int index, float value);
1895 void add_min_size(float value);
1896 const ::google::protobuf::RepeatedField< float >&
1897 min_size() const;
1898 ::google::protobuf::RepeatedField< float >*
1899 mutable_min_size();
1900
1901 // repeated float max_size = 2;
1902 int max_size_size() const;
1903 void clear_max_size();
1904 static const int kMaxSizeFieldNumber = 2;
1905 float max_size(int index) const;
1906 void set_max_size(int index, float value);
1907 void add_max_size(float value);
1908 const ::google::protobuf::RepeatedField< float >&
1909 max_size() const;
1910 ::google::protobuf::RepeatedField< float >*
1911 mutable_max_size();
1912
1913 // repeated float aspect_ratio = 3;
1914 int aspect_ratio_size() const;
1915 void clear_aspect_ratio();
1916 static const int kAspectRatioFieldNumber = 3;
1917 float aspect_ratio(int index) const;
1918 void set_aspect_ratio(int index, float value);
1919 void add_aspect_ratio(float value);
1920 const ::google::protobuf::RepeatedField< float >&
1921 aspect_ratio() const;
1922 ::google::protobuf::RepeatedField< float >*
1923 mutable_aspect_ratio();
1924
1925 // repeated float variance = 6;
1926 int variance_size() const;
1927 void clear_variance();
1928 static const int kVarianceFieldNumber = 6;
1929 float variance(int index) const;
1930 void set_variance(int index, float value);
1931 void add_variance(float value);
1932 const ::google::protobuf::RepeatedField< float >&
1933 variance() const;
1934 ::google::protobuf::RepeatedField< float >*
1935 mutable_variance();
1936
1937 // repeated float offset_h = 14;
1938 int offset_h_size() const;
1939 void clear_offset_h();
1940 static const int kOffsetHFieldNumber = 14;
1941 float offset_h(int index) const;
1942 void set_offset_h(int index, float value);
1943 void add_offset_h(float value);
1944 const ::google::protobuf::RepeatedField< float >&
1945 offset_h() const;
1946 ::google::protobuf::RepeatedField< float >*
1947 mutable_offset_h();
1948
1949 // repeated float offset_w = 15;
1950 int offset_w_size() const;
1951 void clear_offset_w();
1952 static const int kOffsetWFieldNumber = 15;
1953 float offset_w(int index) const;
1954 void set_offset_w(int index, float value);
1955 void add_offset_w(float value);
1956 const ::google::protobuf::RepeatedField< float >&
1957 offset_w() const;
1958 ::google::protobuf::RepeatedField< float >*
1959 mutable_offset_w();
1960
1961 // repeated float width = 16;
1962 int width_size() const;
1963 void clear_width();
1964 static const int kWidthFieldNumber = 16;
1965 float width(int index) const;
1966 void set_width(int index, float value);
1967 void add_width(float value);
1968 const ::google::protobuf::RepeatedField< float >&
1969 width() const;
1970 ::google::protobuf::RepeatedField< float >*
1971 mutable_width();
1972
1973 // repeated float height = 17;
1974 int height_size() const;
1975 void clear_height();
1976 static const int kHeightFieldNumber = 17;
1977 float height(int index) const;
1978 void set_height(int index, float value);
1979 void add_height(float value);
1980 const ::google::protobuf::RepeatedField< float >&
1981 height() const;
1982 ::google::protobuf::RepeatedField< float >*
1983 mutable_height();
1984
1985 // optional uint32 img_size = 7;
1986 bool has_img_size() const;
1987 void clear_img_size();
1988 static const int kImgSizeFieldNumber = 7;
1989 ::google::protobuf::uint32 img_size() const;
1990 void set_img_size(::google::protobuf::uint32 value);
1991
1992 // optional uint32 img_h = 8;
1993 bool has_img_h() const;
1994 void clear_img_h();
1995 static const int kImgHFieldNumber = 8;
1996 ::google::protobuf::uint32 img_h() const;
1997 void set_img_h(::google::protobuf::uint32 value);
1998
1999 // optional uint32 img_w = 9;
2000 bool has_img_w() const;
2001 void clear_img_w();
2002 static const int kImgWFieldNumber = 9;
2003 ::google::protobuf::uint32 img_w() const;
2004 void set_img_w(::google::protobuf::uint32 value);
2005
2006 // optional float step = 10;
2007 bool has_step() const;
2008 void clear_step();
2009 static const int kStepFieldNumber = 10;
2010 float step() const;
2011 void set_step(float value);
2012
2013 // optional float step_h = 11;
2014 bool has_step_h() const;
2015 void clear_step_h();
2016 static const int kStepHFieldNumber = 11;
2017 float step_h() const;
2018 void set_step_h(float value);
2019
2020 // optional float step_w = 12;
2021 bool has_step_w() const;
2022 void clear_step_w();
2023 static const int kStepWFieldNumber = 12;
2024 float step_w() const;
2025 void set_step_w(float value);
2026
2027 // optional bool flip = 4 [default = true];
2028 bool has_flip() const;
2029 void clear_flip();
2030 static const int kFlipFieldNumber = 4;
2031 bool flip() const;
2032 void set_flip(bool value);
2033
2034 // optional bool clip = 5 [default = true];
2035 bool has_clip() const;
2036 void clear_clip();
2037 static const int kClipFieldNumber = 5;
2038 bool clip() const;
2039 void set_clip(bool value);
2040
2041 // optional float offset = 13 [default = 0.5];
2042 bool has_offset() const;
2043 void clear_offset();
2044 static const int kOffsetFieldNumber = 13;
2045 float offset() const;
2046 void set_offset(float value);
2047
2048 // @@protoc_insertion_point(class_scope:opencv_caffe.PriorBoxParameter)
2049 private:
2050 void set_has_flip();
2051 void clear_has_flip();
2052 void set_has_clip();
2053 void clear_has_clip();
2054 void set_has_img_size();
2055 void clear_has_img_size();
2056 void set_has_img_h();
2057 void clear_has_img_h();
2058 void set_has_img_w();
2059 void clear_has_img_w();
2060 void set_has_step();
2061 void clear_has_step();
2062 void set_has_step_h();
2063 void clear_has_step_h();
2064 void set_has_step_w();
2065 void clear_has_step_w();
2066 void set_has_offset();
2067 void clear_has_offset();
2068
2069 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2070 ::google::protobuf::internal::HasBits<1> _has_bits_;
2071 mutable int _cached_size_;
2072 ::google::protobuf::RepeatedField< float > min_size_;
2073 ::google::protobuf::RepeatedField< float > max_size_;
2074 ::google::protobuf::RepeatedField< float > aspect_ratio_;
2075 ::google::protobuf::RepeatedField< float > variance_;
2076 ::google::protobuf::RepeatedField< float > offset_h_;
2077 ::google::protobuf::RepeatedField< float > offset_w_;
2078 ::google::protobuf::RepeatedField< float > width_;
2079 ::google::protobuf::RepeatedField< float > height_;
2080 ::google::protobuf::uint32 img_size_;
2081 ::google::protobuf::uint32 img_h_;
2082 ::google::protobuf::uint32 img_w_;
2083 float step_;
2084 float step_h_;
2085 float step_w_;
2086 bool flip_;
2087 bool clip_;
2088 float offset_;
2089 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
2090 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsPriorBoxParameterImpl();
2091 };
2092 // -------------------------------------------------------------------
2093
2094 class DetectionOutputParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.DetectionOutputParameter) */ {
2095 public:
2096 DetectionOutputParameter();
2097 virtual ~DetectionOutputParameter();
2098
2099 DetectionOutputParameter(const DetectionOutputParameter& from);
2100
2101 inline DetectionOutputParameter& operator=(const DetectionOutputParameter& from) {
2102 CopyFrom(from);
2103 return *this;
2104 }
2105 #if LANG_CXX11
DetectionOutputParameter(DetectionOutputParameter && from)2106 DetectionOutputParameter(DetectionOutputParameter&& from) noexcept
2107 : DetectionOutputParameter() {
2108 *this = ::std::move(from);
2109 }
2110
2111 inline DetectionOutputParameter& operator=(DetectionOutputParameter&& from) noexcept {
2112 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2113 if (this != &from) InternalSwap(&from);
2114 } else {
2115 CopyFrom(from);
2116 }
2117 return *this;
2118 }
2119 #endif
unknown_fields()2120 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2121 return _internal_metadata_.unknown_fields();
2122 }
mutable_unknown_fields()2123 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2124 return _internal_metadata_.mutable_unknown_fields();
2125 }
2126
2127 static const ::google::protobuf::Descriptor* descriptor();
2128 static const DetectionOutputParameter& default_instance();
2129
2130 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2131 static inline const DetectionOutputParameter* internal_default_instance() {
2132 return reinterpret_cast<const DetectionOutputParameter*>(
2133 &_DetectionOutputParameter_default_instance_);
2134 }
2135 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2136 6;
2137
2138 void Swap(DetectionOutputParameter* other);
swap(DetectionOutputParameter & a,DetectionOutputParameter & b)2139 friend void swap(DetectionOutputParameter& a, DetectionOutputParameter& b) {
2140 a.Swap(&b);
2141 }
2142
2143 // implements Message ----------------------------------------------
2144
New()2145 inline DetectionOutputParameter* New() const PROTOBUF_FINAL { return New(NULL); }
2146
2147 DetectionOutputParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2148 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2149 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2150 void CopyFrom(const DetectionOutputParameter& from);
2151 void MergeFrom(const DetectionOutputParameter& from);
2152 void Clear() PROTOBUF_FINAL;
2153 bool IsInitialized() const PROTOBUF_FINAL;
2154
2155 size_t ByteSizeLong() const PROTOBUF_FINAL;
2156 bool MergePartialFromCodedStream(
2157 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2158 void SerializeWithCachedSizes(
2159 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2160 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2161 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()2162 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2163 private:
2164 void SharedCtor();
2165 void SharedDtor();
2166 void SetCachedSize(int size) const PROTOBUF_FINAL;
2167 void InternalSwap(DetectionOutputParameter* other);
2168 private:
GetArenaNoVirtual()2169 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2170 return NULL;
2171 }
MaybeArenaPtr()2172 inline void* MaybeArenaPtr() const {
2173 return NULL;
2174 }
2175 public:
2176
2177 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2178
2179 // nested types ----------------------------------------------------
2180
2181 // accessors -------------------------------------------------------
2182
2183 // optional .opencv_caffe.NonMaximumSuppressionParameter nms_param = 4;
2184 bool has_nms_param() const;
2185 void clear_nms_param();
2186 static const int kNmsParamFieldNumber = 4;
2187 const ::opencv_caffe::NonMaximumSuppressionParameter& nms_param() const;
2188 ::opencv_caffe::NonMaximumSuppressionParameter* release_nms_param();
2189 ::opencv_caffe::NonMaximumSuppressionParameter* mutable_nms_param();
2190 void set_allocated_nms_param(::opencv_caffe::NonMaximumSuppressionParameter* nms_param);
2191
2192 // optional .opencv_caffe.SaveOutputParameter save_output_param = 5;
2193 bool has_save_output_param() const;
2194 void clear_save_output_param();
2195 static const int kSaveOutputParamFieldNumber = 5;
2196 const ::opencv_caffe::SaveOutputParameter& save_output_param() const;
2197 ::opencv_caffe::SaveOutputParameter* release_save_output_param();
2198 ::opencv_caffe::SaveOutputParameter* mutable_save_output_param();
2199 void set_allocated_save_output_param(::opencv_caffe::SaveOutputParameter* save_output_param);
2200
2201 // optional uint32 num_classes = 1;
2202 bool has_num_classes() const;
2203 void clear_num_classes();
2204 static const int kNumClassesFieldNumber = 1;
2205 ::google::protobuf::uint32 num_classes() const;
2206 void set_num_classes(::google::protobuf::uint32 value);
2207
2208 // optional int32 background_label_id = 3 [default = 0];
2209 bool has_background_label_id() const;
2210 void clear_background_label_id();
2211 static const int kBackgroundLabelIdFieldNumber = 3;
2212 ::google::protobuf::int32 background_label_id() const;
2213 void set_background_label_id(::google::protobuf::int32 value);
2214
2215 // optional bool variance_encoded_in_target = 8 [default = false];
2216 bool has_variance_encoded_in_target() const;
2217 void clear_variance_encoded_in_target();
2218 static const int kVarianceEncodedInTargetFieldNumber = 8;
2219 bool variance_encoded_in_target() const;
2220 void set_variance_encoded_in_target(bool value);
2221
2222 // optional float confidence_threshold = 9;
2223 bool has_confidence_threshold() const;
2224 void clear_confidence_threshold();
2225 static const int kConfidenceThresholdFieldNumber = 9;
2226 float confidence_threshold() const;
2227 void set_confidence_threshold(float value);
2228
2229 // optional int32 keep_top_k = 7 [default = -1];
2230 bool has_keep_top_k() const;
2231 void clear_keep_top_k();
2232 static const int kKeepTopKFieldNumber = 7;
2233 ::google::protobuf::int32 keep_top_k() const;
2234 void set_keep_top_k(::google::protobuf::int32 value);
2235
2236 // optional .opencv_caffe.PriorBoxParameter.CodeType code_type = 6 [default = CORNER];
2237 bool has_code_type() const;
2238 void clear_code_type();
2239 static const int kCodeTypeFieldNumber = 6;
2240 ::opencv_caffe::PriorBoxParameter_CodeType code_type() const;
2241 void set_code_type(::opencv_caffe::PriorBoxParameter_CodeType value);
2242
2243 // optional bool share_location = 2 [default = true];
2244 bool has_share_location() const;
2245 void clear_share_location();
2246 static const int kShareLocationFieldNumber = 2;
2247 bool share_location() const;
2248 void set_share_location(bool value);
2249
2250 // optional bool normalized_bbox = 10 [default = true];
2251 bool has_normalized_bbox() const;
2252 void clear_normalized_bbox();
2253 static const int kNormalizedBboxFieldNumber = 10;
2254 bool normalized_bbox() const;
2255 void set_normalized_bbox(bool value);
2256
2257 // @@protoc_insertion_point(class_scope:opencv_caffe.DetectionOutputParameter)
2258 private:
2259 void set_has_num_classes();
2260 void clear_has_num_classes();
2261 void set_has_share_location();
2262 void clear_has_share_location();
2263 void set_has_background_label_id();
2264 void clear_has_background_label_id();
2265 void set_has_nms_param();
2266 void clear_has_nms_param();
2267 void set_has_save_output_param();
2268 void clear_has_save_output_param();
2269 void set_has_code_type();
2270 void clear_has_code_type();
2271 void set_has_variance_encoded_in_target();
2272 void clear_has_variance_encoded_in_target();
2273 void set_has_keep_top_k();
2274 void clear_has_keep_top_k();
2275 void set_has_confidence_threshold();
2276 void clear_has_confidence_threshold();
2277 void set_has_normalized_bbox();
2278 void clear_has_normalized_bbox();
2279
2280 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2281 ::google::protobuf::internal::HasBits<1> _has_bits_;
2282 mutable int _cached_size_;
2283 ::opencv_caffe::NonMaximumSuppressionParameter* nms_param_;
2284 ::opencv_caffe::SaveOutputParameter* save_output_param_;
2285 ::google::protobuf::uint32 num_classes_;
2286 ::google::protobuf::int32 background_label_id_;
2287 bool variance_encoded_in_target_;
2288 float confidence_threshold_;
2289 ::google::protobuf::int32 keep_top_k_;
2290 int code_type_;
2291 bool share_location_;
2292 bool normalized_bbox_;
2293 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
2294 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsDetectionOutputParameterImpl();
2295 };
2296 // -------------------------------------------------------------------
2297
2298 class Datum : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.Datum) */ {
2299 public:
2300 Datum();
2301 virtual ~Datum();
2302
2303 Datum(const Datum& from);
2304
2305 inline Datum& operator=(const Datum& from) {
2306 CopyFrom(from);
2307 return *this;
2308 }
2309 #if LANG_CXX11
Datum(Datum && from)2310 Datum(Datum&& from) noexcept
2311 : Datum() {
2312 *this = ::std::move(from);
2313 }
2314
2315 inline Datum& operator=(Datum&& from) noexcept {
2316 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2317 if (this != &from) InternalSwap(&from);
2318 } else {
2319 CopyFrom(from);
2320 }
2321 return *this;
2322 }
2323 #endif
unknown_fields()2324 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2325 return _internal_metadata_.unknown_fields();
2326 }
mutable_unknown_fields()2327 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2328 return _internal_metadata_.mutable_unknown_fields();
2329 }
2330
2331 static const ::google::protobuf::Descriptor* descriptor();
2332 static const Datum& default_instance();
2333
2334 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2335 static inline const Datum* internal_default_instance() {
2336 return reinterpret_cast<const Datum*>(
2337 &_Datum_default_instance_);
2338 }
2339 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2340 7;
2341
2342 void Swap(Datum* other);
swap(Datum & a,Datum & b)2343 friend void swap(Datum& a, Datum& b) {
2344 a.Swap(&b);
2345 }
2346
2347 // implements Message ----------------------------------------------
2348
New()2349 inline Datum* New() const PROTOBUF_FINAL { return New(NULL); }
2350
2351 Datum* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2352 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2353 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2354 void CopyFrom(const Datum& from);
2355 void MergeFrom(const Datum& from);
2356 void Clear() PROTOBUF_FINAL;
2357 bool IsInitialized() const PROTOBUF_FINAL;
2358
2359 size_t ByteSizeLong() const PROTOBUF_FINAL;
2360 bool MergePartialFromCodedStream(
2361 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2362 void SerializeWithCachedSizes(
2363 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2364 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2365 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()2366 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2367 private:
2368 void SharedCtor();
2369 void SharedDtor();
2370 void SetCachedSize(int size) const PROTOBUF_FINAL;
2371 void InternalSwap(Datum* other);
2372 private:
GetArenaNoVirtual()2373 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2374 return NULL;
2375 }
MaybeArenaPtr()2376 inline void* MaybeArenaPtr() const {
2377 return NULL;
2378 }
2379 public:
2380
2381 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2382
2383 // nested types ----------------------------------------------------
2384
2385 // accessors -------------------------------------------------------
2386
2387 // repeated float float_data = 6;
2388 int float_data_size() const;
2389 void clear_float_data();
2390 static const int kFloatDataFieldNumber = 6;
2391 float float_data(int index) const;
2392 void set_float_data(int index, float value);
2393 void add_float_data(float value);
2394 const ::google::protobuf::RepeatedField< float >&
2395 float_data() const;
2396 ::google::protobuf::RepeatedField< float >*
2397 mutable_float_data();
2398
2399 // optional bytes data = 4;
2400 bool has_data() const;
2401 void clear_data();
2402 static const int kDataFieldNumber = 4;
2403 const ::std::string& data() const;
2404 void set_data(const ::std::string& value);
2405 #if LANG_CXX11
2406 void set_data(::std::string&& value);
2407 #endif
2408 void set_data(const char* value);
2409 void set_data(const void* value, size_t size);
2410 ::std::string* mutable_data();
2411 ::std::string* release_data();
2412 void set_allocated_data(::std::string* data);
2413
2414 // optional int32 channels = 1;
2415 bool has_channels() const;
2416 void clear_channels();
2417 static const int kChannelsFieldNumber = 1;
2418 ::google::protobuf::int32 channels() const;
2419 void set_channels(::google::protobuf::int32 value);
2420
2421 // optional int32 height = 2;
2422 bool has_height() const;
2423 void clear_height();
2424 static const int kHeightFieldNumber = 2;
2425 ::google::protobuf::int32 height() const;
2426 void set_height(::google::protobuf::int32 value);
2427
2428 // optional int32 width = 3;
2429 bool has_width() const;
2430 void clear_width();
2431 static const int kWidthFieldNumber = 3;
2432 ::google::protobuf::int32 width() const;
2433 void set_width(::google::protobuf::int32 value);
2434
2435 // optional int32 label = 5;
2436 bool has_label() const;
2437 void clear_label();
2438 static const int kLabelFieldNumber = 5;
2439 ::google::protobuf::int32 label() const;
2440 void set_label(::google::protobuf::int32 value);
2441
2442 // optional bool encoded = 7 [default = false];
2443 bool has_encoded() const;
2444 void clear_encoded();
2445 static const int kEncodedFieldNumber = 7;
2446 bool encoded() const;
2447 void set_encoded(bool value);
2448
2449 // @@protoc_insertion_point(class_scope:opencv_caffe.Datum)
2450 private:
2451 void set_has_channels();
2452 void clear_has_channels();
2453 void set_has_height();
2454 void clear_has_height();
2455 void set_has_width();
2456 void clear_has_width();
2457 void set_has_data();
2458 void clear_has_data();
2459 void set_has_label();
2460 void clear_has_label();
2461 void set_has_encoded();
2462 void clear_has_encoded();
2463
2464 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2465 ::google::protobuf::internal::HasBits<1> _has_bits_;
2466 mutable int _cached_size_;
2467 ::google::protobuf::RepeatedField< float > float_data_;
2468 ::google::protobuf::internal::ArenaStringPtr data_;
2469 ::google::protobuf::int32 channels_;
2470 ::google::protobuf::int32 height_;
2471 ::google::protobuf::int32 width_;
2472 ::google::protobuf::int32 label_;
2473 bool encoded_;
2474 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
2475 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsDatumImpl();
2476 };
2477 // -------------------------------------------------------------------
2478
2479 class FillerParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.FillerParameter) */ {
2480 public:
2481 FillerParameter();
2482 virtual ~FillerParameter();
2483
2484 FillerParameter(const FillerParameter& from);
2485
2486 inline FillerParameter& operator=(const FillerParameter& from) {
2487 CopyFrom(from);
2488 return *this;
2489 }
2490 #if LANG_CXX11
FillerParameter(FillerParameter && from)2491 FillerParameter(FillerParameter&& from) noexcept
2492 : FillerParameter() {
2493 *this = ::std::move(from);
2494 }
2495
2496 inline FillerParameter& operator=(FillerParameter&& from) noexcept {
2497 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2498 if (this != &from) InternalSwap(&from);
2499 } else {
2500 CopyFrom(from);
2501 }
2502 return *this;
2503 }
2504 #endif
unknown_fields()2505 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2506 return _internal_metadata_.unknown_fields();
2507 }
mutable_unknown_fields()2508 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2509 return _internal_metadata_.mutable_unknown_fields();
2510 }
2511
2512 static const ::google::protobuf::Descriptor* descriptor();
2513 static const FillerParameter& default_instance();
2514
2515 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2516 static inline const FillerParameter* internal_default_instance() {
2517 return reinterpret_cast<const FillerParameter*>(
2518 &_FillerParameter_default_instance_);
2519 }
2520 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2521 8;
2522
2523 void Swap(FillerParameter* other);
swap(FillerParameter & a,FillerParameter & b)2524 friend void swap(FillerParameter& a, FillerParameter& b) {
2525 a.Swap(&b);
2526 }
2527
2528 // implements Message ----------------------------------------------
2529
New()2530 inline FillerParameter* New() const PROTOBUF_FINAL { return New(NULL); }
2531
2532 FillerParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2533 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2534 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2535 void CopyFrom(const FillerParameter& from);
2536 void MergeFrom(const FillerParameter& from);
2537 void Clear() PROTOBUF_FINAL;
2538 bool IsInitialized() const PROTOBUF_FINAL;
2539
2540 size_t ByteSizeLong() const PROTOBUF_FINAL;
2541 bool MergePartialFromCodedStream(
2542 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2543 void SerializeWithCachedSizes(
2544 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2545 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2546 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()2547 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2548 private:
2549 void SharedCtor();
2550 void SharedDtor();
2551 void SetCachedSize(int size) const PROTOBUF_FINAL;
2552 void InternalSwap(FillerParameter* other);
2553 private:
GetArenaNoVirtual()2554 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2555 return NULL;
2556 }
MaybeArenaPtr()2557 inline void* MaybeArenaPtr() const {
2558 return NULL;
2559 }
2560 public:
2561
2562 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2563
2564 // nested types ----------------------------------------------------
2565
2566 typedef FillerParameter_VarianceNorm VarianceNorm;
2567 static const VarianceNorm FAN_IN =
2568 FillerParameter_VarianceNorm_FAN_IN;
2569 static const VarianceNorm FAN_OUT =
2570 FillerParameter_VarianceNorm_FAN_OUT;
2571 static const VarianceNorm AVERAGE =
2572 FillerParameter_VarianceNorm_AVERAGE;
VarianceNorm_IsValid(int value)2573 static inline bool VarianceNorm_IsValid(int value) {
2574 return FillerParameter_VarianceNorm_IsValid(value);
2575 }
2576 static const VarianceNorm VarianceNorm_MIN =
2577 FillerParameter_VarianceNorm_VarianceNorm_MIN;
2578 static const VarianceNorm VarianceNorm_MAX =
2579 FillerParameter_VarianceNorm_VarianceNorm_MAX;
2580 static const int VarianceNorm_ARRAYSIZE =
2581 FillerParameter_VarianceNorm_VarianceNorm_ARRAYSIZE;
2582 static inline const ::google::protobuf::EnumDescriptor*
VarianceNorm_descriptor()2583 VarianceNorm_descriptor() {
2584 return FillerParameter_VarianceNorm_descriptor();
2585 }
VarianceNorm_Name(VarianceNorm value)2586 static inline const ::std::string& VarianceNorm_Name(VarianceNorm value) {
2587 return FillerParameter_VarianceNorm_Name(value);
2588 }
VarianceNorm_Parse(const::std::string & name,VarianceNorm * value)2589 static inline bool VarianceNorm_Parse(const ::std::string& name,
2590 VarianceNorm* value) {
2591 return FillerParameter_VarianceNorm_Parse(name, value);
2592 }
2593
2594 // accessors -------------------------------------------------------
2595
2596 // optional string type = 1 [default = "constant"];
2597 bool has_type() const;
2598 void clear_type();
2599 static const int kTypeFieldNumber = 1;
2600 const ::std::string& type() const;
2601 void set_type(const ::std::string& value);
2602 #if LANG_CXX11
2603 void set_type(::std::string&& value);
2604 #endif
2605 void set_type(const char* value);
2606 void set_type(const char* value, size_t size);
2607 ::std::string* mutable_type();
2608 ::std::string* release_type();
2609 void set_allocated_type(::std::string* type);
2610
2611 // optional float value = 2 [default = 0];
2612 bool has_value() const;
2613 void clear_value();
2614 static const int kValueFieldNumber = 2;
2615 float value() const;
2616 void set_value(float value);
2617
2618 // optional float min = 3 [default = 0];
2619 bool has_min() const;
2620 void clear_min();
2621 static const int kMinFieldNumber = 3;
2622 float min() const;
2623 void set_min(float value);
2624
2625 // optional float mean = 5 [default = 0];
2626 bool has_mean() const;
2627 void clear_mean();
2628 static const int kMeanFieldNumber = 5;
2629 float mean() const;
2630 void set_mean(float value);
2631
2632 // optional .opencv_caffe.FillerParameter.VarianceNorm variance_norm = 8 [default = FAN_IN];
2633 bool has_variance_norm() const;
2634 void clear_variance_norm();
2635 static const int kVarianceNormFieldNumber = 8;
2636 ::opencv_caffe::FillerParameter_VarianceNorm variance_norm() const;
2637 void set_variance_norm(::opencv_caffe::FillerParameter_VarianceNorm value);
2638
2639 // optional int32 sparse = 7 [default = -1];
2640 bool has_sparse() const;
2641 void clear_sparse();
2642 static const int kSparseFieldNumber = 7;
2643 ::google::protobuf::int32 sparse() const;
2644 void set_sparse(::google::protobuf::int32 value);
2645
2646 // optional float max = 4 [default = 1];
2647 bool has_max() const;
2648 void clear_max();
2649 static const int kMaxFieldNumber = 4;
2650 float max() const;
2651 void set_max(float value);
2652
2653 // optional float std = 6 [default = 1];
2654 bool has_std() const;
2655 void clear_std();
2656 static const int kStdFieldNumber = 6;
2657 float std() const;
2658 void set_std(float value);
2659
2660 // @@protoc_insertion_point(class_scope:opencv_caffe.FillerParameter)
2661 private:
2662 void set_has_type();
2663 void clear_has_type();
2664 void set_has_value();
2665 void clear_has_value();
2666 void set_has_min();
2667 void clear_has_min();
2668 void set_has_max();
2669 void clear_has_max();
2670 void set_has_mean();
2671 void clear_has_mean();
2672 void set_has_std();
2673 void clear_has_std();
2674 void set_has_sparse();
2675 void clear_has_sparse();
2676 void set_has_variance_norm();
2677 void clear_has_variance_norm();
2678
2679 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2680 ::google::protobuf::internal::HasBits<1> _has_bits_;
2681 mutable int _cached_size_;
2682 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _default_type_;
2683 ::google::protobuf::internal::ArenaStringPtr type_;
2684 float value_;
2685 float min_;
2686 float mean_;
2687 int variance_norm_;
2688 ::google::protobuf::int32 sparse_;
2689 float max_;
2690 float std_;
2691 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
2692 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsFillerParameterImpl();
2693 };
2694 // -------------------------------------------------------------------
2695
2696 class NetParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.NetParameter) */ {
2697 public:
2698 NetParameter();
2699 virtual ~NetParameter();
2700
2701 NetParameter(const NetParameter& from);
2702
2703 inline NetParameter& operator=(const NetParameter& from) {
2704 CopyFrom(from);
2705 return *this;
2706 }
2707 #if LANG_CXX11
NetParameter(NetParameter && from)2708 NetParameter(NetParameter&& from) noexcept
2709 : NetParameter() {
2710 *this = ::std::move(from);
2711 }
2712
2713 inline NetParameter& operator=(NetParameter&& from) noexcept {
2714 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2715 if (this != &from) InternalSwap(&from);
2716 } else {
2717 CopyFrom(from);
2718 }
2719 return *this;
2720 }
2721 #endif
unknown_fields()2722 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2723 return _internal_metadata_.unknown_fields();
2724 }
mutable_unknown_fields()2725 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2726 return _internal_metadata_.mutable_unknown_fields();
2727 }
2728
2729 static const ::google::protobuf::Descriptor* descriptor();
2730 static const NetParameter& default_instance();
2731
2732 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2733 static inline const NetParameter* internal_default_instance() {
2734 return reinterpret_cast<const NetParameter*>(
2735 &_NetParameter_default_instance_);
2736 }
2737 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2738 9;
2739
2740 void Swap(NetParameter* other);
swap(NetParameter & a,NetParameter & b)2741 friend void swap(NetParameter& a, NetParameter& b) {
2742 a.Swap(&b);
2743 }
2744
2745 // implements Message ----------------------------------------------
2746
New()2747 inline NetParameter* New() const PROTOBUF_FINAL { return New(NULL); }
2748
2749 NetParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2750 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2751 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2752 void CopyFrom(const NetParameter& from);
2753 void MergeFrom(const NetParameter& from);
2754 void Clear() PROTOBUF_FINAL;
2755 bool IsInitialized() const PROTOBUF_FINAL;
2756
2757 size_t ByteSizeLong() const PROTOBUF_FINAL;
2758 bool MergePartialFromCodedStream(
2759 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2760 void SerializeWithCachedSizes(
2761 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2762 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2763 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()2764 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2765 private:
2766 void SharedCtor();
2767 void SharedDtor();
2768 void SetCachedSize(int size) const PROTOBUF_FINAL;
2769 void InternalSwap(NetParameter* other);
2770 private:
GetArenaNoVirtual()2771 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2772 return NULL;
2773 }
MaybeArenaPtr()2774 inline void* MaybeArenaPtr() const {
2775 return NULL;
2776 }
2777 public:
2778
2779 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
2780
2781 // nested types ----------------------------------------------------
2782
2783 // accessors -------------------------------------------------------
2784
2785 // repeated .opencv_caffe.V1LayerParameter layers = 2;
2786 int layers_size() const;
2787 void clear_layers();
2788 static const int kLayersFieldNumber = 2;
2789 const ::opencv_caffe::V1LayerParameter& layers(int index) const;
2790 ::opencv_caffe::V1LayerParameter* mutable_layers(int index);
2791 ::opencv_caffe::V1LayerParameter* add_layers();
2792 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::V1LayerParameter >*
2793 mutable_layers();
2794 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::V1LayerParameter >&
2795 layers() const;
2796
2797 // repeated string input = 3;
2798 int input_size() const;
2799 void clear_input();
2800 static const int kInputFieldNumber = 3;
2801 const ::std::string& input(int index) const;
2802 ::std::string* mutable_input(int index);
2803 void set_input(int index, const ::std::string& value);
2804 #if LANG_CXX11
2805 void set_input(int index, ::std::string&& value);
2806 #endif
2807 void set_input(int index, const char* value);
2808 void set_input(int index, const char* value, size_t size);
2809 ::std::string* add_input();
2810 void add_input(const ::std::string& value);
2811 #if LANG_CXX11
2812 void add_input(::std::string&& value);
2813 #endif
2814 void add_input(const char* value);
2815 void add_input(const char* value, size_t size);
2816 const ::google::protobuf::RepeatedPtrField< ::std::string>& input() const;
2817 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_input();
2818
2819 // repeated int32 input_dim = 4;
2820 int input_dim_size() const;
2821 void clear_input_dim();
2822 static const int kInputDimFieldNumber = 4;
2823 ::google::protobuf::int32 input_dim(int index) const;
2824 void set_input_dim(int index, ::google::protobuf::int32 value);
2825 void add_input_dim(::google::protobuf::int32 value);
2826 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
2827 input_dim() const;
2828 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
2829 mutable_input_dim();
2830
2831 // repeated .opencv_caffe.BlobShape input_shape = 8;
2832 int input_shape_size() const;
2833 void clear_input_shape();
2834 static const int kInputShapeFieldNumber = 8;
2835 const ::opencv_caffe::BlobShape& input_shape(int index) const;
2836 ::opencv_caffe::BlobShape* mutable_input_shape(int index);
2837 ::opencv_caffe::BlobShape* add_input_shape();
2838 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >*
2839 mutable_input_shape();
2840 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >&
2841 input_shape() const;
2842
2843 // repeated .opencv_caffe.LayerParameter layer = 100;
2844 int layer_size() const;
2845 void clear_layer();
2846 static const int kLayerFieldNumber = 100;
2847 const ::opencv_caffe::LayerParameter& layer(int index) const;
2848 ::opencv_caffe::LayerParameter* mutable_layer(int index);
2849 ::opencv_caffe::LayerParameter* add_layer();
2850 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::LayerParameter >*
2851 mutable_layer();
2852 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::LayerParameter >&
2853 layer() const;
2854
2855 // optional string name = 1;
2856 bool has_name() const;
2857 void clear_name();
2858 static const int kNameFieldNumber = 1;
2859 const ::std::string& name() const;
2860 void set_name(const ::std::string& value);
2861 #if LANG_CXX11
2862 void set_name(::std::string&& value);
2863 #endif
2864 void set_name(const char* value);
2865 void set_name(const char* value, size_t size);
2866 ::std::string* mutable_name();
2867 ::std::string* release_name();
2868 void set_allocated_name(::std::string* name);
2869
2870 // optional .opencv_caffe.NetState state = 6;
2871 bool has_state() const;
2872 void clear_state();
2873 static const int kStateFieldNumber = 6;
2874 const ::opencv_caffe::NetState& state() const;
2875 ::opencv_caffe::NetState* release_state();
2876 ::opencv_caffe::NetState* mutable_state();
2877 void set_allocated_state(::opencv_caffe::NetState* state);
2878
2879 // optional bool force_backward = 5 [default = false];
2880 bool has_force_backward() const;
2881 void clear_force_backward();
2882 static const int kForceBackwardFieldNumber = 5;
2883 bool force_backward() const;
2884 void set_force_backward(bool value);
2885
2886 // optional bool debug_info = 7 [default = false];
2887 bool has_debug_info() const;
2888 void clear_debug_info();
2889 static const int kDebugInfoFieldNumber = 7;
2890 bool debug_info() const;
2891 void set_debug_info(bool value);
2892
2893 // @@protoc_insertion_point(class_scope:opencv_caffe.NetParameter)
2894 private:
2895 void set_has_name();
2896 void clear_has_name();
2897 void set_has_force_backward();
2898 void clear_has_force_backward();
2899 void set_has_state();
2900 void clear_has_state();
2901 void set_has_debug_info();
2902 void clear_has_debug_info();
2903
2904 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
2905 ::google::protobuf::internal::HasBits<1> _has_bits_;
2906 mutable int _cached_size_;
2907 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::V1LayerParameter > layers_;
2908 ::google::protobuf::RepeatedPtrField< ::std::string> input_;
2909 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > input_dim_;
2910 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape > input_shape_;
2911 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::LayerParameter > layer_;
2912 ::google::protobuf::internal::ArenaStringPtr name_;
2913 ::opencv_caffe::NetState* state_;
2914 bool force_backward_;
2915 bool debug_info_;
2916 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
2917 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsNetParameterImpl();
2918 };
2919 // -------------------------------------------------------------------
2920
2921 class SolverParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.SolverParameter) */ {
2922 public:
2923 SolverParameter();
2924 virtual ~SolverParameter();
2925
2926 SolverParameter(const SolverParameter& from);
2927
2928 inline SolverParameter& operator=(const SolverParameter& from) {
2929 CopyFrom(from);
2930 return *this;
2931 }
2932 #if LANG_CXX11
SolverParameter(SolverParameter && from)2933 SolverParameter(SolverParameter&& from) noexcept
2934 : SolverParameter() {
2935 *this = ::std::move(from);
2936 }
2937
2938 inline SolverParameter& operator=(SolverParameter&& from) noexcept {
2939 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
2940 if (this != &from) InternalSwap(&from);
2941 } else {
2942 CopyFrom(from);
2943 }
2944 return *this;
2945 }
2946 #endif
unknown_fields()2947 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
2948 return _internal_metadata_.unknown_fields();
2949 }
mutable_unknown_fields()2950 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
2951 return _internal_metadata_.mutable_unknown_fields();
2952 }
2953
2954 static const ::google::protobuf::Descriptor* descriptor();
2955 static const SolverParameter& default_instance();
2956
2957 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()2958 static inline const SolverParameter* internal_default_instance() {
2959 return reinterpret_cast<const SolverParameter*>(
2960 &_SolverParameter_default_instance_);
2961 }
2962 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
2963 10;
2964
2965 void Swap(SolverParameter* other);
swap(SolverParameter & a,SolverParameter & b)2966 friend void swap(SolverParameter& a, SolverParameter& b) {
2967 a.Swap(&b);
2968 }
2969
2970 // implements Message ----------------------------------------------
2971
New()2972 inline SolverParameter* New() const PROTOBUF_FINAL { return New(NULL); }
2973
2974 SolverParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
2975 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2976 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
2977 void CopyFrom(const SolverParameter& from);
2978 void MergeFrom(const SolverParameter& from);
2979 void Clear() PROTOBUF_FINAL;
2980 bool IsInitialized() const PROTOBUF_FINAL;
2981
2982 size_t ByteSizeLong() const PROTOBUF_FINAL;
2983 bool MergePartialFromCodedStream(
2984 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
2985 void SerializeWithCachedSizes(
2986 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
2987 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
2988 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()2989 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
2990 private:
2991 void SharedCtor();
2992 void SharedDtor();
2993 void SetCachedSize(int size) const PROTOBUF_FINAL;
2994 void InternalSwap(SolverParameter* other);
2995 private:
GetArenaNoVirtual()2996 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
2997 return NULL;
2998 }
MaybeArenaPtr()2999 inline void* MaybeArenaPtr() const {
3000 return NULL;
3001 }
3002 public:
3003
3004 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3005
3006 // nested types ----------------------------------------------------
3007
3008 typedef SolverParameter_SnapshotFormat SnapshotFormat;
3009 static const SnapshotFormat HDF5 =
3010 SolverParameter_SnapshotFormat_HDF5;
3011 static const SnapshotFormat BINARYPROTO =
3012 SolverParameter_SnapshotFormat_BINARYPROTO;
SnapshotFormat_IsValid(int value)3013 static inline bool SnapshotFormat_IsValid(int value) {
3014 return SolverParameter_SnapshotFormat_IsValid(value);
3015 }
3016 static const SnapshotFormat SnapshotFormat_MIN =
3017 SolverParameter_SnapshotFormat_SnapshotFormat_MIN;
3018 static const SnapshotFormat SnapshotFormat_MAX =
3019 SolverParameter_SnapshotFormat_SnapshotFormat_MAX;
3020 static const int SnapshotFormat_ARRAYSIZE =
3021 SolverParameter_SnapshotFormat_SnapshotFormat_ARRAYSIZE;
3022 static inline const ::google::protobuf::EnumDescriptor*
SnapshotFormat_descriptor()3023 SnapshotFormat_descriptor() {
3024 return SolverParameter_SnapshotFormat_descriptor();
3025 }
SnapshotFormat_Name(SnapshotFormat value)3026 static inline const ::std::string& SnapshotFormat_Name(SnapshotFormat value) {
3027 return SolverParameter_SnapshotFormat_Name(value);
3028 }
SnapshotFormat_Parse(const::std::string & name,SnapshotFormat * value)3029 static inline bool SnapshotFormat_Parse(const ::std::string& name,
3030 SnapshotFormat* value) {
3031 return SolverParameter_SnapshotFormat_Parse(name, value);
3032 }
3033
3034 typedef SolverParameter_SolverMode SolverMode;
3035 static const SolverMode CPU =
3036 SolverParameter_SolverMode_CPU;
3037 static const SolverMode GPU =
3038 SolverParameter_SolverMode_GPU;
SolverMode_IsValid(int value)3039 static inline bool SolverMode_IsValid(int value) {
3040 return SolverParameter_SolverMode_IsValid(value);
3041 }
3042 static const SolverMode SolverMode_MIN =
3043 SolverParameter_SolverMode_SolverMode_MIN;
3044 static const SolverMode SolverMode_MAX =
3045 SolverParameter_SolverMode_SolverMode_MAX;
3046 static const int SolverMode_ARRAYSIZE =
3047 SolverParameter_SolverMode_SolverMode_ARRAYSIZE;
3048 static inline const ::google::protobuf::EnumDescriptor*
SolverMode_descriptor()3049 SolverMode_descriptor() {
3050 return SolverParameter_SolverMode_descriptor();
3051 }
SolverMode_Name(SolverMode value)3052 static inline const ::std::string& SolverMode_Name(SolverMode value) {
3053 return SolverParameter_SolverMode_Name(value);
3054 }
SolverMode_Parse(const::std::string & name,SolverMode * value)3055 static inline bool SolverMode_Parse(const ::std::string& name,
3056 SolverMode* value) {
3057 return SolverParameter_SolverMode_Parse(name, value);
3058 }
3059
3060 typedef SolverParameter_SolverType SolverType;
3061 static const SolverType SGD =
3062 SolverParameter_SolverType_SGD;
3063 static const SolverType NESTEROV =
3064 SolverParameter_SolverType_NESTEROV;
3065 static const SolverType ADAGRAD =
3066 SolverParameter_SolverType_ADAGRAD;
3067 static const SolverType RMSPROP =
3068 SolverParameter_SolverType_RMSPROP;
3069 static const SolverType ADADELTA =
3070 SolverParameter_SolverType_ADADELTA;
3071 static const SolverType ADAM =
3072 SolverParameter_SolverType_ADAM;
SolverType_IsValid(int value)3073 static inline bool SolverType_IsValid(int value) {
3074 return SolverParameter_SolverType_IsValid(value);
3075 }
3076 static const SolverType SolverType_MIN =
3077 SolverParameter_SolverType_SolverType_MIN;
3078 static const SolverType SolverType_MAX =
3079 SolverParameter_SolverType_SolverType_MAX;
3080 static const int SolverType_ARRAYSIZE =
3081 SolverParameter_SolverType_SolverType_ARRAYSIZE;
3082 static inline const ::google::protobuf::EnumDescriptor*
SolverType_descriptor()3083 SolverType_descriptor() {
3084 return SolverParameter_SolverType_descriptor();
3085 }
SolverType_Name(SolverType value)3086 static inline const ::std::string& SolverType_Name(SolverType value) {
3087 return SolverParameter_SolverType_Name(value);
3088 }
SolverType_Parse(const::std::string & name,SolverType * value)3089 static inline bool SolverType_Parse(const ::std::string& name,
3090 SolverType* value) {
3091 return SolverParameter_SolverType_Parse(name, value);
3092 }
3093
3094 // accessors -------------------------------------------------------
3095
3096 // repeated string test_net = 2;
3097 int test_net_size() const;
3098 void clear_test_net();
3099 static const int kTestNetFieldNumber = 2;
3100 const ::std::string& test_net(int index) const;
3101 ::std::string* mutable_test_net(int index);
3102 void set_test_net(int index, const ::std::string& value);
3103 #if LANG_CXX11
3104 void set_test_net(int index, ::std::string&& value);
3105 #endif
3106 void set_test_net(int index, const char* value);
3107 void set_test_net(int index, const char* value, size_t size);
3108 ::std::string* add_test_net();
3109 void add_test_net(const ::std::string& value);
3110 #if LANG_CXX11
3111 void add_test_net(::std::string&& value);
3112 #endif
3113 void add_test_net(const char* value);
3114 void add_test_net(const char* value, size_t size);
3115 const ::google::protobuf::RepeatedPtrField< ::std::string>& test_net() const;
3116 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_test_net();
3117
3118 // repeated int32 test_iter = 3;
3119 int test_iter_size() const;
3120 void clear_test_iter();
3121 static const int kTestIterFieldNumber = 3;
3122 ::google::protobuf::int32 test_iter(int index) const;
3123 void set_test_iter(int index, ::google::protobuf::int32 value);
3124 void add_test_iter(::google::protobuf::int32 value);
3125 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3126 test_iter() const;
3127 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3128 mutable_test_iter();
3129
3130 // repeated .opencv_caffe.NetParameter test_net_param = 22;
3131 int test_net_param_size() const;
3132 void clear_test_net_param();
3133 static const int kTestNetParamFieldNumber = 22;
3134 const ::opencv_caffe::NetParameter& test_net_param(int index) const;
3135 ::opencv_caffe::NetParameter* mutable_test_net_param(int index);
3136 ::opencv_caffe::NetParameter* add_test_net_param();
3137 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetParameter >*
3138 mutable_test_net_param();
3139 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetParameter >&
3140 test_net_param() const;
3141
3142 // repeated .opencv_caffe.NetState test_state = 27;
3143 int test_state_size() const;
3144 void clear_test_state();
3145 static const int kTestStateFieldNumber = 27;
3146 const ::opencv_caffe::NetState& test_state(int index) const;
3147 ::opencv_caffe::NetState* mutable_test_state(int index);
3148 ::opencv_caffe::NetState* add_test_state();
3149 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetState >*
3150 mutable_test_state();
3151 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetState >&
3152 test_state() const;
3153
3154 // repeated int32 stepvalue = 34;
3155 int stepvalue_size() const;
3156 void clear_stepvalue();
3157 static const int kStepvalueFieldNumber = 34;
3158 ::google::protobuf::int32 stepvalue(int index) const;
3159 void set_stepvalue(int index, ::google::protobuf::int32 value);
3160 void add_stepvalue(::google::protobuf::int32 value);
3161 const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
3162 stepvalue() const;
3163 ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
3164 mutable_stepvalue();
3165
3166 // optional string train_net = 1;
3167 bool has_train_net() const;
3168 void clear_train_net();
3169 static const int kTrainNetFieldNumber = 1;
3170 const ::std::string& train_net() const;
3171 void set_train_net(const ::std::string& value);
3172 #if LANG_CXX11
3173 void set_train_net(::std::string&& value);
3174 #endif
3175 void set_train_net(const char* value);
3176 void set_train_net(const char* value, size_t size);
3177 ::std::string* mutable_train_net();
3178 ::std::string* release_train_net();
3179 void set_allocated_train_net(::std::string* train_net);
3180
3181 // optional string lr_policy = 8;
3182 bool has_lr_policy() const;
3183 void clear_lr_policy();
3184 static const int kLrPolicyFieldNumber = 8;
3185 const ::std::string& lr_policy() const;
3186 void set_lr_policy(const ::std::string& value);
3187 #if LANG_CXX11
3188 void set_lr_policy(::std::string&& value);
3189 #endif
3190 void set_lr_policy(const char* value);
3191 void set_lr_policy(const char* value, size_t size);
3192 ::std::string* mutable_lr_policy();
3193 ::std::string* release_lr_policy();
3194 void set_allocated_lr_policy(::std::string* lr_policy);
3195
3196 // optional string snapshot_prefix = 15;
3197 bool has_snapshot_prefix() const;
3198 void clear_snapshot_prefix();
3199 static const int kSnapshotPrefixFieldNumber = 15;
3200 const ::std::string& snapshot_prefix() const;
3201 void set_snapshot_prefix(const ::std::string& value);
3202 #if LANG_CXX11
3203 void set_snapshot_prefix(::std::string&& value);
3204 #endif
3205 void set_snapshot_prefix(const char* value);
3206 void set_snapshot_prefix(const char* value, size_t size);
3207 ::std::string* mutable_snapshot_prefix();
3208 ::std::string* release_snapshot_prefix();
3209 void set_allocated_snapshot_prefix(::std::string* snapshot_prefix);
3210
3211 // optional string net = 24;
3212 bool has_net() const;
3213 void clear_net();
3214 static const int kNetFieldNumber = 24;
3215 const ::std::string& net() const;
3216 void set_net(const ::std::string& value);
3217 #if LANG_CXX11
3218 void set_net(::std::string&& value);
3219 #endif
3220 void set_net(const char* value);
3221 void set_net(const char* value, size_t size);
3222 ::std::string* mutable_net();
3223 ::std::string* release_net();
3224 void set_allocated_net(::std::string* net);
3225
3226 // optional string regularization_type = 29 [default = "L2"];
3227 bool has_regularization_type() const;
3228 void clear_regularization_type();
3229 static const int kRegularizationTypeFieldNumber = 29;
3230 const ::std::string& regularization_type() const;
3231 void set_regularization_type(const ::std::string& value);
3232 #if LANG_CXX11
3233 void set_regularization_type(::std::string&& value);
3234 #endif
3235 void set_regularization_type(const char* value);
3236 void set_regularization_type(const char* value, size_t size);
3237 ::std::string* mutable_regularization_type();
3238 ::std::string* release_regularization_type();
3239 void set_allocated_regularization_type(::std::string* regularization_type);
3240
3241 // optional string type = 40 [default = "SGD"];
3242 bool has_type() const;
3243 void clear_type();
3244 static const int kTypeFieldNumber = 40;
3245 const ::std::string& type() const;
3246 void set_type(const ::std::string& value);
3247 #if LANG_CXX11
3248 void set_type(::std::string&& value);
3249 #endif
3250 void set_type(const char* value);
3251 void set_type(const char* value, size_t size);
3252 ::std::string* mutable_type();
3253 ::std::string* release_type();
3254 void set_allocated_type(::std::string* type);
3255
3256 // optional .opencv_caffe.NetParameter train_net_param = 21;
3257 bool has_train_net_param() const;
3258 void clear_train_net_param();
3259 static const int kTrainNetParamFieldNumber = 21;
3260 const ::opencv_caffe::NetParameter& train_net_param() const;
3261 ::opencv_caffe::NetParameter* release_train_net_param();
3262 ::opencv_caffe::NetParameter* mutable_train_net_param();
3263 void set_allocated_train_net_param(::opencv_caffe::NetParameter* train_net_param);
3264
3265 // optional .opencv_caffe.NetParameter net_param = 25;
3266 bool has_net_param() const;
3267 void clear_net_param();
3268 static const int kNetParamFieldNumber = 25;
3269 const ::opencv_caffe::NetParameter& net_param() const;
3270 ::opencv_caffe::NetParameter* release_net_param();
3271 ::opencv_caffe::NetParameter* mutable_net_param();
3272 void set_allocated_net_param(::opencv_caffe::NetParameter* net_param);
3273
3274 // optional .opencv_caffe.NetState train_state = 26;
3275 bool has_train_state() const;
3276 void clear_train_state();
3277 static const int kTrainStateFieldNumber = 26;
3278 const ::opencv_caffe::NetState& train_state() const;
3279 ::opencv_caffe::NetState* release_train_state();
3280 ::opencv_caffe::NetState* mutable_train_state();
3281 void set_allocated_train_state(::opencv_caffe::NetState* train_state);
3282
3283 // optional int32 test_interval = 4 [default = 0];
3284 bool has_test_interval() const;
3285 void clear_test_interval();
3286 static const int kTestIntervalFieldNumber = 4;
3287 ::google::protobuf::int32 test_interval() const;
3288 void set_test_interval(::google::protobuf::int32 value);
3289
3290 // optional float base_lr = 5;
3291 bool has_base_lr() const;
3292 void clear_base_lr();
3293 static const int kBaseLrFieldNumber = 5;
3294 float base_lr() const;
3295 void set_base_lr(float value);
3296
3297 // optional int32 display = 6;
3298 bool has_display() const;
3299 void clear_display();
3300 static const int kDisplayFieldNumber = 6;
3301 ::google::protobuf::int32 display() const;
3302 void set_display(::google::protobuf::int32 value);
3303
3304 // optional int32 max_iter = 7;
3305 bool has_max_iter() const;
3306 void clear_max_iter();
3307 static const int kMaxIterFieldNumber = 7;
3308 ::google::protobuf::int32 max_iter() const;
3309 void set_max_iter(::google::protobuf::int32 value);
3310
3311 // optional float gamma = 9;
3312 bool has_gamma() const;
3313 void clear_gamma();
3314 static const int kGammaFieldNumber = 9;
3315 float gamma() const;
3316 void set_gamma(float value);
3317
3318 // optional float power = 10;
3319 bool has_power() const;
3320 void clear_power();
3321 static const int kPowerFieldNumber = 10;
3322 float power() const;
3323 void set_power(float value);
3324
3325 // optional float momentum = 11;
3326 bool has_momentum() const;
3327 void clear_momentum();
3328 static const int kMomentumFieldNumber = 11;
3329 float momentum() const;
3330 void set_momentum(float value);
3331
3332 // optional float weight_decay = 12;
3333 bool has_weight_decay() const;
3334 void clear_weight_decay();
3335 static const int kWeightDecayFieldNumber = 12;
3336 float weight_decay() const;
3337 void set_weight_decay(float value);
3338
3339 // optional int32 stepsize = 13;
3340 bool has_stepsize() const;
3341 void clear_stepsize();
3342 static const int kStepsizeFieldNumber = 13;
3343 ::google::protobuf::int32 stepsize() const;
3344 void set_stepsize(::google::protobuf::int32 value);
3345
3346 // optional int32 snapshot = 14 [default = 0];
3347 bool has_snapshot() const;
3348 void clear_snapshot();
3349 static const int kSnapshotFieldNumber = 14;
3350 ::google::protobuf::int32 snapshot() const;
3351 void set_snapshot(::google::protobuf::int32 value);
3352
3353 // optional int32 device_id = 18 [default = 0];
3354 bool has_device_id() const;
3355 void clear_device_id();
3356 static const int kDeviceIdFieldNumber = 18;
3357 ::google::protobuf::int32 device_id() const;
3358 void set_device_id(::google::protobuf::int32 value);
3359
3360 // optional bool test_compute_loss = 19 [default = false];
3361 bool has_test_compute_loss() const;
3362 void clear_test_compute_loss();
3363 static const int kTestComputeLossFieldNumber = 19;
3364 bool test_compute_loss() const;
3365 void set_test_compute_loss(bool value);
3366
3367 // optional bool snapshot_diff = 16 [default = false];
3368 bool has_snapshot_diff() const;
3369 void clear_snapshot_diff();
3370 static const int kSnapshotDiffFieldNumber = 16;
3371 bool snapshot_diff() const;
3372 void set_snapshot_diff(bool value);
3373
3374 // optional bool debug_info = 23 [default = false];
3375 bool has_debug_info() const;
3376 void clear_debug_info();
3377 static const int kDebugInfoFieldNumber = 23;
3378 bool debug_info() const;
3379 void set_debug_info(bool value);
3380
3381 // optional .opencv_caffe.SolverParameter.SolverType solver_type = 30 [default = SGD];
3382 bool has_solver_type() const;
3383 void clear_solver_type();
3384 static const int kSolverTypeFieldNumber = 30;
3385 ::opencv_caffe::SolverParameter_SolverType solver_type() const;
3386 void set_solver_type(::opencv_caffe::SolverParameter_SolverType value);
3387
3388 // optional float momentum2 = 39 [default = 0.999];
3389 bool has_momentum2() const;
3390 void clear_momentum2();
3391 static const int kMomentum2FieldNumber = 39;
3392 float momentum2() const;
3393 void set_momentum2(float value);
3394
3395 // optional int64 random_seed = 20 [default = -1];
3396 bool has_random_seed() const;
3397 void clear_random_seed();
3398 static const int kRandomSeedFieldNumber = 20;
3399 ::google::protobuf::int64 random_seed() const;
3400 void set_random_seed(::google::protobuf::int64 value);
3401
3402 // optional .opencv_caffe.SolverParameter.SolverMode solver_mode = 17 [default = GPU];
3403 bool has_solver_mode() const;
3404 void clear_solver_mode();
3405 static const int kSolverModeFieldNumber = 17;
3406 ::opencv_caffe::SolverParameter_SolverMode solver_mode() const;
3407 void set_solver_mode(::opencv_caffe::SolverParameter_SolverMode value);
3408
3409 // optional bool test_initialization = 32 [default = true];
3410 bool has_test_initialization() const;
3411 void clear_test_initialization();
3412 static const int kTestInitializationFieldNumber = 32;
3413 bool test_initialization() const;
3414 void set_test_initialization(bool value);
3415
3416 // optional bool snapshot_after_train = 28 [default = true];
3417 bool has_snapshot_after_train() const;
3418 void clear_snapshot_after_train();
3419 static const int kSnapshotAfterTrainFieldNumber = 28;
3420 bool snapshot_after_train() const;
3421 void set_snapshot_after_train(bool value);
3422
3423 // optional float delta = 31 [default = 1e-08];
3424 bool has_delta() const;
3425 void clear_delta();
3426 static const int kDeltaFieldNumber = 31;
3427 float delta() const;
3428 void set_delta(float value);
3429
3430 // optional int32 average_loss = 33 [default = 1];
3431 bool has_average_loss() const;
3432 void clear_average_loss();
3433 static const int kAverageLossFieldNumber = 33;
3434 ::google::protobuf::int32 average_loss() const;
3435 void set_average_loss(::google::protobuf::int32 value);
3436
3437 // optional float clip_gradients = 35 [default = -1];
3438 bool has_clip_gradients() const;
3439 void clear_clip_gradients();
3440 static const int kClipGradientsFieldNumber = 35;
3441 float clip_gradients() const;
3442 void set_clip_gradients(float value);
3443
3444 // optional int32 iter_size = 36 [default = 1];
3445 bool has_iter_size() const;
3446 void clear_iter_size();
3447 static const int kIterSizeFieldNumber = 36;
3448 ::google::protobuf::int32 iter_size() const;
3449 void set_iter_size(::google::protobuf::int32 value);
3450
3451 // optional .opencv_caffe.SolverParameter.SnapshotFormat snapshot_format = 37 [default = BINARYPROTO];
3452 bool has_snapshot_format() const;
3453 void clear_snapshot_format();
3454 static const int kSnapshotFormatFieldNumber = 37;
3455 ::opencv_caffe::SolverParameter_SnapshotFormat snapshot_format() const;
3456 void set_snapshot_format(::opencv_caffe::SolverParameter_SnapshotFormat value);
3457
3458 // optional float rms_decay = 38 [default = 0.99];
3459 bool has_rms_decay() const;
3460 void clear_rms_decay();
3461 static const int kRmsDecayFieldNumber = 38;
3462 float rms_decay() const;
3463 void set_rms_decay(float value);
3464
3465 // @@protoc_insertion_point(class_scope:opencv_caffe.SolverParameter)
3466 private:
3467 void set_has_net();
3468 void clear_has_net();
3469 void set_has_net_param();
3470 void clear_has_net_param();
3471 void set_has_train_net();
3472 void clear_has_train_net();
3473 void set_has_train_net_param();
3474 void clear_has_train_net_param();
3475 void set_has_train_state();
3476 void clear_has_train_state();
3477 void set_has_test_interval();
3478 void clear_has_test_interval();
3479 void set_has_test_compute_loss();
3480 void clear_has_test_compute_loss();
3481 void set_has_test_initialization();
3482 void clear_has_test_initialization();
3483 void set_has_base_lr();
3484 void clear_has_base_lr();
3485 void set_has_display();
3486 void clear_has_display();
3487 void set_has_average_loss();
3488 void clear_has_average_loss();
3489 void set_has_max_iter();
3490 void clear_has_max_iter();
3491 void set_has_iter_size();
3492 void clear_has_iter_size();
3493 void set_has_lr_policy();
3494 void clear_has_lr_policy();
3495 void set_has_gamma();
3496 void clear_has_gamma();
3497 void set_has_power();
3498 void clear_has_power();
3499 void set_has_momentum();
3500 void clear_has_momentum();
3501 void set_has_weight_decay();
3502 void clear_has_weight_decay();
3503 void set_has_regularization_type();
3504 void clear_has_regularization_type();
3505 void set_has_stepsize();
3506 void clear_has_stepsize();
3507 void set_has_clip_gradients();
3508 void clear_has_clip_gradients();
3509 void set_has_snapshot();
3510 void clear_has_snapshot();
3511 void set_has_snapshot_prefix();
3512 void clear_has_snapshot_prefix();
3513 void set_has_snapshot_diff();
3514 void clear_has_snapshot_diff();
3515 void set_has_snapshot_format();
3516 void clear_has_snapshot_format();
3517 void set_has_solver_mode();
3518 void clear_has_solver_mode();
3519 void set_has_device_id();
3520 void clear_has_device_id();
3521 void set_has_random_seed();
3522 void clear_has_random_seed();
3523 void set_has_type();
3524 void clear_has_type();
3525 void set_has_delta();
3526 void clear_has_delta();
3527 void set_has_momentum2();
3528 void clear_has_momentum2();
3529 void set_has_rms_decay();
3530 void clear_has_rms_decay();
3531 void set_has_debug_info();
3532 void clear_has_debug_info();
3533 void set_has_snapshot_after_train();
3534 void clear_has_snapshot_after_train();
3535 void set_has_solver_type();
3536 void clear_has_solver_type();
3537
3538 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3539 ::google::protobuf::internal::HasBits<2> _has_bits_;
3540 ::google::protobuf::RepeatedPtrField< ::std::string> test_net_;
3541 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > test_iter_;
3542 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetParameter > test_net_param_;
3543 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetState > test_state_;
3544 ::google::protobuf::RepeatedField< ::google::protobuf::int32 > stepvalue_;
3545 ::google::protobuf::internal::ArenaStringPtr train_net_;
3546 ::google::protobuf::internal::ArenaStringPtr lr_policy_;
3547 ::google::protobuf::internal::ArenaStringPtr snapshot_prefix_;
3548 ::google::protobuf::internal::ArenaStringPtr net_;
3549 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _default_regularization_type_;
3550 ::google::protobuf::internal::ArenaStringPtr regularization_type_;
3551 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _default_type_;
3552 ::google::protobuf::internal::ArenaStringPtr type_;
3553 ::opencv_caffe::NetParameter* train_net_param_;
3554 ::opencv_caffe::NetParameter* net_param_;
3555 ::opencv_caffe::NetState* train_state_;
3556 ::google::protobuf::int32 test_interval_;
3557 float base_lr_;
3558 ::google::protobuf::int32 display_;
3559 ::google::protobuf::int32 max_iter_;
3560 float gamma_;
3561 float power_;
3562 float momentum_;
3563 float weight_decay_;
3564 ::google::protobuf::int32 stepsize_;
3565 ::google::protobuf::int32 snapshot_;
3566 ::google::protobuf::int32 device_id_;
3567 bool test_compute_loss_;
3568 bool snapshot_diff_;
3569 bool debug_info_;
3570 int solver_type_;
3571 float momentum2_;
3572 ::google::protobuf::int64 random_seed_;
3573 int solver_mode_;
3574 bool test_initialization_;
3575 bool snapshot_after_train_;
3576 float delta_;
3577 ::google::protobuf::int32 average_loss_;
3578 float clip_gradients_;
3579 ::google::protobuf::int32 iter_size_;
3580 int snapshot_format_;
3581 float rms_decay_;
3582 mutable int _cached_size_;
3583 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
3584 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsSolverParameterImpl();
3585 };
3586 // -------------------------------------------------------------------
3587
3588 class SolverState : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.SolverState) */ {
3589 public:
3590 SolverState();
3591 virtual ~SolverState();
3592
3593 SolverState(const SolverState& from);
3594
3595 inline SolverState& operator=(const SolverState& from) {
3596 CopyFrom(from);
3597 return *this;
3598 }
3599 #if LANG_CXX11
SolverState(SolverState && from)3600 SolverState(SolverState&& from) noexcept
3601 : SolverState() {
3602 *this = ::std::move(from);
3603 }
3604
3605 inline SolverState& operator=(SolverState&& from) noexcept {
3606 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3607 if (this != &from) InternalSwap(&from);
3608 } else {
3609 CopyFrom(from);
3610 }
3611 return *this;
3612 }
3613 #endif
unknown_fields()3614 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3615 return _internal_metadata_.unknown_fields();
3616 }
mutable_unknown_fields()3617 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3618 return _internal_metadata_.mutable_unknown_fields();
3619 }
3620
3621 static const ::google::protobuf::Descriptor* descriptor();
3622 static const SolverState& default_instance();
3623
3624 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3625 static inline const SolverState* internal_default_instance() {
3626 return reinterpret_cast<const SolverState*>(
3627 &_SolverState_default_instance_);
3628 }
3629 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3630 11;
3631
3632 void Swap(SolverState* other);
swap(SolverState & a,SolverState & b)3633 friend void swap(SolverState& a, SolverState& b) {
3634 a.Swap(&b);
3635 }
3636
3637 // implements Message ----------------------------------------------
3638
New()3639 inline SolverState* New() const PROTOBUF_FINAL { return New(NULL); }
3640
3641 SolverState* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3642 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3643 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3644 void CopyFrom(const SolverState& from);
3645 void MergeFrom(const SolverState& from);
3646 void Clear() PROTOBUF_FINAL;
3647 bool IsInitialized() const PROTOBUF_FINAL;
3648
3649 size_t ByteSizeLong() const PROTOBUF_FINAL;
3650 bool MergePartialFromCodedStream(
3651 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3652 void SerializeWithCachedSizes(
3653 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3654 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3655 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()3656 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3657 private:
3658 void SharedCtor();
3659 void SharedDtor();
3660 void SetCachedSize(int size) const PROTOBUF_FINAL;
3661 void InternalSwap(SolverState* other);
3662 private:
GetArenaNoVirtual()3663 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3664 return NULL;
3665 }
MaybeArenaPtr()3666 inline void* MaybeArenaPtr() const {
3667 return NULL;
3668 }
3669 public:
3670
3671 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3672
3673 // nested types ----------------------------------------------------
3674
3675 // accessors -------------------------------------------------------
3676
3677 // repeated .opencv_caffe.BlobProto history = 3;
3678 int history_size() const;
3679 void clear_history();
3680 static const int kHistoryFieldNumber = 3;
3681 const ::opencv_caffe::BlobProto& history(int index) const;
3682 ::opencv_caffe::BlobProto* mutable_history(int index);
3683 ::opencv_caffe::BlobProto* add_history();
3684 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >*
3685 mutable_history();
3686 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >&
3687 history() const;
3688
3689 // optional string learned_net = 2;
3690 bool has_learned_net() const;
3691 void clear_learned_net();
3692 static const int kLearnedNetFieldNumber = 2;
3693 const ::std::string& learned_net() const;
3694 void set_learned_net(const ::std::string& value);
3695 #if LANG_CXX11
3696 void set_learned_net(::std::string&& value);
3697 #endif
3698 void set_learned_net(const char* value);
3699 void set_learned_net(const char* value, size_t size);
3700 ::std::string* mutable_learned_net();
3701 ::std::string* release_learned_net();
3702 void set_allocated_learned_net(::std::string* learned_net);
3703
3704 // optional int32 iter = 1;
3705 bool has_iter() const;
3706 void clear_iter();
3707 static const int kIterFieldNumber = 1;
3708 ::google::protobuf::int32 iter() const;
3709 void set_iter(::google::protobuf::int32 value);
3710
3711 // optional int32 current_step = 4 [default = 0];
3712 bool has_current_step() const;
3713 void clear_current_step();
3714 static const int kCurrentStepFieldNumber = 4;
3715 ::google::protobuf::int32 current_step() const;
3716 void set_current_step(::google::protobuf::int32 value);
3717
3718 // @@protoc_insertion_point(class_scope:opencv_caffe.SolverState)
3719 private:
3720 void set_has_iter();
3721 void clear_has_iter();
3722 void set_has_learned_net();
3723 void clear_has_learned_net();
3724 void set_has_current_step();
3725 void clear_has_current_step();
3726
3727 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3728 ::google::protobuf::internal::HasBits<1> _has_bits_;
3729 mutable int _cached_size_;
3730 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto > history_;
3731 ::google::protobuf::internal::ArenaStringPtr learned_net_;
3732 ::google::protobuf::int32 iter_;
3733 ::google::protobuf::int32 current_step_;
3734 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
3735 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsSolverStateImpl();
3736 };
3737 // -------------------------------------------------------------------
3738
3739 class NetState : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.NetState) */ {
3740 public:
3741 NetState();
3742 virtual ~NetState();
3743
3744 NetState(const NetState& from);
3745
3746 inline NetState& operator=(const NetState& from) {
3747 CopyFrom(from);
3748 return *this;
3749 }
3750 #if LANG_CXX11
NetState(NetState && from)3751 NetState(NetState&& from) noexcept
3752 : NetState() {
3753 *this = ::std::move(from);
3754 }
3755
3756 inline NetState& operator=(NetState&& from) noexcept {
3757 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3758 if (this != &from) InternalSwap(&from);
3759 } else {
3760 CopyFrom(from);
3761 }
3762 return *this;
3763 }
3764 #endif
unknown_fields()3765 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3766 return _internal_metadata_.unknown_fields();
3767 }
mutable_unknown_fields()3768 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3769 return _internal_metadata_.mutable_unknown_fields();
3770 }
3771
3772 static const ::google::protobuf::Descriptor* descriptor();
3773 static const NetState& default_instance();
3774
3775 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3776 static inline const NetState* internal_default_instance() {
3777 return reinterpret_cast<const NetState*>(
3778 &_NetState_default_instance_);
3779 }
3780 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3781 12;
3782
3783 void Swap(NetState* other);
swap(NetState & a,NetState & b)3784 friend void swap(NetState& a, NetState& b) {
3785 a.Swap(&b);
3786 }
3787
3788 // implements Message ----------------------------------------------
3789
New()3790 inline NetState* New() const PROTOBUF_FINAL { return New(NULL); }
3791
3792 NetState* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3793 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3794 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3795 void CopyFrom(const NetState& from);
3796 void MergeFrom(const NetState& from);
3797 void Clear() PROTOBUF_FINAL;
3798 bool IsInitialized() const PROTOBUF_FINAL;
3799
3800 size_t ByteSizeLong() const PROTOBUF_FINAL;
3801 bool MergePartialFromCodedStream(
3802 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3803 void SerializeWithCachedSizes(
3804 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3805 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3806 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()3807 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3808 private:
3809 void SharedCtor();
3810 void SharedDtor();
3811 void SetCachedSize(int size) const PROTOBUF_FINAL;
3812 void InternalSwap(NetState* other);
3813 private:
GetArenaNoVirtual()3814 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3815 return NULL;
3816 }
MaybeArenaPtr()3817 inline void* MaybeArenaPtr() const {
3818 return NULL;
3819 }
3820 public:
3821
3822 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3823
3824 // nested types ----------------------------------------------------
3825
3826 // accessors -------------------------------------------------------
3827
3828 // repeated string stage = 3;
3829 int stage_size() const;
3830 void clear_stage();
3831 static const int kStageFieldNumber = 3;
3832 const ::std::string& stage(int index) const;
3833 ::std::string* mutable_stage(int index);
3834 void set_stage(int index, const ::std::string& value);
3835 #if LANG_CXX11
3836 void set_stage(int index, ::std::string&& value);
3837 #endif
3838 void set_stage(int index, const char* value);
3839 void set_stage(int index, const char* value, size_t size);
3840 ::std::string* add_stage();
3841 void add_stage(const ::std::string& value);
3842 #if LANG_CXX11
3843 void add_stage(::std::string&& value);
3844 #endif
3845 void add_stage(const char* value);
3846 void add_stage(const char* value, size_t size);
3847 const ::google::protobuf::RepeatedPtrField< ::std::string>& stage() const;
3848 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_stage();
3849
3850 // optional int32 level = 2 [default = 0];
3851 bool has_level() const;
3852 void clear_level();
3853 static const int kLevelFieldNumber = 2;
3854 ::google::protobuf::int32 level() const;
3855 void set_level(::google::protobuf::int32 value);
3856
3857 // optional .opencv_caffe.Phase phase = 1 [default = TEST];
3858 bool has_phase() const;
3859 void clear_phase();
3860 static const int kPhaseFieldNumber = 1;
3861 ::opencv_caffe::Phase phase() const;
3862 void set_phase(::opencv_caffe::Phase value);
3863
3864 // @@protoc_insertion_point(class_scope:opencv_caffe.NetState)
3865 private:
3866 void set_has_phase();
3867 void clear_has_phase();
3868 void set_has_level();
3869 void clear_has_level();
3870
3871 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
3872 ::google::protobuf::internal::HasBits<1> _has_bits_;
3873 mutable int _cached_size_;
3874 ::google::protobuf::RepeatedPtrField< ::std::string> stage_;
3875 ::google::protobuf::int32 level_;
3876 int phase_;
3877 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
3878 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsNetStateImpl();
3879 };
3880 // -------------------------------------------------------------------
3881
3882 class NetStateRule : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.NetStateRule) */ {
3883 public:
3884 NetStateRule();
3885 virtual ~NetStateRule();
3886
3887 NetStateRule(const NetStateRule& from);
3888
3889 inline NetStateRule& operator=(const NetStateRule& from) {
3890 CopyFrom(from);
3891 return *this;
3892 }
3893 #if LANG_CXX11
NetStateRule(NetStateRule && from)3894 NetStateRule(NetStateRule&& from) noexcept
3895 : NetStateRule() {
3896 *this = ::std::move(from);
3897 }
3898
3899 inline NetStateRule& operator=(NetStateRule&& from) noexcept {
3900 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
3901 if (this != &from) InternalSwap(&from);
3902 } else {
3903 CopyFrom(from);
3904 }
3905 return *this;
3906 }
3907 #endif
unknown_fields()3908 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
3909 return _internal_metadata_.unknown_fields();
3910 }
mutable_unknown_fields()3911 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
3912 return _internal_metadata_.mutable_unknown_fields();
3913 }
3914
3915 static const ::google::protobuf::Descriptor* descriptor();
3916 static const NetStateRule& default_instance();
3917
3918 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()3919 static inline const NetStateRule* internal_default_instance() {
3920 return reinterpret_cast<const NetStateRule*>(
3921 &_NetStateRule_default_instance_);
3922 }
3923 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
3924 13;
3925
3926 void Swap(NetStateRule* other);
swap(NetStateRule & a,NetStateRule & b)3927 friend void swap(NetStateRule& a, NetStateRule& b) {
3928 a.Swap(&b);
3929 }
3930
3931 // implements Message ----------------------------------------------
3932
New()3933 inline NetStateRule* New() const PROTOBUF_FINAL { return New(NULL); }
3934
3935 NetStateRule* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
3936 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3937 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
3938 void CopyFrom(const NetStateRule& from);
3939 void MergeFrom(const NetStateRule& from);
3940 void Clear() PROTOBUF_FINAL;
3941 bool IsInitialized() const PROTOBUF_FINAL;
3942
3943 size_t ByteSizeLong() const PROTOBUF_FINAL;
3944 bool MergePartialFromCodedStream(
3945 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
3946 void SerializeWithCachedSizes(
3947 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
3948 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
3949 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()3950 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
3951 private:
3952 void SharedCtor();
3953 void SharedDtor();
3954 void SetCachedSize(int size) const PROTOBUF_FINAL;
3955 void InternalSwap(NetStateRule* other);
3956 private:
GetArenaNoVirtual()3957 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
3958 return NULL;
3959 }
MaybeArenaPtr()3960 inline void* MaybeArenaPtr() const {
3961 return NULL;
3962 }
3963 public:
3964
3965 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
3966
3967 // nested types ----------------------------------------------------
3968
3969 // accessors -------------------------------------------------------
3970
3971 // repeated string stage = 4;
3972 int stage_size() const;
3973 void clear_stage();
3974 static const int kStageFieldNumber = 4;
3975 const ::std::string& stage(int index) const;
3976 ::std::string* mutable_stage(int index);
3977 void set_stage(int index, const ::std::string& value);
3978 #if LANG_CXX11
3979 void set_stage(int index, ::std::string&& value);
3980 #endif
3981 void set_stage(int index, const char* value);
3982 void set_stage(int index, const char* value, size_t size);
3983 ::std::string* add_stage();
3984 void add_stage(const ::std::string& value);
3985 #if LANG_CXX11
3986 void add_stage(::std::string&& value);
3987 #endif
3988 void add_stage(const char* value);
3989 void add_stage(const char* value, size_t size);
3990 const ::google::protobuf::RepeatedPtrField< ::std::string>& stage() const;
3991 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_stage();
3992
3993 // repeated string not_stage = 5;
3994 int not_stage_size() const;
3995 void clear_not_stage();
3996 static const int kNotStageFieldNumber = 5;
3997 const ::std::string& not_stage(int index) const;
3998 ::std::string* mutable_not_stage(int index);
3999 void set_not_stage(int index, const ::std::string& value);
4000 #if LANG_CXX11
4001 void set_not_stage(int index, ::std::string&& value);
4002 #endif
4003 void set_not_stage(int index, const char* value);
4004 void set_not_stage(int index, const char* value, size_t size);
4005 ::std::string* add_not_stage();
4006 void add_not_stage(const ::std::string& value);
4007 #if LANG_CXX11
4008 void add_not_stage(::std::string&& value);
4009 #endif
4010 void add_not_stage(const char* value);
4011 void add_not_stage(const char* value, size_t size);
4012 const ::google::protobuf::RepeatedPtrField< ::std::string>& not_stage() const;
4013 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_not_stage();
4014
4015 // optional .opencv_caffe.Phase phase = 1;
4016 bool has_phase() const;
4017 void clear_phase();
4018 static const int kPhaseFieldNumber = 1;
4019 ::opencv_caffe::Phase phase() const;
4020 void set_phase(::opencv_caffe::Phase value);
4021
4022 // optional int32 min_level = 2;
4023 bool has_min_level() const;
4024 void clear_min_level();
4025 static const int kMinLevelFieldNumber = 2;
4026 ::google::protobuf::int32 min_level() const;
4027 void set_min_level(::google::protobuf::int32 value);
4028
4029 // optional int32 max_level = 3;
4030 bool has_max_level() const;
4031 void clear_max_level();
4032 static const int kMaxLevelFieldNumber = 3;
4033 ::google::protobuf::int32 max_level() const;
4034 void set_max_level(::google::protobuf::int32 value);
4035
4036 // @@protoc_insertion_point(class_scope:opencv_caffe.NetStateRule)
4037 private:
4038 void set_has_phase();
4039 void clear_has_phase();
4040 void set_has_min_level();
4041 void clear_has_min_level();
4042 void set_has_max_level();
4043 void clear_has_max_level();
4044
4045 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4046 ::google::protobuf::internal::HasBits<1> _has_bits_;
4047 mutable int _cached_size_;
4048 ::google::protobuf::RepeatedPtrField< ::std::string> stage_;
4049 ::google::protobuf::RepeatedPtrField< ::std::string> not_stage_;
4050 int phase_;
4051 ::google::protobuf::int32 min_level_;
4052 ::google::protobuf::int32 max_level_;
4053 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
4054 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsNetStateRuleImpl();
4055 };
4056 // -------------------------------------------------------------------
4057
4058 class ParamSpec : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ParamSpec) */ {
4059 public:
4060 ParamSpec();
4061 virtual ~ParamSpec();
4062
4063 ParamSpec(const ParamSpec& from);
4064
4065 inline ParamSpec& operator=(const ParamSpec& from) {
4066 CopyFrom(from);
4067 return *this;
4068 }
4069 #if LANG_CXX11
ParamSpec(ParamSpec && from)4070 ParamSpec(ParamSpec&& from) noexcept
4071 : ParamSpec() {
4072 *this = ::std::move(from);
4073 }
4074
4075 inline ParamSpec& operator=(ParamSpec&& from) noexcept {
4076 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4077 if (this != &from) InternalSwap(&from);
4078 } else {
4079 CopyFrom(from);
4080 }
4081 return *this;
4082 }
4083 #endif
unknown_fields()4084 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4085 return _internal_metadata_.unknown_fields();
4086 }
mutable_unknown_fields()4087 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4088 return _internal_metadata_.mutable_unknown_fields();
4089 }
4090
4091 static const ::google::protobuf::Descriptor* descriptor();
4092 static const ParamSpec& default_instance();
4093
4094 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4095 static inline const ParamSpec* internal_default_instance() {
4096 return reinterpret_cast<const ParamSpec*>(
4097 &_ParamSpec_default_instance_);
4098 }
4099 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4100 14;
4101
4102 void Swap(ParamSpec* other);
swap(ParamSpec & a,ParamSpec & b)4103 friend void swap(ParamSpec& a, ParamSpec& b) {
4104 a.Swap(&b);
4105 }
4106
4107 // implements Message ----------------------------------------------
4108
New()4109 inline ParamSpec* New() const PROTOBUF_FINAL { return New(NULL); }
4110
4111 ParamSpec* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4112 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4113 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4114 void CopyFrom(const ParamSpec& from);
4115 void MergeFrom(const ParamSpec& from);
4116 void Clear() PROTOBUF_FINAL;
4117 bool IsInitialized() const PROTOBUF_FINAL;
4118
4119 size_t ByteSizeLong() const PROTOBUF_FINAL;
4120 bool MergePartialFromCodedStream(
4121 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4122 void SerializeWithCachedSizes(
4123 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4124 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4125 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()4126 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4127 private:
4128 void SharedCtor();
4129 void SharedDtor();
4130 void SetCachedSize(int size) const PROTOBUF_FINAL;
4131 void InternalSwap(ParamSpec* other);
4132 private:
GetArenaNoVirtual()4133 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4134 return NULL;
4135 }
MaybeArenaPtr()4136 inline void* MaybeArenaPtr() const {
4137 return NULL;
4138 }
4139 public:
4140
4141 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4142
4143 // nested types ----------------------------------------------------
4144
4145 typedef ParamSpec_DimCheckMode DimCheckMode;
4146 static const DimCheckMode STRICT =
4147 ParamSpec_DimCheckMode_STRICT;
4148 static const DimCheckMode PERMISSIVE =
4149 ParamSpec_DimCheckMode_PERMISSIVE;
DimCheckMode_IsValid(int value)4150 static inline bool DimCheckMode_IsValid(int value) {
4151 return ParamSpec_DimCheckMode_IsValid(value);
4152 }
4153 static const DimCheckMode DimCheckMode_MIN =
4154 ParamSpec_DimCheckMode_DimCheckMode_MIN;
4155 static const DimCheckMode DimCheckMode_MAX =
4156 ParamSpec_DimCheckMode_DimCheckMode_MAX;
4157 static const int DimCheckMode_ARRAYSIZE =
4158 ParamSpec_DimCheckMode_DimCheckMode_ARRAYSIZE;
4159 static inline const ::google::protobuf::EnumDescriptor*
DimCheckMode_descriptor()4160 DimCheckMode_descriptor() {
4161 return ParamSpec_DimCheckMode_descriptor();
4162 }
DimCheckMode_Name(DimCheckMode value)4163 static inline const ::std::string& DimCheckMode_Name(DimCheckMode value) {
4164 return ParamSpec_DimCheckMode_Name(value);
4165 }
DimCheckMode_Parse(const::std::string & name,DimCheckMode * value)4166 static inline bool DimCheckMode_Parse(const ::std::string& name,
4167 DimCheckMode* value) {
4168 return ParamSpec_DimCheckMode_Parse(name, value);
4169 }
4170
4171 // accessors -------------------------------------------------------
4172
4173 // optional string name = 1;
4174 bool has_name() const;
4175 void clear_name();
4176 static const int kNameFieldNumber = 1;
4177 const ::std::string& name() const;
4178 void set_name(const ::std::string& value);
4179 #if LANG_CXX11
4180 void set_name(::std::string&& value);
4181 #endif
4182 void set_name(const char* value);
4183 void set_name(const char* value, size_t size);
4184 ::std::string* mutable_name();
4185 ::std::string* release_name();
4186 void set_allocated_name(::std::string* name);
4187
4188 // optional .opencv_caffe.ParamSpec.DimCheckMode share_mode = 2;
4189 bool has_share_mode() const;
4190 void clear_share_mode();
4191 static const int kShareModeFieldNumber = 2;
4192 ::opencv_caffe::ParamSpec_DimCheckMode share_mode() const;
4193 void set_share_mode(::opencv_caffe::ParamSpec_DimCheckMode value);
4194
4195 // optional float lr_mult = 3 [default = 1];
4196 bool has_lr_mult() const;
4197 void clear_lr_mult();
4198 static const int kLrMultFieldNumber = 3;
4199 float lr_mult() const;
4200 void set_lr_mult(float value);
4201
4202 // optional float decay_mult = 4 [default = 1];
4203 bool has_decay_mult() const;
4204 void clear_decay_mult();
4205 static const int kDecayMultFieldNumber = 4;
4206 float decay_mult() const;
4207 void set_decay_mult(float value);
4208
4209 // @@protoc_insertion_point(class_scope:opencv_caffe.ParamSpec)
4210 private:
4211 void set_has_name();
4212 void clear_has_name();
4213 void set_has_share_mode();
4214 void clear_has_share_mode();
4215 void set_has_lr_mult();
4216 void clear_has_lr_mult();
4217 void set_has_decay_mult();
4218 void clear_has_decay_mult();
4219
4220 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
4221 ::google::protobuf::internal::HasBits<1> _has_bits_;
4222 mutable int _cached_size_;
4223 ::google::protobuf::internal::ArenaStringPtr name_;
4224 int share_mode_;
4225 float lr_mult_;
4226 float decay_mult_;
4227 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
4228 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsParamSpecImpl();
4229 };
4230 // -------------------------------------------------------------------
4231
4232 class LayerParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.LayerParameter) */ {
4233 public:
4234 LayerParameter();
4235 virtual ~LayerParameter();
4236
4237 LayerParameter(const LayerParameter& from);
4238
4239 inline LayerParameter& operator=(const LayerParameter& from) {
4240 CopyFrom(from);
4241 return *this;
4242 }
4243 #if LANG_CXX11
LayerParameter(LayerParameter && from)4244 LayerParameter(LayerParameter&& from) noexcept
4245 : LayerParameter() {
4246 *this = ::std::move(from);
4247 }
4248
4249 inline LayerParameter& operator=(LayerParameter&& from) noexcept {
4250 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
4251 if (this != &from) InternalSwap(&from);
4252 } else {
4253 CopyFrom(from);
4254 }
4255 return *this;
4256 }
4257 #endif
unknown_fields()4258 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
4259 return _internal_metadata_.unknown_fields();
4260 }
mutable_unknown_fields()4261 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
4262 return _internal_metadata_.mutable_unknown_fields();
4263 }
4264
4265 static const ::google::protobuf::Descriptor* descriptor();
4266 static const LayerParameter& default_instance();
4267
4268 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()4269 static inline const LayerParameter* internal_default_instance() {
4270 return reinterpret_cast<const LayerParameter*>(
4271 &_LayerParameter_default_instance_);
4272 }
4273 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
4274 15;
4275
4276 void Swap(LayerParameter* other);
swap(LayerParameter & a,LayerParameter & b)4277 friend void swap(LayerParameter& a, LayerParameter& b) {
4278 a.Swap(&b);
4279 }
4280
4281 // implements Message ----------------------------------------------
4282
New()4283 inline LayerParameter* New() const PROTOBUF_FINAL { return New(NULL); }
4284
4285 LayerParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
4286 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4287 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
4288 void CopyFrom(const LayerParameter& from);
4289 void MergeFrom(const LayerParameter& from);
4290 void Clear() PROTOBUF_FINAL;
4291 bool IsInitialized() const PROTOBUF_FINAL;
4292
4293 size_t ByteSizeLong() const PROTOBUF_FINAL;
4294 bool MergePartialFromCodedStream(
4295 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
4296 void SerializeWithCachedSizes(
4297 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
4298 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
4299 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()4300 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
4301 private:
4302 void SharedCtor();
4303 void SharedDtor();
4304 void SetCachedSize(int size) const PROTOBUF_FINAL;
4305 void InternalSwap(LayerParameter* other);
4306 private:
GetArenaNoVirtual()4307 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
4308 return NULL;
4309 }
MaybeArenaPtr()4310 inline void* MaybeArenaPtr() const {
4311 return NULL;
4312 }
4313 public:
4314
4315 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
4316
4317 // nested types ----------------------------------------------------
4318
4319 // accessors -------------------------------------------------------
4320
4321 // repeated string bottom = 3;
4322 int bottom_size() const;
4323 void clear_bottom();
4324 static const int kBottomFieldNumber = 3;
4325 const ::std::string& bottom(int index) const;
4326 ::std::string* mutable_bottom(int index);
4327 void set_bottom(int index, const ::std::string& value);
4328 #if LANG_CXX11
4329 void set_bottom(int index, ::std::string&& value);
4330 #endif
4331 void set_bottom(int index, const char* value);
4332 void set_bottom(int index, const char* value, size_t size);
4333 ::std::string* add_bottom();
4334 void add_bottom(const ::std::string& value);
4335 #if LANG_CXX11
4336 void add_bottom(::std::string&& value);
4337 #endif
4338 void add_bottom(const char* value);
4339 void add_bottom(const char* value, size_t size);
4340 const ::google::protobuf::RepeatedPtrField< ::std::string>& bottom() const;
4341 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_bottom();
4342
4343 // repeated string top = 4;
4344 int top_size() const;
4345 void clear_top();
4346 static const int kTopFieldNumber = 4;
4347 const ::std::string& top(int index) const;
4348 ::std::string* mutable_top(int index);
4349 void set_top(int index, const ::std::string& value);
4350 #if LANG_CXX11
4351 void set_top(int index, ::std::string&& value);
4352 #endif
4353 void set_top(int index, const char* value);
4354 void set_top(int index, const char* value, size_t size);
4355 ::std::string* add_top();
4356 void add_top(const ::std::string& value);
4357 #if LANG_CXX11
4358 void add_top(::std::string&& value);
4359 #endif
4360 void add_top(const char* value);
4361 void add_top(const char* value, size_t size);
4362 const ::google::protobuf::RepeatedPtrField< ::std::string>& top() const;
4363 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_top();
4364
4365 // repeated float loss_weight = 5;
4366 int loss_weight_size() const;
4367 void clear_loss_weight();
4368 static const int kLossWeightFieldNumber = 5;
4369 float loss_weight(int index) const;
4370 void set_loss_weight(int index, float value);
4371 void add_loss_weight(float value);
4372 const ::google::protobuf::RepeatedField< float >&
4373 loss_weight() const;
4374 ::google::protobuf::RepeatedField< float >*
4375 mutable_loss_weight();
4376
4377 // repeated .opencv_caffe.ParamSpec param = 6;
4378 int param_size() const;
4379 void clear_param();
4380 static const int kParamFieldNumber = 6;
4381 const ::opencv_caffe::ParamSpec& param(int index) const;
4382 ::opencv_caffe::ParamSpec* mutable_param(int index);
4383 ::opencv_caffe::ParamSpec* add_param();
4384 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::ParamSpec >*
4385 mutable_param();
4386 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::ParamSpec >&
4387 param() const;
4388
4389 // repeated .opencv_caffe.BlobProto blobs = 7;
4390 int blobs_size() const;
4391 void clear_blobs();
4392 static const int kBlobsFieldNumber = 7;
4393 const ::opencv_caffe::BlobProto& blobs(int index) const;
4394 ::opencv_caffe::BlobProto* mutable_blobs(int index);
4395 ::opencv_caffe::BlobProto* add_blobs();
4396 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >*
4397 mutable_blobs();
4398 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >&
4399 blobs() const;
4400
4401 // repeated .opencv_caffe.NetStateRule include = 8;
4402 int include_size() const;
4403 void clear_include();
4404 static const int kIncludeFieldNumber = 8;
4405 const ::opencv_caffe::NetStateRule& include(int index) const;
4406 ::opencv_caffe::NetStateRule* mutable_include(int index);
4407 ::opencv_caffe::NetStateRule* add_include();
4408 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >*
4409 mutable_include();
4410 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >&
4411 include() const;
4412
4413 // repeated .opencv_caffe.NetStateRule exclude = 9;
4414 int exclude_size() const;
4415 void clear_exclude();
4416 static const int kExcludeFieldNumber = 9;
4417 const ::opencv_caffe::NetStateRule& exclude(int index) const;
4418 ::opencv_caffe::NetStateRule* mutable_exclude(int index);
4419 ::opencv_caffe::NetStateRule* add_exclude();
4420 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >*
4421 mutable_exclude();
4422 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >&
4423 exclude() const;
4424
4425 // repeated bool propagate_down = 11;
4426 int propagate_down_size() const;
4427 void clear_propagate_down();
4428 static const int kPropagateDownFieldNumber = 11;
4429 bool propagate_down(int index) const;
4430 void set_propagate_down(int index, bool value);
4431 void add_propagate_down(bool value);
4432 const ::google::protobuf::RepeatedField< bool >&
4433 propagate_down() const;
4434 ::google::protobuf::RepeatedField< bool >*
4435 mutable_propagate_down();
4436
4437 // optional string name = 1;
4438 bool has_name() const;
4439 void clear_name();
4440 static const int kNameFieldNumber = 1;
4441 const ::std::string& name() const;
4442 void set_name(const ::std::string& value);
4443 #if LANG_CXX11
4444 void set_name(::std::string&& value);
4445 #endif
4446 void set_name(const char* value);
4447 void set_name(const char* value, size_t size);
4448 ::std::string* mutable_name();
4449 ::std::string* release_name();
4450 void set_allocated_name(::std::string* name);
4451
4452 // optional string type = 2;
4453 bool has_type() const;
4454 void clear_type();
4455 static const int kTypeFieldNumber = 2;
4456 const ::std::string& type() const;
4457 void set_type(const ::std::string& value);
4458 #if LANG_CXX11
4459 void set_type(::std::string&& value);
4460 #endif
4461 void set_type(const char* value);
4462 void set_type(const char* value, size_t size);
4463 ::std::string* mutable_type();
4464 ::std::string* release_type();
4465 void set_allocated_type(::std::string* type);
4466
4467 // optional .opencv_caffe.TransformationParameter transform_param = 100;
4468 bool has_transform_param() const;
4469 void clear_transform_param();
4470 static const int kTransformParamFieldNumber = 100;
4471 const ::opencv_caffe::TransformationParameter& transform_param() const;
4472 ::opencv_caffe::TransformationParameter* release_transform_param();
4473 ::opencv_caffe::TransformationParameter* mutable_transform_param();
4474 void set_allocated_transform_param(::opencv_caffe::TransformationParameter* transform_param);
4475
4476 // optional .opencv_caffe.LossParameter loss_param = 101;
4477 bool has_loss_param() const;
4478 void clear_loss_param();
4479 static const int kLossParamFieldNumber = 101;
4480 const ::opencv_caffe::LossParameter& loss_param() const;
4481 ::opencv_caffe::LossParameter* release_loss_param();
4482 ::opencv_caffe::LossParameter* mutable_loss_param();
4483 void set_allocated_loss_param(::opencv_caffe::LossParameter* loss_param);
4484
4485 // optional .opencv_caffe.AccuracyParameter accuracy_param = 102;
4486 bool has_accuracy_param() const;
4487 void clear_accuracy_param();
4488 static const int kAccuracyParamFieldNumber = 102;
4489 const ::opencv_caffe::AccuracyParameter& accuracy_param() const;
4490 ::opencv_caffe::AccuracyParameter* release_accuracy_param();
4491 ::opencv_caffe::AccuracyParameter* mutable_accuracy_param();
4492 void set_allocated_accuracy_param(::opencv_caffe::AccuracyParameter* accuracy_param);
4493
4494 // optional .opencv_caffe.ArgMaxParameter argmax_param = 103;
4495 bool has_argmax_param() const;
4496 void clear_argmax_param();
4497 static const int kArgmaxParamFieldNumber = 103;
4498 const ::opencv_caffe::ArgMaxParameter& argmax_param() const;
4499 ::opencv_caffe::ArgMaxParameter* release_argmax_param();
4500 ::opencv_caffe::ArgMaxParameter* mutable_argmax_param();
4501 void set_allocated_argmax_param(::opencv_caffe::ArgMaxParameter* argmax_param);
4502
4503 // optional .opencv_caffe.ConcatParameter concat_param = 104;
4504 bool has_concat_param() const;
4505 void clear_concat_param();
4506 static const int kConcatParamFieldNumber = 104;
4507 const ::opencv_caffe::ConcatParameter& concat_param() const;
4508 ::opencv_caffe::ConcatParameter* release_concat_param();
4509 ::opencv_caffe::ConcatParameter* mutable_concat_param();
4510 void set_allocated_concat_param(::opencv_caffe::ConcatParameter* concat_param);
4511
4512 // optional .opencv_caffe.ContrastiveLossParameter contrastive_loss_param = 105;
4513 bool has_contrastive_loss_param() const;
4514 void clear_contrastive_loss_param();
4515 static const int kContrastiveLossParamFieldNumber = 105;
4516 const ::opencv_caffe::ContrastiveLossParameter& contrastive_loss_param() const;
4517 ::opencv_caffe::ContrastiveLossParameter* release_contrastive_loss_param();
4518 ::opencv_caffe::ContrastiveLossParameter* mutable_contrastive_loss_param();
4519 void set_allocated_contrastive_loss_param(::opencv_caffe::ContrastiveLossParameter* contrastive_loss_param);
4520
4521 // optional .opencv_caffe.ConvolutionParameter convolution_param = 106;
4522 bool has_convolution_param() const;
4523 void clear_convolution_param();
4524 static const int kConvolutionParamFieldNumber = 106;
4525 const ::opencv_caffe::ConvolutionParameter& convolution_param() const;
4526 ::opencv_caffe::ConvolutionParameter* release_convolution_param();
4527 ::opencv_caffe::ConvolutionParameter* mutable_convolution_param();
4528 void set_allocated_convolution_param(::opencv_caffe::ConvolutionParameter* convolution_param);
4529
4530 // optional .opencv_caffe.DataParameter data_param = 107;
4531 bool has_data_param() const;
4532 void clear_data_param();
4533 static const int kDataParamFieldNumber = 107;
4534 const ::opencv_caffe::DataParameter& data_param() const;
4535 ::opencv_caffe::DataParameter* release_data_param();
4536 ::opencv_caffe::DataParameter* mutable_data_param();
4537 void set_allocated_data_param(::opencv_caffe::DataParameter* data_param);
4538
4539 // optional .opencv_caffe.DropoutParameter dropout_param = 108;
4540 bool has_dropout_param() const;
4541 void clear_dropout_param();
4542 static const int kDropoutParamFieldNumber = 108;
4543 const ::opencv_caffe::DropoutParameter& dropout_param() const;
4544 ::opencv_caffe::DropoutParameter* release_dropout_param();
4545 ::opencv_caffe::DropoutParameter* mutable_dropout_param();
4546 void set_allocated_dropout_param(::opencv_caffe::DropoutParameter* dropout_param);
4547
4548 // optional .opencv_caffe.DummyDataParameter dummy_data_param = 109;
4549 bool has_dummy_data_param() const;
4550 void clear_dummy_data_param();
4551 static const int kDummyDataParamFieldNumber = 109;
4552 const ::opencv_caffe::DummyDataParameter& dummy_data_param() const;
4553 ::opencv_caffe::DummyDataParameter* release_dummy_data_param();
4554 ::opencv_caffe::DummyDataParameter* mutable_dummy_data_param();
4555 void set_allocated_dummy_data_param(::opencv_caffe::DummyDataParameter* dummy_data_param);
4556
4557 // optional .opencv_caffe.EltwiseParameter eltwise_param = 110;
4558 bool has_eltwise_param() const;
4559 void clear_eltwise_param();
4560 static const int kEltwiseParamFieldNumber = 110;
4561 const ::opencv_caffe::EltwiseParameter& eltwise_param() const;
4562 ::opencv_caffe::EltwiseParameter* release_eltwise_param();
4563 ::opencv_caffe::EltwiseParameter* mutable_eltwise_param();
4564 void set_allocated_eltwise_param(::opencv_caffe::EltwiseParameter* eltwise_param);
4565
4566 // optional .opencv_caffe.ExpParameter exp_param = 111;
4567 bool has_exp_param() const;
4568 void clear_exp_param();
4569 static const int kExpParamFieldNumber = 111;
4570 const ::opencv_caffe::ExpParameter& exp_param() const;
4571 ::opencv_caffe::ExpParameter* release_exp_param();
4572 ::opencv_caffe::ExpParameter* mutable_exp_param();
4573 void set_allocated_exp_param(::opencv_caffe::ExpParameter* exp_param);
4574
4575 // optional .opencv_caffe.HDF5DataParameter hdf5_data_param = 112;
4576 bool has_hdf5_data_param() const;
4577 void clear_hdf5_data_param();
4578 static const int kHdf5DataParamFieldNumber = 112;
4579 const ::opencv_caffe::HDF5DataParameter& hdf5_data_param() const;
4580 ::opencv_caffe::HDF5DataParameter* release_hdf5_data_param();
4581 ::opencv_caffe::HDF5DataParameter* mutable_hdf5_data_param();
4582 void set_allocated_hdf5_data_param(::opencv_caffe::HDF5DataParameter* hdf5_data_param);
4583
4584 // optional .opencv_caffe.HDF5OutputParameter hdf5_output_param = 113;
4585 bool has_hdf5_output_param() const;
4586 void clear_hdf5_output_param();
4587 static const int kHdf5OutputParamFieldNumber = 113;
4588 const ::opencv_caffe::HDF5OutputParameter& hdf5_output_param() const;
4589 ::opencv_caffe::HDF5OutputParameter* release_hdf5_output_param();
4590 ::opencv_caffe::HDF5OutputParameter* mutable_hdf5_output_param();
4591 void set_allocated_hdf5_output_param(::opencv_caffe::HDF5OutputParameter* hdf5_output_param);
4592
4593 // optional .opencv_caffe.HingeLossParameter hinge_loss_param = 114;
4594 bool has_hinge_loss_param() const;
4595 void clear_hinge_loss_param();
4596 static const int kHingeLossParamFieldNumber = 114;
4597 const ::opencv_caffe::HingeLossParameter& hinge_loss_param() const;
4598 ::opencv_caffe::HingeLossParameter* release_hinge_loss_param();
4599 ::opencv_caffe::HingeLossParameter* mutable_hinge_loss_param();
4600 void set_allocated_hinge_loss_param(::opencv_caffe::HingeLossParameter* hinge_loss_param);
4601
4602 // optional .opencv_caffe.ImageDataParameter image_data_param = 115;
4603 bool has_image_data_param() const;
4604 void clear_image_data_param();
4605 static const int kImageDataParamFieldNumber = 115;
4606 const ::opencv_caffe::ImageDataParameter& image_data_param() const;
4607 ::opencv_caffe::ImageDataParameter* release_image_data_param();
4608 ::opencv_caffe::ImageDataParameter* mutable_image_data_param();
4609 void set_allocated_image_data_param(::opencv_caffe::ImageDataParameter* image_data_param);
4610
4611 // optional .opencv_caffe.InfogainLossParameter infogain_loss_param = 116;
4612 bool has_infogain_loss_param() const;
4613 void clear_infogain_loss_param();
4614 static const int kInfogainLossParamFieldNumber = 116;
4615 const ::opencv_caffe::InfogainLossParameter& infogain_loss_param() const;
4616 ::opencv_caffe::InfogainLossParameter* release_infogain_loss_param();
4617 ::opencv_caffe::InfogainLossParameter* mutable_infogain_loss_param();
4618 void set_allocated_infogain_loss_param(::opencv_caffe::InfogainLossParameter* infogain_loss_param);
4619
4620 // optional .opencv_caffe.InnerProductParameter inner_product_param = 117;
4621 bool has_inner_product_param() const;
4622 void clear_inner_product_param();
4623 static const int kInnerProductParamFieldNumber = 117;
4624 const ::opencv_caffe::InnerProductParameter& inner_product_param() const;
4625 ::opencv_caffe::InnerProductParameter* release_inner_product_param();
4626 ::opencv_caffe::InnerProductParameter* mutable_inner_product_param();
4627 void set_allocated_inner_product_param(::opencv_caffe::InnerProductParameter* inner_product_param);
4628
4629 // optional .opencv_caffe.LRNParameter lrn_param = 118;
4630 bool has_lrn_param() const;
4631 void clear_lrn_param();
4632 static const int kLrnParamFieldNumber = 118;
4633 const ::opencv_caffe::LRNParameter& lrn_param() const;
4634 ::opencv_caffe::LRNParameter* release_lrn_param();
4635 ::opencv_caffe::LRNParameter* mutable_lrn_param();
4636 void set_allocated_lrn_param(::opencv_caffe::LRNParameter* lrn_param);
4637
4638 // optional .opencv_caffe.MemoryDataParameter memory_data_param = 119;
4639 bool has_memory_data_param() const;
4640 void clear_memory_data_param();
4641 static const int kMemoryDataParamFieldNumber = 119;
4642 const ::opencv_caffe::MemoryDataParameter& memory_data_param() const;
4643 ::opencv_caffe::MemoryDataParameter* release_memory_data_param();
4644 ::opencv_caffe::MemoryDataParameter* mutable_memory_data_param();
4645 void set_allocated_memory_data_param(::opencv_caffe::MemoryDataParameter* memory_data_param);
4646
4647 // optional .opencv_caffe.MVNParameter mvn_param = 120;
4648 bool has_mvn_param() const;
4649 void clear_mvn_param();
4650 static const int kMvnParamFieldNumber = 120;
4651 const ::opencv_caffe::MVNParameter& mvn_param() const;
4652 ::opencv_caffe::MVNParameter* release_mvn_param();
4653 ::opencv_caffe::MVNParameter* mutable_mvn_param();
4654 void set_allocated_mvn_param(::opencv_caffe::MVNParameter* mvn_param);
4655
4656 // optional .opencv_caffe.PoolingParameter pooling_param = 121;
4657 bool has_pooling_param() const;
4658 void clear_pooling_param();
4659 static const int kPoolingParamFieldNumber = 121;
4660 const ::opencv_caffe::PoolingParameter& pooling_param() const;
4661 ::opencv_caffe::PoolingParameter* release_pooling_param();
4662 ::opencv_caffe::PoolingParameter* mutable_pooling_param();
4663 void set_allocated_pooling_param(::opencv_caffe::PoolingParameter* pooling_param);
4664
4665 // optional .opencv_caffe.PowerParameter power_param = 122;
4666 bool has_power_param() const;
4667 void clear_power_param();
4668 static const int kPowerParamFieldNumber = 122;
4669 const ::opencv_caffe::PowerParameter& power_param() const;
4670 ::opencv_caffe::PowerParameter* release_power_param();
4671 ::opencv_caffe::PowerParameter* mutable_power_param();
4672 void set_allocated_power_param(::opencv_caffe::PowerParameter* power_param);
4673
4674 // optional .opencv_caffe.ReLUParameter relu_param = 123;
4675 bool has_relu_param() const;
4676 void clear_relu_param();
4677 static const int kReluParamFieldNumber = 123;
4678 const ::opencv_caffe::ReLUParameter& relu_param() const;
4679 ::opencv_caffe::ReLUParameter* release_relu_param();
4680 ::opencv_caffe::ReLUParameter* mutable_relu_param();
4681 void set_allocated_relu_param(::opencv_caffe::ReLUParameter* relu_param);
4682
4683 // optional .opencv_caffe.SigmoidParameter sigmoid_param = 124;
4684 bool has_sigmoid_param() const;
4685 void clear_sigmoid_param();
4686 static const int kSigmoidParamFieldNumber = 124;
4687 const ::opencv_caffe::SigmoidParameter& sigmoid_param() const;
4688 ::opencv_caffe::SigmoidParameter* release_sigmoid_param();
4689 ::opencv_caffe::SigmoidParameter* mutable_sigmoid_param();
4690 void set_allocated_sigmoid_param(::opencv_caffe::SigmoidParameter* sigmoid_param);
4691
4692 // optional .opencv_caffe.SoftmaxParameter softmax_param = 125;
4693 bool has_softmax_param() const;
4694 void clear_softmax_param();
4695 static const int kSoftmaxParamFieldNumber = 125;
4696 const ::opencv_caffe::SoftmaxParameter& softmax_param() const;
4697 ::opencv_caffe::SoftmaxParameter* release_softmax_param();
4698 ::opencv_caffe::SoftmaxParameter* mutable_softmax_param();
4699 void set_allocated_softmax_param(::opencv_caffe::SoftmaxParameter* softmax_param);
4700
4701 // optional .opencv_caffe.SliceParameter slice_param = 126;
4702 bool has_slice_param() const;
4703 void clear_slice_param();
4704 static const int kSliceParamFieldNumber = 126;
4705 const ::opencv_caffe::SliceParameter& slice_param() const;
4706 ::opencv_caffe::SliceParameter* release_slice_param();
4707 ::opencv_caffe::SliceParameter* mutable_slice_param();
4708 void set_allocated_slice_param(::opencv_caffe::SliceParameter* slice_param);
4709
4710 // optional .opencv_caffe.TanHParameter tanh_param = 127;
4711 bool has_tanh_param() const;
4712 void clear_tanh_param();
4713 static const int kTanhParamFieldNumber = 127;
4714 const ::opencv_caffe::TanHParameter& tanh_param() const;
4715 ::opencv_caffe::TanHParameter* release_tanh_param();
4716 ::opencv_caffe::TanHParameter* mutable_tanh_param();
4717 void set_allocated_tanh_param(::opencv_caffe::TanHParameter* tanh_param);
4718
4719 // optional .opencv_caffe.ThresholdParameter threshold_param = 128;
4720 bool has_threshold_param() const;
4721 void clear_threshold_param();
4722 static const int kThresholdParamFieldNumber = 128;
4723 const ::opencv_caffe::ThresholdParameter& threshold_param() const;
4724 ::opencv_caffe::ThresholdParameter* release_threshold_param();
4725 ::opencv_caffe::ThresholdParameter* mutable_threshold_param();
4726 void set_allocated_threshold_param(::opencv_caffe::ThresholdParameter* threshold_param);
4727
4728 // optional .opencv_caffe.WindowDataParameter window_data_param = 129;
4729 bool has_window_data_param() const;
4730 void clear_window_data_param();
4731 static const int kWindowDataParamFieldNumber = 129;
4732 const ::opencv_caffe::WindowDataParameter& window_data_param() const;
4733 ::opencv_caffe::WindowDataParameter* release_window_data_param();
4734 ::opencv_caffe::WindowDataParameter* mutable_window_data_param();
4735 void set_allocated_window_data_param(::opencv_caffe::WindowDataParameter* window_data_param);
4736
4737 // optional .opencv_caffe.PythonParameter python_param = 130;
4738 bool has_python_param() const;
4739 void clear_python_param();
4740 static const int kPythonParamFieldNumber = 130;
4741 const ::opencv_caffe::PythonParameter& python_param() const;
4742 ::opencv_caffe::PythonParameter* release_python_param();
4743 ::opencv_caffe::PythonParameter* mutable_python_param();
4744 void set_allocated_python_param(::opencv_caffe::PythonParameter* python_param);
4745
4746 // optional .opencv_caffe.PReLUParameter prelu_param = 131;
4747 bool has_prelu_param() const;
4748 void clear_prelu_param();
4749 static const int kPreluParamFieldNumber = 131;
4750 const ::opencv_caffe::PReLUParameter& prelu_param() const;
4751 ::opencv_caffe::PReLUParameter* release_prelu_param();
4752 ::opencv_caffe::PReLUParameter* mutable_prelu_param();
4753 void set_allocated_prelu_param(::opencv_caffe::PReLUParameter* prelu_param);
4754
4755 // optional .opencv_caffe.SPPParameter spp_param = 132;
4756 bool has_spp_param() const;
4757 void clear_spp_param();
4758 static const int kSppParamFieldNumber = 132;
4759 const ::opencv_caffe::SPPParameter& spp_param() const;
4760 ::opencv_caffe::SPPParameter* release_spp_param();
4761 ::opencv_caffe::SPPParameter* mutable_spp_param();
4762 void set_allocated_spp_param(::opencv_caffe::SPPParameter* spp_param);
4763
4764 // optional .opencv_caffe.ReshapeParameter reshape_param = 133;
4765 bool has_reshape_param() const;
4766 void clear_reshape_param();
4767 static const int kReshapeParamFieldNumber = 133;
4768 const ::opencv_caffe::ReshapeParameter& reshape_param() const;
4769 ::opencv_caffe::ReshapeParameter* release_reshape_param();
4770 ::opencv_caffe::ReshapeParameter* mutable_reshape_param();
4771 void set_allocated_reshape_param(::opencv_caffe::ReshapeParameter* reshape_param);
4772
4773 // optional .opencv_caffe.LogParameter log_param = 134;
4774 bool has_log_param() const;
4775 void clear_log_param();
4776 static const int kLogParamFieldNumber = 134;
4777 const ::opencv_caffe::LogParameter& log_param() const;
4778 ::opencv_caffe::LogParameter* release_log_param();
4779 ::opencv_caffe::LogParameter* mutable_log_param();
4780 void set_allocated_log_param(::opencv_caffe::LogParameter* log_param);
4781
4782 // optional .opencv_caffe.FlattenParameter flatten_param = 135;
4783 bool has_flatten_param() const;
4784 void clear_flatten_param();
4785 static const int kFlattenParamFieldNumber = 135;
4786 const ::opencv_caffe::FlattenParameter& flatten_param() const;
4787 ::opencv_caffe::FlattenParameter* release_flatten_param();
4788 ::opencv_caffe::FlattenParameter* mutable_flatten_param();
4789 void set_allocated_flatten_param(::opencv_caffe::FlattenParameter* flatten_param);
4790
4791 // optional .opencv_caffe.ReductionParameter reduction_param = 136;
4792 bool has_reduction_param() const;
4793 void clear_reduction_param();
4794 static const int kReductionParamFieldNumber = 136;
4795 const ::opencv_caffe::ReductionParameter& reduction_param() const;
4796 ::opencv_caffe::ReductionParameter* release_reduction_param();
4797 ::opencv_caffe::ReductionParameter* mutable_reduction_param();
4798 void set_allocated_reduction_param(::opencv_caffe::ReductionParameter* reduction_param);
4799
4800 // optional .opencv_caffe.EmbedParameter embed_param = 137;
4801 bool has_embed_param() const;
4802 void clear_embed_param();
4803 static const int kEmbedParamFieldNumber = 137;
4804 const ::opencv_caffe::EmbedParameter& embed_param() const;
4805 ::opencv_caffe::EmbedParameter* release_embed_param();
4806 ::opencv_caffe::EmbedParameter* mutable_embed_param();
4807 void set_allocated_embed_param(::opencv_caffe::EmbedParameter* embed_param);
4808
4809 // optional .opencv_caffe.TileParameter tile_param = 138;
4810 bool has_tile_param() const;
4811 void clear_tile_param();
4812 static const int kTileParamFieldNumber = 138;
4813 const ::opencv_caffe::TileParameter& tile_param() const;
4814 ::opencv_caffe::TileParameter* release_tile_param();
4815 ::opencv_caffe::TileParameter* mutable_tile_param();
4816 void set_allocated_tile_param(::opencv_caffe::TileParameter* tile_param);
4817
4818 // optional .opencv_caffe.BatchNormParameter batch_norm_param = 139;
4819 bool has_batch_norm_param() const;
4820 void clear_batch_norm_param();
4821 static const int kBatchNormParamFieldNumber = 139;
4822 const ::opencv_caffe::BatchNormParameter& batch_norm_param() const;
4823 ::opencv_caffe::BatchNormParameter* release_batch_norm_param();
4824 ::opencv_caffe::BatchNormParameter* mutable_batch_norm_param();
4825 void set_allocated_batch_norm_param(::opencv_caffe::BatchNormParameter* batch_norm_param);
4826
4827 // optional .opencv_caffe.ELUParameter elu_param = 140;
4828 bool has_elu_param() const;
4829 void clear_elu_param();
4830 static const int kEluParamFieldNumber = 140;
4831 const ::opencv_caffe::ELUParameter& elu_param() const;
4832 ::opencv_caffe::ELUParameter* release_elu_param();
4833 ::opencv_caffe::ELUParameter* mutable_elu_param();
4834 void set_allocated_elu_param(::opencv_caffe::ELUParameter* elu_param);
4835
4836 // optional .opencv_caffe.BiasParameter bias_param = 141;
4837 bool has_bias_param() const;
4838 void clear_bias_param();
4839 static const int kBiasParamFieldNumber = 141;
4840 const ::opencv_caffe::BiasParameter& bias_param() const;
4841 ::opencv_caffe::BiasParameter* release_bias_param();
4842 ::opencv_caffe::BiasParameter* mutable_bias_param();
4843 void set_allocated_bias_param(::opencv_caffe::BiasParameter* bias_param);
4844
4845 // optional .opencv_caffe.ScaleParameter scale_param = 142;
4846 bool has_scale_param() const;
4847 void clear_scale_param();
4848 static const int kScaleParamFieldNumber = 142;
4849 const ::opencv_caffe::ScaleParameter& scale_param() const;
4850 ::opencv_caffe::ScaleParameter* release_scale_param();
4851 ::opencv_caffe::ScaleParameter* mutable_scale_param();
4852 void set_allocated_scale_param(::opencv_caffe::ScaleParameter* scale_param);
4853
4854 // optional .opencv_caffe.InputParameter input_param = 143;
4855 bool has_input_param() const;
4856 void clear_input_param();
4857 static const int kInputParamFieldNumber = 143;
4858 const ::opencv_caffe::InputParameter& input_param() const;
4859 ::opencv_caffe::InputParameter* release_input_param();
4860 ::opencv_caffe::InputParameter* mutable_input_param();
4861 void set_allocated_input_param(::opencv_caffe::InputParameter* input_param);
4862
4863 // optional .opencv_caffe.CropParameter crop_param = 144;
4864 bool has_crop_param() const;
4865 void clear_crop_param();
4866 static const int kCropParamFieldNumber = 144;
4867 const ::opencv_caffe::CropParameter& crop_param() const;
4868 ::opencv_caffe::CropParameter* release_crop_param();
4869 ::opencv_caffe::CropParameter* mutable_crop_param();
4870 void set_allocated_crop_param(::opencv_caffe::CropParameter* crop_param);
4871
4872 // optional .opencv_caffe.ParameterParameter parameter_param = 145;
4873 bool has_parameter_param() const;
4874 void clear_parameter_param();
4875 static const int kParameterParamFieldNumber = 145;
4876 const ::opencv_caffe::ParameterParameter& parameter_param() const;
4877 ::opencv_caffe::ParameterParameter* release_parameter_param();
4878 ::opencv_caffe::ParameterParameter* mutable_parameter_param();
4879 void set_allocated_parameter_param(::opencv_caffe::ParameterParameter* parameter_param);
4880
4881 // optional .opencv_caffe.RecurrentParameter recurrent_param = 146;
4882 bool has_recurrent_param() const;
4883 void clear_recurrent_param();
4884 static const int kRecurrentParamFieldNumber = 146;
4885 const ::opencv_caffe::RecurrentParameter& recurrent_param() const;
4886 ::opencv_caffe::RecurrentParameter* release_recurrent_param();
4887 ::opencv_caffe::RecurrentParameter* mutable_recurrent_param();
4888 void set_allocated_recurrent_param(::opencv_caffe::RecurrentParameter* recurrent_param);
4889
4890 // optional .opencv_caffe.DetectionOutputParameter detection_output_param = 147;
4891 bool has_detection_output_param() const;
4892 void clear_detection_output_param();
4893 static const int kDetectionOutputParamFieldNumber = 147;
4894 const ::opencv_caffe::DetectionOutputParameter& detection_output_param() const;
4895 ::opencv_caffe::DetectionOutputParameter* release_detection_output_param();
4896 ::opencv_caffe::DetectionOutputParameter* mutable_detection_output_param();
4897 void set_allocated_detection_output_param(::opencv_caffe::DetectionOutputParameter* detection_output_param);
4898
4899 // optional .opencv_caffe.PermuteParameter permute_param = 148;
4900 bool has_permute_param() const;
4901 void clear_permute_param();
4902 static const int kPermuteParamFieldNumber = 148;
4903 const ::opencv_caffe::PermuteParameter& permute_param() const;
4904 ::opencv_caffe::PermuteParameter* release_permute_param();
4905 ::opencv_caffe::PermuteParameter* mutable_permute_param();
4906 void set_allocated_permute_param(::opencv_caffe::PermuteParameter* permute_param);
4907
4908 // optional .opencv_caffe.NormalizeBBoxParameter norm_param = 149;
4909 bool has_norm_param() const;
4910 void clear_norm_param();
4911 static const int kNormParamFieldNumber = 149;
4912 const ::opencv_caffe::NormalizeBBoxParameter& norm_param() const;
4913 ::opencv_caffe::NormalizeBBoxParameter* release_norm_param();
4914 ::opencv_caffe::NormalizeBBoxParameter* mutable_norm_param();
4915 void set_allocated_norm_param(::opencv_caffe::NormalizeBBoxParameter* norm_param);
4916
4917 // optional .opencv_caffe.PriorBoxParameter prior_box_param = 150;
4918 bool has_prior_box_param() const;
4919 void clear_prior_box_param();
4920 static const int kPriorBoxParamFieldNumber = 150;
4921 const ::opencv_caffe::PriorBoxParameter& prior_box_param() const;
4922 ::opencv_caffe::PriorBoxParameter* release_prior_box_param();
4923 ::opencv_caffe::PriorBoxParameter* mutable_prior_box_param();
4924 void set_allocated_prior_box_param(::opencv_caffe::PriorBoxParameter* prior_box_param);
4925
4926 // optional .opencv_caffe.ProposalParameter proposal_param = 201;
4927 bool has_proposal_param() const;
4928 void clear_proposal_param();
4929 static const int kProposalParamFieldNumber = 201;
4930 const ::opencv_caffe::ProposalParameter& proposal_param() const;
4931 ::opencv_caffe::ProposalParameter* release_proposal_param();
4932 ::opencv_caffe::ProposalParameter* mutable_proposal_param();
4933 void set_allocated_proposal_param(::opencv_caffe::ProposalParameter* proposal_param);
4934
4935 // optional .opencv_caffe.PSROIPoolingParameter psroi_pooling_param = 10002;
4936 bool has_psroi_pooling_param() const;
4937 void clear_psroi_pooling_param();
4938 static const int kPsroiPoolingParamFieldNumber = 10002;
4939 const ::opencv_caffe::PSROIPoolingParameter& psroi_pooling_param() const;
4940 ::opencv_caffe::PSROIPoolingParameter* release_psroi_pooling_param();
4941 ::opencv_caffe::PSROIPoolingParameter* mutable_psroi_pooling_param();
4942 void set_allocated_psroi_pooling_param(::opencv_caffe::PSROIPoolingParameter* psroi_pooling_param);
4943
4944 // optional .opencv_caffe.ROIPoolingParameter roi_pooling_param = 8266711;
4945 bool has_roi_pooling_param() const;
4946 void clear_roi_pooling_param();
4947 static const int kRoiPoolingParamFieldNumber = 8266711;
4948 const ::opencv_caffe::ROIPoolingParameter& roi_pooling_param() const;
4949 ::opencv_caffe::ROIPoolingParameter* release_roi_pooling_param();
4950 ::opencv_caffe::ROIPoolingParameter* mutable_roi_pooling_param();
4951 void set_allocated_roi_pooling_param(::opencv_caffe::ROIPoolingParameter* roi_pooling_param);
4952
4953 // optional .opencv_caffe.Phase phase = 10;
4954 bool has_phase() const;
4955 void clear_phase();
4956 static const int kPhaseFieldNumber = 10;
4957 ::opencv_caffe::Phase phase() const;
4958 void set_phase(::opencv_caffe::Phase value);
4959
4960 // @@protoc_insertion_point(class_scope:opencv_caffe.LayerParameter)
4961 private:
4962 void set_has_name();
4963 void clear_has_name();
4964 void set_has_type();
4965 void clear_has_type();
4966 void set_has_phase();
4967 void clear_has_phase();
4968 void set_has_transform_param();
4969 void clear_has_transform_param();
4970 void set_has_loss_param();
4971 void clear_has_loss_param();
4972 void set_has_accuracy_param();
4973 void clear_has_accuracy_param();
4974 void set_has_argmax_param();
4975 void clear_has_argmax_param();
4976 void set_has_batch_norm_param();
4977 void clear_has_batch_norm_param();
4978 void set_has_bias_param();
4979 void clear_has_bias_param();
4980 void set_has_concat_param();
4981 void clear_has_concat_param();
4982 void set_has_contrastive_loss_param();
4983 void clear_has_contrastive_loss_param();
4984 void set_has_convolution_param();
4985 void clear_has_convolution_param();
4986 void set_has_crop_param();
4987 void clear_has_crop_param();
4988 void set_has_data_param();
4989 void clear_has_data_param();
4990 void set_has_detection_output_param();
4991 void clear_has_detection_output_param();
4992 void set_has_dropout_param();
4993 void clear_has_dropout_param();
4994 void set_has_dummy_data_param();
4995 void clear_has_dummy_data_param();
4996 void set_has_eltwise_param();
4997 void clear_has_eltwise_param();
4998 void set_has_elu_param();
4999 void clear_has_elu_param();
5000 void set_has_embed_param();
5001 void clear_has_embed_param();
5002 void set_has_exp_param();
5003 void clear_has_exp_param();
5004 void set_has_flatten_param();
5005 void clear_has_flatten_param();
5006 void set_has_hdf5_data_param();
5007 void clear_has_hdf5_data_param();
5008 void set_has_hdf5_output_param();
5009 void clear_has_hdf5_output_param();
5010 void set_has_hinge_loss_param();
5011 void clear_has_hinge_loss_param();
5012 void set_has_image_data_param();
5013 void clear_has_image_data_param();
5014 void set_has_infogain_loss_param();
5015 void clear_has_infogain_loss_param();
5016 void set_has_inner_product_param();
5017 void clear_has_inner_product_param();
5018 void set_has_input_param();
5019 void clear_has_input_param();
5020 void set_has_log_param();
5021 void clear_has_log_param();
5022 void set_has_lrn_param();
5023 void clear_has_lrn_param();
5024 void set_has_memory_data_param();
5025 void clear_has_memory_data_param();
5026 void set_has_mvn_param();
5027 void clear_has_mvn_param();
5028 void set_has_norm_param();
5029 void clear_has_norm_param();
5030 void set_has_permute_param();
5031 void clear_has_permute_param();
5032 void set_has_parameter_param();
5033 void clear_has_parameter_param();
5034 void set_has_pooling_param();
5035 void clear_has_pooling_param();
5036 void set_has_power_param();
5037 void clear_has_power_param();
5038 void set_has_prelu_param();
5039 void clear_has_prelu_param();
5040 void set_has_prior_box_param();
5041 void clear_has_prior_box_param();
5042 void set_has_proposal_param();
5043 void clear_has_proposal_param();
5044 void set_has_psroi_pooling_param();
5045 void clear_has_psroi_pooling_param();
5046 void set_has_python_param();
5047 void clear_has_python_param();
5048 void set_has_recurrent_param();
5049 void clear_has_recurrent_param();
5050 void set_has_reduction_param();
5051 void clear_has_reduction_param();
5052 void set_has_relu_param();
5053 void clear_has_relu_param();
5054 void set_has_reshape_param();
5055 void clear_has_reshape_param();
5056 void set_has_roi_pooling_param();
5057 void clear_has_roi_pooling_param();
5058 void set_has_scale_param();
5059 void clear_has_scale_param();
5060 void set_has_sigmoid_param();
5061 void clear_has_sigmoid_param();
5062 void set_has_softmax_param();
5063 void clear_has_softmax_param();
5064 void set_has_spp_param();
5065 void clear_has_spp_param();
5066 void set_has_slice_param();
5067 void clear_has_slice_param();
5068 void set_has_tanh_param();
5069 void clear_has_tanh_param();
5070 void set_has_threshold_param();
5071 void clear_has_threshold_param();
5072 void set_has_tile_param();
5073 void clear_has_tile_param();
5074 void set_has_window_data_param();
5075 void clear_has_window_data_param();
5076
5077 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5078 ::google::protobuf::internal::HasBits<2> _has_bits_;
5079 ::google::protobuf::RepeatedPtrField< ::std::string> bottom_;
5080 ::google::protobuf::RepeatedPtrField< ::std::string> top_;
5081 ::google::protobuf::RepeatedField< float > loss_weight_;
5082 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::ParamSpec > param_;
5083 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto > blobs_;
5084 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule > include_;
5085 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule > exclude_;
5086 ::google::protobuf::RepeatedField< bool > propagate_down_;
5087 ::google::protobuf::internal::ArenaStringPtr name_;
5088 ::google::protobuf::internal::ArenaStringPtr type_;
5089 ::opencv_caffe::TransformationParameter* transform_param_;
5090 ::opencv_caffe::LossParameter* loss_param_;
5091 ::opencv_caffe::AccuracyParameter* accuracy_param_;
5092 ::opencv_caffe::ArgMaxParameter* argmax_param_;
5093 ::opencv_caffe::ConcatParameter* concat_param_;
5094 ::opencv_caffe::ContrastiveLossParameter* contrastive_loss_param_;
5095 ::opencv_caffe::ConvolutionParameter* convolution_param_;
5096 ::opencv_caffe::DataParameter* data_param_;
5097 ::opencv_caffe::DropoutParameter* dropout_param_;
5098 ::opencv_caffe::DummyDataParameter* dummy_data_param_;
5099 ::opencv_caffe::EltwiseParameter* eltwise_param_;
5100 ::opencv_caffe::ExpParameter* exp_param_;
5101 ::opencv_caffe::HDF5DataParameter* hdf5_data_param_;
5102 ::opencv_caffe::HDF5OutputParameter* hdf5_output_param_;
5103 ::opencv_caffe::HingeLossParameter* hinge_loss_param_;
5104 ::opencv_caffe::ImageDataParameter* image_data_param_;
5105 ::opencv_caffe::InfogainLossParameter* infogain_loss_param_;
5106 ::opencv_caffe::InnerProductParameter* inner_product_param_;
5107 ::opencv_caffe::LRNParameter* lrn_param_;
5108 ::opencv_caffe::MemoryDataParameter* memory_data_param_;
5109 ::opencv_caffe::MVNParameter* mvn_param_;
5110 ::opencv_caffe::PoolingParameter* pooling_param_;
5111 ::opencv_caffe::PowerParameter* power_param_;
5112 ::opencv_caffe::ReLUParameter* relu_param_;
5113 ::opencv_caffe::SigmoidParameter* sigmoid_param_;
5114 ::opencv_caffe::SoftmaxParameter* softmax_param_;
5115 ::opencv_caffe::SliceParameter* slice_param_;
5116 ::opencv_caffe::TanHParameter* tanh_param_;
5117 ::opencv_caffe::ThresholdParameter* threshold_param_;
5118 ::opencv_caffe::WindowDataParameter* window_data_param_;
5119 ::opencv_caffe::PythonParameter* python_param_;
5120 ::opencv_caffe::PReLUParameter* prelu_param_;
5121 ::opencv_caffe::SPPParameter* spp_param_;
5122 ::opencv_caffe::ReshapeParameter* reshape_param_;
5123 ::opencv_caffe::LogParameter* log_param_;
5124 ::opencv_caffe::FlattenParameter* flatten_param_;
5125 ::opencv_caffe::ReductionParameter* reduction_param_;
5126 ::opencv_caffe::EmbedParameter* embed_param_;
5127 ::opencv_caffe::TileParameter* tile_param_;
5128 ::opencv_caffe::BatchNormParameter* batch_norm_param_;
5129 ::opencv_caffe::ELUParameter* elu_param_;
5130 ::opencv_caffe::BiasParameter* bias_param_;
5131 ::opencv_caffe::ScaleParameter* scale_param_;
5132 ::opencv_caffe::InputParameter* input_param_;
5133 ::opencv_caffe::CropParameter* crop_param_;
5134 ::opencv_caffe::ParameterParameter* parameter_param_;
5135 ::opencv_caffe::RecurrentParameter* recurrent_param_;
5136 ::opencv_caffe::DetectionOutputParameter* detection_output_param_;
5137 ::opencv_caffe::PermuteParameter* permute_param_;
5138 ::opencv_caffe::NormalizeBBoxParameter* norm_param_;
5139 ::opencv_caffe::PriorBoxParameter* prior_box_param_;
5140 ::opencv_caffe::ProposalParameter* proposal_param_;
5141 ::opencv_caffe::PSROIPoolingParameter* psroi_pooling_param_;
5142 ::opencv_caffe::ROIPoolingParameter* roi_pooling_param_;
5143 int phase_;
5144 mutable int _cached_size_;
5145 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
5146 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsLayerParameterImpl();
5147 };
5148 // -------------------------------------------------------------------
5149
5150 class TransformationParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.TransformationParameter) */ {
5151 public:
5152 TransformationParameter();
5153 virtual ~TransformationParameter();
5154
5155 TransformationParameter(const TransformationParameter& from);
5156
5157 inline TransformationParameter& operator=(const TransformationParameter& from) {
5158 CopyFrom(from);
5159 return *this;
5160 }
5161 #if LANG_CXX11
TransformationParameter(TransformationParameter && from)5162 TransformationParameter(TransformationParameter&& from) noexcept
5163 : TransformationParameter() {
5164 *this = ::std::move(from);
5165 }
5166
5167 inline TransformationParameter& operator=(TransformationParameter&& from) noexcept {
5168 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5169 if (this != &from) InternalSwap(&from);
5170 } else {
5171 CopyFrom(from);
5172 }
5173 return *this;
5174 }
5175 #endif
unknown_fields()5176 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5177 return _internal_metadata_.unknown_fields();
5178 }
mutable_unknown_fields()5179 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5180 return _internal_metadata_.mutable_unknown_fields();
5181 }
5182
5183 static const ::google::protobuf::Descriptor* descriptor();
5184 static const TransformationParameter& default_instance();
5185
5186 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5187 static inline const TransformationParameter* internal_default_instance() {
5188 return reinterpret_cast<const TransformationParameter*>(
5189 &_TransformationParameter_default_instance_);
5190 }
5191 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5192 16;
5193
5194 void Swap(TransformationParameter* other);
swap(TransformationParameter & a,TransformationParameter & b)5195 friend void swap(TransformationParameter& a, TransformationParameter& b) {
5196 a.Swap(&b);
5197 }
5198
5199 // implements Message ----------------------------------------------
5200
New()5201 inline TransformationParameter* New() const PROTOBUF_FINAL { return New(NULL); }
5202
5203 TransformationParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5204 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5205 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5206 void CopyFrom(const TransformationParameter& from);
5207 void MergeFrom(const TransformationParameter& from);
5208 void Clear() PROTOBUF_FINAL;
5209 bool IsInitialized() const PROTOBUF_FINAL;
5210
5211 size_t ByteSizeLong() const PROTOBUF_FINAL;
5212 bool MergePartialFromCodedStream(
5213 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5214 void SerializeWithCachedSizes(
5215 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5216 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5217 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()5218 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5219 private:
5220 void SharedCtor();
5221 void SharedDtor();
5222 void SetCachedSize(int size) const PROTOBUF_FINAL;
5223 void InternalSwap(TransformationParameter* other);
5224 private:
GetArenaNoVirtual()5225 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5226 return NULL;
5227 }
MaybeArenaPtr()5228 inline void* MaybeArenaPtr() const {
5229 return NULL;
5230 }
5231 public:
5232
5233 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5234
5235 // nested types ----------------------------------------------------
5236
5237 // accessors -------------------------------------------------------
5238
5239 // repeated float mean_value = 5;
5240 int mean_value_size() const;
5241 void clear_mean_value();
5242 static const int kMeanValueFieldNumber = 5;
5243 float mean_value(int index) const;
5244 void set_mean_value(int index, float value);
5245 void add_mean_value(float value);
5246 const ::google::protobuf::RepeatedField< float >&
5247 mean_value() const;
5248 ::google::protobuf::RepeatedField< float >*
5249 mutable_mean_value();
5250
5251 // optional string mean_file = 4;
5252 bool has_mean_file() const;
5253 void clear_mean_file();
5254 static const int kMeanFileFieldNumber = 4;
5255 const ::std::string& mean_file() const;
5256 void set_mean_file(const ::std::string& value);
5257 #if LANG_CXX11
5258 void set_mean_file(::std::string&& value);
5259 #endif
5260 void set_mean_file(const char* value);
5261 void set_mean_file(const char* value, size_t size);
5262 ::std::string* mutable_mean_file();
5263 ::std::string* release_mean_file();
5264 void set_allocated_mean_file(::std::string* mean_file);
5265
5266 // optional uint32 crop_size = 3 [default = 0];
5267 bool has_crop_size() const;
5268 void clear_crop_size();
5269 static const int kCropSizeFieldNumber = 3;
5270 ::google::protobuf::uint32 crop_size() const;
5271 void set_crop_size(::google::protobuf::uint32 value);
5272
5273 // optional bool mirror = 2 [default = false];
5274 bool has_mirror() const;
5275 void clear_mirror();
5276 static const int kMirrorFieldNumber = 2;
5277 bool mirror() const;
5278 void set_mirror(bool value);
5279
5280 // optional bool force_color = 6 [default = false];
5281 bool has_force_color() const;
5282 void clear_force_color();
5283 static const int kForceColorFieldNumber = 6;
5284 bool force_color() const;
5285 void set_force_color(bool value);
5286
5287 // optional bool force_gray = 7 [default = false];
5288 bool has_force_gray() const;
5289 void clear_force_gray();
5290 static const int kForceGrayFieldNumber = 7;
5291 bool force_gray() const;
5292 void set_force_gray(bool value);
5293
5294 // optional float scale = 1 [default = 1];
5295 bool has_scale() const;
5296 void clear_scale();
5297 static const int kScaleFieldNumber = 1;
5298 float scale() const;
5299 void set_scale(float value);
5300
5301 // @@protoc_insertion_point(class_scope:opencv_caffe.TransformationParameter)
5302 private:
5303 void set_has_scale();
5304 void clear_has_scale();
5305 void set_has_mirror();
5306 void clear_has_mirror();
5307 void set_has_crop_size();
5308 void clear_has_crop_size();
5309 void set_has_mean_file();
5310 void clear_has_mean_file();
5311 void set_has_force_color();
5312 void clear_has_force_color();
5313 void set_has_force_gray();
5314 void clear_has_force_gray();
5315
5316 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5317 ::google::protobuf::internal::HasBits<1> _has_bits_;
5318 mutable int _cached_size_;
5319 ::google::protobuf::RepeatedField< float > mean_value_;
5320 ::google::protobuf::internal::ArenaStringPtr mean_file_;
5321 ::google::protobuf::uint32 crop_size_;
5322 bool mirror_;
5323 bool force_color_;
5324 bool force_gray_;
5325 float scale_;
5326 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
5327 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsTransformationParameterImpl();
5328 };
5329 // -------------------------------------------------------------------
5330
5331 class LossParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.LossParameter) */ {
5332 public:
5333 LossParameter();
5334 virtual ~LossParameter();
5335
5336 LossParameter(const LossParameter& from);
5337
5338 inline LossParameter& operator=(const LossParameter& from) {
5339 CopyFrom(from);
5340 return *this;
5341 }
5342 #if LANG_CXX11
LossParameter(LossParameter && from)5343 LossParameter(LossParameter&& from) noexcept
5344 : LossParameter() {
5345 *this = ::std::move(from);
5346 }
5347
5348 inline LossParameter& operator=(LossParameter&& from) noexcept {
5349 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5350 if (this != &from) InternalSwap(&from);
5351 } else {
5352 CopyFrom(from);
5353 }
5354 return *this;
5355 }
5356 #endif
unknown_fields()5357 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5358 return _internal_metadata_.unknown_fields();
5359 }
mutable_unknown_fields()5360 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5361 return _internal_metadata_.mutable_unknown_fields();
5362 }
5363
5364 static const ::google::protobuf::Descriptor* descriptor();
5365 static const LossParameter& default_instance();
5366
5367 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5368 static inline const LossParameter* internal_default_instance() {
5369 return reinterpret_cast<const LossParameter*>(
5370 &_LossParameter_default_instance_);
5371 }
5372 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5373 17;
5374
5375 void Swap(LossParameter* other);
swap(LossParameter & a,LossParameter & b)5376 friend void swap(LossParameter& a, LossParameter& b) {
5377 a.Swap(&b);
5378 }
5379
5380 // implements Message ----------------------------------------------
5381
New()5382 inline LossParameter* New() const PROTOBUF_FINAL { return New(NULL); }
5383
5384 LossParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5385 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5386 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5387 void CopyFrom(const LossParameter& from);
5388 void MergeFrom(const LossParameter& from);
5389 void Clear() PROTOBUF_FINAL;
5390 bool IsInitialized() const PROTOBUF_FINAL;
5391
5392 size_t ByteSizeLong() const PROTOBUF_FINAL;
5393 bool MergePartialFromCodedStream(
5394 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5395 void SerializeWithCachedSizes(
5396 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5397 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5398 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()5399 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5400 private:
5401 void SharedCtor();
5402 void SharedDtor();
5403 void SetCachedSize(int size) const PROTOBUF_FINAL;
5404 void InternalSwap(LossParameter* other);
5405 private:
GetArenaNoVirtual()5406 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5407 return NULL;
5408 }
MaybeArenaPtr()5409 inline void* MaybeArenaPtr() const {
5410 return NULL;
5411 }
5412 public:
5413
5414 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5415
5416 // nested types ----------------------------------------------------
5417
5418 typedef LossParameter_NormalizationMode NormalizationMode;
5419 static const NormalizationMode FULL =
5420 LossParameter_NormalizationMode_FULL;
5421 static const NormalizationMode VALID =
5422 LossParameter_NormalizationMode_VALID;
5423 static const NormalizationMode BATCH_SIZE =
5424 LossParameter_NormalizationMode_BATCH_SIZE;
5425 static const NormalizationMode NONE =
5426 LossParameter_NormalizationMode_NONE;
NormalizationMode_IsValid(int value)5427 static inline bool NormalizationMode_IsValid(int value) {
5428 return LossParameter_NormalizationMode_IsValid(value);
5429 }
5430 static const NormalizationMode NormalizationMode_MIN =
5431 LossParameter_NormalizationMode_NormalizationMode_MIN;
5432 static const NormalizationMode NormalizationMode_MAX =
5433 LossParameter_NormalizationMode_NormalizationMode_MAX;
5434 static const int NormalizationMode_ARRAYSIZE =
5435 LossParameter_NormalizationMode_NormalizationMode_ARRAYSIZE;
5436 static inline const ::google::protobuf::EnumDescriptor*
NormalizationMode_descriptor()5437 NormalizationMode_descriptor() {
5438 return LossParameter_NormalizationMode_descriptor();
5439 }
NormalizationMode_Name(NormalizationMode value)5440 static inline const ::std::string& NormalizationMode_Name(NormalizationMode value) {
5441 return LossParameter_NormalizationMode_Name(value);
5442 }
NormalizationMode_Parse(const::std::string & name,NormalizationMode * value)5443 static inline bool NormalizationMode_Parse(const ::std::string& name,
5444 NormalizationMode* value) {
5445 return LossParameter_NormalizationMode_Parse(name, value);
5446 }
5447
5448 // accessors -------------------------------------------------------
5449
5450 // optional int32 ignore_label = 1;
5451 bool has_ignore_label() const;
5452 void clear_ignore_label();
5453 static const int kIgnoreLabelFieldNumber = 1;
5454 ::google::protobuf::int32 ignore_label() const;
5455 void set_ignore_label(::google::protobuf::int32 value);
5456
5457 // optional bool normalize = 2;
5458 bool has_normalize() const;
5459 void clear_normalize();
5460 static const int kNormalizeFieldNumber = 2;
5461 bool normalize() const;
5462 void set_normalize(bool value);
5463
5464 // optional .opencv_caffe.LossParameter.NormalizationMode normalization = 3 [default = VALID];
5465 bool has_normalization() const;
5466 void clear_normalization();
5467 static const int kNormalizationFieldNumber = 3;
5468 ::opencv_caffe::LossParameter_NormalizationMode normalization() const;
5469 void set_normalization(::opencv_caffe::LossParameter_NormalizationMode value);
5470
5471 // @@protoc_insertion_point(class_scope:opencv_caffe.LossParameter)
5472 private:
5473 void set_has_ignore_label();
5474 void clear_has_ignore_label();
5475 void set_has_normalization();
5476 void clear_has_normalization();
5477 void set_has_normalize();
5478 void clear_has_normalize();
5479
5480 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5481 ::google::protobuf::internal::HasBits<1> _has_bits_;
5482 mutable int _cached_size_;
5483 ::google::protobuf::int32 ignore_label_;
5484 bool normalize_;
5485 int normalization_;
5486 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
5487 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsLossParameterImpl();
5488 };
5489 // -------------------------------------------------------------------
5490
5491 class AccuracyParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.AccuracyParameter) */ {
5492 public:
5493 AccuracyParameter();
5494 virtual ~AccuracyParameter();
5495
5496 AccuracyParameter(const AccuracyParameter& from);
5497
5498 inline AccuracyParameter& operator=(const AccuracyParameter& from) {
5499 CopyFrom(from);
5500 return *this;
5501 }
5502 #if LANG_CXX11
AccuracyParameter(AccuracyParameter && from)5503 AccuracyParameter(AccuracyParameter&& from) noexcept
5504 : AccuracyParameter() {
5505 *this = ::std::move(from);
5506 }
5507
5508 inline AccuracyParameter& operator=(AccuracyParameter&& from) noexcept {
5509 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5510 if (this != &from) InternalSwap(&from);
5511 } else {
5512 CopyFrom(from);
5513 }
5514 return *this;
5515 }
5516 #endif
unknown_fields()5517 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5518 return _internal_metadata_.unknown_fields();
5519 }
mutable_unknown_fields()5520 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5521 return _internal_metadata_.mutable_unknown_fields();
5522 }
5523
5524 static const ::google::protobuf::Descriptor* descriptor();
5525 static const AccuracyParameter& default_instance();
5526
5527 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5528 static inline const AccuracyParameter* internal_default_instance() {
5529 return reinterpret_cast<const AccuracyParameter*>(
5530 &_AccuracyParameter_default_instance_);
5531 }
5532 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5533 18;
5534
5535 void Swap(AccuracyParameter* other);
swap(AccuracyParameter & a,AccuracyParameter & b)5536 friend void swap(AccuracyParameter& a, AccuracyParameter& b) {
5537 a.Swap(&b);
5538 }
5539
5540 // implements Message ----------------------------------------------
5541
New()5542 inline AccuracyParameter* New() const PROTOBUF_FINAL { return New(NULL); }
5543
5544 AccuracyParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5545 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5546 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5547 void CopyFrom(const AccuracyParameter& from);
5548 void MergeFrom(const AccuracyParameter& from);
5549 void Clear() PROTOBUF_FINAL;
5550 bool IsInitialized() const PROTOBUF_FINAL;
5551
5552 size_t ByteSizeLong() const PROTOBUF_FINAL;
5553 bool MergePartialFromCodedStream(
5554 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5555 void SerializeWithCachedSizes(
5556 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5557 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5558 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()5559 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5560 private:
5561 void SharedCtor();
5562 void SharedDtor();
5563 void SetCachedSize(int size) const PROTOBUF_FINAL;
5564 void InternalSwap(AccuracyParameter* other);
5565 private:
GetArenaNoVirtual()5566 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5567 return NULL;
5568 }
MaybeArenaPtr()5569 inline void* MaybeArenaPtr() const {
5570 return NULL;
5571 }
5572 public:
5573
5574 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5575
5576 // nested types ----------------------------------------------------
5577
5578 // accessors -------------------------------------------------------
5579
5580 // optional int32 ignore_label = 3;
5581 bool has_ignore_label() const;
5582 void clear_ignore_label();
5583 static const int kIgnoreLabelFieldNumber = 3;
5584 ::google::protobuf::int32 ignore_label() const;
5585 void set_ignore_label(::google::protobuf::int32 value);
5586
5587 // optional uint32 top_k = 1 [default = 1];
5588 bool has_top_k() const;
5589 void clear_top_k();
5590 static const int kTopKFieldNumber = 1;
5591 ::google::protobuf::uint32 top_k() const;
5592 void set_top_k(::google::protobuf::uint32 value);
5593
5594 // optional int32 axis = 2 [default = 1];
5595 bool has_axis() const;
5596 void clear_axis();
5597 static const int kAxisFieldNumber = 2;
5598 ::google::protobuf::int32 axis() const;
5599 void set_axis(::google::protobuf::int32 value);
5600
5601 // @@protoc_insertion_point(class_scope:opencv_caffe.AccuracyParameter)
5602 private:
5603 void set_has_top_k();
5604 void clear_has_top_k();
5605 void set_has_axis();
5606 void clear_has_axis();
5607 void set_has_ignore_label();
5608 void clear_has_ignore_label();
5609
5610 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5611 ::google::protobuf::internal::HasBits<1> _has_bits_;
5612 mutable int _cached_size_;
5613 ::google::protobuf::int32 ignore_label_;
5614 ::google::protobuf::uint32 top_k_;
5615 ::google::protobuf::int32 axis_;
5616 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
5617 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsAccuracyParameterImpl();
5618 };
5619 // -------------------------------------------------------------------
5620
5621 class ArgMaxParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ArgMaxParameter) */ {
5622 public:
5623 ArgMaxParameter();
5624 virtual ~ArgMaxParameter();
5625
5626 ArgMaxParameter(const ArgMaxParameter& from);
5627
5628 inline ArgMaxParameter& operator=(const ArgMaxParameter& from) {
5629 CopyFrom(from);
5630 return *this;
5631 }
5632 #if LANG_CXX11
ArgMaxParameter(ArgMaxParameter && from)5633 ArgMaxParameter(ArgMaxParameter&& from) noexcept
5634 : ArgMaxParameter() {
5635 *this = ::std::move(from);
5636 }
5637
5638 inline ArgMaxParameter& operator=(ArgMaxParameter&& from) noexcept {
5639 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5640 if (this != &from) InternalSwap(&from);
5641 } else {
5642 CopyFrom(from);
5643 }
5644 return *this;
5645 }
5646 #endif
unknown_fields()5647 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5648 return _internal_metadata_.unknown_fields();
5649 }
mutable_unknown_fields()5650 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5651 return _internal_metadata_.mutable_unknown_fields();
5652 }
5653
5654 static const ::google::protobuf::Descriptor* descriptor();
5655 static const ArgMaxParameter& default_instance();
5656
5657 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5658 static inline const ArgMaxParameter* internal_default_instance() {
5659 return reinterpret_cast<const ArgMaxParameter*>(
5660 &_ArgMaxParameter_default_instance_);
5661 }
5662 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5663 19;
5664
5665 void Swap(ArgMaxParameter* other);
swap(ArgMaxParameter & a,ArgMaxParameter & b)5666 friend void swap(ArgMaxParameter& a, ArgMaxParameter& b) {
5667 a.Swap(&b);
5668 }
5669
5670 // implements Message ----------------------------------------------
5671
New()5672 inline ArgMaxParameter* New() const PROTOBUF_FINAL { return New(NULL); }
5673
5674 ArgMaxParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5675 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5676 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5677 void CopyFrom(const ArgMaxParameter& from);
5678 void MergeFrom(const ArgMaxParameter& from);
5679 void Clear() PROTOBUF_FINAL;
5680 bool IsInitialized() const PROTOBUF_FINAL;
5681
5682 size_t ByteSizeLong() const PROTOBUF_FINAL;
5683 bool MergePartialFromCodedStream(
5684 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5685 void SerializeWithCachedSizes(
5686 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5687 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5688 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()5689 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5690 private:
5691 void SharedCtor();
5692 void SharedDtor();
5693 void SetCachedSize(int size) const PROTOBUF_FINAL;
5694 void InternalSwap(ArgMaxParameter* other);
5695 private:
GetArenaNoVirtual()5696 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5697 return NULL;
5698 }
MaybeArenaPtr()5699 inline void* MaybeArenaPtr() const {
5700 return NULL;
5701 }
5702 public:
5703
5704 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5705
5706 // nested types ----------------------------------------------------
5707
5708 // accessors -------------------------------------------------------
5709
5710 // optional bool out_max_val = 1 [default = false];
5711 bool has_out_max_val() const;
5712 void clear_out_max_val();
5713 static const int kOutMaxValFieldNumber = 1;
5714 bool out_max_val() const;
5715 void set_out_max_val(bool value);
5716
5717 // optional int32 axis = 3;
5718 bool has_axis() const;
5719 void clear_axis();
5720 static const int kAxisFieldNumber = 3;
5721 ::google::protobuf::int32 axis() const;
5722 void set_axis(::google::protobuf::int32 value);
5723
5724 // optional uint32 top_k = 2 [default = 1];
5725 bool has_top_k() const;
5726 void clear_top_k();
5727 static const int kTopKFieldNumber = 2;
5728 ::google::protobuf::uint32 top_k() const;
5729 void set_top_k(::google::protobuf::uint32 value);
5730
5731 // @@protoc_insertion_point(class_scope:opencv_caffe.ArgMaxParameter)
5732 private:
5733 void set_has_out_max_val();
5734 void clear_has_out_max_val();
5735 void set_has_top_k();
5736 void clear_has_top_k();
5737 void set_has_axis();
5738 void clear_has_axis();
5739
5740 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5741 ::google::protobuf::internal::HasBits<1> _has_bits_;
5742 mutable int _cached_size_;
5743 bool out_max_val_;
5744 ::google::protobuf::int32 axis_;
5745 ::google::protobuf::uint32 top_k_;
5746 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
5747 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsArgMaxParameterImpl();
5748 };
5749 // -------------------------------------------------------------------
5750
5751 class ConcatParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ConcatParameter) */ {
5752 public:
5753 ConcatParameter();
5754 virtual ~ConcatParameter();
5755
5756 ConcatParameter(const ConcatParameter& from);
5757
5758 inline ConcatParameter& operator=(const ConcatParameter& from) {
5759 CopyFrom(from);
5760 return *this;
5761 }
5762 #if LANG_CXX11
ConcatParameter(ConcatParameter && from)5763 ConcatParameter(ConcatParameter&& from) noexcept
5764 : ConcatParameter() {
5765 *this = ::std::move(from);
5766 }
5767
5768 inline ConcatParameter& operator=(ConcatParameter&& from) noexcept {
5769 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5770 if (this != &from) InternalSwap(&from);
5771 } else {
5772 CopyFrom(from);
5773 }
5774 return *this;
5775 }
5776 #endif
unknown_fields()5777 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5778 return _internal_metadata_.unknown_fields();
5779 }
mutable_unknown_fields()5780 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5781 return _internal_metadata_.mutable_unknown_fields();
5782 }
5783
5784 static const ::google::protobuf::Descriptor* descriptor();
5785 static const ConcatParameter& default_instance();
5786
5787 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5788 static inline const ConcatParameter* internal_default_instance() {
5789 return reinterpret_cast<const ConcatParameter*>(
5790 &_ConcatParameter_default_instance_);
5791 }
5792 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5793 20;
5794
5795 void Swap(ConcatParameter* other);
swap(ConcatParameter & a,ConcatParameter & b)5796 friend void swap(ConcatParameter& a, ConcatParameter& b) {
5797 a.Swap(&b);
5798 }
5799
5800 // implements Message ----------------------------------------------
5801
New()5802 inline ConcatParameter* New() const PROTOBUF_FINAL { return New(NULL); }
5803
5804 ConcatParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5805 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5806 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5807 void CopyFrom(const ConcatParameter& from);
5808 void MergeFrom(const ConcatParameter& from);
5809 void Clear() PROTOBUF_FINAL;
5810 bool IsInitialized() const PROTOBUF_FINAL;
5811
5812 size_t ByteSizeLong() const PROTOBUF_FINAL;
5813 bool MergePartialFromCodedStream(
5814 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5815 void SerializeWithCachedSizes(
5816 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5817 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5818 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()5819 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5820 private:
5821 void SharedCtor();
5822 void SharedDtor();
5823 void SetCachedSize(int size) const PROTOBUF_FINAL;
5824 void InternalSwap(ConcatParameter* other);
5825 private:
GetArenaNoVirtual()5826 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5827 return NULL;
5828 }
MaybeArenaPtr()5829 inline void* MaybeArenaPtr() const {
5830 return NULL;
5831 }
5832 public:
5833
5834 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5835
5836 // nested types ----------------------------------------------------
5837
5838 // accessors -------------------------------------------------------
5839
5840 // optional uint32 concat_dim = 1 [default = 1];
5841 bool has_concat_dim() const;
5842 void clear_concat_dim();
5843 static const int kConcatDimFieldNumber = 1;
5844 ::google::protobuf::uint32 concat_dim() const;
5845 void set_concat_dim(::google::protobuf::uint32 value);
5846
5847 // optional int32 axis = 2 [default = 1];
5848 bool has_axis() const;
5849 void clear_axis();
5850 static const int kAxisFieldNumber = 2;
5851 ::google::protobuf::int32 axis() const;
5852 void set_axis(::google::protobuf::int32 value);
5853
5854 // @@protoc_insertion_point(class_scope:opencv_caffe.ConcatParameter)
5855 private:
5856 void set_has_axis();
5857 void clear_has_axis();
5858 void set_has_concat_dim();
5859 void clear_has_concat_dim();
5860
5861 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
5862 ::google::protobuf::internal::HasBits<1> _has_bits_;
5863 mutable int _cached_size_;
5864 ::google::protobuf::uint32 concat_dim_;
5865 ::google::protobuf::int32 axis_;
5866 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
5867 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsConcatParameterImpl();
5868 };
5869 // -------------------------------------------------------------------
5870
5871 class BatchNormParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.BatchNormParameter) */ {
5872 public:
5873 BatchNormParameter();
5874 virtual ~BatchNormParameter();
5875
5876 BatchNormParameter(const BatchNormParameter& from);
5877
5878 inline BatchNormParameter& operator=(const BatchNormParameter& from) {
5879 CopyFrom(from);
5880 return *this;
5881 }
5882 #if LANG_CXX11
BatchNormParameter(BatchNormParameter && from)5883 BatchNormParameter(BatchNormParameter&& from) noexcept
5884 : BatchNormParameter() {
5885 *this = ::std::move(from);
5886 }
5887
5888 inline BatchNormParameter& operator=(BatchNormParameter&& from) noexcept {
5889 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
5890 if (this != &from) InternalSwap(&from);
5891 } else {
5892 CopyFrom(from);
5893 }
5894 return *this;
5895 }
5896 #endif
unknown_fields()5897 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
5898 return _internal_metadata_.unknown_fields();
5899 }
mutable_unknown_fields()5900 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
5901 return _internal_metadata_.mutable_unknown_fields();
5902 }
5903
5904 static const ::google::protobuf::Descriptor* descriptor();
5905 static const BatchNormParameter& default_instance();
5906
5907 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()5908 static inline const BatchNormParameter* internal_default_instance() {
5909 return reinterpret_cast<const BatchNormParameter*>(
5910 &_BatchNormParameter_default_instance_);
5911 }
5912 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
5913 21;
5914
5915 void Swap(BatchNormParameter* other);
swap(BatchNormParameter & a,BatchNormParameter & b)5916 friend void swap(BatchNormParameter& a, BatchNormParameter& b) {
5917 a.Swap(&b);
5918 }
5919
5920 // implements Message ----------------------------------------------
5921
New()5922 inline BatchNormParameter* New() const PROTOBUF_FINAL { return New(NULL); }
5923
5924 BatchNormParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
5925 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5926 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
5927 void CopyFrom(const BatchNormParameter& from);
5928 void MergeFrom(const BatchNormParameter& from);
5929 void Clear() PROTOBUF_FINAL;
5930 bool IsInitialized() const PROTOBUF_FINAL;
5931
5932 size_t ByteSizeLong() const PROTOBUF_FINAL;
5933 bool MergePartialFromCodedStream(
5934 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
5935 void SerializeWithCachedSizes(
5936 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
5937 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
5938 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()5939 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
5940 private:
5941 void SharedCtor();
5942 void SharedDtor();
5943 void SetCachedSize(int size) const PROTOBUF_FINAL;
5944 void InternalSwap(BatchNormParameter* other);
5945 private:
GetArenaNoVirtual()5946 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
5947 return NULL;
5948 }
MaybeArenaPtr()5949 inline void* MaybeArenaPtr() const {
5950 return NULL;
5951 }
5952 public:
5953
5954 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
5955
5956 // nested types ----------------------------------------------------
5957
5958 // accessors -------------------------------------------------------
5959
5960 // optional bool use_global_stats = 1;
5961 bool has_use_global_stats() const;
5962 void clear_use_global_stats();
5963 static const int kUseGlobalStatsFieldNumber = 1;
5964 bool use_global_stats() const;
5965 void set_use_global_stats(bool value);
5966
5967 // optional bool scale_bias = 7 [default = false];
5968 bool has_scale_bias() const;
5969 void clear_scale_bias();
5970 static const int kScaleBiasFieldNumber = 7;
5971 bool scale_bias() const;
5972 void set_scale_bias(bool value);
5973
5974 // optional float moving_average_fraction = 2 [default = 0.999];
5975 bool has_moving_average_fraction() const;
5976 void clear_moving_average_fraction();
5977 static const int kMovingAverageFractionFieldNumber = 2;
5978 float moving_average_fraction() const;
5979 void set_moving_average_fraction(float value);
5980
5981 // optional float eps = 3 [default = 1e-05];
5982 bool has_eps() const;
5983 void clear_eps();
5984 static const int kEpsFieldNumber = 3;
5985 float eps() const;
5986 void set_eps(float value);
5987
5988 // @@protoc_insertion_point(class_scope:opencv_caffe.BatchNormParameter)
5989 private:
5990 void set_has_use_global_stats();
5991 void clear_has_use_global_stats();
5992 void set_has_moving_average_fraction();
5993 void clear_has_moving_average_fraction();
5994 void set_has_eps();
5995 void clear_has_eps();
5996 void set_has_scale_bias();
5997 void clear_has_scale_bias();
5998
5999 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6000 ::google::protobuf::internal::HasBits<1> _has_bits_;
6001 mutable int _cached_size_;
6002 bool use_global_stats_;
6003 bool scale_bias_;
6004 float moving_average_fraction_;
6005 float eps_;
6006 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
6007 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsBatchNormParameterImpl();
6008 };
6009 // -------------------------------------------------------------------
6010
6011 class BiasParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.BiasParameter) */ {
6012 public:
6013 BiasParameter();
6014 virtual ~BiasParameter();
6015
6016 BiasParameter(const BiasParameter& from);
6017
6018 inline BiasParameter& operator=(const BiasParameter& from) {
6019 CopyFrom(from);
6020 return *this;
6021 }
6022 #if LANG_CXX11
BiasParameter(BiasParameter && from)6023 BiasParameter(BiasParameter&& from) noexcept
6024 : BiasParameter() {
6025 *this = ::std::move(from);
6026 }
6027
6028 inline BiasParameter& operator=(BiasParameter&& from) noexcept {
6029 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6030 if (this != &from) InternalSwap(&from);
6031 } else {
6032 CopyFrom(from);
6033 }
6034 return *this;
6035 }
6036 #endif
unknown_fields()6037 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6038 return _internal_metadata_.unknown_fields();
6039 }
mutable_unknown_fields()6040 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6041 return _internal_metadata_.mutable_unknown_fields();
6042 }
6043
6044 static const ::google::protobuf::Descriptor* descriptor();
6045 static const BiasParameter& default_instance();
6046
6047 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6048 static inline const BiasParameter* internal_default_instance() {
6049 return reinterpret_cast<const BiasParameter*>(
6050 &_BiasParameter_default_instance_);
6051 }
6052 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
6053 22;
6054
6055 void Swap(BiasParameter* other);
swap(BiasParameter & a,BiasParameter & b)6056 friend void swap(BiasParameter& a, BiasParameter& b) {
6057 a.Swap(&b);
6058 }
6059
6060 // implements Message ----------------------------------------------
6061
New()6062 inline BiasParameter* New() const PROTOBUF_FINAL { return New(NULL); }
6063
6064 BiasParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
6065 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
6066 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
6067 void CopyFrom(const BiasParameter& from);
6068 void MergeFrom(const BiasParameter& from);
6069 void Clear() PROTOBUF_FINAL;
6070 bool IsInitialized() const PROTOBUF_FINAL;
6071
6072 size_t ByteSizeLong() const PROTOBUF_FINAL;
6073 bool MergePartialFromCodedStream(
6074 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
6075 void SerializeWithCachedSizes(
6076 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
6077 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6078 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()6079 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
6080 private:
6081 void SharedCtor();
6082 void SharedDtor();
6083 void SetCachedSize(int size) const PROTOBUF_FINAL;
6084 void InternalSwap(BiasParameter* other);
6085 private:
GetArenaNoVirtual()6086 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6087 return NULL;
6088 }
MaybeArenaPtr()6089 inline void* MaybeArenaPtr() const {
6090 return NULL;
6091 }
6092 public:
6093
6094 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
6095
6096 // nested types ----------------------------------------------------
6097
6098 // accessors -------------------------------------------------------
6099
6100 // optional .opencv_caffe.FillerParameter filler = 3;
6101 bool has_filler() const;
6102 void clear_filler();
6103 static const int kFillerFieldNumber = 3;
6104 const ::opencv_caffe::FillerParameter& filler() const;
6105 ::opencv_caffe::FillerParameter* release_filler();
6106 ::opencv_caffe::FillerParameter* mutable_filler();
6107 void set_allocated_filler(::opencv_caffe::FillerParameter* filler);
6108
6109 // optional int32 axis = 1 [default = 1];
6110 bool has_axis() const;
6111 void clear_axis();
6112 static const int kAxisFieldNumber = 1;
6113 ::google::protobuf::int32 axis() const;
6114 void set_axis(::google::protobuf::int32 value);
6115
6116 // optional int32 num_axes = 2 [default = 1];
6117 bool has_num_axes() const;
6118 void clear_num_axes();
6119 static const int kNumAxesFieldNumber = 2;
6120 ::google::protobuf::int32 num_axes() const;
6121 void set_num_axes(::google::protobuf::int32 value);
6122
6123 // @@protoc_insertion_point(class_scope:opencv_caffe.BiasParameter)
6124 private:
6125 void set_has_axis();
6126 void clear_has_axis();
6127 void set_has_num_axes();
6128 void clear_has_num_axes();
6129 void set_has_filler();
6130 void clear_has_filler();
6131
6132 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6133 ::google::protobuf::internal::HasBits<1> _has_bits_;
6134 mutable int _cached_size_;
6135 ::opencv_caffe::FillerParameter* filler_;
6136 ::google::protobuf::int32 axis_;
6137 ::google::protobuf::int32 num_axes_;
6138 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
6139 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsBiasParameterImpl();
6140 };
6141 // -------------------------------------------------------------------
6142
6143 class ContrastiveLossParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ContrastiveLossParameter) */ {
6144 public:
6145 ContrastiveLossParameter();
6146 virtual ~ContrastiveLossParameter();
6147
6148 ContrastiveLossParameter(const ContrastiveLossParameter& from);
6149
6150 inline ContrastiveLossParameter& operator=(const ContrastiveLossParameter& from) {
6151 CopyFrom(from);
6152 return *this;
6153 }
6154 #if LANG_CXX11
ContrastiveLossParameter(ContrastiveLossParameter && from)6155 ContrastiveLossParameter(ContrastiveLossParameter&& from) noexcept
6156 : ContrastiveLossParameter() {
6157 *this = ::std::move(from);
6158 }
6159
6160 inline ContrastiveLossParameter& operator=(ContrastiveLossParameter&& from) noexcept {
6161 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6162 if (this != &from) InternalSwap(&from);
6163 } else {
6164 CopyFrom(from);
6165 }
6166 return *this;
6167 }
6168 #endif
unknown_fields()6169 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6170 return _internal_metadata_.unknown_fields();
6171 }
mutable_unknown_fields()6172 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6173 return _internal_metadata_.mutable_unknown_fields();
6174 }
6175
6176 static const ::google::protobuf::Descriptor* descriptor();
6177 static const ContrastiveLossParameter& default_instance();
6178
6179 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6180 static inline const ContrastiveLossParameter* internal_default_instance() {
6181 return reinterpret_cast<const ContrastiveLossParameter*>(
6182 &_ContrastiveLossParameter_default_instance_);
6183 }
6184 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
6185 23;
6186
6187 void Swap(ContrastiveLossParameter* other);
swap(ContrastiveLossParameter & a,ContrastiveLossParameter & b)6188 friend void swap(ContrastiveLossParameter& a, ContrastiveLossParameter& b) {
6189 a.Swap(&b);
6190 }
6191
6192 // implements Message ----------------------------------------------
6193
New()6194 inline ContrastiveLossParameter* New() const PROTOBUF_FINAL { return New(NULL); }
6195
6196 ContrastiveLossParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
6197 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
6198 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
6199 void CopyFrom(const ContrastiveLossParameter& from);
6200 void MergeFrom(const ContrastiveLossParameter& from);
6201 void Clear() PROTOBUF_FINAL;
6202 bool IsInitialized() const PROTOBUF_FINAL;
6203
6204 size_t ByteSizeLong() const PROTOBUF_FINAL;
6205 bool MergePartialFromCodedStream(
6206 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
6207 void SerializeWithCachedSizes(
6208 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
6209 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6210 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()6211 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
6212 private:
6213 void SharedCtor();
6214 void SharedDtor();
6215 void SetCachedSize(int size) const PROTOBUF_FINAL;
6216 void InternalSwap(ContrastiveLossParameter* other);
6217 private:
GetArenaNoVirtual()6218 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6219 return NULL;
6220 }
MaybeArenaPtr()6221 inline void* MaybeArenaPtr() const {
6222 return NULL;
6223 }
6224 public:
6225
6226 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
6227
6228 // nested types ----------------------------------------------------
6229
6230 // accessors -------------------------------------------------------
6231
6232 // optional bool legacy_version = 2 [default = false];
6233 bool has_legacy_version() const;
6234 void clear_legacy_version();
6235 static const int kLegacyVersionFieldNumber = 2;
6236 bool legacy_version() const;
6237 void set_legacy_version(bool value);
6238
6239 // optional float margin = 1 [default = 1];
6240 bool has_margin() const;
6241 void clear_margin();
6242 static const int kMarginFieldNumber = 1;
6243 float margin() const;
6244 void set_margin(float value);
6245
6246 // @@protoc_insertion_point(class_scope:opencv_caffe.ContrastiveLossParameter)
6247 private:
6248 void set_has_margin();
6249 void clear_has_margin();
6250 void set_has_legacy_version();
6251 void clear_has_legacy_version();
6252
6253 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6254 ::google::protobuf::internal::HasBits<1> _has_bits_;
6255 mutable int _cached_size_;
6256 bool legacy_version_;
6257 float margin_;
6258 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
6259 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsContrastiveLossParameterImpl();
6260 };
6261 // -------------------------------------------------------------------
6262
6263 class ConvolutionParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ConvolutionParameter) */ {
6264 public:
6265 ConvolutionParameter();
6266 virtual ~ConvolutionParameter();
6267
6268 ConvolutionParameter(const ConvolutionParameter& from);
6269
6270 inline ConvolutionParameter& operator=(const ConvolutionParameter& from) {
6271 CopyFrom(from);
6272 return *this;
6273 }
6274 #if LANG_CXX11
ConvolutionParameter(ConvolutionParameter && from)6275 ConvolutionParameter(ConvolutionParameter&& from) noexcept
6276 : ConvolutionParameter() {
6277 *this = ::std::move(from);
6278 }
6279
6280 inline ConvolutionParameter& operator=(ConvolutionParameter&& from) noexcept {
6281 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6282 if (this != &from) InternalSwap(&from);
6283 } else {
6284 CopyFrom(from);
6285 }
6286 return *this;
6287 }
6288 #endif
unknown_fields()6289 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6290 return _internal_metadata_.unknown_fields();
6291 }
mutable_unknown_fields()6292 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6293 return _internal_metadata_.mutable_unknown_fields();
6294 }
6295
6296 static const ::google::protobuf::Descriptor* descriptor();
6297 static const ConvolutionParameter& default_instance();
6298
6299 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6300 static inline const ConvolutionParameter* internal_default_instance() {
6301 return reinterpret_cast<const ConvolutionParameter*>(
6302 &_ConvolutionParameter_default_instance_);
6303 }
6304 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
6305 24;
6306
6307 void Swap(ConvolutionParameter* other);
swap(ConvolutionParameter & a,ConvolutionParameter & b)6308 friend void swap(ConvolutionParameter& a, ConvolutionParameter& b) {
6309 a.Swap(&b);
6310 }
6311
6312 // implements Message ----------------------------------------------
6313
New()6314 inline ConvolutionParameter* New() const PROTOBUF_FINAL { return New(NULL); }
6315
6316 ConvolutionParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
6317 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
6318 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
6319 void CopyFrom(const ConvolutionParameter& from);
6320 void MergeFrom(const ConvolutionParameter& from);
6321 void Clear() PROTOBUF_FINAL;
6322 bool IsInitialized() const PROTOBUF_FINAL;
6323
6324 size_t ByteSizeLong() const PROTOBUF_FINAL;
6325 bool MergePartialFromCodedStream(
6326 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
6327 void SerializeWithCachedSizes(
6328 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
6329 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6330 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()6331 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
6332 private:
6333 void SharedCtor();
6334 void SharedDtor();
6335 void SetCachedSize(int size) const PROTOBUF_FINAL;
6336 void InternalSwap(ConvolutionParameter* other);
6337 private:
GetArenaNoVirtual()6338 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6339 return NULL;
6340 }
MaybeArenaPtr()6341 inline void* MaybeArenaPtr() const {
6342 return NULL;
6343 }
6344 public:
6345
6346 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
6347
6348 // nested types ----------------------------------------------------
6349
6350 typedef ConvolutionParameter_Engine Engine;
6351 static const Engine DEFAULT =
6352 ConvolutionParameter_Engine_DEFAULT;
6353 static const Engine CAFFE =
6354 ConvolutionParameter_Engine_CAFFE;
6355 static const Engine CUDNN =
6356 ConvolutionParameter_Engine_CUDNN;
Engine_IsValid(int value)6357 static inline bool Engine_IsValid(int value) {
6358 return ConvolutionParameter_Engine_IsValid(value);
6359 }
6360 static const Engine Engine_MIN =
6361 ConvolutionParameter_Engine_Engine_MIN;
6362 static const Engine Engine_MAX =
6363 ConvolutionParameter_Engine_Engine_MAX;
6364 static const int Engine_ARRAYSIZE =
6365 ConvolutionParameter_Engine_Engine_ARRAYSIZE;
6366 static inline const ::google::protobuf::EnumDescriptor*
Engine_descriptor()6367 Engine_descriptor() {
6368 return ConvolutionParameter_Engine_descriptor();
6369 }
Engine_Name(Engine value)6370 static inline const ::std::string& Engine_Name(Engine value) {
6371 return ConvolutionParameter_Engine_Name(value);
6372 }
Engine_Parse(const::std::string & name,Engine * value)6373 static inline bool Engine_Parse(const ::std::string& name,
6374 Engine* value) {
6375 return ConvolutionParameter_Engine_Parse(name, value);
6376 }
6377
6378 // accessors -------------------------------------------------------
6379
6380 // repeated uint32 pad = 3;
6381 int pad_size() const;
6382 void clear_pad();
6383 static const int kPadFieldNumber = 3;
6384 ::google::protobuf::uint32 pad(int index) const;
6385 void set_pad(int index, ::google::protobuf::uint32 value);
6386 void add_pad(::google::protobuf::uint32 value);
6387 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6388 pad() const;
6389 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6390 mutable_pad();
6391
6392 // repeated uint32 kernel_size = 4;
6393 int kernel_size_size() const;
6394 void clear_kernel_size();
6395 static const int kKernelSizeFieldNumber = 4;
6396 ::google::protobuf::uint32 kernel_size(int index) const;
6397 void set_kernel_size(int index, ::google::protobuf::uint32 value);
6398 void add_kernel_size(::google::protobuf::uint32 value);
6399 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6400 kernel_size() const;
6401 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6402 mutable_kernel_size();
6403
6404 // repeated uint32 stride = 6;
6405 int stride_size() const;
6406 void clear_stride();
6407 static const int kStrideFieldNumber = 6;
6408 ::google::protobuf::uint32 stride(int index) const;
6409 void set_stride(int index, ::google::protobuf::uint32 value);
6410 void add_stride(::google::protobuf::uint32 value);
6411 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6412 stride() const;
6413 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6414 mutable_stride();
6415
6416 // repeated uint32 dilation = 18;
6417 int dilation_size() const;
6418 void clear_dilation();
6419 static const int kDilationFieldNumber = 18;
6420 ::google::protobuf::uint32 dilation(int index) const;
6421 void set_dilation(int index, ::google::protobuf::uint32 value);
6422 void add_dilation(::google::protobuf::uint32 value);
6423 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6424 dilation() const;
6425 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6426 mutable_dilation();
6427
6428 // optional .opencv_caffe.FillerParameter weight_filler = 7;
6429 bool has_weight_filler() const;
6430 void clear_weight_filler();
6431 static const int kWeightFillerFieldNumber = 7;
6432 const ::opencv_caffe::FillerParameter& weight_filler() const;
6433 ::opencv_caffe::FillerParameter* release_weight_filler();
6434 ::opencv_caffe::FillerParameter* mutable_weight_filler();
6435 void set_allocated_weight_filler(::opencv_caffe::FillerParameter* weight_filler);
6436
6437 // optional .opencv_caffe.FillerParameter bias_filler = 8;
6438 bool has_bias_filler() const;
6439 void clear_bias_filler();
6440 static const int kBiasFillerFieldNumber = 8;
6441 const ::opencv_caffe::FillerParameter& bias_filler() const;
6442 ::opencv_caffe::FillerParameter* release_bias_filler();
6443 ::opencv_caffe::FillerParameter* mutable_bias_filler();
6444 void set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler);
6445
6446 // optional uint32 num_output = 1;
6447 bool has_num_output() const;
6448 void clear_num_output();
6449 static const int kNumOutputFieldNumber = 1;
6450 ::google::protobuf::uint32 num_output() const;
6451 void set_num_output(::google::protobuf::uint32 value);
6452
6453 // optional uint32 pad_h = 9 [default = 0];
6454 bool has_pad_h() const;
6455 void clear_pad_h();
6456 static const int kPadHFieldNumber = 9;
6457 ::google::protobuf::uint32 pad_h() const;
6458 void set_pad_h(::google::protobuf::uint32 value);
6459
6460 // optional uint32 pad_w = 10 [default = 0];
6461 bool has_pad_w() const;
6462 void clear_pad_w();
6463 static const int kPadWFieldNumber = 10;
6464 ::google::protobuf::uint32 pad_w() const;
6465 void set_pad_w(::google::protobuf::uint32 value);
6466
6467 // optional uint32 kernel_h = 11;
6468 bool has_kernel_h() const;
6469 void clear_kernel_h();
6470 static const int kKernelHFieldNumber = 11;
6471 ::google::protobuf::uint32 kernel_h() const;
6472 void set_kernel_h(::google::protobuf::uint32 value);
6473
6474 // optional uint32 kernel_w = 12;
6475 bool has_kernel_w() const;
6476 void clear_kernel_w();
6477 static const int kKernelWFieldNumber = 12;
6478 ::google::protobuf::uint32 kernel_w() const;
6479 void set_kernel_w(::google::protobuf::uint32 value);
6480
6481 // optional uint32 stride_h = 13;
6482 bool has_stride_h() const;
6483 void clear_stride_h();
6484 static const int kStrideHFieldNumber = 13;
6485 ::google::protobuf::uint32 stride_h() const;
6486 void set_stride_h(::google::protobuf::uint32 value);
6487
6488 // optional uint32 stride_w = 14;
6489 bool has_stride_w() const;
6490 void clear_stride_w();
6491 static const int kStrideWFieldNumber = 14;
6492 ::google::protobuf::uint32 stride_w() const;
6493 void set_stride_w(::google::protobuf::uint32 value);
6494
6495 // optional .opencv_caffe.ConvolutionParameter.Engine engine = 15 [default = DEFAULT];
6496 bool has_engine() const;
6497 void clear_engine();
6498 static const int kEngineFieldNumber = 15;
6499 ::opencv_caffe::ConvolutionParameter_Engine engine() const;
6500 void set_engine(::opencv_caffe::ConvolutionParameter_Engine value);
6501
6502 // optional bool force_nd_im2col = 17 [default = false];
6503 bool has_force_nd_im2col() const;
6504 void clear_force_nd_im2col();
6505 static const int kForceNdIm2ColFieldNumber = 17;
6506 bool force_nd_im2col() const;
6507 void set_force_nd_im2col(bool value);
6508
6509 // optional int32 axis = 16 [default = 1];
6510 bool has_axis() const;
6511 void clear_axis();
6512 static const int kAxisFieldNumber = 16;
6513 ::google::protobuf::int32 axis() const;
6514 void set_axis(::google::protobuf::int32 value);
6515
6516 // optional bool bias_term = 2 [default = true];
6517 bool has_bias_term() const;
6518 void clear_bias_term();
6519 static const int kBiasTermFieldNumber = 2;
6520 bool bias_term() const;
6521 void set_bias_term(bool value);
6522
6523 // optional uint32 group = 5 [default = 1];
6524 bool has_group() const;
6525 void clear_group();
6526 static const int kGroupFieldNumber = 5;
6527 ::google::protobuf::uint32 group() const;
6528 void set_group(::google::protobuf::uint32 value);
6529
6530 // @@protoc_insertion_point(class_scope:opencv_caffe.ConvolutionParameter)
6531 private:
6532 void set_has_num_output();
6533 void clear_has_num_output();
6534 void set_has_bias_term();
6535 void clear_has_bias_term();
6536 void set_has_pad_h();
6537 void clear_has_pad_h();
6538 void set_has_pad_w();
6539 void clear_has_pad_w();
6540 void set_has_kernel_h();
6541 void clear_has_kernel_h();
6542 void set_has_kernel_w();
6543 void clear_has_kernel_w();
6544 void set_has_stride_h();
6545 void clear_has_stride_h();
6546 void set_has_stride_w();
6547 void clear_has_stride_w();
6548 void set_has_group();
6549 void clear_has_group();
6550 void set_has_weight_filler();
6551 void clear_has_weight_filler();
6552 void set_has_bias_filler();
6553 void clear_has_bias_filler();
6554 void set_has_engine();
6555 void clear_has_engine();
6556 void set_has_axis();
6557 void clear_has_axis();
6558 void set_has_force_nd_im2col();
6559 void clear_has_force_nd_im2col();
6560
6561 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6562 ::google::protobuf::internal::HasBits<1> _has_bits_;
6563 mutable int _cached_size_;
6564 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > pad_;
6565 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > kernel_size_;
6566 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > stride_;
6567 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > dilation_;
6568 ::opencv_caffe::FillerParameter* weight_filler_;
6569 ::opencv_caffe::FillerParameter* bias_filler_;
6570 ::google::protobuf::uint32 num_output_;
6571 ::google::protobuf::uint32 pad_h_;
6572 ::google::protobuf::uint32 pad_w_;
6573 ::google::protobuf::uint32 kernel_h_;
6574 ::google::protobuf::uint32 kernel_w_;
6575 ::google::protobuf::uint32 stride_h_;
6576 ::google::protobuf::uint32 stride_w_;
6577 int engine_;
6578 bool force_nd_im2col_;
6579 ::google::protobuf::int32 axis_;
6580 bool bias_term_;
6581 ::google::protobuf::uint32 group_;
6582 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
6583 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsConvolutionParameterImpl();
6584 };
6585 // -------------------------------------------------------------------
6586
6587 class CropParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.CropParameter) */ {
6588 public:
6589 CropParameter();
6590 virtual ~CropParameter();
6591
6592 CropParameter(const CropParameter& from);
6593
6594 inline CropParameter& operator=(const CropParameter& from) {
6595 CopyFrom(from);
6596 return *this;
6597 }
6598 #if LANG_CXX11
CropParameter(CropParameter && from)6599 CropParameter(CropParameter&& from) noexcept
6600 : CropParameter() {
6601 *this = ::std::move(from);
6602 }
6603
6604 inline CropParameter& operator=(CropParameter&& from) noexcept {
6605 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6606 if (this != &from) InternalSwap(&from);
6607 } else {
6608 CopyFrom(from);
6609 }
6610 return *this;
6611 }
6612 #endif
unknown_fields()6613 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6614 return _internal_metadata_.unknown_fields();
6615 }
mutable_unknown_fields()6616 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6617 return _internal_metadata_.mutable_unknown_fields();
6618 }
6619
6620 static const ::google::protobuf::Descriptor* descriptor();
6621 static const CropParameter& default_instance();
6622
6623 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6624 static inline const CropParameter* internal_default_instance() {
6625 return reinterpret_cast<const CropParameter*>(
6626 &_CropParameter_default_instance_);
6627 }
6628 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
6629 25;
6630
6631 void Swap(CropParameter* other);
swap(CropParameter & a,CropParameter & b)6632 friend void swap(CropParameter& a, CropParameter& b) {
6633 a.Swap(&b);
6634 }
6635
6636 // implements Message ----------------------------------------------
6637
New()6638 inline CropParameter* New() const PROTOBUF_FINAL { return New(NULL); }
6639
6640 CropParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
6641 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
6642 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
6643 void CopyFrom(const CropParameter& from);
6644 void MergeFrom(const CropParameter& from);
6645 void Clear() PROTOBUF_FINAL;
6646 bool IsInitialized() const PROTOBUF_FINAL;
6647
6648 size_t ByteSizeLong() const PROTOBUF_FINAL;
6649 bool MergePartialFromCodedStream(
6650 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
6651 void SerializeWithCachedSizes(
6652 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
6653 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6654 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()6655 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
6656 private:
6657 void SharedCtor();
6658 void SharedDtor();
6659 void SetCachedSize(int size) const PROTOBUF_FINAL;
6660 void InternalSwap(CropParameter* other);
6661 private:
GetArenaNoVirtual()6662 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6663 return NULL;
6664 }
MaybeArenaPtr()6665 inline void* MaybeArenaPtr() const {
6666 return NULL;
6667 }
6668 public:
6669
6670 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
6671
6672 // nested types ----------------------------------------------------
6673
6674 // accessors -------------------------------------------------------
6675
6676 // repeated uint32 offset = 2;
6677 int offset_size() const;
6678 void clear_offset();
6679 static const int kOffsetFieldNumber = 2;
6680 ::google::protobuf::uint32 offset(int index) const;
6681 void set_offset(int index, ::google::protobuf::uint32 value);
6682 void add_offset(::google::protobuf::uint32 value);
6683 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
6684 offset() const;
6685 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
6686 mutable_offset();
6687
6688 // optional int32 axis = 1 [default = 2];
6689 bool has_axis() const;
6690 void clear_axis();
6691 static const int kAxisFieldNumber = 1;
6692 ::google::protobuf::int32 axis() const;
6693 void set_axis(::google::protobuf::int32 value);
6694
6695 // @@protoc_insertion_point(class_scope:opencv_caffe.CropParameter)
6696 private:
6697 void set_has_axis();
6698 void clear_has_axis();
6699
6700 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6701 ::google::protobuf::internal::HasBits<1> _has_bits_;
6702 mutable int _cached_size_;
6703 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > offset_;
6704 ::google::protobuf::int32 axis_;
6705 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
6706 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsCropParameterImpl();
6707 };
6708 // -------------------------------------------------------------------
6709
6710 class DataParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.DataParameter) */ {
6711 public:
6712 DataParameter();
6713 virtual ~DataParameter();
6714
6715 DataParameter(const DataParameter& from);
6716
6717 inline DataParameter& operator=(const DataParameter& from) {
6718 CopyFrom(from);
6719 return *this;
6720 }
6721 #if LANG_CXX11
DataParameter(DataParameter && from)6722 DataParameter(DataParameter&& from) noexcept
6723 : DataParameter() {
6724 *this = ::std::move(from);
6725 }
6726
6727 inline DataParameter& operator=(DataParameter&& from) noexcept {
6728 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6729 if (this != &from) InternalSwap(&from);
6730 } else {
6731 CopyFrom(from);
6732 }
6733 return *this;
6734 }
6735 #endif
unknown_fields()6736 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6737 return _internal_metadata_.unknown_fields();
6738 }
mutable_unknown_fields()6739 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6740 return _internal_metadata_.mutable_unknown_fields();
6741 }
6742
6743 static const ::google::protobuf::Descriptor* descriptor();
6744 static const DataParameter& default_instance();
6745
6746 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6747 static inline const DataParameter* internal_default_instance() {
6748 return reinterpret_cast<const DataParameter*>(
6749 &_DataParameter_default_instance_);
6750 }
6751 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
6752 26;
6753
6754 void Swap(DataParameter* other);
swap(DataParameter & a,DataParameter & b)6755 friend void swap(DataParameter& a, DataParameter& b) {
6756 a.Swap(&b);
6757 }
6758
6759 // implements Message ----------------------------------------------
6760
New()6761 inline DataParameter* New() const PROTOBUF_FINAL { return New(NULL); }
6762
6763 DataParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
6764 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
6765 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
6766 void CopyFrom(const DataParameter& from);
6767 void MergeFrom(const DataParameter& from);
6768 void Clear() PROTOBUF_FINAL;
6769 bool IsInitialized() const PROTOBUF_FINAL;
6770
6771 size_t ByteSizeLong() const PROTOBUF_FINAL;
6772 bool MergePartialFromCodedStream(
6773 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
6774 void SerializeWithCachedSizes(
6775 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
6776 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
6777 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()6778 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
6779 private:
6780 void SharedCtor();
6781 void SharedDtor();
6782 void SetCachedSize(int size) const PROTOBUF_FINAL;
6783 void InternalSwap(DataParameter* other);
6784 private:
GetArenaNoVirtual()6785 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
6786 return NULL;
6787 }
MaybeArenaPtr()6788 inline void* MaybeArenaPtr() const {
6789 return NULL;
6790 }
6791 public:
6792
6793 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
6794
6795 // nested types ----------------------------------------------------
6796
6797 typedef DataParameter_DB DB;
6798 static const DB LEVELDB =
6799 DataParameter_DB_LEVELDB;
6800 static const DB LMDB =
6801 DataParameter_DB_LMDB;
DB_IsValid(int value)6802 static inline bool DB_IsValid(int value) {
6803 return DataParameter_DB_IsValid(value);
6804 }
6805 static const DB DB_MIN =
6806 DataParameter_DB_DB_MIN;
6807 static const DB DB_MAX =
6808 DataParameter_DB_DB_MAX;
6809 static const int DB_ARRAYSIZE =
6810 DataParameter_DB_DB_ARRAYSIZE;
6811 static inline const ::google::protobuf::EnumDescriptor*
DB_descriptor()6812 DB_descriptor() {
6813 return DataParameter_DB_descriptor();
6814 }
DB_Name(DB value)6815 static inline const ::std::string& DB_Name(DB value) {
6816 return DataParameter_DB_Name(value);
6817 }
DB_Parse(const::std::string & name,DB * value)6818 static inline bool DB_Parse(const ::std::string& name,
6819 DB* value) {
6820 return DataParameter_DB_Parse(name, value);
6821 }
6822
6823 // accessors -------------------------------------------------------
6824
6825 // optional string source = 1;
6826 bool has_source() const;
6827 void clear_source();
6828 static const int kSourceFieldNumber = 1;
6829 const ::std::string& source() const;
6830 void set_source(const ::std::string& value);
6831 #if LANG_CXX11
6832 void set_source(::std::string&& value);
6833 #endif
6834 void set_source(const char* value);
6835 void set_source(const char* value, size_t size);
6836 ::std::string* mutable_source();
6837 ::std::string* release_source();
6838 void set_allocated_source(::std::string* source);
6839
6840 // optional string mean_file = 3;
6841 bool has_mean_file() const;
6842 void clear_mean_file();
6843 static const int kMeanFileFieldNumber = 3;
6844 const ::std::string& mean_file() const;
6845 void set_mean_file(const ::std::string& value);
6846 #if LANG_CXX11
6847 void set_mean_file(::std::string&& value);
6848 #endif
6849 void set_mean_file(const char* value);
6850 void set_mean_file(const char* value, size_t size);
6851 ::std::string* mutable_mean_file();
6852 ::std::string* release_mean_file();
6853 void set_allocated_mean_file(::std::string* mean_file);
6854
6855 // optional uint32 batch_size = 4;
6856 bool has_batch_size() const;
6857 void clear_batch_size();
6858 static const int kBatchSizeFieldNumber = 4;
6859 ::google::protobuf::uint32 batch_size() const;
6860 void set_batch_size(::google::protobuf::uint32 value);
6861
6862 // optional uint32 crop_size = 5 [default = 0];
6863 bool has_crop_size() const;
6864 void clear_crop_size();
6865 static const int kCropSizeFieldNumber = 5;
6866 ::google::protobuf::uint32 crop_size() const;
6867 void set_crop_size(::google::protobuf::uint32 value);
6868
6869 // optional uint32 rand_skip = 7 [default = 0];
6870 bool has_rand_skip() const;
6871 void clear_rand_skip();
6872 static const int kRandSkipFieldNumber = 7;
6873 ::google::protobuf::uint32 rand_skip() const;
6874 void set_rand_skip(::google::protobuf::uint32 value);
6875
6876 // optional bool mirror = 6 [default = false];
6877 bool has_mirror() const;
6878 void clear_mirror();
6879 static const int kMirrorFieldNumber = 6;
6880 bool mirror() const;
6881 void set_mirror(bool value);
6882
6883 // optional bool force_encoded_color = 9 [default = false];
6884 bool has_force_encoded_color() const;
6885 void clear_force_encoded_color();
6886 static const int kForceEncodedColorFieldNumber = 9;
6887 bool force_encoded_color() const;
6888 void set_force_encoded_color(bool value);
6889
6890 // optional .opencv_caffe.DataParameter.DB backend = 8 [default = LEVELDB];
6891 bool has_backend() const;
6892 void clear_backend();
6893 static const int kBackendFieldNumber = 8;
6894 ::opencv_caffe::DataParameter_DB backend() const;
6895 void set_backend(::opencv_caffe::DataParameter_DB value);
6896
6897 // optional float scale = 2 [default = 1];
6898 bool has_scale() const;
6899 void clear_scale();
6900 static const int kScaleFieldNumber = 2;
6901 float scale() const;
6902 void set_scale(float value);
6903
6904 // optional uint32 prefetch = 10 [default = 4];
6905 bool has_prefetch() const;
6906 void clear_prefetch();
6907 static const int kPrefetchFieldNumber = 10;
6908 ::google::protobuf::uint32 prefetch() const;
6909 void set_prefetch(::google::protobuf::uint32 value);
6910
6911 // @@protoc_insertion_point(class_scope:opencv_caffe.DataParameter)
6912 private:
6913 void set_has_source();
6914 void clear_has_source();
6915 void set_has_batch_size();
6916 void clear_has_batch_size();
6917 void set_has_rand_skip();
6918 void clear_has_rand_skip();
6919 void set_has_backend();
6920 void clear_has_backend();
6921 void set_has_scale();
6922 void clear_has_scale();
6923 void set_has_mean_file();
6924 void clear_has_mean_file();
6925 void set_has_crop_size();
6926 void clear_has_crop_size();
6927 void set_has_mirror();
6928 void clear_has_mirror();
6929 void set_has_force_encoded_color();
6930 void clear_has_force_encoded_color();
6931 void set_has_prefetch();
6932 void clear_has_prefetch();
6933
6934 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
6935 ::google::protobuf::internal::HasBits<1> _has_bits_;
6936 mutable int _cached_size_;
6937 ::google::protobuf::internal::ArenaStringPtr source_;
6938 ::google::protobuf::internal::ArenaStringPtr mean_file_;
6939 ::google::protobuf::uint32 batch_size_;
6940 ::google::protobuf::uint32 crop_size_;
6941 ::google::protobuf::uint32 rand_skip_;
6942 bool mirror_;
6943 bool force_encoded_color_;
6944 int backend_;
6945 float scale_;
6946 ::google::protobuf::uint32 prefetch_;
6947 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
6948 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsDataParameterImpl();
6949 };
6950 // -------------------------------------------------------------------
6951
6952 class NonMaximumSuppressionParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.NonMaximumSuppressionParameter) */ {
6953 public:
6954 NonMaximumSuppressionParameter();
6955 virtual ~NonMaximumSuppressionParameter();
6956
6957 NonMaximumSuppressionParameter(const NonMaximumSuppressionParameter& from);
6958
6959 inline NonMaximumSuppressionParameter& operator=(const NonMaximumSuppressionParameter& from) {
6960 CopyFrom(from);
6961 return *this;
6962 }
6963 #if LANG_CXX11
NonMaximumSuppressionParameter(NonMaximumSuppressionParameter && from)6964 NonMaximumSuppressionParameter(NonMaximumSuppressionParameter&& from) noexcept
6965 : NonMaximumSuppressionParameter() {
6966 *this = ::std::move(from);
6967 }
6968
6969 inline NonMaximumSuppressionParameter& operator=(NonMaximumSuppressionParameter&& from) noexcept {
6970 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
6971 if (this != &from) InternalSwap(&from);
6972 } else {
6973 CopyFrom(from);
6974 }
6975 return *this;
6976 }
6977 #endif
unknown_fields()6978 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
6979 return _internal_metadata_.unknown_fields();
6980 }
mutable_unknown_fields()6981 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
6982 return _internal_metadata_.mutable_unknown_fields();
6983 }
6984
6985 static const ::google::protobuf::Descriptor* descriptor();
6986 static const NonMaximumSuppressionParameter& default_instance();
6987
6988 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()6989 static inline const NonMaximumSuppressionParameter* internal_default_instance() {
6990 return reinterpret_cast<const NonMaximumSuppressionParameter*>(
6991 &_NonMaximumSuppressionParameter_default_instance_);
6992 }
6993 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
6994 27;
6995
6996 void Swap(NonMaximumSuppressionParameter* other);
swap(NonMaximumSuppressionParameter & a,NonMaximumSuppressionParameter & b)6997 friend void swap(NonMaximumSuppressionParameter& a, NonMaximumSuppressionParameter& b) {
6998 a.Swap(&b);
6999 }
7000
7001 // implements Message ----------------------------------------------
7002
New()7003 inline NonMaximumSuppressionParameter* New() const PROTOBUF_FINAL { return New(NULL); }
7004
7005 NonMaximumSuppressionParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
7006 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7007 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7008 void CopyFrom(const NonMaximumSuppressionParameter& from);
7009 void MergeFrom(const NonMaximumSuppressionParameter& from);
7010 void Clear() PROTOBUF_FINAL;
7011 bool IsInitialized() const PROTOBUF_FINAL;
7012
7013 size_t ByteSizeLong() const PROTOBUF_FINAL;
7014 bool MergePartialFromCodedStream(
7015 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
7016 void SerializeWithCachedSizes(
7017 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
7018 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
7019 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()7020 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
7021 private:
7022 void SharedCtor();
7023 void SharedDtor();
7024 void SetCachedSize(int size) const PROTOBUF_FINAL;
7025 void InternalSwap(NonMaximumSuppressionParameter* other);
7026 private:
GetArenaNoVirtual()7027 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
7028 return NULL;
7029 }
MaybeArenaPtr()7030 inline void* MaybeArenaPtr() const {
7031 return NULL;
7032 }
7033 public:
7034
7035 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
7036
7037 // nested types ----------------------------------------------------
7038
7039 // accessors -------------------------------------------------------
7040
7041 // optional int32 top_k = 2;
7042 bool has_top_k() const;
7043 void clear_top_k();
7044 static const int kTopKFieldNumber = 2;
7045 ::google::protobuf::int32 top_k() const;
7046 void set_top_k(::google::protobuf::int32 value);
7047
7048 // optional float nms_threshold = 1 [default = 0.3];
7049 bool has_nms_threshold() const;
7050 void clear_nms_threshold();
7051 static const int kNmsThresholdFieldNumber = 1;
7052 float nms_threshold() const;
7053 void set_nms_threshold(float value);
7054
7055 // optional float eta = 3 [default = 1];
7056 bool has_eta() const;
7057 void clear_eta();
7058 static const int kEtaFieldNumber = 3;
7059 float eta() const;
7060 void set_eta(float value);
7061
7062 // @@protoc_insertion_point(class_scope:opencv_caffe.NonMaximumSuppressionParameter)
7063 private:
7064 void set_has_nms_threshold();
7065 void clear_has_nms_threshold();
7066 void set_has_top_k();
7067 void clear_has_top_k();
7068 void set_has_eta();
7069 void clear_has_eta();
7070
7071 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
7072 ::google::protobuf::internal::HasBits<1> _has_bits_;
7073 mutable int _cached_size_;
7074 ::google::protobuf::int32 top_k_;
7075 float nms_threshold_;
7076 float eta_;
7077 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
7078 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsNonMaximumSuppressionParameterImpl();
7079 };
7080 // -------------------------------------------------------------------
7081
7082 class SaveOutputParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.SaveOutputParameter) */ {
7083 public:
7084 SaveOutputParameter();
7085 virtual ~SaveOutputParameter();
7086
7087 SaveOutputParameter(const SaveOutputParameter& from);
7088
7089 inline SaveOutputParameter& operator=(const SaveOutputParameter& from) {
7090 CopyFrom(from);
7091 return *this;
7092 }
7093 #if LANG_CXX11
SaveOutputParameter(SaveOutputParameter && from)7094 SaveOutputParameter(SaveOutputParameter&& from) noexcept
7095 : SaveOutputParameter() {
7096 *this = ::std::move(from);
7097 }
7098
7099 inline SaveOutputParameter& operator=(SaveOutputParameter&& from) noexcept {
7100 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7101 if (this != &from) InternalSwap(&from);
7102 } else {
7103 CopyFrom(from);
7104 }
7105 return *this;
7106 }
7107 #endif
unknown_fields()7108 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
7109 return _internal_metadata_.unknown_fields();
7110 }
mutable_unknown_fields()7111 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
7112 return _internal_metadata_.mutable_unknown_fields();
7113 }
7114
7115 static const ::google::protobuf::Descriptor* descriptor();
7116 static const SaveOutputParameter& default_instance();
7117
7118 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7119 static inline const SaveOutputParameter* internal_default_instance() {
7120 return reinterpret_cast<const SaveOutputParameter*>(
7121 &_SaveOutputParameter_default_instance_);
7122 }
7123 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
7124 28;
7125
7126 void Swap(SaveOutputParameter* other);
swap(SaveOutputParameter & a,SaveOutputParameter & b)7127 friend void swap(SaveOutputParameter& a, SaveOutputParameter& b) {
7128 a.Swap(&b);
7129 }
7130
7131 // implements Message ----------------------------------------------
7132
New()7133 inline SaveOutputParameter* New() const PROTOBUF_FINAL { return New(NULL); }
7134
7135 SaveOutputParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
7136 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7137 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7138 void CopyFrom(const SaveOutputParameter& from);
7139 void MergeFrom(const SaveOutputParameter& from);
7140 void Clear() PROTOBUF_FINAL;
7141 bool IsInitialized() const PROTOBUF_FINAL;
7142
7143 size_t ByteSizeLong() const PROTOBUF_FINAL;
7144 bool MergePartialFromCodedStream(
7145 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
7146 void SerializeWithCachedSizes(
7147 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
7148 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
7149 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()7150 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
7151 private:
7152 void SharedCtor();
7153 void SharedDtor();
7154 void SetCachedSize(int size) const PROTOBUF_FINAL;
7155 void InternalSwap(SaveOutputParameter* other);
7156 private:
GetArenaNoVirtual()7157 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
7158 return NULL;
7159 }
MaybeArenaPtr()7160 inline void* MaybeArenaPtr() const {
7161 return NULL;
7162 }
7163 public:
7164
7165 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
7166
7167 // nested types ----------------------------------------------------
7168
7169 // accessors -------------------------------------------------------
7170
7171 // optional string output_directory = 1;
7172 bool has_output_directory() const;
7173 void clear_output_directory();
7174 static const int kOutputDirectoryFieldNumber = 1;
7175 const ::std::string& output_directory() const;
7176 void set_output_directory(const ::std::string& value);
7177 #if LANG_CXX11
7178 void set_output_directory(::std::string&& value);
7179 #endif
7180 void set_output_directory(const char* value);
7181 void set_output_directory(const char* value, size_t size);
7182 ::std::string* mutable_output_directory();
7183 ::std::string* release_output_directory();
7184 void set_allocated_output_directory(::std::string* output_directory);
7185
7186 // optional string output_name_prefix = 2;
7187 bool has_output_name_prefix() const;
7188 void clear_output_name_prefix();
7189 static const int kOutputNamePrefixFieldNumber = 2;
7190 const ::std::string& output_name_prefix() const;
7191 void set_output_name_prefix(const ::std::string& value);
7192 #if LANG_CXX11
7193 void set_output_name_prefix(::std::string&& value);
7194 #endif
7195 void set_output_name_prefix(const char* value);
7196 void set_output_name_prefix(const char* value, size_t size);
7197 ::std::string* mutable_output_name_prefix();
7198 ::std::string* release_output_name_prefix();
7199 void set_allocated_output_name_prefix(::std::string* output_name_prefix);
7200
7201 // optional string output_format = 3;
7202 bool has_output_format() const;
7203 void clear_output_format();
7204 static const int kOutputFormatFieldNumber = 3;
7205 const ::std::string& output_format() const;
7206 void set_output_format(const ::std::string& value);
7207 #if LANG_CXX11
7208 void set_output_format(::std::string&& value);
7209 #endif
7210 void set_output_format(const char* value);
7211 void set_output_format(const char* value, size_t size);
7212 ::std::string* mutable_output_format();
7213 ::std::string* release_output_format();
7214 void set_allocated_output_format(::std::string* output_format);
7215
7216 // optional string label_map_file = 4;
7217 bool has_label_map_file() const;
7218 void clear_label_map_file();
7219 static const int kLabelMapFileFieldNumber = 4;
7220 const ::std::string& label_map_file() const;
7221 void set_label_map_file(const ::std::string& value);
7222 #if LANG_CXX11
7223 void set_label_map_file(::std::string&& value);
7224 #endif
7225 void set_label_map_file(const char* value);
7226 void set_label_map_file(const char* value, size_t size);
7227 ::std::string* mutable_label_map_file();
7228 ::std::string* release_label_map_file();
7229 void set_allocated_label_map_file(::std::string* label_map_file);
7230
7231 // optional string name_size_file = 5;
7232 bool has_name_size_file() const;
7233 void clear_name_size_file();
7234 static const int kNameSizeFileFieldNumber = 5;
7235 const ::std::string& name_size_file() const;
7236 void set_name_size_file(const ::std::string& value);
7237 #if LANG_CXX11
7238 void set_name_size_file(::std::string&& value);
7239 #endif
7240 void set_name_size_file(const char* value);
7241 void set_name_size_file(const char* value, size_t size);
7242 ::std::string* mutable_name_size_file();
7243 ::std::string* release_name_size_file();
7244 void set_allocated_name_size_file(::std::string* name_size_file);
7245
7246 // optional uint32 num_test_image = 6;
7247 bool has_num_test_image() const;
7248 void clear_num_test_image();
7249 static const int kNumTestImageFieldNumber = 6;
7250 ::google::protobuf::uint32 num_test_image() const;
7251 void set_num_test_image(::google::protobuf::uint32 value);
7252
7253 // @@protoc_insertion_point(class_scope:opencv_caffe.SaveOutputParameter)
7254 private:
7255 void set_has_output_directory();
7256 void clear_has_output_directory();
7257 void set_has_output_name_prefix();
7258 void clear_has_output_name_prefix();
7259 void set_has_output_format();
7260 void clear_has_output_format();
7261 void set_has_label_map_file();
7262 void clear_has_label_map_file();
7263 void set_has_name_size_file();
7264 void clear_has_name_size_file();
7265 void set_has_num_test_image();
7266 void clear_has_num_test_image();
7267
7268 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
7269 ::google::protobuf::internal::HasBits<1> _has_bits_;
7270 mutable int _cached_size_;
7271 ::google::protobuf::internal::ArenaStringPtr output_directory_;
7272 ::google::protobuf::internal::ArenaStringPtr output_name_prefix_;
7273 ::google::protobuf::internal::ArenaStringPtr output_format_;
7274 ::google::protobuf::internal::ArenaStringPtr label_map_file_;
7275 ::google::protobuf::internal::ArenaStringPtr name_size_file_;
7276 ::google::protobuf::uint32 num_test_image_;
7277 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
7278 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsSaveOutputParameterImpl();
7279 };
7280 // -------------------------------------------------------------------
7281
7282 class DropoutParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.DropoutParameter) */ {
7283 public:
7284 DropoutParameter();
7285 virtual ~DropoutParameter();
7286
7287 DropoutParameter(const DropoutParameter& from);
7288
7289 inline DropoutParameter& operator=(const DropoutParameter& from) {
7290 CopyFrom(from);
7291 return *this;
7292 }
7293 #if LANG_CXX11
DropoutParameter(DropoutParameter && from)7294 DropoutParameter(DropoutParameter&& from) noexcept
7295 : DropoutParameter() {
7296 *this = ::std::move(from);
7297 }
7298
7299 inline DropoutParameter& operator=(DropoutParameter&& from) noexcept {
7300 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7301 if (this != &from) InternalSwap(&from);
7302 } else {
7303 CopyFrom(from);
7304 }
7305 return *this;
7306 }
7307 #endif
unknown_fields()7308 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
7309 return _internal_metadata_.unknown_fields();
7310 }
mutable_unknown_fields()7311 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
7312 return _internal_metadata_.mutable_unknown_fields();
7313 }
7314
7315 static const ::google::protobuf::Descriptor* descriptor();
7316 static const DropoutParameter& default_instance();
7317
7318 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7319 static inline const DropoutParameter* internal_default_instance() {
7320 return reinterpret_cast<const DropoutParameter*>(
7321 &_DropoutParameter_default_instance_);
7322 }
7323 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
7324 29;
7325
7326 void Swap(DropoutParameter* other);
swap(DropoutParameter & a,DropoutParameter & b)7327 friend void swap(DropoutParameter& a, DropoutParameter& b) {
7328 a.Swap(&b);
7329 }
7330
7331 // implements Message ----------------------------------------------
7332
New()7333 inline DropoutParameter* New() const PROTOBUF_FINAL { return New(NULL); }
7334
7335 DropoutParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
7336 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7337 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7338 void CopyFrom(const DropoutParameter& from);
7339 void MergeFrom(const DropoutParameter& from);
7340 void Clear() PROTOBUF_FINAL;
7341 bool IsInitialized() const PROTOBUF_FINAL;
7342
7343 size_t ByteSizeLong() const PROTOBUF_FINAL;
7344 bool MergePartialFromCodedStream(
7345 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
7346 void SerializeWithCachedSizes(
7347 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
7348 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
7349 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()7350 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
7351 private:
7352 void SharedCtor();
7353 void SharedDtor();
7354 void SetCachedSize(int size) const PROTOBUF_FINAL;
7355 void InternalSwap(DropoutParameter* other);
7356 private:
GetArenaNoVirtual()7357 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
7358 return NULL;
7359 }
MaybeArenaPtr()7360 inline void* MaybeArenaPtr() const {
7361 return NULL;
7362 }
7363 public:
7364
7365 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
7366
7367 // nested types ----------------------------------------------------
7368
7369 // accessors -------------------------------------------------------
7370
7371 // optional float dropout_ratio = 1 [default = 0.5];
7372 bool has_dropout_ratio() const;
7373 void clear_dropout_ratio();
7374 static const int kDropoutRatioFieldNumber = 1;
7375 float dropout_ratio() const;
7376 void set_dropout_ratio(float value);
7377
7378 // optional bool scale_train = 2 [default = true];
7379 bool has_scale_train() const;
7380 void clear_scale_train();
7381 static const int kScaleTrainFieldNumber = 2;
7382 bool scale_train() const;
7383 void set_scale_train(bool value);
7384
7385 // @@protoc_insertion_point(class_scope:opencv_caffe.DropoutParameter)
7386 private:
7387 void set_has_dropout_ratio();
7388 void clear_has_dropout_ratio();
7389 void set_has_scale_train();
7390 void clear_has_scale_train();
7391
7392 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
7393 ::google::protobuf::internal::HasBits<1> _has_bits_;
7394 mutable int _cached_size_;
7395 float dropout_ratio_;
7396 bool scale_train_;
7397 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
7398 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsDropoutParameterImpl();
7399 };
7400 // -------------------------------------------------------------------
7401
7402 class DummyDataParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.DummyDataParameter) */ {
7403 public:
7404 DummyDataParameter();
7405 virtual ~DummyDataParameter();
7406
7407 DummyDataParameter(const DummyDataParameter& from);
7408
7409 inline DummyDataParameter& operator=(const DummyDataParameter& from) {
7410 CopyFrom(from);
7411 return *this;
7412 }
7413 #if LANG_CXX11
DummyDataParameter(DummyDataParameter && from)7414 DummyDataParameter(DummyDataParameter&& from) noexcept
7415 : DummyDataParameter() {
7416 *this = ::std::move(from);
7417 }
7418
7419 inline DummyDataParameter& operator=(DummyDataParameter&& from) noexcept {
7420 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7421 if (this != &from) InternalSwap(&from);
7422 } else {
7423 CopyFrom(from);
7424 }
7425 return *this;
7426 }
7427 #endif
unknown_fields()7428 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
7429 return _internal_metadata_.unknown_fields();
7430 }
mutable_unknown_fields()7431 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
7432 return _internal_metadata_.mutable_unknown_fields();
7433 }
7434
7435 static const ::google::protobuf::Descriptor* descriptor();
7436 static const DummyDataParameter& default_instance();
7437
7438 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7439 static inline const DummyDataParameter* internal_default_instance() {
7440 return reinterpret_cast<const DummyDataParameter*>(
7441 &_DummyDataParameter_default_instance_);
7442 }
7443 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
7444 30;
7445
7446 void Swap(DummyDataParameter* other);
swap(DummyDataParameter & a,DummyDataParameter & b)7447 friend void swap(DummyDataParameter& a, DummyDataParameter& b) {
7448 a.Swap(&b);
7449 }
7450
7451 // implements Message ----------------------------------------------
7452
New()7453 inline DummyDataParameter* New() const PROTOBUF_FINAL { return New(NULL); }
7454
7455 DummyDataParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
7456 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7457 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7458 void CopyFrom(const DummyDataParameter& from);
7459 void MergeFrom(const DummyDataParameter& from);
7460 void Clear() PROTOBUF_FINAL;
7461 bool IsInitialized() const PROTOBUF_FINAL;
7462
7463 size_t ByteSizeLong() const PROTOBUF_FINAL;
7464 bool MergePartialFromCodedStream(
7465 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
7466 void SerializeWithCachedSizes(
7467 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
7468 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
7469 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()7470 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
7471 private:
7472 void SharedCtor();
7473 void SharedDtor();
7474 void SetCachedSize(int size) const PROTOBUF_FINAL;
7475 void InternalSwap(DummyDataParameter* other);
7476 private:
GetArenaNoVirtual()7477 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
7478 return NULL;
7479 }
MaybeArenaPtr()7480 inline void* MaybeArenaPtr() const {
7481 return NULL;
7482 }
7483 public:
7484
7485 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
7486
7487 // nested types ----------------------------------------------------
7488
7489 // accessors -------------------------------------------------------
7490
7491 // repeated .opencv_caffe.FillerParameter data_filler = 1;
7492 int data_filler_size() const;
7493 void clear_data_filler();
7494 static const int kDataFillerFieldNumber = 1;
7495 const ::opencv_caffe::FillerParameter& data_filler(int index) const;
7496 ::opencv_caffe::FillerParameter* mutable_data_filler(int index);
7497 ::opencv_caffe::FillerParameter* add_data_filler();
7498 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::FillerParameter >*
7499 mutable_data_filler();
7500 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::FillerParameter >&
7501 data_filler() const;
7502
7503 // repeated uint32 num = 2;
7504 int num_size() const;
7505 void clear_num();
7506 static const int kNumFieldNumber = 2;
7507 ::google::protobuf::uint32 num(int index) const;
7508 void set_num(int index, ::google::protobuf::uint32 value);
7509 void add_num(::google::protobuf::uint32 value);
7510 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
7511 num() const;
7512 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
7513 mutable_num();
7514
7515 // repeated uint32 channels = 3;
7516 int channels_size() const;
7517 void clear_channels();
7518 static const int kChannelsFieldNumber = 3;
7519 ::google::protobuf::uint32 channels(int index) const;
7520 void set_channels(int index, ::google::protobuf::uint32 value);
7521 void add_channels(::google::protobuf::uint32 value);
7522 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
7523 channels() const;
7524 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
7525 mutable_channels();
7526
7527 // repeated uint32 height = 4;
7528 int height_size() const;
7529 void clear_height();
7530 static const int kHeightFieldNumber = 4;
7531 ::google::protobuf::uint32 height(int index) const;
7532 void set_height(int index, ::google::protobuf::uint32 value);
7533 void add_height(::google::protobuf::uint32 value);
7534 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
7535 height() const;
7536 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
7537 mutable_height();
7538
7539 // repeated uint32 width = 5;
7540 int width_size() const;
7541 void clear_width();
7542 static const int kWidthFieldNumber = 5;
7543 ::google::protobuf::uint32 width(int index) const;
7544 void set_width(int index, ::google::protobuf::uint32 value);
7545 void add_width(::google::protobuf::uint32 value);
7546 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
7547 width() const;
7548 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
7549 mutable_width();
7550
7551 // repeated .opencv_caffe.BlobShape shape = 6;
7552 int shape_size() const;
7553 void clear_shape();
7554 static const int kShapeFieldNumber = 6;
7555 const ::opencv_caffe::BlobShape& shape(int index) const;
7556 ::opencv_caffe::BlobShape* mutable_shape(int index);
7557 ::opencv_caffe::BlobShape* add_shape();
7558 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >*
7559 mutable_shape();
7560 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >&
7561 shape() const;
7562
7563 // @@protoc_insertion_point(class_scope:opencv_caffe.DummyDataParameter)
7564 private:
7565
7566 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
7567 ::google::protobuf::internal::HasBits<1> _has_bits_;
7568 mutable int _cached_size_;
7569 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::FillerParameter > data_filler_;
7570 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > num_;
7571 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > channels_;
7572 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > height_;
7573 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > width_;
7574 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape > shape_;
7575 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
7576 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsDummyDataParameterImpl();
7577 };
7578 // -------------------------------------------------------------------
7579
7580 class EltwiseParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.EltwiseParameter) */ {
7581 public:
7582 EltwiseParameter();
7583 virtual ~EltwiseParameter();
7584
7585 EltwiseParameter(const EltwiseParameter& from);
7586
7587 inline EltwiseParameter& operator=(const EltwiseParameter& from) {
7588 CopyFrom(from);
7589 return *this;
7590 }
7591 #if LANG_CXX11
EltwiseParameter(EltwiseParameter && from)7592 EltwiseParameter(EltwiseParameter&& from) noexcept
7593 : EltwiseParameter() {
7594 *this = ::std::move(from);
7595 }
7596
7597 inline EltwiseParameter& operator=(EltwiseParameter&& from) noexcept {
7598 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7599 if (this != &from) InternalSwap(&from);
7600 } else {
7601 CopyFrom(from);
7602 }
7603 return *this;
7604 }
7605 #endif
unknown_fields()7606 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
7607 return _internal_metadata_.unknown_fields();
7608 }
mutable_unknown_fields()7609 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
7610 return _internal_metadata_.mutable_unknown_fields();
7611 }
7612
7613 static const ::google::protobuf::Descriptor* descriptor();
7614 static const EltwiseParameter& default_instance();
7615
7616 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7617 static inline const EltwiseParameter* internal_default_instance() {
7618 return reinterpret_cast<const EltwiseParameter*>(
7619 &_EltwiseParameter_default_instance_);
7620 }
7621 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
7622 31;
7623
7624 void Swap(EltwiseParameter* other);
swap(EltwiseParameter & a,EltwiseParameter & b)7625 friend void swap(EltwiseParameter& a, EltwiseParameter& b) {
7626 a.Swap(&b);
7627 }
7628
7629 // implements Message ----------------------------------------------
7630
New()7631 inline EltwiseParameter* New() const PROTOBUF_FINAL { return New(NULL); }
7632
7633 EltwiseParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
7634 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7635 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7636 void CopyFrom(const EltwiseParameter& from);
7637 void MergeFrom(const EltwiseParameter& from);
7638 void Clear() PROTOBUF_FINAL;
7639 bool IsInitialized() const PROTOBUF_FINAL;
7640
7641 size_t ByteSizeLong() const PROTOBUF_FINAL;
7642 bool MergePartialFromCodedStream(
7643 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
7644 void SerializeWithCachedSizes(
7645 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
7646 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
7647 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()7648 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
7649 private:
7650 void SharedCtor();
7651 void SharedDtor();
7652 void SetCachedSize(int size) const PROTOBUF_FINAL;
7653 void InternalSwap(EltwiseParameter* other);
7654 private:
GetArenaNoVirtual()7655 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
7656 return NULL;
7657 }
MaybeArenaPtr()7658 inline void* MaybeArenaPtr() const {
7659 return NULL;
7660 }
7661 public:
7662
7663 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
7664
7665 // nested types ----------------------------------------------------
7666
7667 typedef EltwiseParameter_EltwiseOp EltwiseOp;
7668 static const EltwiseOp PROD =
7669 EltwiseParameter_EltwiseOp_PROD;
7670 static const EltwiseOp SUM =
7671 EltwiseParameter_EltwiseOp_SUM;
7672 static const EltwiseOp MAX =
7673 EltwiseParameter_EltwiseOp_MAX;
EltwiseOp_IsValid(int value)7674 static inline bool EltwiseOp_IsValid(int value) {
7675 return EltwiseParameter_EltwiseOp_IsValid(value);
7676 }
7677 static const EltwiseOp EltwiseOp_MIN =
7678 EltwiseParameter_EltwiseOp_EltwiseOp_MIN;
7679 static const EltwiseOp EltwiseOp_MAX =
7680 EltwiseParameter_EltwiseOp_EltwiseOp_MAX;
7681 static const int EltwiseOp_ARRAYSIZE =
7682 EltwiseParameter_EltwiseOp_EltwiseOp_ARRAYSIZE;
7683 static inline const ::google::protobuf::EnumDescriptor*
EltwiseOp_descriptor()7684 EltwiseOp_descriptor() {
7685 return EltwiseParameter_EltwiseOp_descriptor();
7686 }
EltwiseOp_Name(EltwiseOp value)7687 static inline const ::std::string& EltwiseOp_Name(EltwiseOp value) {
7688 return EltwiseParameter_EltwiseOp_Name(value);
7689 }
EltwiseOp_Parse(const::std::string & name,EltwiseOp * value)7690 static inline bool EltwiseOp_Parse(const ::std::string& name,
7691 EltwiseOp* value) {
7692 return EltwiseParameter_EltwiseOp_Parse(name, value);
7693 }
7694
7695 // accessors -------------------------------------------------------
7696
7697 // repeated float coeff = 2;
7698 int coeff_size() const;
7699 void clear_coeff();
7700 static const int kCoeffFieldNumber = 2;
7701 float coeff(int index) const;
7702 void set_coeff(int index, float value);
7703 void add_coeff(float value);
7704 const ::google::protobuf::RepeatedField< float >&
7705 coeff() const;
7706 ::google::protobuf::RepeatedField< float >*
7707 mutable_coeff();
7708
7709 // optional .opencv_caffe.EltwiseParameter.EltwiseOp operation = 1 [default = SUM];
7710 bool has_operation() const;
7711 void clear_operation();
7712 static const int kOperationFieldNumber = 1;
7713 ::opencv_caffe::EltwiseParameter_EltwiseOp operation() const;
7714 void set_operation(::opencv_caffe::EltwiseParameter_EltwiseOp value);
7715
7716 // optional bool stable_prod_grad = 3 [default = true];
7717 bool has_stable_prod_grad() const;
7718 void clear_stable_prod_grad();
7719 static const int kStableProdGradFieldNumber = 3;
7720 bool stable_prod_grad() const;
7721 void set_stable_prod_grad(bool value);
7722
7723 // @@protoc_insertion_point(class_scope:opencv_caffe.EltwiseParameter)
7724 private:
7725 void set_has_operation();
7726 void clear_has_operation();
7727 void set_has_stable_prod_grad();
7728 void clear_has_stable_prod_grad();
7729
7730 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
7731 ::google::protobuf::internal::HasBits<1> _has_bits_;
7732 mutable int _cached_size_;
7733 ::google::protobuf::RepeatedField< float > coeff_;
7734 int operation_;
7735 bool stable_prod_grad_;
7736 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
7737 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsEltwiseParameterImpl();
7738 };
7739 // -------------------------------------------------------------------
7740
7741 class ELUParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ELUParameter) */ {
7742 public:
7743 ELUParameter();
7744 virtual ~ELUParameter();
7745
7746 ELUParameter(const ELUParameter& from);
7747
7748 inline ELUParameter& operator=(const ELUParameter& from) {
7749 CopyFrom(from);
7750 return *this;
7751 }
7752 #if LANG_CXX11
ELUParameter(ELUParameter && from)7753 ELUParameter(ELUParameter&& from) noexcept
7754 : ELUParameter() {
7755 *this = ::std::move(from);
7756 }
7757
7758 inline ELUParameter& operator=(ELUParameter&& from) noexcept {
7759 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7760 if (this != &from) InternalSwap(&from);
7761 } else {
7762 CopyFrom(from);
7763 }
7764 return *this;
7765 }
7766 #endif
unknown_fields()7767 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
7768 return _internal_metadata_.unknown_fields();
7769 }
mutable_unknown_fields()7770 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
7771 return _internal_metadata_.mutable_unknown_fields();
7772 }
7773
7774 static const ::google::protobuf::Descriptor* descriptor();
7775 static const ELUParameter& default_instance();
7776
7777 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7778 static inline const ELUParameter* internal_default_instance() {
7779 return reinterpret_cast<const ELUParameter*>(
7780 &_ELUParameter_default_instance_);
7781 }
7782 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
7783 32;
7784
7785 void Swap(ELUParameter* other);
swap(ELUParameter & a,ELUParameter & b)7786 friend void swap(ELUParameter& a, ELUParameter& b) {
7787 a.Swap(&b);
7788 }
7789
7790 // implements Message ----------------------------------------------
7791
New()7792 inline ELUParameter* New() const PROTOBUF_FINAL { return New(NULL); }
7793
7794 ELUParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
7795 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7796 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7797 void CopyFrom(const ELUParameter& from);
7798 void MergeFrom(const ELUParameter& from);
7799 void Clear() PROTOBUF_FINAL;
7800 bool IsInitialized() const PROTOBUF_FINAL;
7801
7802 size_t ByteSizeLong() const PROTOBUF_FINAL;
7803 bool MergePartialFromCodedStream(
7804 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
7805 void SerializeWithCachedSizes(
7806 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
7807 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
7808 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()7809 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
7810 private:
7811 void SharedCtor();
7812 void SharedDtor();
7813 void SetCachedSize(int size) const PROTOBUF_FINAL;
7814 void InternalSwap(ELUParameter* other);
7815 private:
GetArenaNoVirtual()7816 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
7817 return NULL;
7818 }
MaybeArenaPtr()7819 inline void* MaybeArenaPtr() const {
7820 return NULL;
7821 }
7822 public:
7823
7824 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
7825
7826 // nested types ----------------------------------------------------
7827
7828 // accessors -------------------------------------------------------
7829
7830 // optional float alpha = 1 [default = 1];
7831 bool has_alpha() const;
7832 void clear_alpha();
7833 static const int kAlphaFieldNumber = 1;
7834 float alpha() const;
7835 void set_alpha(float value);
7836
7837 // @@protoc_insertion_point(class_scope:opencv_caffe.ELUParameter)
7838 private:
7839 void set_has_alpha();
7840 void clear_has_alpha();
7841
7842 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
7843 ::google::protobuf::internal::HasBits<1> _has_bits_;
7844 mutable int _cached_size_;
7845 float alpha_;
7846 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
7847 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsELUParameterImpl();
7848 };
7849 // -------------------------------------------------------------------
7850
7851 class EmbedParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.EmbedParameter) */ {
7852 public:
7853 EmbedParameter();
7854 virtual ~EmbedParameter();
7855
7856 EmbedParameter(const EmbedParameter& from);
7857
7858 inline EmbedParameter& operator=(const EmbedParameter& from) {
7859 CopyFrom(from);
7860 return *this;
7861 }
7862 #if LANG_CXX11
EmbedParameter(EmbedParameter && from)7863 EmbedParameter(EmbedParameter&& from) noexcept
7864 : EmbedParameter() {
7865 *this = ::std::move(from);
7866 }
7867
7868 inline EmbedParameter& operator=(EmbedParameter&& from) noexcept {
7869 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
7870 if (this != &from) InternalSwap(&from);
7871 } else {
7872 CopyFrom(from);
7873 }
7874 return *this;
7875 }
7876 #endif
unknown_fields()7877 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
7878 return _internal_metadata_.unknown_fields();
7879 }
mutable_unknown_fields()7880 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
7881 return _internal_metadata_.mutable_unknown_fields();
7882 }
7883
7884 static const ::google::protobuf::Descriptor* descriptor();
7885 static const EmbedParameter& default_instance();
7886
7887 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()7888 static inline const EmbedParameter* internal_default_instance() {
7889 return reinterpret_cast<const EmbedParameter*>(
7890 &_EmbedParameter_default_instance_);
7891 }
7892 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
7893 33;
7894
7895 void Swap(EmbedParameter* other);
swap(EmbedParameter & a,EmbedParameter & b)7896 friend void swap(EmbedParameter& a, EmbedParameter& b) {
7897 a.Swap(&b);
7898 }
7899
7900 // implements Message ----------------------------------------------
7901
New()7902 inline EmbedParameter* New() const PROTOBUF_FINAL { return New(NULL); }
7903
7904 EmbedParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
7905 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7906 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
7907 void CopyFrom(const EmbedParameter& from);
7908 void MergeFrom(const EmbedParameter& from);
7909 void Clear() PROTOBUF_FINAL;
7910 bool IsInitialized() const PROTOBUF_FINAL;
7911
7912 size_t ByteSizeLong() const PROTOBUF_FINAL;
7913 bool MergePartialFromCodedStream(
7914 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
7915 void SerializeWithCachedSizes(
7916 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
7917 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
7918 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()7919 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
7920 private:
7921 void SharedCtor();
7922 void SharedDtor();
7923 void SetCachedSize(int size) const PROTOBUF_FINAL;
7924 void InternalSwap(EmbedParameter* other);
7925 private:
GetArenaNoVirtual()7926 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
7927 return NULL;
7928 }
MaybeArenaPtr()7929 inline void* MaybeArenaPtr() const {
7930 return NULL;
7931 }
7932 public:
7933
7934 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
7935
7936 // nested types ----------------------------------------------------
7937
7938 // accessors -------------------------------------------------------
7939
7940 // optional .opencv_caffe.FillerParameter weight_filler = 4;
7941 bool has_weight_filler() const;
7942 void clear_weight_filler();
7943 static const int kWeightFillerFieldNumber = 4;
7944 const ::opencv_caffe::FillerParameter& weight_filler() const;
7945 ::opencv_caffe::FillerParameter* release_weight_filler();
7946 ::opencv_caffe::FillerParameter* mutable_weight_filler();
7947 void set_allocated_weight_filler(::opencv_caffe::FillerParameter* weight_filler);
7948
7949 // optional .opencv_caffe.FillerParameter bias_filler = 5;
7950 bool has_bias_filler() const;
7951 void clear_bias_filler();
7952 static const int kBiasFillerFieldNumber = 5;
7953 const ::opencv_caffe::FillerParameter& bias_filler() const;
7954 ::opencv_caffe::FillerParameter* release_bias_filler();
7955 ::opencv_caffe::FillerParameter* mutable_bias_filler();
7956 void set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler);
7957
7958 // optional uint32 num_output = 1;
7959 bool has_num_output() const;
7960 void clear_num_output();
7961 static const int kNumOutputFieldNumber = 1;
7962 ::google::protobuf::uint32 num_output() const;
7963 void set_num_output(::google::protobuf::uint32 value);
7964
7965 // optional uint32 input_dim = 2;
7966 bool has_input_dim() const;
7967 void clear_input_dim();
7968 static const int kInputDimFieldNumber = 2;
7969 ::google::protobuf::uint32 input_dim() const;
7970 void set_input_dim(::google::protobuf::uint32 value);
7971
7972 // optional bool bias_term = 3 [default = true];
7973 bool has_bias_term() const;
7974 void clear_bias_term();
7975 static const int kBiasTermFieldNumber = 3;
7976 bool bias_term() const;
7977 void set_bias_term(bool value);
7978
7979 // @@protoc_insertion_point(class_scope:opencv_caffe.EmbedParameter)
7980 private:
7981 void set_has_num_output();
7982 void clear_has_num_output();
7983 void set_has_input_dim();
7984 void clear_has_input_dim();
7985 void set_has_bias_term();
7986 void clear_has_bias_term();
7987 void set_has_weight_filler();
7988 void clear_has_weight_filler();
7989 void set_has_bias_filler();
7990 void clear_has_bias_filler();
7991
7992 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
7993 ::google::protobuf::internal::HasBits<1> _has_bits_;
7994 mutable int _cached_size_;
7995 ::opencv_caffe::FillerParameter* weight_filler_;
7996 ::opencv_caffe::FillerParameter* bias_filler_;
7997 ::google::protobuf::uint32 num_output_;
7998 ::google::protobuf::uint32 input_dim_;
7999 bool bias_term_;
8000 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
8001 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsEmbedParameterImpl();
8002 };
8003 // -------------------------------------------------------------------
8004
8005 class ExpParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ExpParameter) */ {
8006 public:
8007 ExpParameter();
8008 virtual ~ExpParameter();
8009
8010 ExpParameter(const ExpParameter& from);
8011
8012 inline ExpParameter& operator=(const ExpParameter& from) {
8013 CopyFrom(from);
8014 return *this;
8015 }
8016 #if LANG_CXX11
ExpParameter(ExpParameter && from)8017 ExpParameter(ExpParameter&& from) noexcept
8018 : ExpParameter() {
8019 *this = ::std::move(from);
8020 }
8021
8022 inline ExpParameter& operator=(ExpParameter&& from) noexcept {
8023 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8024 if (this != &from) InternalSwap(&from);
8025 } else {
8026 CopyFrom(from);
8027 }
8028 return *this;
8029 }
8030 #endif
unknown_fields()8031 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
8032 return _internal_metadata_.unknown_fields();
8033 }
mutable_unknown_fields()8034 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
8035 return _internal_metadata_.mutable_unknown_fields();
8036 }
8037
8038 static const ::google::protobuf::Descriptor* descriptor();
8039 static const ExpParameter& default_instance();
8040
8041 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8042 static inline const ExpParameter* internal_default_instance() {
8043 return reinterpret_cast<const ExpParameter*>(
8044 &_ExpParameter_default_instance_);
8045 }
8046 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
8047 34;
8048
8049 void Swap(ExpParameter* other);
swap(ExpParameter & a,ExpParameter & b)8050 friend void swap(ExpParameter& a, ExpParameter& b) {
8051 a.Swap(&b);
8052 }
8053
8054 // implements Message ----------------------------------------------
8055
New()8056 inline ExpParameter* New() const PROTOBUF_FINAL { return New(NULL); }
8057
8058 ExpParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
8059 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8060 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8061 void CopyFrom(const ExpParameter& from);
8062 void MergeFrom(const ExpParameter& from);
8063 void Clear() PROTOBUF_FINAL;
8064 bool IsInitialized() const PROTOBUF_FINAL;
8065
8066 size_t ByteSizeLong() const PROTOBUF_FINAL;
8067 bool MergePartialFromCodedStream(
8068 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
8069 void SerializeWithCachedSizes(
8070 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
8071 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
8072 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()8073 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
8074 private:
8075 void SharedCtor();
8076 void SharedDtor();
8077 void SetCachedSize(int size) const PROTOBUF_FINAL;
8078 void InternalSwap(ExpParameter* other);
8079 private:
GetArenaNoVirtual()8080 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
8081 return NULL;
8082 }
MaybeArenaPtr()8083 inline void* MaybeArenaPtr() const {
8084 return NULL;
8085 }
8086 public:
8087
8088 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
8089
8090 // nested types ----------------------------------------------------
8091
8092 // accessors -------------------------------------------------------
8093
8094 // optional float shift = 3 [default = 0];
8095 bool has_shift() const;
8096 void clear_shift();
8097 static const int kShiftFieldNumber = 3;
8098 float shift() const;
8099 void set_shift(float value);
8100
8101 // optional float base = 1 [default = -1];
8102 bool has_base() const;
8103 void clear_base();
8104 static const int kBaseFieldNumber = 1;
8105 float base() const;
8106 void set_base(float value);
8107
8108 // optional float scale = 2 [default = 1];
8109 bool has_scale() const;
8110 void clear_scale();
8111 static const int kScaleFieldNumber = 2;
8112 float scale() const;
8113 void set_scale(float value);
8114
8115 // @@protoc_insertion_point(class_scope:opencv_caffe.ExpParameter)
8116 private:
8117 void set_has_base();
8118 void clear_has_base();
8119 void set_has_scale();
8120 void clear_has_scale();
8121 void set_has_shift();
8122 void clear_has_shift();
8123
8124 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
8125 ::google::protobuf::internal::HasBits<1> _has_bits_;
8126 mutable int _cached_size_;
8127 float shift_;
8128 float base_;
8129 float scale_;
8130 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
8131 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsExpParameterImpl();
8132 };
8133 // -------------------------------------------------------------------
8134
8135 class FlattenParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.FlattenParameter) */ {
8136 public:
8137 FlattenParameter();
8138 virtual ~FlattenParameter();
8139
8140 FlattenParameter(const FlattenParameter& from);
8141
8142 inline FlattenParameter& operator=(const FlattenParameter& from) {
8143 CopyFrom(from);
8144 return *this;
8145 }
8146 #if LANG_CXX11
FlattenParameter(FlattenParameter && from)8147 FlattenParameter(FlattenParameter&& from) noexcept
8148 : FlattenParameter() {
8149 *this = ::std::move(from);
8150 }
8151
8152 inline FlattenParameter& operator=(FlattenParameter&& from) noexcept {
8153 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8154 if (this != &from) InternalSwap(&from);
8155 } else {
8156 CopyFrom(from);
8157 }
8158 return *this;
8159 }
8160 #endif
unknown_fields()8161 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
8162 return _internal_metadata_.unknown_fields();
8163 }
mutable_unknown_fields()8164 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
8165 return _internal_metadata_.mutable_unknown_fields();
8166 }
8167
8168 static const ::google::protobuf::Descriptor* descriptor();
8169 static const FlattenParameter& default_instance();
8170
8171 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8172 static inline const FlattenParameter* internal_default_instance() {
8173 return reinterpret_cast<const FlattenParameter*>(
8174 &_FlattenParameter_default_instance_);
8175 }
8176 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
8177 35;
8178
8179 void Swap(FlattenParameter* other);
swap(FlattenParameter & a,FlattenParameter & b)8180 friend void swap(FlattenParameter& a, FlattenParameter& b) {
8181 a.Swap(&b);
8182 }
8183
8184 // implements Message ----------------------------------------------
8185
New()8186 inline FlattenParameter* New() const PROTOBUF_FINAL { return New(NULL); }
8187
8188 FlattenParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
8189 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8190 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8191 void CopyFrom(const FlattenParameter& from);
8192 void MergeFrom(const FlattenParameter& from);
8193 void Clear() PROTOBUF_FINAL;
8194 bool IsInitialized() const PROTOBUF_FINAL;
8195
8196 size_t ByteSizeLong() const PROTOBUF_FINAL;
8197 bool MergePartialFromCodedStream(
8198 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
8199 void SerializeWithCachedSizes(
8200 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
8201 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
8202 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()8203 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
8204 private:
8205 void SharedCtor();
8206 void SharedDtor();
8207 void SetCachedSize(int size) const PROTOBUF_FINAL;
8208 void InternalSwap(FlattenParameter* other);
8209 private:
GetArenaNoVirtual()8210 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
8211 return NULL;
8212 }
MaybeArenaPtr()8213 inline void* MaybeArenaPtr() const {
8214 return NULL;
8215 }
8216 public:
8217
8218 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
8219
8220 // nested types ----------------------------------------------------
8221
8222 // accessors -------------------------------------------------------
8223
8224 // optional int32 axis = 1 [default = 1];
8225 bool has_axis() const;
8226 void clear_axis();
8227 static const int kAxisFieldNumber = 1;
8228 ::google::protobuf::int32 axis() const;
8229 void set_axis(::google::protobuf::int32 value);
8230
8231 // optional int32 end_axis = 2 [default = -1];
8232 bool has_end_axis() const;
8233 void clear_end_axis();
8234 static const int kEndAxisFieldNumber = 2;
8235 ::google::protobuf::int32 end_axis() const;
8236 void set_end_axis(::google::protobuf::int32 value);
8237
8238 // @@protoc_insertion_point(class_scope:opencv_caffe.FlattenParameter)
8239 private:
8240 void set_has_axis();
8241 void clear_has_axis();
8242 void set_has_end_axis();
8243 void clear_has_end_axis();
8244
8245 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
8246 ::google::protobuf::internal::HasBits<1> _has_bits_;
8247 mutable int _cached_size_;
8248 ::google::protobuf::int32 axis_;
8249 ::google::protobuf::int32 end_axis_;
8250 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
8251 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsFlattenParameterImpl();
8252 };
8253 // -------------------------------------------------------------------
8254
8255 class HDF5DataParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.HDF5DataParameter) */ {
8256 public:
8257 HDF5DataParameter();
8258 virtual ~HDF5DataParameter();
8259
8260 HDF5DataParameter(const HDF5DataParameter& from);
8261
8262 inline HDF5DataParameter& operator=(const HDF5DataParameter& from) {
8263 CopyFrom(from);
8264 return *this;
8265 }
8266 #if LANG_CXX11
HDF5DataParameter(HDF5DataParameter && from)8267 HDF5DataParameter(HDF5DataParameter&& from) noexcept
8268 : HDF5DataParameter() {
8269 *this = ::std::move(from);
8270 }
8271
8272 inline HDF5DataParameter& operator=(HDF5DataParameter&& from) noexcept {
8273 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8274 if (this != &from) InternalSwap(&from);
8275 } else {
8276 CopyFrom(from);
8277 }
8278 return *this;
8279 }
8280 #endif
unknown_fields()8281 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
8282 return _internal_metadata_.unknown_fields();
8283 }
mutable_unknown_fields()8284 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
8285 return _internal_metadata_.mutable_unknown_fields();
8286 }
8287
8288 static const ::google::protobuf::Descriptor* descriptor();
8289 static const HDF5DataParameter& default_instance();
8290
8291 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8292 static inline const HDF5DataParameter* internal_default_instance() {
8293 return reinterpret_cast<const HDF5DataParameter*>(
8294 &_HDF5DataParameter_default_instance_);
8295 }
8296 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
8297 36;
8298
8299 void Swap(HDF5DataParameter* other);
swap(HDF5DataParameter & a,HDF5DataParameter & b)8300 friend void swap(HDF5DataParameter& a, HDF5DataParameter& b) {
8301 a.Swap(&b);
8302 }
8303
8304 // implements Message ----------------------------------------------
8305
New()8306 inline HDF5DataParameter* New() const PROTOBUF_FINAL { return New(NULL); }
8307
8308 HDF5DataParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
8309 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8310 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8311 void CopyFrom(const HDF5DataParameter& from);
8312 void MergeFrom(const HDF5DataParameter& from);
8313 void Clear() PROTOBUF_FINAL;
8314 bool IsInitialized() const PROTOBUF_FINAL;
8315
8316 size_t ByteSizeLong() const PROTOBUF_FINAL;
8317 bool MergePartialFromCodedStream(
8318 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
8319 void SerializeWithCachedSizes(
8320 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
8321 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
8322 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()8323 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
8324 private:
8325 void SharedCtor();
8326 void SharedDtor();
8327 void SetCachedSize(int size) const PROTOBUF_FINAL;
8328 void InternalSwap(HDF5DataParameter* other);
8329 private:
GetArenaNoVirtual()8330 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
8331 return NULL;
8332 }
MaybeArenaPtr()8333 inline void* MaybeArenaPtr() const {
8334 return NULL;
8335 }
8336 public:
8337
8338 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
8339
8340 // nested types ----------------------------------------------------
8341
8342 // accessors -------------------------------------------------------
8343
8344 // optional string source = 1;
8345 bool has_source() const;
8346 void clear_source();
8347 static const int kSourceFieldNumber = 1;
8348 const ::std::string& source() const;
8349 void set_source(const ::std::string& value);
8350 #if LANG_CXX11
8351 void set_source(::std::string&& value);
8352 #endif
8353 void set_source(const char* value);
8354 void set_source(const char* value, size_t size);
8355 ::std::string* mutable_source();
8356 ::std::string* release_source();
8357 void set_allocated_source(::std::string* source);
8358
8359 // optional uint32 batch_size = 2;
8360 bool has_batch_size() const;
8361 void clear_batch_size();
8362 static const int kBatchSizeFieldNumber = 2;
8363 ::google::protobuf::uint32 batch_size() const;
8364 void set_batch_size(::google::protobuf::uint32 value);
8365
8366 // optional bool shuffle = 3 [default = false];
8367 bool has_shuffle() const;
8368 void clear_shuffle();
8369 static const int kShuffleFieldNumber = 3;
8370 bool shuffle() const;
8371 void set_shuffle(bool value);
8372
8373 // @@protoc_insertion_point(class_scope:opencv_caffe.HDF5DataParameter)
8374 private:
8375 void set_has_source();
8376 void clear_has_source();
8377 void set_has_batch_size();
8378 void clear_has_batch_size();
8379 void set_has_shuffle();
8380 void clear_has_shuffle();
8381
8382 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
8383 ::google::protobuf::internal::HasBits<1> _has_bits_;
8384 mutable int _cached_size_;
8385 ::google::protobuf::internal::ArenaStringPtr source_;
8386 ::google::protobuf::uint32 batch_size_;
8387 bool shuffle_;
8388 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
8389 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsHDF5DataParameterImpl();
8390 };
8391 // -------------------------------------------------------------------
8392
8393 class HDF5OutputParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.HDF5OutputParameter) */ {
8394 public:
8395 HDF5OutputParameter();
8396 virtual ~HDF5OutputParameter();
8397
8398 HDF5OutputParameter(const HDF5OutputParameter& from);
8399
8400 inline HDF5OutputParameter& operator=(const HDF5OutputParameter& from) {
8401 CopyFrom(from);
8402 return *this;
8403 }
8404 #if LANG_CXX11
HDF5OutputParameter(HDF5OutputParameter && from)8405 HDF5OutputParameter(HDF5OutputParameter&& from) noexcept
8406 : HDF5OutputParameter() {
8407 *this = ::std::move(from);
8408 }
8409
8410 inline HDF5OutputParameter& operator=(HDF5OutputParameter&& from) noexcept {
8411 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8412 if (this != &from) InternalSwap(&from);
8413 } else {
8414 CopyFrom(from);
8415 }
8416 return *this;
8417 }
8418 #endif
unknown_fields()8419 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
8420 return _internal_metadata_.unknown_fields();
8421 }
mutable_unknown_fields()8422 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
8423 return _internal_metadata_.mutable_unknown_fields();
8424 }
8425
8426 static const ::google::protobuf::Descriptor* descriptor();
8427 static const HDF5OutputParameter& default_instance();
8428
8429 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8430 static inline const HDF5OutputParameter* internal_default_instance() {
8431 return reinterpret_cast<const HDF5OutputParameter*>(
8432 &_HDF5OutputParameter_default_instance_);
8433 }
8434 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
8435 37;
8436
8437 void Swap(HDF5OutputParameter* other);
swap(HDF5OutputParameter & a,HDF5OutputParameter & b)8438 friend void swap(HDF5OutputParameter& a, HDF5OutputParameter& b) {
8439 a.Swap(&b);
8440 }
8441
8442 // implements Message ----------------------------------------------
8443
New()8444 inline HDF5OutputParameter* New() const PROTOBUF_FINAL { return New(NULL); }
8445
8446 HDF5OutputParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
8447 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8448 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8449 void CopyFrom(const HDF5OutputParameter& from);
8450 void MergeFrom(const HDF5OutputParameter& from);
8451 void Clear() PROTOBUF_FINAL;
8452 bool IsInitialized() const PROTOBUF_FINAL;
8453
8454 size_t ByteSizeLong() const PROTOBUF_FINAL;
8455 bool MergePartialFromCodedStream(
8456 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
8457 void SerializeWithCachedSizes(
8458 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
8459 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
8460 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()8461 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
8462 private:
8463 void SharedCtor();
8464 void SharedDtor();
8465 void SetCachedSize(int size) const PROTOBUF_FINAL;
8466 void InternalSwap(HDF5OutputParameter* other);
8467 private:
GetArenaNoVirtual()8468 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
8469 return NULL;
8470 }
MaybeArenaPtr()8471 inline void* MaybeArenaPtr() const {
8472 return NULL;
8473 }
8474 public:
8475
8476 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
8477
8478 // nested types ----------------------------------------------------
8479
8480 // accessors -------------------------------------------------------
8481
8482 // optional string file_name = 1;
8483 bool has_file_name() const;
8484 void clear_file_name();
8485 static const int kFileNameFieldNumber = 1;
8486 const ::std::string& file_name() const;
8487 void set_file_name(const ::std::string& value);
8488 #if LANG_CXX11
8489 void set_file_name(::std::string&& value);
8490 #endif
8491 void set_file_name(const char* value);
8492 void set_file_name(const char* value, size_t size);
8493 ::std::string* mutable_file_name();
8494 ::std::string* release_file_name();
8495 void set_allocated_file_name(::std::string* file_name);
8496
8497 // @@protoc_insertion_point(class_scope:opencv_caffe.HDF5OutputParameter)
8498 private:
8499 void set_has_file_name();
8500 void clear_has_file_name();
8501
8502 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
8503 ::google::protobuf::internal::HasBits<1> _has_bits_;
8504 mutable int _cached_size_;
8505 ::google::protobuf::internal::ArenaStringPtr file_name_;
8506 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
8507 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsHDF5OutputParameterImpl();
8508 };
8509 // -------------------------------------------------------------------
8510
8511 class HingeLossParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.HingeLossParameter) */ {
8512 public:
8513 HingeLossParameter();
8514 virtual ~HingeLossParameter();
8515
8516 HingeLossParameter(const HingeLossParameter& from);
8517
8518 inline HingeLossParameter& operator=(const HingeLossParameter& from) {
8519 CopyFrom(from);
8520 return *this;
8521 }
8522 #if LANG_CXX11
HingeLossParameter(HingeLossParameter && from)8523 HingeLossParameter(HingeLossParameter&& from) noexcept
8524 : HingeLossParameter() {
8525 *this = ::std::move(from);
8526 }
8527
8528 inline HingeLossParameter& operator=(HingeLossParameter&& from) noexcept {
8529 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8530 if (this != &from) InternalSwap(&from);
8531 } else {
8532 CopyFrom(from);
8533 }
8534 return *this;
8535 }
8536 #endif
unknown_fields()8537 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
8538 return _internal_metadata_.unknown_fields();
8539 }
mutable_unknown_fields()8540 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
8541 return _internal_metadata_.mutable_unknown_fields();
8542 }
8543
8544 static const ::google::protobuf::Descriptor* descriptor();
8545 static const HingeLossParameter& default_instance();
8546
8547 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8548 static inline const HingeLossParameter* internal_default_instance() {
8549 return reinterpret_cast<const HingeLossParameter*>(
8550 &_HingeLossParameter_default_instance_);
8551 }
8552 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
8553 38;
8554
8555 void Swap(HingeLossParameter* other);
swap(HingeLossParameter & a,HingeLossParameter & b)8556 friend void swap(HingeLossParameter& a, HingeLossParameter& b) {
8557 a.Swap(&b);
8558 }
8559
8560 // implements Message ----------------------------------------------
8561
New()8562 inline HingeLossParameter* New() const PROTOBUF_FINAL { return New(NULL); }
8563
8564 HingeLossParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
8565 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8566 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8567 void CopyFrom(const HingeLossParameter& from);
8568 void MergeFrom(const HingeLossParameter& from);
8569 void Clear() PROTOBUF_FINAL;
8570 bool IsInitialized() const PROTOBUF_FINAL;
8571
8572 size_t ByteSizeLong() const PROTOBUF_FINAL;
8573 bool MergePartialFromCodedStream(
8574 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
8575 void SerializeWithCachedSizes(
8576 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
8577 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
8578 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()8579 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
8580 private:
8581 void SharedCtor();
8582 void SharedDtor();
8583 void SetCachedSize(int size) const PROTOBUF_FINAL;
8584 void InternalSwap(HingeLossParameter* other);
8585 private:
GetArenaNoVirtual()8586 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
8587 return NULL;
8588 }
MaybeArenaPtr()8589 inline void* MaybeArenaPtr() const {
8590 return NULL;
8591 }
8592 public:
8593
8594 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
8595
8596 // nested types ----------------------------------------------------
8597
8598 typedef HingeLossParameter_Norm Norm;
8599 static const Norm L1 =
8600 HingeLossParameter_Norm_L1;
8601 static const Norm L2 =
8602 HingeLossParameter_Norm_L2;
Norm_IsValid(int value)8603 static inline bool Norm_IsValid(int value) {
8604 return HingeLossParameter_Norm_IsValid(value);
8605 }
8606 static const Norm Norm_MIN =
8607 HingeLossParameter_Norm_Norm_MIN;
8608 static const Norm Norm_MAX =
8609 HingeLossParameter_Norm_Norm_MAX;
8610 static const int Norm_ARRAYSIZE =
8611 HingeLossParameter_Norm_Norm_ARRAYSIZE;
8612 static inline const ::google::protobuf::EnumDescriptor*
Norm_descriptor()8613 Norm_descriptor() {
8614 return HingeLossParameter_Norm_descriptor();
8615 }
Norm_Name(Norm value)8616 static inline const ::std::string& Norm_Name(Norm value) {
8617 return HingeLossParameter_Norm_Name(value);
8618 }
Norm_Parse(const::std::string & name,Norm * value)8619 static inline bool Norm_Parse(const ::std::string& name,
8620 Norm* value) {
8621 return HingeLossParameter_Norm_Parse(name, value);
8622 }
8623
8624 // accessors -------------------------------------------------------
8625
8626 // optional .opencv_caffe.HingeLossParameter.Norm norm = 1 [default = L1];
8627 bool has_norm() const;
8628 void clear_norm();
8629 static const int kNormFieldNumber = 1;
8630 ::opencv_caffe::HingeLossParameter_Norm norm() const;
8631 void set_norm(::opencv_caffe::HingeLossParameter_Norm value);
8632
8633 // @@protoc_insertion_point(class_scope:opencv_caffe.HingeLossParameter)
8634 private:
8635 void set_has_norm();
8636 void clear_has_norm();
8637
8638 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
8639 ::google::protobuf::internal::HasBits<1> _has_bits_;
8640 mutable int _cached_size_;
8641 int norm_;
8642 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
8643 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsHingeLossParameterImpl();
8644 };
8645 // -------------------------------------------------------------------
8646
8647 class ImageDataParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ImageDataParameter) */ {
8648 public:
8649 ImageDataParameter();
8650 virtual ~ImageDataParameter();
8651
8652 ImageDataParameter(const ImageDataParameter& from);
8653
8654 inline ImageDataParameter& operator=(const ImageDataParameter& from) {
8655 CopyFrom(from);
8656 return *this;
8657 }
8658 #if LANG_CXX11
ImageDataParameter(ImageDataParameter && from)8659 ImageDataParameter(ImageDataParameter&& from) noexcept
8660 : ImageDataParameter() {
8661 *this = ::std::move(from);
8662 }
8663
8664 inline ImageDataParameter& operator=(ImageDataParameter&& from) noexcept {
8665 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8666 if (this != &from) InternalSwap(&from);
8667 } else {
8668 CopyFrom(from);
8669 }
8670 return *this;
8671 }
8672 #endif
unknown_fields()8673 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
8674 return _internal_metadata_.unknown_fields();
8675 }
mutable_unknown_fields()8676 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
8677 return _internal_metadata_.mutable_unknown_fields();
8678 }
8679
8680 static const ::google::protobuf::Descriptor* descriptor();
8681 static const ImageDataParameter& default_instance();
8682
8683 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8684 static inline const ImageDataParameter* internal_default_instance() {
8685 return reinterpret_cast<const ImageDataParameter*>(
8686 &_ImageDataParameter_default_instance_);
8687 }
8688 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
8689 39;
8690
8691 void Swap(ImageDataParameter* other);
swap(ImageDataParameter & a,ImageDataParameter & b)8692 friend void swap(ImageDataParameter& a, ImageDataParameter& b) {
8693 a.Swap(&b);
8694 }
8695
8696 // implements Message ----------------------------------------------
8697
New()8698 inline ImageDataParameter* New() const PROTOBUF_FINAL { return New(NULL); }
8699
8700 ImageDataParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
8701 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8702 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8703 void CopyFrom(const ImageDataParameter& from);
8704 void MergeFrom(const ImageDataParameter& from);
8705 void Clear() PROTOBUF_FINAL;
8706 bool IsInitialized() const PROTOBUF_FINAL;
8707
8708 size_t ByteSizeLong() const PROTOBUF_FINAL;
8709 bool MergePartialFromCodedStream(
8710 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
8711 void SerializeWithCachedSizes(
8712 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
8713 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
8714 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()8715 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
8716 private:
8717 void SharedCtor();
8718 void SharedDtor();
8719 void SetCachedSize(int size) const PROTOBUF_FINAL;
8720 void InternalSwap(ImageDataParameter* other);
8721 private:
GetArenaNoVirtual()8722 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
8723 return NULL;
8724 }
MaybeArenaPtr()8725 inline void* MaybeArenaPtr() const {
8726 return NULL;
8727 }
8728 public:
8729
8730 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
8731
8732 // nested types ----------------------------------------------------
8733
8734 // accessors -------------------------------------------------------
8735
8736 // optional string source = 1;
8737 bool has_source() const;
8738 void clear_source();
8739 static const int kSourceFieldNumber = 1;
8740 const ::std::string& source() const;
8741 void set_source(const ::std::string& value);
8742 #if LANG_CXX11
8743 void set_source(::std::string&& value);
8744 #endif
8745 void set_source(const char* value);
8746 void set_source(const char* value, size_t size);
8747 ::std::string* mutable_source();
8748 ::std::string* release_source();
8749 void set_allocated_source(::std::string* source);
8750
8751 // optional string mean_file = 3;
8752 bool has_mean_file() const;
8753 void clear_mean_file();
8754 static const int kMeanFileFieldNumber = 3;
8755 const ::std::string& mean_file() const;
8756 void set_mean_file(const ::std::string& value);
8757 #if LANG_CXX11
8758 void set_mean_file(::std::string&& value);
8759 #endif
8760 void set_mean_file(const char* value);
8761 void set_mean_file(const char* value, size_t size);
8762 ::std::string* mutable_mean_file();
8763 ::std::string* release_mean_file();
8764 void set_allocated_mean_file(::std::string* mean_file);
8765
8766 // optional string root_folder = 12 [default = ""];
8767 bool has_root_folder() const;
8768 void clear_root_folder();
8769 static const int kRootFolderFieldNumber = 12;
8770 const ::std::string& root_folder() const;
8771 void set_root_folder(const ::std::string& value);
8772 #if LANG_CXX11
8773 void set_root_folder(::std::string&& value);
8774 #endif
8775 void set_root_folder(const char* value);
8776 void set_root_folder(const char* value, size_t size);
8777 ::std::string* mutable_root_folder();
8778 ::std::string* release_root_folder();
8779 void set_allocated_root_folder(::std::string* root_folder);
8780
8781 // optional uint32 crop_size = 5 [default = 0];
8782 bool has_crop_size() const;
8783 void clear_crop_size();
8784 static const int kCropSizeFieldNumber = 5;
8785 ::google::protobuf::uint32 crop_size() const;
8786 void set_crop_size(::google::protobuf::uint32 value);
8787
8788 // optional uint32 rand_skip = 7 [default = 0];
8789 bool has_rand_skip() const;
8790 void clear_rand_skip();
8791 static const int kRandSkipFieldNumber = 7;
8792 ::google::protobuf::uint32 rand_skip() const;
8793 void set_rand_skip(::google::protobuf::uint32 value);
8794
8795 // optional bool shuffle = 8 [default = false];
8796 bool has_shuffle() const;
8797 void clear_shuffle();
8798 static const int kShuffleFieldNumber = 8;
8799 bool shuffle() const;
8800 void set_shuffle(bool value);
8801
8802 // optional bool mirror = 6 [default = false];
8803 bool has_mirror() const;
8804 void clear_mirror();
8805 static const int kMirrorFieldNumber = 6;
8806 bool mirror() const;
8807 void set_mirror(bool value);
8808
8809 // optional uint32 new_height = 9 [default = 0];
8810 bool has_new_height() const;
8811 void clear_new_height();
8812 static const int kNewHeightFieldNumber = 9;
8813 ::google::protobuf::uint32 new_height() const;
8814 void set_new_height(::google::protobuf::uint32 value);
8815
8816 // optional uint32 new_width = 10 [default = 0];
8817 bool has_new_width() const;
8818 void clear_new_width();
8819 static const int kNewWidthFieldNumber = 10;
8820 ::google::protobuf::uint32 new_width() const;
8821 void set_new_width(::google::protobuf::uint32 value);
8822
8823 // optional bool is_color = 11 [default = true];
8824 bool has_is_color() const;
8825 void clear_is_color();
8826 static const int kIsColorFieldNumber = 11;
8827 bool is_color() const;
8828 void set_is_color(bool value);
8829
8830 // optional float scale = 2 [default = 1];
8831 bool has_scale() const;
8832 void clear_scale();
8833 static const int kScaleFieldNumber = 2;
8834 float scale() const;
8835 void set_scale(float value);
8836
8837 // optional uint32 batch_size = 4 [default = 1];
8838 bool has_batch_size() const;
8839 void clear_batch_size();
8840 static const int kBatchSizeFieldNumber = 4;
8841 ::google::protobuf::uint32 batch_size() const;
8842 void set_batch_size(::google::protobuf::uint32 value);
8843
8844 // @@protoc_insertion_point(class_scope:opencv_caffe.ImageDataParameter)
8845 private:
8846 void set_has_source();
8847 void clear_has_source();
8848 void set_has_batch_size();
8849 void clear_has_batch_size();
8850 void set_has_rand_skip();
8851 void clear_has_rand_skip();
8852 void set_has_shuffle();
8853 void clear_has_shuffle();
8854 void set_has_new_height();
8855 void clear_has_new_height();
8856 void set_has_new_width();
8857 void clear_has_new_width();
8858 void set_has_is_color();
8859 void clear_has_is_color();
8860 void set_has_scale();
8861 void clear_has_scale();
8862 void set_has_mean_file();
8863 void clear_has_mean_file();
8864 void set_has_crop_size();
8865 void clear_has_crop_size();
8866 void set_has_mirror();
8867 void clear_has_mirror();
8868 void set_has_root_folder();
8869 void clear_has_root_folder();
8870
8871 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
8872 ::google::protobuf::internal::HasBits<1> _has_bits_;
8873 mutable int _cached_size_;
8874 ::google::protobuf::internal::ArenaStringPtr source_;
8875 ::google::protobuf::internal::ArenaStringPtr mean_file_;
8876 ::google::protobuf::internal::ArenaStringPtr root_folder_;
8877 ::google::protobuf::uint32 crop_size_;
8878 ::google::protobuf::uint32 rand_skip_;
8879 bool shuffle_;
8880 bool mirror_;
8881 ::google::protobuf::uint32 new_height_;
8882 ::google::protobuf::uint32 new_width_;
8883 bool is_color_;
8884 float scale_;
8885 ::google::protobuf::uint32 batch_size_;
8886 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
8887 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsImageDataParameterImpl();
8888 };
8889 // -------------------------------------------------------------------
8890
8891 class InfogainLossParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.InfogainLossParameter) */ {
8892 public:
8893 InfogainLossParameter();
8894 virtual ~InfogainLossParameter();
8895
8896 InfogainLossParameter(const InfogainLossParameter& from);
8897
8898 inline InfogainLossParameter& operator=(const InfogainLossParameter& from) {
8899 CopyFrom(from);
8900 return *this;
8901 }
8902 #if LANG_CXX11
InfogainLossParameter(InfogainLossParameter && from)8903 InfogainLossParameter(InfogainLossParameter&& from) noexcept
8904 : InfogainLossParameter() {
8905 *this = ::std::move(from);
8906 }
8907
8908 inline InfogainLossParameter& operator=(InfogainLossParameter&& from) noexcept {
8909 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
8910 if (this != &from) InternalSwap(&from);
8911 } else {
8912 CopyFrom(from);
8913 }
8914 return *this;
8915 }
8916 #endif
unknown_fields()8917 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
8918 return _internal_metadata_.unknown_fields();
8919 }
mutable_unknown_fields()8920 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
8921 return _internal_metadata_.mutable_unknown_fields();
8922 }
8923
8924 static const ::google::protobuf::Descriptor* descriptor();
8925 static const InfogainLossParameter& default_instance();
8926
8927 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()8928 static inline const InfogainLossParameter* internal_default_instance() {
8929 return reinterpret_cast<const InfogainLossParameter*>(
8930 &_InfogainLossParameter_default_instance_);
8931 }
8932 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
8933 40;
8934
8935 void Swap(InfogainLossParameter* other);
swap(InfogainLossParameter & a,InfogainLossParameter & b)8936 friend void swap(InfogainLossParameter& a, InfogainLossParameter& b) {
8937 a.Swap(&b);
8938 }
8939
8940 // implements Message ----------------------------------------------
8941
New()8942 inline InfogainLossParameter* New() const PROTOBUF_FINAL { return New(NULL); }
8943
8944 InfogainLossParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
8945 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8946 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
8947 void CopyFrom(const InfogainLossParameter& from);
8948 void MergeFrom(const InfogainLossParameter& from);
8949 void Clear() PROTOBUF_FINAL;
8950 bool IsInitialized() const PROTOBUF_FINAL;
8951
8952 size_t ByteSizeLong() const PROTOBUF_FINAL;
8953 bool MergePartialFromCodedStream(
8954 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
8955 void SerializeWithCachedSizes(
8956 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
8957 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
8958 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()8959 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
8960 private:
8961 void SharedCtor();
8962 void SharedDtor();
8963 void SetCachedSize(int size) const PROTOBUF_FINAL;
8964 void InternalSwap(InfogainLossParameter* other);
8965 private:
GetArenaNoVirtual()8966 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
8967 return NULL;
8968 }
MaybeArenaPtr()8969 inline void* MaybeArenaPtr() const {
8970 return NULL;
8971 }
8972 public:
8973
8974 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
8975
8976 // nested types ----------------------------------------------------
8977
8978 // accessors -------------------------------------------------------
8979
8980 // optional string source = 1;
8981 bool has_source() const;
8982 void clear_source();
8983 static const int kSourceFieldNumber = 1;
8984 const ::std::string& source() const;
8985 void set_source(const ::std::string& value);
8986 #if LANG_CXX11
8987 void set_source(::std::string&& value);
8988 #endif
8989 void set_source(const char* value);
8990 void set_source(const char* value, size_t size);
8991 ::std::string* mutable_source();
8992 ::std::string* release_source();
8993 void set_allocated_source(::std::string* source);
8994
8995 // @@protoc_insertion_point(class_scope:opencv_caffe.InfogainLossParameter)
8996 private:
8997 void set_has_source();
8998 void clear_has_source();
8999
9000 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
9001 ::google::protobuf::internal::HasBits<1> _has_bits_;
9002 mutable int _cached_size_;
9003 ::google::protobuf::internal::ArenaStringPtr source_;
9004 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
9005 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsInfogainLossParameterImpl();
9006 };
9007 // -------------------------------------------------------------------
9008
9009 class InnerProductParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.InnerProductParameter) */ {
9010 public:
9011 InnerProductParameter();
9012 virtual ~InnerProductParameter();
9013
9014 InnerProductParameter(const InnerProductParameter& from);
9015
9016 inline InnerProductParameter& operator=(const InnerProductParameter& from) {
9017 CopyFrom(from);
9018 return *this;
9019 }
9020 #if LANG_CXX11
InnerProductParameter(InnerProductParameter && from)9021 InnerProductParameter(InnerProductParameter&& from) noexcept
9022 : InnerProductParameter() {
9023 *this = ::std::move(from);
9024 }
9025
9026 inline InnerProductParameter& operator=(InnerProductParameter&& from) noexcept {
9027 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9028 if (this != &from) InternalSwap(&from);
9029 } else {
9030 CopyFrom(from);
9031 }
9032 return *this;
9033 }
9034 #endif
unknown_fields()9035 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
9036 return _internal_metadata_.unknown_fields();
9037 }
mutable_unknown_fields()9038 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
9039 return _internal_metadata_.mutable_unknown_fields();
9040 }
9041
9042 static const ::google::protobuf::Descriptor* descriptor();
9043 static const InnerProductParameter& default_instance();
9044
9045 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9046 static inline const InnerProductParameter* internal_default_instance() {
9047 return reinterpret_cast<const InnerProductParameter*>(
9048 &_InnerProductParameter_default_instance_);
9049 }
9050 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
9051 41;
9052
9053 void Swap(InnerProductParameter* other);
swap(InnerProductParameter & a,InnerProductParameter & b)9054 friend void swap(InnerProductParameter& a, InnerProductParameter& b) {
9055 a.Swap(&b);
9056 }
9057
9058 // implements Message ----------------------------------------------
9059
New()9060 inline InnerProductParameter* New() const PROTOBUF_FINAL { return New(NULL); }
9061
9062 InnerProductParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
9063 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9064 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9065 void CopyFrom(const InnerProductParameter& from);
9066 void MergeFrom(const InnerProductParameter& from);
9067 void Clear() PROTOBUF_FINAL;
9068 bool IsInitialized() const PROTOBUF_FINAL;
9069
9070 size_t ByteSizeLong() const PROTOBUF_FINAL;
9071 bool MergePartialFromCodedStream(
9072 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
9073 void SerializeWithCachedSizes(
9074 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
9075 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
9076 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()9077 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
9078 private:
9079 void SharedCtor();
9080 void SharedDtor();
9081 void SetCachedSize(int size) const PROTOBUF_FINAL;
9082 void InternalSwap(InnerProductParameter* other);
9083 private:
GetArenaNoVirtual()9084 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
9085 return NULL;
9086 }
MaybeArenaPtr()9087 inline void* MaybeArenaPtr() const {
9088 return NULL;
9089 }
9090 public:
9091
9092 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
9093
9094 // nested types ----------------------------------------------------
9095
9096 // accessors -------------------------------------------------------
9097
9098 // optional .opencv_caffe.FillerParameter weight_filler = 3;
9099 bool has_weight_filler() const;
9100 void clear_weight_filler();
9101 static const int kWeightFillerFieldNumber = 3;
9102 const ::opencv_caffe::FillerParameter& weight_filler() const;
9103 ::opencv_caffe::FillerParameter* release_weight_filler();
9104 ::opencv_caffe::FillerParameter* mutable_weight_filler();
9105 void set_allocated_weight_filler(::opencv_caffe::FillerParameter* weight_filler);
9106
9107 // optional .opencv_caffe.FillerParameter bias_filler = 4;
9108 bool has_bias_filler() const;
9109 void clear_bias_filler();
9110 static const int kBiasFillerFieldNumber = 4;
9111 const ::opencv_caffe::FillerParameter& bias_filler() const;
9112 ::opencv_caffe::FillerParameter* release_bias_filler();
9113 ::opencv_caffe::FillerParameter* mutable_bias_filler();
9114 void set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler);
9115
9116 // optional uint32 num_output = 1;
9117 bool has_num_output() const;
9118 void clear_num_output();
9119 static const int kNumOutputFieldNumber = 1;
9120 ::google::protobuf::uint32 num_output() const;
9121 void set_num_output(::google::protobuf::uint32 value);
9122
9123 // optional bool transpose = 6 [default = false];
9124 bool has_transpose() const;
9125 void clear_transpose();
9126 static const int kTransposeFieldNumber = 6;
9127 bool transpose() const;
9128 void set_transpose(bool value);
9129
9130 // optional bool bias_term = 2 [default = true];
9131 bool has_bias_term() const;
9132 void clear_bias_term();
9133 static const int kBiasTermFieldNumber = 2;
9134 bool bias_term() const;
9135 void set_bias_term(bool value);
9136
9137 // optional int32 axis = 5 [default = 1];
9138 bool has_axis() const;
9139 void clear_axis();
9140 static const int kAxisFieldNumber = 5;
9141 ::google::protobuf::int32 axis() const;
9142 void set_axis(::google::protobuf::int32 value);
9143
9144 // @@protoc_insertion_point(class_scope:opencv_caffe.InnerProductParameter)
9145 private:
9146 void set_has_num_output();
9147 void clear_has_num_output();
9148 void set_has_bias_term();
9149 void clear_has_bias_term();
9150 void set_has_weight_filler();
9151 void clear_has_weight_filler();
9152 void set_has_bias_filler();
9153 void clear_has_bias_filler();
9154 void set_has_axis();
9155 void clear_has_axis();
9156 void set_has_transpose();
9157 void clear_has_transpose();
9158
9159 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
9160 ::google::protobuf::internal::HasBits<1> _has_bits_;
9161 mutable int _cached_size_;
9162 ::opencv_caffe::FillerParameter* weight_filler_;
9163 ::opencv_caffe::FillerParameter* bias_filler_;
9164 ::google::protobuf::uint32 num_output_;
9165 bool transpose_;
9166 bool bias_term_;
9167 ::google::protobuf::int32 axis_;
9168 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
9169 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsInnerProductParameterImpl();
9170 };
9171 // -------------------------------------------------------------------
9172
9173 class InputParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.InputParameter) */ {
9174 public:
9175 InputParameter();
9176 virtual ~InputParameter();
9177
9178 InputParameter(const InputParameter& from);
9179
9180 inline InputParameter& operator=(const InputParameter& from) {
9181 CopyFrom(from);
9182 return *this;
9183 }
9184 #if LANG_CXX11
InputParameter(InputParameter && from)9185 InputParameter(InputParameter&& from) noexcept
9186 : InputParameter() {
9187 *this = ::std::move(from);
9188 }
9189
9190 inline InputParameter& operator=(InputParameter&& from) noexcept {
9191 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9192 if (this != &from) InternalSwap(&from);
9193 } else {
9194 CopyFrom(from);
9195 }
9196 return *this;
9197 }
9198 #endif
unknown_fields()9199 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
9200 return _internal_metadata_.unknown_fields();
9201 }
mutable_unknown_fields()9202 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
9203 return _internal_metadata_.mutable_unknown_fields();
9204 }
9205
9206 static const ::google::protobuf::Descriptor* descriptor();
9207 static const InputParameter& default_instance();
9208
9209 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9210 static inline const InputParameter* internal_default_instance() {
9211 return reinterpret_cast<const InputParameter*>(
9212 &_InputParameter_default_instance_);
9213 }
9214 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
9215 42;
9216
9217 void Swap(InputParameter* other);
swap(InputParameter & a,InputParameter & b)9218 friend void swap(InputParameter& a, InputParameter& b) {
9219 a.Swap(&b);
9220 }
9221
9222 // implements Message ----------------------------------------------
9223
New()9224 inline InputParameter* New() const PROTOBUF_FINAL { return New(NULL); }
9225
9226 InputParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
9227 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9228 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9229 void CopyFrom(const InputParameter& from);
9230 void MergeFrom(const InputParameter& from);
9231 void Clear() PROTOBUF_FINAL;
9232 bool IsInitialized() const PROTOBUF_FINAL;
9233
9234 size_t ByteSizeLong() const PROTOBUF_FINAL;
9235 bool MergePartialFromCodedStream(
9236 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
9237 void SerializeWithCachedSizes(
9238 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
9239 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
9240 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()9241 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
9242 private:
9243 void SharedCtor();
9244 void SharedDtor();
9245 void SetCachedSize(int size) const PROTOBUF_FINAL;
9246 void InternalSwap(InputParameter* other);
9247 private:
GetArenaNoVirtual()9248 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
9249 return NULL;
9250 }
MaybeArenaPtr()9251 inline void* MaybeArenaPtr() const {
9252 return NULL;
9253 }
9254 public:
9255
9256 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
9257
9258 // nested types ----------------------------------------------------
9259
9260 // accessors -------------------------------------------------------
9261
9262 // repeated .opencv_caffe.BlobShape shape = 1;
9263 int shape_size() const;
9264 void clear_shape();
9265 static const int kShapeFieldNumber = 1;
9266 const ::opencv_caffe::BlobShape& shape(int index) const;
9267 ::opencv_caffe::BlobShape* mutable_shape(int index);
9268 ::opencv_caffe::BlobShape* add_shape();
9269 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >*
9270 mutable_shape();
9271 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >&
9272 shape() const;
9273
9274 // @@protoc_insertion_point(class_scope:opencv_caffe.InputParameter)
9275 private:
9276
9277 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
9278 ::google::protobuf::internal::HasBits<1> _has_bits_;
9279 mutable int _cached_size_;
9280 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape > shape_;
9281 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
9282 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsInputParameterImpl();
9283 };
9284 // -------------------------------------------------------------------
9285
9286 class LogParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.LogParameter) */ {
9287 public:
9288 LogParameter();
9289 virtual ~LogParameter();
9290
9291 LogParameter(const LogParameter& from);
9292
9293 inline LogParameter& operator=(const LogParameter& from) {
9294 CopyFrom(from);
9295 return *this;
9296 }
9297 #if LANG_CXX11
LogParameter(LogParameter && from)9298 LogParameter(LogParameter&& from) noexcept
9299 : LogParameter() {
9300 *this = ::std::move(from);
9301 }
9302
9303 inline LogParameter& operator=(LogParameter&& from) noexcept {
9304 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9305 if (this != &from) InternalSwap(&from);
9306 } else {
9307 CopyFrom(from);
9308 }
9309 return *this;
9310 }
9311 #endif
unknown_fields()9312 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
9313 return _internal_metadata_.unknown_fields();
9314 }
mutable_unknown_fields()9315 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
9316 return _internal_metadata_.mutable_unknown_fields();
9317 }
9318
9319 static const ::google::protobuf::Descriptor* descriptor();
9320 static const LogParameter& default_instance();
9321
9322 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9323 static inline const LogParameter* internal_default_instance() {
9324 return reinterpret_cast<const LogParameter*>(
9325 &_LogParameter_default_instance_);
9326 }
9327 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
9328 43;
9329
9330 void Swap(LogParameter* other);
swap(LogParameter & a,LogParameter & b)9331 friend void swap(LogParameter& a, LogParameter& b) {
9332 a.Swap(&b);
9333 }
9334
9335 // implements Message ----------------------------------------------
9336
New()9337 inline LogParameter* New() const PROTOBUF_FINAL { return New(NULL); }
9338
9339 LogParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
9340 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9341 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9342 void CopyFrom(const LogParameter& from);
9343 void MergeFrom(const LogParameter& from);
9344 void Clear() PROTOBUF_FINAL;
9345 bool IsInitialized() const PROTOBUF_FINAL;
9346
9347 size_t ByteSizeLong() const PROTOBUF_FINAL;
9348 bool MergePartialFromCodedStream(
9349 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
9350 void SerializeWithCachedSizes(
9351 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
9352 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
9353 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()9354 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
9355 private:
9356 void SharedCtor();
9357 void SharedDtor();
9358 void SetCachedSize(int size) const PROTOBUF_FINAL;
9359 void InternalSwap(LogParameter* other);
9360 private:
GetArenaNoVirtual()9361 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
9362 return NULL;
9363 }
MaybeArenaPtr()9364 inline void* MaybeArenaPtr() const {
9365 return NULL;
9366 }
9367 public:
9368
9369 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
9370
9371 // nested types ----------------------------------------------------
9372
9373 // accessors -------------------------------------------------------
9374
9375 // optional float shift = 3 [default = 0];
9376 bool has_shift() const;
9377 void clear_shift();
9378 static const int kShiftFieldNumber = 3;
9379 float shift() const;
9380 void set_shift(float value);
9381
9382 // optional float base = 1 [default = -1];
9383 bool has_base() const;
9384 void clear_base();
9385 static const int kBaseFieldNumber = 1;
9386 float base() const;
9387 void set_base(float value);
9388
9389 // optional float scale = 2 [default = 1];
9390 bool has_scale() const;
9391 void clear_scale();
9392 static const int kScaleFieldNumber = 2;
9393 float scale() const;
9394 void set_scale(float value);
9395
9396 // @@protoc_insertion_point(class_scope:opencv_caffe.LogParameter)
9397 private:
9398 void set_has_base();
9399 void clear_has_base();
9400 void set_has_scale();
9401 void clear_has_scale();
9402 void set_has_shift();
9403 void clear_has_shift();
9404
9405 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
9406 ::google::protobuf::internal::HasBits<1> _has_bits_;
9407 mutable int _cached_size_;
9408 float shift_;
9409 float base_;
9410 float scale_;
9411 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
9412 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsLogParameterImpl();
9413 };
9414 // -------------------------------------------------------------------
9415
9416 class LRNParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.LRNParameter) */ {
9417 public:
9418 LRNParameter();
9419 virtual ~LRNParameter();
9420
9421 LRNParameter(const LRNParameter& from);
9422
9423 inline LRNParameter& operator=(const LRNParameter& from) {
9424 CopyFrom(from);
9425 return *this;
9426 }
9427 #if LANG_CXX11
LRNParameter(LRNParameter && from)9428 LRNParameter(LRNParameter&& from) noexcept
9429 : LRNParameter() {
9430 *this = ::std::move(from);
9431 }
9432
9433 inline LRNParameter& operator=(LRNParameter&& from) noexcept {
9434 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9435 if (this != &from) InternalSwap(&from);
9436 } else {
9437 CopyFrom(from);
9438 }
9439 return *this;
9440 }
9441 #endif
unknown_fields()9442 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
9443 return _internal_metadata_.unknown_fields();
9444 }
mutable_unknown_fields()9445 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
9446 return _internal_metadata_.mutable_unknown_fields();
9447 }
9448
9449 static const ::google::protobuf::Descriptor* descriptor();
9450 static const LRNParameter& default_instance();
9451
9452 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9453 static inline const LRNParameter* internal_default_instance() {
9454 return reinterpret_cast<const LRNParameter*>(
9455 &_LRNParameter_default_instance_);
9456 }
9457 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
9458 44;
9459
9460 void Swap(LRNParameter* other);
swap(LRNParameter & a,LRNParameter & b)9461 friend void swap(LRNParameter& a, LRNParameter& b) {
9462 a.Swap(&b);
9463 }
9464
9465 // implements Message ----------------------------------------------
9466
New()9467 inline LRNParameter* New() const PROTOBUF_FINAL { return New(NULL); }
9468
9469 LRNParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
9470 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9471 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9472 void CopyFrom(const LRNParameter& from);
9473 void MergeFrom(const LRNParameter& from);
9474 void Clear() PROTOBUF_FINAL;
9475 bool IsInitialized() const PROTOBUF_FINAL;
9476
9477 size_t ByteSizeLong() const PROTOBUF_FINAL;
9478 bool MergePartialFromCodedStream(
9479 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
9480 void SerializeWithCachedSizes(
9481 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
9482 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
9483 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()9484 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
9485 private:
9486 void SharedCtor();
9487 void SharedDtor();
9488 void SetCachedSize(int size) const PROTOBUF_FINAL;
9489 void InternalSwap(LRNParameter* other);
9490 private:
GetArenaNoVirtual()9491 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
9492 return NULL;
9493 }
MaybeArenaPtr()9494 inline void* MaybeArenaPtr() const {
9495 return NULL;
9496 }
9497 public:
9498
9499 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
9500
9501 // nested types ----------------------------------------------------
9502
9503 typedef LRNParameter_NormRegion NormRegion;
9504 static const NormRegion ACROSS_CHANNELS =
9505 LRNParameter_NormRegion_ACROSS_CHANNELS;
9506 static const NormRegion WITHIN_CHANNEL =
9507 LRNParameter_NormRegion_WITHIN_CHANNEL;
NormRegion_IsValid(int value)9508 static inline bool NormRegion_IsValid(int value) {
9509 return LRNParameter_NormRegion_IsValid(value);
9510 }
9511 static const NormRegion NormRegion_MIN =
9512 LRNParameter_NormRegion_NormRegion_MIN;
9513 static const NormRegion NormRegion_MAX =
9514 LRNParameter_NormRegion_NormRegion_MAX;
9515 static const int NormRegion_ARRAYSIZE =
9516 LRNParameter_NormRegion_NormRegion_ARRAYSIZE;
9517 static inline const ::google::protobuf::EnumDescriptor*
NormRegion_descriptor()9518 NormRegion_descriptor() {
9519 return LRNParameter_NormRegion_descriptor();
9520 }
NormRegion_Name(NormRegion value)9521 static inline const ::std::string& NormRegion_Name(NormRegion value) {
9522 return LRNParameter_NormRegion_Name(value);
9523 }
NormRegion_Parse(const::std::string & name,NormRegion * value)9524 static inline bool NormRegion_Parse(const ::std::string& name,
9525 NormRegion* value) {
9526 return LRNParameter_NormRegion_Parse(name, value);
9527 }
9528
9529 typedef LRNParameter_Engine Engine;
9530 static const Engine DEFAULT =
9531 LRNParameter_Engine_DEFAULT;
9532 static const Engine CAFFE =
9533 LRNParameter_Engine_CAFFE;
9534 static const Engine CUDNN =
9535 LRNParameter_Engine_CUDNN;
Engine_IsValid(int value)9536 static inline bool Engine_IsValid(int value) {
9537 return LRNParameter_Engine_IsValid(value);
9538 }
9539 static const Engine Engine_MIN =
9540 LRNParameter_Engine_Engine_MIN;
9541 static const Engine Engine_MAX =
9542 LRNParameter_Engine_Engine_MAX;
9543 static const int Engine_ARRAYSIZE =
9544 LRNParameter_Engine_Engine_ARRAYSIZE;
9545 static inline const ::google::protobuf::EnumDescriptor*
Engine_descriptor()9546 Engine_descriptor() {
9547 return LRNParameter_Engine_descriptor();
9548 }
Engine_Name(Engine value)9549 static inline const ::std::string& Engine_Name(Engine value) {
9550 return LRNParameter_Engine_Name(value);
9551 }
Engine_Parse(const::std::string & name,Engine * value)9552 static inline bool Engine_Parse(const ::std::string& name,
9553 Engine* value) {
9554 return LRNParameter_Engine_Parse(name, value);
9555 }
9556
9557 // accessors -------------------------------------------------------
9558
9559 // optional .opencv_caffe.LRNParameter.NormRegion norm_region = 4 [default = ACROSS_CHANNELS];
9560 bool has_norm_region() const;
9561 void clear_norm_region();
9562 static const int kNormRegionFieldNumber = 4;
9563 ::opencv_caffe::LRNParameter_NormRegion norm_region() const;
9564 void set_norm_region(::opencv_caffe::LRNParameter_NormRegion value);
9565
9566 // optional .opencv_caffe.LRNParameter.Engine engine = 6 [default = DEFAULT];
9567 bool has_engine() const;
9568 void clear_engine();
9569 static const int kEngineFieldNumber = 6;
9570 ::opencv_caffe::LRNParameter_Engine engine() const;
9571 void set_engine(::opencv_caffe::LRNParameter_Engine value);
9572
9573 // optional uint32 local_size = 1 [default = 5];
9574 bool has_local_size() const;
9575 void clear_local_size();
9576 static const int kLocalSizeFieldNumber = 1;
9577 ::google::protobuf::uint32 local_size() const;
9578 void set_local_size(::google::protobuf::uint32 value);
9579
9580 // optional float alpha = 2 [default = 1];
9581 bool has_alpha() const;
9582 void clear_alpha();
9583 static const int kAlphaFieldNumber = 2;
9584 float alpha() const;
9585 void set_alpha(float value);
9586
9587 // optional float beta = 3 [default = 0.75];
9588 bool has_beta() const;
9589 void clear_beta();
9590 static const int kBetaFieldNumber = 3;
9591 float beta() const;
9592 void set_beta(float value);
9593
9594 // optional float k = 5 [default = 1];
9595 bool has_k() const;
9596 void clear_k();
9597 static const int kKFieldNumber = 5;
9598 float k() const;
9599 void set_k(float value);
9600
9601 // @@protoc_insertion_point(class_scope:opencv_caffe.LRNParameter)
9602 private:
9603 void set_has_local_size();
9604 void clear_has_local_size();
9605 void set_has_alpha();
9606 void clear_has_alpha();
9607 void set_has_beta();
9608 void clear_has_beta();
9609 void set_has_norm_region();
9610 void clear_has_norm_region();
9611 void set_has_k();
9612 void clear_has_k();
9613 void set_has_engine();
9614 void clear_has_engine();
9615
9616 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
9617 ::google::protobuf::internal::HasBits<1> _has_bits_;
9618 mutable int _cached_size_;
9619 int norm_region_;
9620 int engine_;
9621 ::google::protobuf::uint32 local_size_;
9622 float alpha_;
9623 float beta_;
9624 float k_;
9625 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
9626 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsLRNParameterImpl();
9627 };
9628 // -------------------------------------------------------------------
9629
9630 class MemoryDataParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.MemoryDataParameter) */ {
9631 public:
9632 MemoryDataParameter();
9633 virtual ~MemoryDataParameter();
9634
9635 MemoryDataParameter(const MemoryDataParameter& from);
9636
9637 inline MemoryDataParameter& operator=(const MemoryDataParameter& from) {
9638 CopyFrom(from);
9639 return *this;
9640 }
9641 #if LANG_CXX11
MemoryDataParameter(MemoryDataParameter && from)9642 MemoryDataParameter(MemoryDataParameter&& from) noexcept
9643 : MemoryDataParameter() {
9644 *this = ::std::move(from);
9645 }
9646
9647 inline MemoryDataParameter& operator=(MemoryDataParameter&& from) noexcept {
9648 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9649 if (this != &from) InternalSwap(&from);
9650 } else {
9651 CopyFrom(from);
9652 }
9653 return *this;
9654 }
9655 #endif
unknown_fields()9656 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
9657 return _internal_metadata_.unknown_fields();
9658 }
mutable_unknown_fields()9659 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
9660 return _internal_metadata_.mutable_unknown_fields();
9661 }
9662
9663 static const ::google::protobuf::Descriptor* descriptor();
9664 static const MemoryDataParameter& default_instance();
9665
9666 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9667 static inline const MemoryDataParameter* internal_default_instance() {
9668 return reinterpret_cast<const MemoryDataParameter*>(
9669 &_MemoryDataParameter_default_instance_);
9670 }
9671 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
9672 45;
9673
9674 void Swap(MemoryDataParameter* other);
swap(MemoryDataParameter & a,MemoryDataParameter & b)9675 friend void swap(MemoryDataParameter& a, MemoryDataParameter& b) {
9676 a.Swap(&b);
9677 }
9678
9679 // implements Message ----------------------------------------------
9680
New()9681 inline MemoryDataParameter* New() const PROTOBUF_FINAL { return New(NULL); }
9682
9683 MemoryDataParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
9684 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9685 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9686 void CopyFrom(const MemoryDataParameter& from);
9687 void MergeFrom(const MemoryDataParameter& from);
9688 void Clear() PROTOBUF_FINAL;
9689 bool IsInitialized() const PROTOBUF_FINAL;
9690
9691 size_t ByteSizeLong() const PROTOBUF_FINAL;
9692 bool MergePartialFromCodedStream(
9693 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
9694 void SerializeWithCachedSizes(
9695 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
9696 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
9697 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()9698 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
9699 private:
9700 void SharedCtor();
9701 void SharedDtor();
9702 void SetCachedSize(int size) const PROTOBUF_FINAL;
9703 void InternalSwap(MemoryDataParameter* other);
9704 private:
GetArenaNoVirtual()9705 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
9706 return NULL;
9707 }
MaybeArenaPtr()9708 inline void* MaybeArenaPtr() const {
9709 return NULL;
9710 }
9711 public:
9712
9713 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
9714
9715 // nested types ----------------------------------------------------
9716
9717 // accessors -------------------------------------------------------
9718
9719 // optional uint32 batch_size = 1;
9720 bool has_batch_size() const;
9721 void clear_batch_size();
9722 static const int kBatchSizeFieldNumber = 1;
9723 ::google::protobuf::uint32 batch_size() const;
9724 void set_batch_size(::google::protobuf::uint32 value);
9725
9726 // optional uint32 channels = 2;
9727 bool has_channels() const;
9728 void clear_channels();
9729 static const int kChannelsFieldNumber = 2;
9730 ::google::protobuf::uint32 channels() const;
9731 void set_channels(::google::protobuf::uint32 value);
9732
9733 // optional uint32 height = 3;
9734 bool has_height() const;
9735 void clear_height();
9736 static const int kHeightFieldNumber = 3;
9737 ::google::protobuf::uint32 height() const;
9738 void set_height(::google::protobuf::uint32 value);
9739
9740 // optional uint32 width = 4;
9741 bool has_width() const;
9742 void clear_width();
9743 static const int kWidthFieldNumber = 4;
9744 ::google::protobuf::uint32 width() const;
9745 void set_width(::google::protobuf::uint32 value);
9746
9747 // @@protoc_insertion_point(class_scope:opencv_caffe.MemoryDataParameter)
9748 private:
9749 void set_has_batch_size();
9750 void clear_has_batch_size();
9751 void set_has_channels();
9752 void clear_has_channels();
9753 void set_has_height();
9754 void clear_has_height();
9755 void set_has_width();
9756 void clear_has_width();
9757
9758 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
9759 ::google::protobuf::internal::HasBits<1> _has_bits_;
9760 mutable int _cached_size_;
9761 ::google::protobuf::uint32 batch_size_;
9762 ::google::protobuf::uint32 channels_;
9763 ::google::protobuf::uint32 height_;
9764 ::google::protobuf::uint32 width_;
9765 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
9766 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsMemoryDataParameterImpl();
9767 };
9768 // -------------------------------------------------------------------
9769
9770 class MVNParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.MVNParameter) */ {
9771 public:
9772 MVNParameter();
9773 virtual ~MVNParameter();
9774
9775 MVNParameter(const MVNParameter& from);
9776
9777 inline MVNParameter& operator=(const MVNParameter& from) {
9778 CopyFrom(from);
9779 return *this;
9780 }
9781 #if LANG_CXX11
MVNParameter(MVNParameter && from)9782 MVNParameter(MVNParameter&& from) noexcept
9783 : MVNParameter() {
9784 *this = ::std::move(from);
9785 }
9786
9787 inline MVNParameter& operator=(MVNParameter&& from) noexcept {
9788 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9789 if (this != &from) InternalSwap(&from);
9790 } else {
9791 CopyFrom(from);
9792 }
9793 return *this;
9794 }
9795 #endif
unknown_fields()9796 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
9797 return _internal_metadata_.unknown_fields();
9798 }
mutable_unknown_fields()9799 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
9800 return _internal_metadata_.mutable_unknown_fields();
9801 }
9802
9803 static const ::google::protobuf::Descriptor* descriptor();
9804 static const MVNParameter& default_instance();
9805
9806 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9807 static inline const MVNParameter* internal_default_instance() {
9808 return reinterpret_cast<const MVNParameter*>(
9809 &_MVNParameter_default_instance_);
9810 }
9811 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
9812 46;
9813
9814 void Swap(MVNParameter* other);
swap(MVNParameter & a,MVNParameter & b)9815 friend void swap(MVNParameter& a, MVNParameter& b) {
9816 a.Swap(&b);
9817 }
9818
9819 // implements Message ----------------------------------------------
9820
New()9821 inline MVNParameter* New() const PROTOBUF_FINAL { return New(NULL); }
9822
9823 MVNParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
9824 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9825 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9826 void CopyFrom(const MVNParameter& from);
9827 void MergeFrom(const MVNParameter& from);
9828 void Clear() PROTOBUF_FINAL;
9829 bool IsInitialized() const PROTOBUF_FINAL;
9830
9831 size_t ByteSizeLong() const PROTOBUF_FINAL;
9832 bool MergePartialFromCodedStream(
9833 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
9834 void SerializeWithCachedSizes(
9835 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
9836 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
9837 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()9838 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
9839 private:
9840 void SharedCtor();
9841 void SharedDtor();
9842 void SetCachedSize(int size) const PROTOBUF_FINAL;
9843 void InternalSwap(MVNParameter* other);
9844 private:
GetArenaNoVirtual()9845 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
9846 return NULL;
9847 }
MaybeArenaPtr()9848 inline void* MaybeArenaPtr() const {
9849 return NULL;
9850 }
9851 public:
9852
9853 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
9854
9855 // nested types ----------------------------------------------------
9856
9857 // accessors -------------------------------------------------------
9858
9859 // optional bool across_channels = 2 [default = false];
9860 bool has_across_channels() const;
9861 void clear_across_channels();
9862 static const int kAcrossChannelsFieldNumber = 2;
9863 bool across_channels() const;
9864 void set_across_channels(bool value);
9865
9866 // optional bool normalize_variance = 1 [default = true];
9867 bool has_normalize_variance() const;
9868 void clear_normalize_variance();
9869 static const int kNormalizeVarianceFieldNumber = 1;
9870 bool normalize_variance() const;
9871 void set_normalize_variance(bool value);
9872
9873 // optional float eps = 3 [default = 1e-09];
9874 bool has_eps() const;
9875 void clear_eps();
9876 static const int kEpsFieldNumber = 3;
9877 float eps() const;
9878 void set_eps(float value);
9879
9880 // @@protoc_insertion_point(class_scope:opencv_caffe.MVNParameter)
9881 private:
9882 void set_has_normalize_variance();
9883 void clear_has_normalize_variance();
9884 void set_has_across_channels();
9885 void clear_has_across_channels();
9886 void set_has_eps();
9887 void clear_has_eps();
9888
9889 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
9890 ::google::protobuf::internal::HasBits<1> _has_bits_;
9891 mutable int _cached_size_;
9892 bool across_channels_;
9893 bool normalize_variance_;
9894 float eps_;
9895 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
9896 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsMVNParameterImpl();
9897 };
9898 // -------------------------------------------------------------------
9899
9900 class ParameterParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ParameterParameter) */ {
9901 public:
9902 ParameterParameter();
9903 virtual ~ParameterParameter();
9904
9905 ParameterParameter(const ParameterParameter& from);
9906
9907 inline ParameterParameter& operator=(const ParameterParameter& from) {
9908 CopyFrom(from);
9909 return *this;
9910 }
9911 #if LANG_CXX11
ParameterParameter(ParameterParameter && from)9912 ParameterParameter(ParameterParameter&& from) noexcept
9913 : ParameterParameter() {
9914 *this = ::std::move(from);
9915 }
9916
9917 inline ParameterParameter& operator=(ParameterParameter&& from) noexcept {
9918 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
9919 if (this != &from) InternalSwap(&from);
9920 } else {
9921 CopyFrom(from);
9922 }
9923 return *this;
9924 }
9925 #endif
unknown_fields()9926 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
9927 return _internal_metadata_.unknown_fields();
9928 }
mutable_unknown_fields()9929 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
9930 return _internal_metadata_.mutable_unknown_fields();
9931 }
9932
9933 static const ::google::protobuf::Descriptor* descriptor();
9934 static const ParameterParameter& default_instance();
9935
9936 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()9937 static inline const ParameterParameter* internal_default_instance() {
9938 return reinterpret_cast<const ParameterParameter*>(
9939 &_ParameterParameter_default_instance_);
9940 }
9941 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
9942 47;
9943
9944 void Swap(ParameterParameter* other);
swap(ParameterParameter & a,ParameterParameter & b)9945 friend void swap(ParameterParameter& a, ParameterParameter& b) {
9946 a.Swap(&b);
9947 }
9948
9949 // implements Message ----------------------------------------------
9950
New()9951 inline ParameterParameter* New() const PROTOBUF_FINAL { return New(NULL); }
9952
9953 ParameterParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
9954 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9955 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
9956 void CopyFrom(const ParameterParameter& from);
9957 void MergeFrom(const ParameterParameter& from);
9958 void Clear() PROTOBUF_FINAL;
9959 bool IsInitialized() const PROTOBUF_FINAL;
9960
9961 size_t ByteSizeLong() const PROTOBUF_FINAL;
9962 bool MergePartialFromCodedStream(
9963 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
9964 void SerializeWithCachedSizes(
9965 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
9966 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
9967 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()9968 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
9969 private:
9970 void SharedCtor();
9971 void SharedDtor();
9972 void SetCachedSize(int size) const PROTOBUF_FINAL;
9973 void InternalSwap(ParameterParameter* other);
9974 private:
GetArenaNoVirtual()9975 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
9976 return NULL;
9977 }
MaybeArenaPtr()9978 inline void* MaybeArenaPtr() const {
9979 return NULL;
9980 }
9981 public:
9982
9983 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
9984
9985 // nested types ----------------------------------------------------
9986
9987 // accessors -------------------------------------------------------
9988
9989 // optional .opencv_caffe.BlobShape shape = 1;
9990 bool has_shape() const;
9991 void clear_shape();
9992 static const int kShapeFieldNumber = 1;
9993 const ::opencv_caffe::BlobShape& shape() const;
9994 ::opencv_caffe::BlobShape* release_shape();
9995 ::opencv_caffe::BlobShape* mutable_shape();
9996 void set_allocated_shape(::opencv_caffe::BlobShape* shape);
9997
9998 // @@protoc_insertion_point(class_scope:opencv_caffe.ParameterParameter)
9999 private:
10000 void set_has_shape();
10001 void clear_has_shape();
10002
10003 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
10004 ::google::protobuf::internal::HasBits<1> _has_bits_;
10005 mutable int _cached_size_;
10006 ::opencv_caffe::BlobShape* shape_;
10007 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
10008 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsParameterParameterImpl();
10009 };
10010 // -------------------------------------------------------------------
10011
10012 class PoolingParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.PoolingParameter) */ {
10013 public:
10014 PoolingParameter();
10015 virtual ~PoolingParameter();
10016
10017 PoolingParameter(const PoolingParameter& from);
10018
10019 inline PoolingParameter& operator=(const PoolingParameter& from) {
10020 CopyFrom(from);
10021 return *this;
10022 }
10023 #if LANG_CXX11
PoolingParameter(PoolingParameter && from)10024 PoolingParameter(PoolingParameter&& from) noexcept
10025 : PoolingParameter() {
10026 *this = ::std::move(from);
10027 }
10028
10029 inline PoolingParameter& operator=(PoolingParameter&& from) noexcept {
10030 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
10031 if (this != &from) InternalSwap(&from);
10032 } else {
10033 CopyFrom(from);
10034 }
10035 return *this;
10036 }
10037 #endif
unknown_fields()10038 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
10039 return _internal_metadata_.unknown_fields();
10040 }
mutable_unknown_fields()10041 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
10042 return _internal_metadata_.mutable_unknown_fields();
10043 }
10044
10045 static const ::google::protobuf::Descriptor* descriptor();
10046 static const PoolingParameter& default_instance();
10047
10048 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()10049 static inline const PoolingParameter* internal_default_instance() {
10050 return reinterpret_cast<const PoolingParameter*>(
10051 &_PoolingParameter_default_instance_);
10052 }
10053 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
10054 48;
10055
10056 void Swap(PoolingParameter* other);
swap(PoolingParameter & a,PoolingParameter & b)10057 friend void swap(PoolingParameter& a, PoolingParameter& b) {
10058 a.Swap(&b);
10059 }
10060
10061 // implements Message ----------------------------------------------
10062
New()10063 inline PoolingParameter* New() const PROTOBUF_FINAL { return New(NULL); }
10064
10065 PoolingParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
10066 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10067 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10068 void CopyFrom(const PoolingParameter& from);
10069 void MergeFrom(const PoolingParameter& from);
10070 void Clear() PROTOBUF_FINAL;
10071 bool IsInitialized() const PROTOBUF_FINAL;
10072
10073 size_t ByteSizeLong() const PROTOBUF_FINAL;
10074 bool MergePartialFromCodedStream(
10075 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
10076 void SerializeWithCachedSizes(
10077 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
10078 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
10079 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()10080 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
10081 private:
10082 void SharedCtor();
10083 void SharedDtor();
10084 void SetCachedSize(int size) const PROTOBUF_FINAL;
10085 void InternalSwap(PoolingParameter* other);
10086 private:
GetArenaNoVirtual()10087 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
10088 return NULL;
10089 }
MaybeArenaPtr()10090 inline void* MaybeArenaPtr() const {
10091 return NULL;
10092 }
10093 public:
10094
10095 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
10096
10097 // nested types ----------------------------------------------------
10098
10099 typedef PoolingParameter_PoolMethod PoolMethod;
10100 static const PoolMethod MAX =
10101 PoolingParameter_PoolMethod_MAX;
10102 static const PoolMethod AVE =
10103 PoolingParameter_PoolMethod_AVE;
10104 static const PoolMethod STOCHASTIC =
10105 PoolingParameter_PoolMethod_STOCHASTIC;
PoolMethod_IsValid(int value)10106 static inline bool PoolMethod_IsValid(int value) {
10107 return PoolingParameter_PoolMethod_IsValid(value);
10108 }
10109 static const PoolMethod PoolMethod_MIN =
10110 PoolingParameter_PoolMethod_PoolMethod_MIN;
10111 static const PoolMethod PoolMethod_MAX =
10112 PoolingParameter_PoolMethod_PoolMethod_MAX;
10113 static const int PoolMethod_ARRAYSIZE =
10114 PoolingParameter_PoolMethod_PoolMethod_ARRAYSIZE;
10115 static inline const ::google::protobuf::EnumDescriptor*
PoolMethod_descriptor()10116 PoolMethod_descriptor() {
10117 return PoolingParameter_PoolMethod_descriptor();
10118 }
PoolMethod_Name(PoolMethod value)10119 static inline const ::std::string& PoolMethod_Name(PoolMethod value) {
10120 return PoolingParameter_PoolMethod_Name(value);
10121 }
PoolMethod_Parse(const::std::string & name,PoolMethod * value)10122 static inline bool PoolMethod_Parse(const ::std::string& name,
10123 PoolMethod* value) {
10124 return PoolingParameter_PoolMethod_Parse(name, value);
10125 }
10126
10127 typedef PoolingParameter_Engine Engine;
10128 static const Engine DEFAULT =
10129 PoolingParameter_Engine_DEFAULT;
10130 static const Engine CAFFE =
10131 PoolingParameter_Engine_CAFFE;
10132 static const Engine CUDNN =
10133 PoolingParameter_Engine_CUDNN;
Engine_IsValid(int value)10134 static inline bool Engine_IsValid(int value) {
10135 return PoolingParameter_Engine_IsValid(value);
10136 }
10137 static const Engine Engine_MIN =
10138 PoolingParameter_Engine_Engine_MIN;
10139 static const Engine Engine_MAX =
10140 PoolingParameter_Engine_Engine_MAX;
10141 static const int Engine_ARRAYSIZE =
10142 PoolingParameter_Engine_Engine_ARRAYSIZE;
10143 static inline const ::google::protobuf::EnumDescriptor*
Engine_descriptor()10144 Engine_descriptor() {
10145 return PoolingParameter_Engine_descriptor();
10146 }
Engine_Name(Engine value)10147 static inline const ::std::string& Engine_Name(Engine value) {
10148 return PoolingParameter_Engine_Name(value);
10149 }
Engine_Parse(const::std::string & name,Engine * value)10150 static inline bool Engine_Parse(const ::std::string& name,
10151 Engine* value) {
10152 return PoolingParameter_Engine_Parse(name, value);
10153 }
10154
10155 // accessors -------------------------------------------------------
10156
10157 // optional .opencv_caffe.PoolingParameter.PoolMethod pool = 1 [default = MAX];
10158 bool has_pool() const;
10159 void clear_pool();
10160 static const int kPoolFieldNumber = 1;
10161 ::opencv_caffe::PoolingParameter_PoolMethod pool() const;
10162 void set_pool(::opencv_caffe::PoolingParameter_PoolMethod value);
10163
10164 // optional uint32 kernel_size = 2;
10165 bool has_kernel_size() const;
10166 void clear_kernel_size();
10167 static const int kKernelSizeFieldNumber = 2;
10168 ::google::protobuf::uint32 kernel_size() const;
10169 void set_kernel_size(::google::protobuf::uint32 value);
10170
10171 // optional uint32 pad = 4 [default = 0];
10172 bool has_pad() const;
10173 void clear_pad();
10174 static const int kPadFieldNumber = 4;
10175 ::google::protobuf::uint32 pad() const;
10176 void set_pad(::google::protobuf::uint32 value);
10177
10178 // optional uint32 kernel_h = 5;
10179 bool has_kernel_h() const;
10180 void clear_kernel_h();
10181 static const int kKernelHFieldNumber = 5;
10182 ::google::protobuf::uint32 kernel_h() const;
10183 void set_kernel_h(::google::protobuf::uint32 value);
10184
10185 // optional uint32 kernel_w = 6;
10186 bool has_kernel_w() const;
10187 void clear_kernel_w();
10188 static const int kKernelWFieldNumber = 6;
10189 ::google::protobuf::uint32 kernel_w() const;
10190 void set_kernel_w(::google::protobuf::uint32 value);
10191
10192 // optional uint32 stride_h = 7;
10193 bool has_stride_h() const;
10194 void clear_stride_h();
10195 static const int kStrideHFieldNumber = 7;
10196 ::google::protobuf::uint32 stride_h() const;
10197 void set_stride_h(::google::protobuf::uint32 value);
10198
10199 // optional uint32 stride_w = 8;
10200 bool has_stride_w() const;
10201 void clear_stride_w();
10202 static const int kStrideWFieldNumber = 8;
10203 ::google::protobuf::uint32 stride_w() const;
10204 void set_stride_w(::google::protobuf::uint32 value);
10205
10206 // optional uint32 pad_h = 9 [default = 0];
10207 bool has_pad_h() const;
10208 void clear_pad_h();
10209 static const int kPadHFieldNumber = 9;
10210 ::google::protobuf::uint32 pad_h() const;
10211 void set_pad_h(::google::protobuf::uint32 value);
10212
10213 // optional uint32 pad_w = 10 [default = 0];
10214 bool has_pad_w() const;
10215 void clear_pad_w();
10216 static const int kPadWFieldNumber = 10;
10217 ::google::protobuf::uint32 pad_w() const;
10218 void set_pad_w(::google::protobuf::uint32 value);
10219
10220 // optional .opencv_caffe.PoolingParameter.Engine engine = 11 [default = DEFAULT];
10221 bool has_engine() const;
10222 void clear_engine();
10223 static const int kEngineFieldNumber = 11;
10224 ::opencv_caffe::PoolingParameter_Engine engine() const;
10225 void set_engine(::opencv_caffe::PoolingParameter_Engine value);
10226
10227 // optional bool global_pooling = 12 [default = false];
10228 bool has_global_pooling() const;
10229 void clear_global_pooling();
10230 static const int kGlobalPoolingFieldNumber = 12;
10231 bool global_pooling() const;
10232 void set_global_pooling(bool value);
10233
10234 // optional uint32 stride = 3 [default = 1];
10235 bool has_stride() const;
10236 void clear_stride();
10237 static const int kStrideFieldNumber = 3;
10238 ::google::protobuf::uint32 stride() const;
10239 void set_stride(::google::protobuf::uint32 value);
10240
10241 // optional bool ceil_mode = 13 [default = true];
10242 bool has_ceil_mode() const;
10243 void clear_ceil_mode();
10244 static const int kCeilModeFieldNumber = 13;
10245 bool ceil_mode() const;
10246 void set_ceil_mode(bool value);
10247
10248 // @@protoc_insertion_point(class_scope:opencv_caffe.PoolingParameter)
10249 private:
10250 void set_has_pool();
10251 void clear_has_pool();
10252 void set_has_pad();
10253 void clear_has_pad();
10254 void set_has_pad_h();
10255 void clear_has_pad_h();
10256 void set_has_pad_w();
10257 void clear_has_pad_w();
10258 void set_has_kernel_size();
10259 void clear_has_kernel_size();
10260 void set_has_kernel_h();
10261 void clear_has_kernel_h();
10262 void set_has_kernel_w();
10263 void clear_has_kernel_w();
10264 void set_has_stride();
10265 void clear_has_stride();
10266 void set_has_stride_h();
10267 void clear_has_stride_h();
10268 void set_has_stride_w();
10269 void clear_has_stride_w();
10270 void set_has_engine();
10271 void clear_has_engine();
10272 void set_has_global_pooling();
10273 void clear_has_global_pooling();
10274 void set_has_ceil_mode();
10275 void clear_has_ceil_mode();
10276
10277 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
10278 ::google::protobuf::internal::HasBits<1> _has_bits_;
10279 mutable int _cached_size_;
10280 int pool_;
10281 ::google::protobuf::uint32 kernel_size_;
10282 ::google::protobuf::uint32 pad_;
10283 ::google::protobuf::uint32 kernel_h_;
10284 ::google::protobuf::uint32 kernel_w_;
10285 ::google::protobuf::uint32 stride_h_;
10286 ::google::protobuf::uint32 stride_w_;
10287 ::google::protobuf::uint32 pad_h_;
10288 ::google::protobuf::uint32 pad_w_;
10289 int engine_;
10290 bool global_pooling_;
10291 ::google::protobuf::uint32 stride_;
10292 bool ceil_mode_;
10293 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
10294 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsPoolingParameterImpl();
10295 };
10296 // -------------------------------------------------------------------
10297
10298 class PowerParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.PowerParameter) */ {
10299 public:
10300 PowerParameter();
10301 virtual ~PowerParameter();
10302
10303 PowerParameter(const PowerParameter& from);
10304
10305 inline PowerParameter& operator=(const PowerParameter& from) {
10306 CopyFrom(from);
10307 return *this;
10308 }
10309 #if LANG_CXX11
PowerParameter(PowerParameter && from)10310 PowerParameter(PowerParameter&& from) noexcept
10311 : PowerParameter() {
10312 *this = ::std::move(from);
10313 }
10314
10315 inline PowerParameter& operator=(PowerParameter&& from) noexcept {
10316 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
10317 if (this != &from) InternalSwap(&from);
10318 } else {
10319 CopyFrom(from);
10320 }
10321 return *this;
10322 }
10323 #endif
unknown_fields()10324 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
10325 return _internal_metadata_.unknown_fields();
10326 }
mutable_unknown_fields()10327 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
10328 return _internal_metadata_.mutable_unknown_fields();
10329 }
10330
10331 static const ::google::protobuf::Descriptor* descriptor();
10332 static const PowerParameter& default_instance();
10333
10334 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()10335 static inline const PowerParameter* internal_default_instance() {
10336 return reinterpret_cast<const PowerParameter*>(
10337 &_PowerParameter_default_instance_);
10338 }
10339 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
10340 49;
10341
10342 void Swap(PowerParameter* other);
swap(PowerParameter & a,PowerParameter & b)10343 friend void swap(PowerParameter& a, PowerParameter& b) {
10344 a.Swap(&b);
10345 }
10346
10347 // implements Message ----------------------------------------------
10348
New()10349 inline PowerParameter* New() const PROTOBUF_FINAL { return New(NULL); }
10350
10351 PowerParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
10352 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10353 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10354 void CopyFrom(const PowerParameter& from);
10355 void MergeFrom(const PowerParameter& from);
10356 void Clear() PROTOBUF_FINAL;
10357 bool IsInitialized() const PROTOBUF_FINAL;
10358
10359 size_t ByteSizeLong() const PROTOBUF_FINAL;
10360 bool MergePartialFromCodedStream(
10361 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
10362 void SerializeWithCachedSizes(
10363 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
10364 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
10365 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()10366 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
10367 private:
10368 void SharedCtor();
10369 void SharedDtor();
10370 void SetCachedSize(int size) const PROTOBUF_FINAL;
10371 void InternalSwap(PowerParameter* other);
10372 private:
GetArenaNoVirtual()10373 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
10374 return NULL;
10375 }
MaybeArenaPtr()10376 inline void* MaybeArenaPtr() const {
10377 return NULL;
10378 }
10379 public:
10380
10381 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
10382
10383 // nested types ----------------------------------------------------
10384
10385 // accessors -------------------------------------------------------
10386
10387 // optional float shift = 3 [default = 0];
10388 bool has_shift() const;
10389 void clear_shift();
10390 static const int kShiftFieldNumber = 3;
10391 float shift() const;
10392 void set_shift(float value);
10393
10394 // optional float power = 1 [default = 1];
10395 bool has_power() const;
10396 void clear_power();
10397 static const int kPowerFieldNumber = 1;
10398 float power() const;
10399 void set_power(float value);
10400
10401 // optional float scale = 2 [default = 1];
10402 bool has_scale() const;
10403 void clear_scale();
10404 static const int kScaleFieldNumber = 2;
10405 float scale() const;
10406 void set_scale(float value);
10407
10408 // @@protoc_insertion_point(class_scope:opencv_caffe.PowerParameter)
10409 private:
10410 void set_has_power();
10411 void clear_has_power();
10412 void set_has_scale();
10413 void clear_has_scale();
10414 void set_has_shift();
10415 void clear_has_shift();
10416
10417 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
10418 ::google::protobuf::internal::HasBits<1> _has_bits_;
10419 mutable int _cached_size_;
10420 float shift_;
10421 float power_;
10422 float scale_;
10423 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
10424 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsPowerParameterImpl();
10425 };
10426 // -------------------------------------------------------------------
10427
10428 class PythonParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.PythonParameter) */ {
10429 public:
10430 PythonParameter();
10431 virtual ~PythonParameter();
10432
10433 PythonParameter(const PythonParameter& from);
10434
10435 inline PythonParameter& operator=(const PythonParameter& from) {
10436 CopyFrom(from);
10437 return *this;
10438 }
10439 #if LANG_CXX11
PythonParameter(PythonParameter && from)10440 PythonParameter(PythonParameter&& from) noexcept
10441 : PythonParameter() {
10442 *this = ::std::move(from);
10443 }
10444
10445 inline PythonParameter& operator=(PythonParameter&& from) noexcept {
10446 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
10447 if (this != &from) InternalSwap(&from);
10448 } else {
10449 CopyFrom(from);
10450 }
10451 return *this;
10452 }
10453 #endif
unknown_fields()10454 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
10455 return _internal_metadata_.unknown_fields();
10456 }
mutable_unknown_fields()10457 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
10458 return _internal_metadata_.mutable_unknown_fields();
10459 }
10460
10461 static const ::google::protobuf::Descriptor* descriptor();
10462 static const PythonParameter& default_instance();
10463
10464 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()10465 static inline const PythonParameter* internal_default_instance() {
10466 return reinterpret_cast<const PythonParameter*>(
10467 &_PythonParameter_default_instance_);
10468 }
10469 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
10470 50;
10471
10472 void Swap(PythonParameter* other);
swap(PythonParameter & a,PythonParameter & b)10473 friend void swap(PythonParameter& a, PythonParameter& b) {
10474 a.Swap(&b);
10475 }
10476
10477 // implements Message ----------------------------------------------
10478
New()10479 inline PythonParameter* New() const PROTOBUF_FINAL { return New(NULL); }
10480
10481 PythonParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
10482 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10483 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10484 void CopyFrom(const PythonParameter& from);
10485 void MergeFrom(const PythonParameter& from);
10486 void Clear() PROTOBUF_FINAL;
10487 bool IsInitialized() const PROTOBUF_FINAL;
10488
10489 size_t ByteSizeLong() const PROTOBUF_FINAL;
10490 bool MergePartialFromCodedStream(
10491 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
10492 void SerializeWithCachedSizes(
10493 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
10494 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
10495 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()10496 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
10497 private:
10498 void SharedCtor();
10499 void SharedDtor();
10500 void SetCachedSize(int size) const PROTOBUF_FINAL;
10501 void InternalSwap(PythonParameter* other);
10502 private:
GetArenaNoVirtual()10503 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
10504 return NULL;
10505 }
MaybeArenaPtr()10506 inline void* MaybeArenaPtr() const {
10507 return NULL;
10508 }
10509 public:
10510
10511 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
10512
10513 // nested types ----------------------------------------------------
10514
10515 // accessors -------------------------------------------------------
10516
10517 // optional string module = 1;
10518 bool has_module() const;
10519 void clear_module();
10520 static const int kModuleFieldNumber = 1;
10521 const ::std::string& module() const;
10522 void set_module(const ::std::string& value);
10523 #if LANG_CXX11
10524 void set_module(::std::string&& value);
10525 #endif
10526 void set_module(const char* value);
10527 void set_module(const char* value, size_t size);
10528 ::std::string* mutable_module();
10529 ::std::string* release_module();
10530 void set_allocated_module(::std::string* module);
10531
10532 // optional string layer = 2;
10533 bool has_layer() const;
10534 void clear_layer();
10535 static const int kLayerFieldNumber = 2;
10536 const ::std::string& layer() const;
10537 void set_layer(const ::std::string& value);
10538 #if LANG_CXX11
10539 void set_layer(::std::string&& value);
10540 #endif
10541 void set_layer(const char* value);
10542 void set_layer(const char* value, size_t size);
10543 ::std::string* mutable_layer();
10544 ::std::string* release_layer();
10545 void set_allocated_layer(::std::string* layer);
10546
10547 // optional string param_str = 3 [default = ""];
10548 bool has_param_str() const;
10549 void clear_param_str();
10550 static const int kParamStrFieldNumber = 3;
10551 const ::std::string& param_str() const;
10552 void set_param_str(const ::std::string& value);
10553 #if LANG_CXX11
10554 void set_param_str(::std::string&& value);
10555 #endif
10556 void set_param_str(const char* value);
10557 void set_param_str(const char* value, size_t size);
10558 ::std::string* mutable_param_str();
10559 ::std::string* release_param_str();
10560 void set_allocated_param_str(::std::string* param_str);
10561
10562 // optional bool share_in_parallel = 4 [default = false];
10563 bool has_share_in_parallel() const;
10564 void clear_share_in_parallel();
10565 static const int kShareInParallelFieldNumber = 4;
10566 bool share_in_parallel() const;
10567 void set_share_in_parallel(bool value);
10568
10569 // @@protoc_insertion_point(class_scope:opencv_caffe.PythonParameter)
10570 private:
10571 void set_has_module();
10572 void clear_has_module();
10573 void set_has_layer();
10574 void clear_has_layer();
10575 void set_has_param_str();
10576 void clear_has_param_str();
10577 void set_has_share_in_parallel();
10578 void clear_has_share_in_parallel();
10579
10580 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
10581 ::google::protobuf::internal::HasBits<1> _has_bits_;
10582 mutable int _cached_size_;
10583 ::google::protobuf::internal::ArenaStringPtr module_;
10584 ::google::protobuf::internal::ArenaStringPtr layer_;
10585 ::google::protobuf::internal::ArenaStringPtr param_str_;
10586 bool share_in_parallel_;
10587 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
10588 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsPythonParameterImpl();
10589 };
10590 // -------------------------------------------------------------------
10591
10592 class RecurrentParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.RecurrentParameter) */ {
10593 public:
10594 RecurrentParameter();
10595 virtual ~RecurrentParameter();
10596
10597 RecurrentParameter(const RecurrentParameter& from);
10598
10599 inline RecurrentParameter& operator=(const RecurrentParameter& from) {
10600 CopyFrom(from);
10601 return *this;
10602 }
10603 #if LANG_CXX11
RecurrentParameter(RecurrentParameter && from)10604 RecurrentParameter(RecurrentParameter&& from) noexcept
10605 : RecurrentParameter() {
10606 *this = ::std::move(from);
10607 }
10608
10609 inline RecurrentParameter& operator=(RecurrentParameter&& from) noexcept {
10610 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
10611 if (this != &from) InternalSwap(&from);
10612 } else {
10613 CopyFrom(from);
10614 }
10615 return *this;
10616 }
10617 #endif
unknown_fields()10618 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
10619 return _internal_metadata_.unknown_fields();
10620 }
mutable_unknown_fields()10621 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
10622 return _internal_metadata_.mutable_unknown_fields();
10623 }
10624
10625 static const ::google::protobuf::Descriptor* descriptor();
10626 static const RecurrentParameter& default_instance();
10627
10628 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()10629 static inline const RecurrentParameter* internal_default_instance() {
10630 return reinterpret_cast<const RecurrentParameter*>(
10631 &_RecurrentParameter_default_instance_);
10632 }
10633 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
10634 51;
10635
10636 void Swap(RecurrentParameter* other);
swap(RecurrentParameter & a,RecurrentParameter & b)10637 friend void swap(RecurrentParameter& a, RecurrentParameter& b) {
10638 a.Swap(&b);
10639 }
10640
10641 // implements Message ----------------------------------------------
10642
New()10643 inline RecurrentParameter* New() const PROTOBUF_FINAL { return New(NULL); }
10644
10645 RecurrentParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
10646 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10647 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10648 void CopyFrom(const RecurrentParameter& from);
10649 void MergeFrom(const RecurrentParameter& from);
10650 void Clear() PROTOBUF_FINAL;
10651 bool IsInitialized() const PROTOBUF_FINAL;
10652
10653 size_t ByteSizeLong() const PROTOBUF_FINAL;
10654 bool MergePartialFromCodedStream(
10655 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
10656 void SerializeWithCachedSizes(
10657 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
10658 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
10659 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()10660 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
10661 private:
10662 void SharedCtor();
10663 void SharedDtor();
10664 void SetCachedSize(int size) const PROTOBUF_FINAL;
10665 void InternalSwap(RecurrentParameter* other);
10666 private:
GetArenaNoVirtual()10667 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
10668 return NULL;
10669 }
MaybeArenaPtr()10670 inline void* MaybeArenaPtr() const {
10671 return NULL;
10672 }
10673 public:
10674
10675 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
10676
10677 // nested types ----------------------------------------------------
10678
10679 // accessors -------------------------------------------------------
10680
10681 // optional .opencv_caffe.FillerParameter weight_filler = 2;
10682 bool has_weight_filler() const;
10683 void clear_weight_filler();
10684 static const int kWeightFillerFieldNumber = 2;
10685 const ::opencv_caffe::FillerParameter& weight_filler() const;
10686 ::opencv_caffe::FillerParameter* release_weight_filler();
10687 ::opencv_caffe::FillerParameter* mutable_weight_filler();
10688 void set_allocated_weight_filler(::opencv_caffe::FillerParameter* weight_filler);
10689
10690 // optional .opencv_caffe.FillerParameter bias_filler = 3;
10691 bool has_bias_filler() const;
10692 void clear_bias_filler();
10693 static const int kBiasFillerFieldNumber = 3;
10694 const ::opencv_caffe::FillerParameter& bias_filler() const;
10695 ::opencv_caffe::FillerParameter* release_bias_filler();
10696 ::opencv_caffe::FillerParameter* mutable_bias_filler();
10697 void set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler);
10698
10699 // optional uint32 num_output = 1 [default = 0];
10700 bool has_num_output() const;
10701 void clear_num_output();
10702 static const int kNumOutputFieldNumber = 1;
10703 ::google::protobuf::uint32 num_output() const;
10704 void set_num_output(::google::protobuf::uint32 value);
10705
10706 // optional bool debug_info = 4 [default = false];
10707 bool has_debug_info() const;
10708 void clear_debug_info();
10709 static const int kDebugInfoFieldNumber = 4;
10710 bool debug_info() const;
10711 void set_debug_info(bool value);
10712
10713 // optional bool expose_hidden = 5 [default = false];
10714 bool has_expose_hidden() const;
10715 void clear_expose_hidden();
10716 static const int kExposeHiddenFieldNumber = 5;
10717 bool expose_hidden() const;
10718 void set_expose_hidden(bool value);
10719
10720 // @@protoc_insertion_point(class_scope:opencv_caffe.RecurrentParameter)
10721 private:
10722 void set_has_num_output();
10723 void clear_has_num_output();
10724 void set_has_weight_filler();
10725 void clear_has_weight_filler();
10726 void set_has_bias_filler();
10727 void clear_has_bias_filler();
10728 void set_has_debug_info();
10729 void clear_has_debug_info();
10730 void set_has_expose_hidden();
10731 void clear_has_expose_hidden();
10732
10733 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
10734 ::google::protobuf::internal::HasBits<1> _has_bits_;
10735 mutable int _cached_size_;
10736 ::opencv_caffe::FillerParameter* weight_filler_;
10737 ::opencv_caffe::FillerParameter* bias_filler_;
10738 ::google::protobuf::uint32 num_output_;
10739 bool debug_info_;
10740 bool expose_hidden_;
10741 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
10742 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsRecurrentParameterImpl();
10743 };
10744 // -------------------------------------------------------------------
10745
10746 class ReductionParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ReductionParameter) */ {
10747 public:
10748 ReductionParameter();
10749 virtual ~ReductionParameter();
10750
10751 ReductionParameter(const ReductionParameter& from);
10752
10753 inline ReductionParameter& operator=(const ReductionParameter& from) {
10754 CopyFrom(from);
10755 return *this;
10756 }
10757 #if LANG_CXX11
ReductionParameter(ReductionParameter && from)10758 ReductionParameter(ReductionParameter&& from) noexcept
10759 : ReductionParameter() {
10760 *this = ::std::move(from);
10761 }
10762
10763 inline ReductionParameter& operator=(ReductionParameter&& from) noexcept {
10764 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
10765 if (this != &from) InternalSwap(&from);
10766 } else {
10767 CopyFrom(from);
10768 }
10769 return *this;
10770 }
10771 #endif
unknown_fields()10772 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
10773 return _internal_metadata_.unknown_fields();
10774 }
mutable_unknown_fields()10775 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
10776 return _internal_metadata_.mutable_unknown_fields();
10777 }
10778
10779 static const ::google::protobuf::Descriptor* descriptor();
10780 static const ReductionParameter& default_instance();
10781
10782 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()10783 static inline const ReductionParameter* internal_default_instance() {
10784 return reinterpret_cast<const ReductionParameter*>(
10785 &_ReductionParameter_default_instance_);
10786 }
10787 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
10788 52;
10789
10790 void Swap(ReductionParameter* other);
swap(ReductionParameter & a,ReductionParameter & b)10791 friend void swap(ReductionParameter& a, ReductionParameter& b) {
10792 a.Swap(&b);
10793 }
10794
10795 // implements Message ----------------------------------------------
10796
New()10797 inline ReductionParameter* New() const PROTOBUF_FINAL { return New(NULL); }
10798
10799 ReductionParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
10800 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10801 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10802 void CopyFrom(const ReductionParameter& from);
10803 void MergeFrom(const ReductionParameter& from);
10804 void Clear() PROTOBUF_FINAL;
10805 bool IsInitialized() const PROTOBUF_FINAL;
10806
10807 size_t ByteSizeLong() const PROTOBUF_FINAL;
10808 bool MergePartialFromCodedStream(
10809 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
10810 void SerializeWithCachedSizes(
10811 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
10812 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
10813 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()10814 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
10815 private:
10816 void SharedCtor();
10817 void SharedDtor();
10818 void SetCachedSize(int size) const PROTOBUF_FINAL;
10819 void InternalSwap(ReductionParameter* other);
10820 private:
GetArenaNoVirtual()10821 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
10822 return NULL;
10823 }
MaybeArenaPtr()10824 inline void* MaybeArenaPtr() const {
10825 return NULL;
10826 }
10827 public:
10828
10829 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
10830
10831 // nested types ----------------------------------------------------
10832
10833 typedef ReductionParameter_ReductionOp ReductionOp;
10834 static const ReductionOp SUM =
10835 ReductionParameter_ReductionOp_SUM;
10836 static const ReductionOp ASUM =
10837 ReductionParameter_ReductionOp_ASUM;
10838 static const ReductionOp SUMSQ =
10839 ReductionParameter_ReductionOp_SUMSQ;
10840 static const ReductionOp MEAN =
10841 ReductionParameter_ReductionOp_MEAN;
ReductionOp_IsValid(int value)10842 static inline bool ReductionOp_IsValid(int value) {
10843 return ReductionParameter_ReductionOp_IsValid(value);
10844 }
10845 static const ReductionOp ReductionOp_MIN =
10846 ReductionParameter_ReductionOp_ReductionOp_MIN;
10847 static const ReductionOp ReductionOp_MAX =
10848 ReductionParameter_ReductionOp_ReductionOp_MAX;
10849 static const int ReductionOp_ARRAYSIZE =
10850 ReductionParameter_ReductionOp_ReductionOp_ARRAYSIZE;
10851 static inline const ::google::protobuf::EnumDescriptor*
ReductionOp_descriptor()10852 ReductionOp_descriptor() {
10853 return ReductionParameter_ReductionOp_descriptor();
10854 }
ReductionOp_Name(ReductionOp value)10855 static inline const ::std::string& ReductionOp_Name(ReductionOp value) {
10856 return ReductionParameter_ReductionOp_Name(value);
10857 }
ReductionOp_Parse(const::std::string & name,ReductionOp * value)10858 static inline bool ReductionOp_Parse(const ::std::string& name,
10859 ReductionOp* value) {
10860 return ReductionParameter_ReductionOp_Parse(name, value);
10861 }
10862
10863 // accessors -------------------------------------------------------
10864
10865 // optional int32 axis = 2 [default = 0];
10866 bool has_axis() const;
10867 void clear_axis();
10868 static const int kAxisFieldNumber = 2;
10869 ::google::protobuf::int32 axis() const;
10870 void set_axis(::google::protobuf::int32 value);
10871
10872 // optional .opencv_caffe.ReductionParameter.ReductionOp operation = 1 [default = SUM];
10873 bool has_operation() const;
10874 void clear_operation();
10875 static const int kOperationFieldNumber = 1;
10876 ::opencv_caffe::ReductionParameter_ReductionOp operation() const;
10877 void set_operation(::opencv_caffe::ReductionParameter_ReductionOp value);
10878
10879 // optional float coeff = 3 [default = 1];
10880 bool has_coeff() const;
10881 void clear_coeff();
10882 static const int kCoeffFieldNumber = 3;
10883 float coeff() const;
10884 void set_coeff(float value);
10885
10886 // @@protoc_insertion_point(class_scope:opencv_caffe.ReductionParameter)
10887 private:
10888 void set_has_operation();
10889 void clear_has_operation();
10890 void set_has_axis();
10891 void clear_has_axis();
10892 void set_has_coeff();
10893 void clear_has_coeff();
10894
10895 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
10896 ::google::protobuf::internal::HasBits<1> _has_bits_;
10897 mutable int _cached_size_;
10898 ::google::protobuf::int32 axis_;
10899 int operation_;
10900 float coeff_;
10901 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
10902 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsReductionParameterImpl();
10903 };
10904 // -------------------------------------------------------------------
10905
10906 class ReLUParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ReLUParameter) */ {
10907 public:
10908 ReLUParameter();
10909 virtual ~ReLUParameter();
10910
10911 ReLUParameter(const ReLUParameter& from);
10912
10913 inline ReLUParameter& operator=(const ReLUParameter& from) {
10914 CopyFrom(from);
10915 return *this;
10916 }
10917 #if LANG_CXX11
ReLUParameter(ReLUParameter && from)10918 ReLUParameter(ReLUParameter&& from) noexcept
10919 : ReLUParameter() {
10920 *this = ::std::move(from);
10921 }
10922
10923 inline ReLUParameter& operator=(ReLUParameter&& from) noexcept {
10924 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
10925 if (this != &from) InternalSwap(&from);
10926 } else {
10927 CopyFrom(from);
10928 }
10929 return *this;
10930 }
10931 #endif
unknown_fields()10932 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
10933 return _internal_metadata_.unknown_fields();
10934 }
mutable_unknown_fields()10935 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
10936 return _internal_metadata_.mutable_unknown_fields();
10937 }
10938
10939 static const ::google::protobuf::Descriptor* descriptor();
10940 static const ReLUParameter& default_instance();
10941
10942 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()10943 static inline const ReLUParameter* internal_default_instance() {
10944 return reinterpret_cast<const ReLUParameter*>(
10945 &_ReLUParameter_default_instance_);
10946 }
10947 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
10948 53;
10949
10950 void Swap(ReLUParameter* other);
swap(ReLUParameter & a,ReLUParameter & b)10951 friend void swap(ReLUParameter& a, ReLUParameter& b) {
10952 a.Swap(&b);
10953 }
10954
10955 // implements Message ----------------------------------------------
10956
New()10957 inline ReLUParameter* New() const PROTOBUF_FINAL { return New(NULL); }
10958
10959 ReLUParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
10960 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10961 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
10962 void CopyFrom(const ReLUParameter& from);
10963 void MergeFrom(const ReLUParameter& from);
10964 void Clear() PROTOBUF_FINAL;
10965 bool IsInitialized() const PROTOBUF_FINAL;
10966
10967 size_t ByteSizeLong() const PROTOBUF_FINAL;
10968 bool MergePartialFromCodedStream(
10969 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
10970 void SerializeWithCachedSizes(
10971 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
10972 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
10973 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()10974 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
10975 private:
10976 void SharedCtor();
10977 void SharedDtor();
10978 void SetCachedSize(int size) const PROTOBUF_FINAL;
10979 void InternalSwap(ReLUParameter* other);
10980 private:
GetArenaNoVirtual()10981 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
10982 return NULL;
10983 }
MaybeArenaPtr()10984 inline void* MaybeArenaPtr() const {
10985 return NULL;
10986 }
10987 public:
10988
10989 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
10990
10991 // nested types ----------------------------------------------------
10992
10993 typedef ReLUParameter_Engine Engine;
10994 static const Engine DEFAULT =
10995 ReLUParameter_Engine_DEFAULT;
10996 static const Engine CAFFE =
10997 ReLUParameter_Engine_CAFFE;
10998 static const Engine CUDNN =
10999 ReLUParameter_Engine_CUDNN;
Engine_IsValid(int value)11000 static inline bool Engine_IsValid(int value) {
11001 return ReLUParameter_Engine_IsValid(value);
11002 }
11003 static const Engine Engine_MIN =
11004 ReLUParameter_Engine_Engine_MIN;
11005 static const Engine Engine_MAX =
11006 ReLUParameter_Engine_Engine_MAX;
11007 static const int Engine_ARRAYSIZE =
11008 ReLUParameter_Engine_Engine_ARRAYSIZE;
11009 static inline const ::google::protobuf::EnumDescriptor*
Engine_descriptor()11010 Engine_descriptor() {
11011 return ReLUParameter_Engine_descriptor();
11012 }
Engine_Name(Engine value)11013 static inline const ::std::string& Engine_Name(Engine value) {
11014 return ReLUParameter_Engine_Name(value);
11015 }
Engine_Parse(const::std::string & name,Engine * value)11016 static inline bool Engine_Parse(const ::std::string& name,
11017 Engine* value) {
11018 return ReLUParameter_Engine_Parse(name, value);
11019 }
11020
11021 // accessors -------------------------------------------------------
11022
11023 // optional float negative_slope = 1 [default = 0];
11024 bool has_negative_slope() const;
11025 void clear_negative_slope();
11026 static const int kNegativeSlopeFieldNumber = 1;
11027 float negative_slope() const;
11028 void set_negative_slope(float value);
11029
11030 // optional .opencv_caffe.ReLUParameter.Engine engine = 2 [default = DEFAULT];
11031 bool has_engine() const;
11032 void clear_engine();
11033 static const int kEngineFieldNumber = 2;
11034 ::opencv_caffe::ReLUParameter_Engine engine() const;
11035 void set_engine(::opencv_caffe::ReLUParameter_Engine value);
11036
11037 // @@protoc_insertion_point(class_scope:opencv_caffe.ReLUParameter)
11038 private:
11039 void set_has_negative_slope();
11040 void clear_has_negative_slope();
11041 void set_has_engine();
11042 void clear_has_engine();
11043
11044 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
11045 ::google::protobuf::internal::HasBits<1> _has_bits_;
11046 mutable int _cached_size_;
11047 float negative_slope_;
11048 int engine_;
11049 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
11050 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsReLUParameterImpl();
11051 };
11052 // -------------------------------------------------------------------
11053
11054 class ReshapeParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ReshapeParameter) */ {
11055 public:
11056 ReshapeParameter();
11057 virtual ~ReshapeParameter();
11058
11059 ReshapeParameter(const ReshapeParameter& from);
11060
11061 inline ReshapeParameter& operator=(const ReshapeParameter& from) {
11062 CopyFrom(from);
11063 return *this;
11064 }
11065 #if LANG_CXX11
ReshapeParameter(ReshapeParameter && from)11066 ReshapeParameter(ReshapeParameter&& from) noexcept
11067 : ReshapeParameter() {
11068 *this = ::std::move(from);
11069 }
11070
11071 inline ReshapeParameter& operator=(ReshapeParameter&& from) noexcept {
11072 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11073 if (this != &from) InternalSwap(&from);
11074 } else {
11075 CopyFrom(from);
11076 }
11077 return *this;
11078 }
11079 #endif
unknown_fields()11080 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
11081 return _internal_metadata_.unknown_fields();
11082 }
mutable_unknown_fields()11083 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
11084 return _internal_metadata_.mutable_unknown_fields();
11085 }
11086
11087 static const ::google::protobuf::Descriptor* descriptor();
11088 static const ReshapeParameter& default_instance();
11089
11090 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11091 static inline const ReshapeParameter* internal_default_instance() {
11092 return reinterpret_cast<const ReshapeParameter*>(
11093 &_ReshapeParameter_default_instance_);
11094 }
11095 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
11096 54;
11097
11098 void Swap(ReshapeParameter* other);
swap(ReshapeParameter & a,ReshapeParameter & b)11099 friend void swap(ReshapeParameter& a, ReshapeParameter& b) {
11100 a.Swap(&b);
11101 }
11102
11103 // implements Message ----------------------------------------------
11104
New()11105 inline ReshapeParameter* New() const PROTOBUF_FINAL { return New(NULL); }
11106
11107 ReshapeParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
11108 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11109 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11110 void CopyFrom(const ReshapeParameter& from);
11111 void MergeFrom(const ReshapeParameter& from);
11112 void Clear() PROTOBUF_FINAL;
11113 bool IsInitialized() const PROTOBUF_FINAL;
11114
11115 size_t ByteSizeLong() const PROTOBUF_FINAL;
11116 bool MergePartialFromCodedStream(
11117 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
11118 void SerializeWithCachedSizes(
11119 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
11120 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
11121 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()11122 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
11123 private:
11124 void SharedCtor();
11125 void SharedDtor();
11126 void SetCachedSize(int size) const PROTOBUF_FINAL;
11127 void InternalSwap(ReshapeParameter* other);
11128 private:
GetArenaNoVirtual()11129 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
11130 return NULL;
11131 }
MaybeArenaPtr()11132 inline void* MaybeArenaPtr() const {
11133 return NULL;
11134 }
11135 public:
11136
11137 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
11138
11139 // nested types ----------------------------------------------------
11140
11141 // accessors -------------------------------------------------------
11142
11143 // optional .opencv_caffe.BlobShape shape = 1;
11144 bool has_shape() const;
11145 void clear_shape();
11146 static const int kShapeFieldNumber = 1;
11147 const ::opencv_caffe::BlobShape& shape() const;
11148 ::opencv_caffe::BlobShape* release_shape();
11149 ::opencv_caffe::BlobShape* mutable_shape();
11150 void set_allocated_shape(::opencv_caffe::BlobShape* shape);
11151
11152 // optional int32 axis = 2 [default = 0];
11153 bool has_axis() const;
11154 void clear_axis();
11155 static const int kAxisFieldNumber = 2;
11156 ::google::protobuf::int32 axis() const;
11157 void set_axis(::google::protobuf::int32 value);
11158
11159 // optional int32 num_axes = 3 [default = -1];
11160 bool has_num_axes() const;
11161 void clear_num_axes();
11162 static const int kNumAxesFieldNumber = 3;
11163 ::google::protobuf::int32 num_axes() const;
11164 void set_num_axes(::google::protobuf::int32 value);
11165
11166 // @@protoc_insertion_point(class_scope:opencv_caffe.ReshapeParameter)
11167 private:
11168 void set_has_shape();
11169 void clear_has_shape();
11170 void set_has_axis();
11171 void clear_has_axis();
11172 void set_has_num_axes();
11173 void clear_has_num_axes();
11174
11175 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
11176 ::google::protobuf::internal::HasBits<1> _has_bits_;
11177 mutable int _cached_size_;
11178 ::opencv_caffe::BlobShape* shape_;
11179 ::google::protobuf::int32 axis_;
11180 ::google::protobuf::int32 num_axes_;
11181 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
11182 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsReshapeParameterImpl();
11183 };
11184 // -------------------------------------------------------------------
11185
11186 class ScaleParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ScaleParameter) */ {
11187 public:
11188 ScaleParameter();
11189 virtual ~ScaleParameter();
11190
11191 ScaleParameter(const ScaleParameter& from);
11192
11193 inline ScaleParameter& operator=(const ScaleParameter& from) {
11194 CopyFrom(from);
11195 return *this;
11196 }
11197 #if LANG_CXX11
ScaleParameter(ScaleParameter && from)11198 ScaleParameter(ScaleParameter&& from) noexcept
11199 : ScaleParameter() {
11200 *this = ::std::move(from);
11201 }
11202
11203 inline ScaleParameter& operator=(ScaleParameter&& from) noexcept {
11204 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11205 if (this != &from) InternalSwap(&from);
11206 } else {
11207 CopyFrom(from);
11208 }
11209 return *this;
11210 }
11211 #endif
unknown_fields()11212 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
11213 return _internal_metadata_.unknown_fields();
11214 }
mutable_unknown_fields()11215 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
11216 return _internal_metadata_.mutable_unknown_fields();
11217 }
11218
11219 static const ::google::protobuf::Descriptor* descriptor();
11220 static const ScaleParameter& default_instance();
11221
11222 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11223 static inline const ScaleParameter* internal_default_instance() {
11224 return reinterpret_cast<const ScaleParameter*>(
11225 &_ScaleParameter_default_instance_);
11226 }
11227 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
11228 55;
11229
11230 void Swap(ScaleParameter* other);
swap(ScaleParameter & a,ScaleParameter & b)11231 friend void swap(ScaleParameter& a, ScaleParameter& b) {
11232 a.Swap(&b);
11233 }
11234
11235 // implements Message ----------------------------------------------
11236
New()11237 inline ScaleParameter* New() const PROTOBUF_FINAL { return New(NULL); }
11238
11239 ScaleParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
11240 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11241 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11242 void CopyFrom(const ScaleParameter& from);
11243 void MergeFrom(const ScaleParameter& from);
11244 void Clear() PROTOBUF_FINAL;
11245 bool IsInitialized() const PROTOBUF_FINAL;
11246
11247 size_t ByteSizeLong() const PROTOBUF_FINAL;
11248 bool MergePartialFromCodedStream(
11249 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
11250 void SerializeWithCachedSizes(
11251 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
11252 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
11253 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()11254 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
11255 private:
11256 void SharedCtor();
11257 void SharedDtor();
11258 void SetCachedSize(int size) const PROTOBUF_FINAL;
11259 void InternalSwap(ScaleParameter* other);
11260 private:
GetArenaNoVirtual()11261 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
11262 return NULL;
11263 }
MaybeArenaPtr()11264 inline void* MaybeArenaPtr() const {
11265 return NULL;
11266 }
11267 public:
11268
11269 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
11270
11271 // nested types ----------------------------------------------------
11272
11273 // accessors -------------------------------------------------------
11274
11275 // optional .opencv_caffe.FillerParameter filler = 3;
11276 bool has_filler() const;
11277 void clear_filler();
11278 static const int kFillerFieldNumber = 3;
11279 const ::opencv_caffe::FillerParameter& filler() const;
11280 ::opencv_caffe::FillerParameter* release_filler();
11281 ::opencv_caffe::FillerParameter* mutable_filler();
11282 void set_allocated_filler(::opencv_caffe::FillerParameter* filler);
11283
11284 // optional .opencv_caffe.FillerParameter bias_filler = 5;
11285 bool has_bias_filler() const;
11286 void clear_bias_filler();
11287 static const int kBiasFillerFieldNumber = 5;
11288 const ::opencv_caffe::FillerParameter& bias_filler() const;
11289 ::opencv_caffe::FillerParameter* release_bias_filler();
11290 ::opencv_caffe::FillerParameter* mutable_bias_filler();
11291 void set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler);
11292
11293 // optional bool bias_term = 4 [default = false];
11294 bool has_bias_term() const;
11295 void clear_bias_term();
11296 static const int kBiasTermFieldNumber = 4;
11297 bool bias_term() const;
11298 void set_bias_term(bool value);
11299
11300 // optional int32 axis = 1 [default = 1];
11301 bool has_axis() const;
11302 void clear_axis();
11303 static const int kAxisFieldNumber = 1;
11304 ::google::protobuf::int32 axis() const;
11305 void set_axis(::google::protobuf::int32 value);
11306
11307 // optional int32 num_axes = 2 [default = 1];
11308 bool has_num_axes() const;
11309 void clear_num_axes();
11310 static const int kNumAxesFieldNumber = 2;
11311 ::google::protobuf::int32 num_axes() const;
11312 void set_num_axes(::google::protobuf::int32 value);
11313
11314 // @@protoc_insertion_point(class_scope:opencv_caffe.ScaleParameter)
11315 private:
11316 void set_has_axis();
11317 void clear_has_axis();
11318 void set_has_num_axes();
11319 void clear_has_num_axes();
11320 void set_has_filler();
11321 void clear_has_filler();
11322 void set_has_bias_term();
11323 void clear_has_bias_term();
11324 void set_has_bias_filler();
11325 void clear_has_bias_filler();
11326
11327 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
11328 ::google::protobuf::internal::HasBits<1> _has_bits_;
11329 mutable int _cached_size_;
11330 ::opencv_caffe::FillerParameter* filler_;
11331 ::opencv_caffe::FillerParameter* bias_filler_;
11332 bool bias_term_;
11333 ::google::protobuf::int32 axis_;
11334 ::google::protobuf::int32 num_axes_;
11335 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
11336 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsScaleParameterImpl();
11337 };
11338 // -------------------------------------------------------------------
11339
11340 class SigmoidParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.SigmoidParameter) */ {
11341 public:
11342 SigmoidParameter();
11343 virtual ~SigmoidParameter();
11344
11345 SigmoidParameter(const SigmoidParameter& from);
11346
11347 inline SigmoidParameter& operator=(const SigmoidParameter& from) {
11348 CopyFrom(from);
11349 return *this;
11350 }
11351 #if LANG_CXX11
SigmoidParameter(SigmoidParameter && from)11352 SigmoidParameter(SigmoidParameter&& from) noexcept
11353 : SigmoidParameter() {
11354 *this = ::std::move(from);
11355 }
11356
11357 inline SigmoidParameter& operator=(SigmoidParameter&& from) noexcept {
11358 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11359 if (this != &from) InternalSwap(&from);
11360 } else {
11361 CopyFrom(from);
11362 }
11363 return *this;
11364 }
11365 #endif
unknown_fields()11366 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
11367 return _internal_metadata_.unknown_fields();
11368 }
mutable_unknown_fields()11369 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
11370 return _internal_metadata_.mutable_unknown_fields();
11371 }
11372
11373 static const ::google::protobuf::Descriptor* descriptor();
11374 static const SigmoidParameter& default_instance();
11375
11376 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11377 static inline const SigmoidParameter* internal_default_instance() {
11378 return reinterpret_cast<const SigmoidParameter*>(
11379 &_SigmoidParameter_default_instance_);
11380 }
11381 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
11382 56;
11383
11384 void Swap(SigmoidParameter* other);
swap(SigmoidParameter & a,SigmoidParameter & b)11385 friend void swap(SigmoidParameter& a, SigmoidParameter& b) {
11386 a.Swap(&b);
11387 }
11388
11389 // implements Message ----------------------------------------------
11390
New()11391 inline SigmoidParameter* New() const PROTOBUF_FINAL { return New(NULL); }
11392
11393 SigmoidParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
11394 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11395 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11396 void CopyFrom(const SigmoidParameter& from);
11397 void MergeFrom(const SigmoidParameter& from);
11398 void Clear() PROTOBUF_FINAL;
11399 bool IsInitialized() const PROTOBUF_FINAL;
11400
11401 size_t ByteSizeLong() const PROTOBUF_FINAL;
11402 bool MergePartialFromCodedStream(
11403 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
11404 void SerializeWithCachedSizes(
11405 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
11406 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
11407 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()11408 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
11409 private:
11410 void SharedCtor();
11411 void SharedDtor();
11412 void SetCachedSize(int size) const PROTOBUF_FINAL;
11413 void InternalSwap(SigmoidParameter* other);
11414 private:
GetArenaNoVirtual()11415 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
11416 return NULL;
11417 }
MaybeArenaPtr()11418 inline void* MaybeArenaPtr() const {
11419 return NULL;
11420 }
11421 public:
11422
11423 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
11424
11425 // nested types ----------------------------------------------------
11426
11427 typedef SigmoidParameter_Engine Engine;
11428 static const Engine DEFAULT =
11429 SigmoidParameter_Engine_DEFAULT;
11430 static const Engine CAFFE =
11431 SigmoidParameter_Engine_CAFFE;
11432 static const Engine CUDNN =
11433 SigmoidParameter_Engine_CUDNN;
Engine_IsValid(int value)11434 static inline bool Engine_IsValid(int value) {
11435 return SigmoidParameter_Engine_IsValid(value);
11436 }
11437 static const Engine Engine_MIN =
11438 SigmoidParameter_Engine_Engine_MIN;
11439 static const Engine Engine_MAX =
11440 SigmoidParameter_Engine_Engine_MAX;
11441 static const int Engine_ARRAYSIZE =
11442 SigmoidParameter_Engine_Engine_ARRAYSIZE;
11443 static inline const ::google::protobuf::EnumDescriptor*
Engine_descriptor()11444 Engine_descriptor() {
11445 return SigmoidParameter_Engine_descriptor();
11446 }
Engine_Name(Engine value)11447 static inline const ::std::string& Engine_Name(Engine value) {
11448 return SigmoidParameter_Engine_Name(value);
11449 }
Engine_Parse(const::std::string & name,Engine * value)11450 static inline bool Engine_Parse(const ::std::string& name,
11451 Engine* value) {
11452 return SigmoidParameter_Engine_Parse(name, value);
11453 }
11454
11455 // accessors -------------------------------------------------------
11456
11457 // optional .opencv_caffe.SigmoidParameter.Engine engine = 1 [default = DEFAULT];
11458 bool has_engine() const;
11459 void clear_engine();
11460 static const int kEngineFieldNumber = 1;
11461 ::opencv_caffe::SigmoidParameter_Engine engine() const;
11462 void set_engine(::opencv_caffe::SigmoidParameter_Engine value);
11463
11464 // @@protoc_insertion_point(class_scope:opencv_caffe.SigmoidParameter)
11465 private:
11466 void set_has_engine();
11467 void clear_has_engine();
11468
11469 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
11470 ::google::protobuf::internal::HasBits<1> _has_bits_;
11471 mutable int _cached_size_;
11472 int engine_;
11473 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
11474 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsSigmoidParameterImpl();
11475 };
11476 // -------------------------------------------------------------------
11477
11478 class SliceParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.SliceParameter) */ {
11479 public:
11480 SliceParameter();
11481 virtual ~SliceParameter();
11482
11483 SliceParameter(const SliceParameter& from);
11484
11485 inline SliceParameter& operator=(const SliceParameter& from) {
11486 CopyFrom(from);
11487 return *this;
11488 }
11489 #if LANG_CXX11
SliceParameter(SliceParameter && from)11490 SliceParameter(SliceParameter&& from) noexcept
11491 : SliceParameter() {
11492 *this = ::std::move(from);
11493 }
11494
11495 inline SliceParameter& operator=(SliceParameter&& from) noexcept {
11496 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11497 if (this != &from) InternalSwap(&from);
11498 } else {
11499 CopyFrom(from);
11500 }
11501 return *this;
11502 }
11503 #endif
unknown_fields()11504 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
11505 return _internal_metadata_.unknown_fields();
11506 }
mutable_unknown_fields()11507 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
11508 return _internal_metadata_.mutable_unknown_fields();
11509 }
11510
11511 static const ::google::protobuf::Descriptor* descriptor();
11512 static const SliceParameter& default_instance();
11513
11514 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11515 static inline const SliceParameter* internal_default_instance() {
11516 return reinterpret_cast<const SliceParameter*>(
11517 &_SliceParameter_default_instance_);
11518 }
11519 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
11520 57;
11521
11522 void Swap(SliceParameter* other);
swap(SliceParameter & a,SliceParameter & b)11523 friend void swap(SliceParameter& a, SliceParameter& b) {
11524 a.Swap(&b);
11525 }
11526
11527 // implements Message ----------------------------------------------
11528
New()11529 inline SliceParameter* New() const PROTOBUF_FINAL { return New(NULL); }
11530
11531 SliceParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
11532 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11533 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11534 void CopyFrom(const SliceParameter& from);
11535 void MergeFrom(const SliceParameter& from);
11536 void Clear() PROTOBUF_FINAL;
11537 bool IsInitialized() const PROTOBUF_FINAL;
11538
11539 size_t ByteSizeLong() const PROTOBUF_FINAL;
11540 bool MergePartialFromCodedStream(
11541 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
11542 void SerializeWithCachedSizes(
11543 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
11544 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
11545 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()11546 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
11547 private:
11548 void SharedCtor();
11549 void SharedDtor();
11550 void SetCachedSize(int size) const PROTOBUF_FINAL;
11551 void InternalSwap(SliceParameter* other);
11552 private:
GetArenaNoVirtual()11553 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
11554 return NULL;
11555 }
MaybeArenaPtr()11556 inline void* MaybeArenaPtr() const {
11557 return NULL;
11558 }
11559 public:
11560
11561 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
11562
11563 // nested types ----------------------------------------------------
11564
11565 // accessors -------------------------------------------------------
11566
11567 // repeated uint32 slice_point = 2;
11568 int slice_point_size() const;
11569 void clear_slice_point();
11570 static const int kSlicePointFieldNumber = 2;
11571 ::google::protobuf::uint32 slice_point(int index) const;
11572 void set_slice_point(int index, ::google::protobuf::uint32 value);
11573 void add_slice_point(::google::protobuf::uint32 value);
11574 const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
11575 slice_point() const;
11576 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
11577 mutable_slice_point();
11578
11579 // optional uint32 slice_dim = 1 [default = 1];
11580 bool has_slice_dim() const;
11581 void clear_slice_dim();
11582 static const int kSliceDimFieldNumber = 1;
11583 ::google::protobuf::uint32 slice_dim() const;
11584 void set_slice_dim(::google::protobuf::uint32 value);
11585
11586 // optional int32 axis = 3 [default = 1];
11587 bool has_axis() const;
11588 void clear_axis();
11589 static const int kAxisFieldNumber = 3;
11590 ::google::protobuf::int32 axis() const;
11591 void set_axis(::google::protobuf::int32 value);
11592
11593 // @@protoc_insertion_point(class_scope:opencv_caffe.SliceParameter)
11594 private:
11595 void set_has_axis();
11596 void clear_has_axis();
11597 void set_has_slice_dim();
11598 void clear_has_slice_dim();
11599
11600 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
11601 ::google::protobuf::internal::HasBits<1> _has_bits_;
11602 mutable int _cached_size_;
11603 ::google::protobuf::RepeatedField< ::google::protobuf::uint32 > slice_point_;
11604 ::google::protobuf::uint32 slice_dim_;
11605 ::google::protobuf::int32 axis_;
11606 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
11607 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsSliceParameterImpl();
11608 };
11609 // -------------------------------------------------------------------
11610
11611 class SoftmaxParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.SoftmaxParameter) */ {
11612 public:
11613 SoftmaxParameter();
11614 virtual ~SoftmaxParameter();
11615
11616 SoftmaxParameter(const SoftmaxParameter& from);
11617
11618 inline SoftmaxParameter& operator=(const SoftmaxParameter& from) {
11619 CopyFrom(from);
11620 return *this;
11621 }
11622 #if LANG_CXX11
SoftmaxParameter(SoftmaxParameter && from)11623 SoftmaxParameter(SoftmaxParameter&& from) noexcept
11624 : SoftmaxParameter() {
11625 *this = ::std::move(from);
11626 }
11627
11628 inline SoftmaxParameter& operator=(SoftmaxParameter&& from) noexcept {
11629 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11630 if (this != &from) InternalSwap(&from);
11631 } else {
11632 CopyFrom(from);
11633 }
11634 return *this;
11635 }
11636 #endif
unknown_fields()11637 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
11638 return _internal_metadata_.unknown_fields();
11639 }
mutable_unknown_fields()11640 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
11641 return _internal_metadata_.mutable_unknown_fields();
11642 }
11643
11644 static const ::google::protobuf::Descriptor* descriptor();
11645 static const SoftmaxParameter& default_instance();
11646
11647 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11648 static inline const SoftmaxParameter* internal_default_instance() {
11649 return reinterpret_cast<const SoftmaxParameter*>(
11650 &_SoftmaxParameter_default_instance_);
11651 }
11652 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
11653 58;
11654
11655 void Swap(SoftmaxParameter* other);
swap(SoftmaxParameter & a,SoftmaxParameter & b)11656 friend void swap(SoftmaxParameter& a, SoftmaxParameter& b) {
11657 a.Swap(&b);
11658 }
11659
11660 // implements Message ----------------------------------------------
11661
New()11662 inline SoftmaxParameter* New() const PROTOBUF_FINAL { return New(NULL); }
11663
11664 SoftmaxParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
11665 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11666 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11667 void CopyFrom(const SoftmaxParameter& from);
11668 void MergeFrom(const SoftmaxParameter& from);
11669 void Clear() PROTOBUF_FINAL;
11670 bool IsInitialized() const PROTOBUF_FINAL;
11671
11672 size_t ByteSizeLong() const PROTOBUF_FINAL;
11673 bool MergePartialFromCodedStream(
11674 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
11675 void SerializeWithCachedSizes(
11676 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
11677 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
11678 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()11679 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
11680 private:
11681 void SharedCtor();
11682 void SharedDtor();
11683 void SetCachedSize(int size) const PROTOBUF_FINAL;
11684 void InternalSwap(SoftmaxParameter* other);
11685 private:
GetArenaNoVirtual()11686 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
11687 return NULL;
11688 }
MaybeArenaPtr()11689 inline void* MaybeArenaPtr() const {
11690 return NULL;
11691 }
11692 public:
11693
11694 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
11695
11696 // nested types ----------------------------------------------------
11697
11698 typedef SoftmaxParameter_Engine Engine;
11699 static const Engine DEFAULT =
11700 SoftmaxParameter_Engine_DEFAULT;
11701 static const Engine CAFFE =
11702 SoftmaxParameter_Engine_CAFFE;
11703 static const Engine CUDNN =
11704 SoftmaxParameter_Engine_CUDNN;
Engine_IsValid(int value)11705 static inline bool Engine_IsValid(int value) {
11706 return SoftmaxParameter_Engine_IsValid(value);
11707 }
11708 static const Engine Engine_MIN =
11709 SoftmaxParameter_Engine_Engine_MIN;
11710 static const Engine Engine_MAX =
11711 SoftmaxParameter_Engine_Engine_MAX;
11712 static const int Engine_ARRAYSIZE =
11713 SoftmaxParameter_Engine_Engine_ARRAYSIZE;
11714 static inline const ::google::protobuf::EnumDescriptor*
Engine_descriptor()11715 Engine_descriptor() {
11716 return SoftmaxParameter_Engine_descriptor();
11717 }
Engine_Name(Engine value)11718 static inline const ::std::string& Engine_Name(Engine value) {
11719 return SoftmaxParameter_Engine_Name(value);
11720 }
Engine_Parse(const::std::string & name,Engine * value)11721 static inline bool Engine_Parse(const ::std::string& name,
11722 Engine* value) {
11723 return SoftmaxParameter_Engine_Parse(name, value);
11724 }
11725
11726 // accessors -------------------------------------------------------
11727
11728 // optional .opencv_caffe.SoftmaxParameter.Engine engine = 1 [default = DEFAULT];
11729 bool has_engine() const;
11730 void clear_engine();
11731 static const int kEngineFieldNumber = 1;
11732 ::opencv_caffe::SoftmaxParameter_Engine engine() const;
11733 void set_engine(::opencv_caffe::SoftmaxParameter_Engine value);
11734
11735 // optional int32 axis = 2 [default = 1];
11736 bool has_axis() const;
11737 void clear_axis();
11738 static const int kAxisFieldNumber = 2;
11739 ::google::protobuf::int32 axis() const;
11740 void set_axis(::google::protobuf::int32 value);
11741
11742 // @@protoc_insertion_point(class_scope:opencv_caffe.SoftmaxParameter)
11743 private:
11744 void set_has_engine();
11745 void clear_has_engine();
11746 void set_has_axis();
11747 void clear_has_axis();
11748
11749 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
11750 ::google::protobuf::internal::HasBits<1> _has_bits_;
11751 mutable int _cached_size_;
11752 int engine_;
11753 ::google::protobuf::int32 axis_;
11754 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
11755 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsSoftmaxParameterImpl();
11756 };
11757 // -------------------------------------------------------------------
11758
11759 class TanHParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.TanHParameter) */ {
11760 public:
11761 TanHParameter();
11762 virtual ~TanHParameter();
11763
11764 TanHParameter(const TanHParameter& from);
11765
11766 inline TanHParameter& operator=(const TanHParameter& from) {
11767 CopyFrom(from);
11768 return *this;
11769 }
11770 #if LANG_CXX11
TanHParameter(TanHParameter && from)11771 TanHParameter(TanHParameter&& from) noexcept
11772 : TanHParameter() {
11773 *this = ::std::move(from);
11774 }
11775
11776 inline TanHParameter& operator=(TanHParameter&& from) noexcept {
11777 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11778 if (this != &from) InternalSwap(&from);
11779 } else {
11780 CopyFrom(from);
11781 }
11782 return *this;
11783 }
11784 #endif
unknown_fields()11785 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
11786 return _internal_metadata_.unknown_fields();
11787 }
mutable_unknown_fields()11788 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
11789 return _internal_metadata_.mutable_unknown_fields();
11790 }
11791
11792 static const ::google::protobuf::Descriptor* descriptor();
11793 static const TanHParameter& default_instance();
11794
11795 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11796 static inline const TanHParameter* internal_default_instance() {
11797 return reinterpret_cast<const TanHParameter*>(
11798 &_TanHParameter_default_instance_);
11799 }
11800 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
11801 59;
11802
11803 void Swap(TanHParameter* other);
swap(TanHParameter & a,TanHParameter & b)11804 friend void swap(TanHParameter& a, TanHParameter& b) {
11805 a.Swap(&b);
11806 }
11807
11808 // implements Message ----------------------------------------------
11809
New()11810 inline TanHParameter* New() const PROTOBUF_FINAL { return New(NULL); }
11811
11812 TanHParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
11813 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11814 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11815 void CopyFrom(const TanHParameter& from);
11816 void MergeFrom(const TanHParameter& from);
11817 void Clear() PROTOBUF_FINAL;
11818 bool IsInitialized() const PROTOBUF_FINAL;
11819
11820 size_t ByteSizeLong() const PROTOBUF_FINAL;
11821 bool MergePartialFromCodedStream(
11822 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
11823 void SerializeWithCachedSizes(
11824 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
11825 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
11826 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()11827 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
11828 private:
11829 void SharedCtor();
11830 void SharedDtor();
11831 void SetCachedSize(int size) const PROTOBUF_FINAL;
11832 void InternalSwap(TanHParameter* other);
11833 private:
GetArenaNoVirtual()11834 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
11835 return NULL;
11836 }
MaybeArenaPtr()11837 inline void* MaybeArenaPtr() const {
11838 return NULL;
11839 }
11840 public:
11841
11842 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
11843
11844 // nested types ----------------------------------------------------
11845
11846 typedef TanHParameter_Engine Engine;
11847 static const Engine DEFAULT =
11848 TanHParameter_Engine_DEFAULT;
11849 static const Engine CAFFE =
11850 TanHParameter_Engine_CAFFE;
11851 static const Engine CUDNN =
11852 TanHParameter_Engine_CUDNN;
Engine_IsValid(int value)11853 static inline bool Engine_IsValid(int value) {
11854 return TanHParameter_Engine_IsValid(value);
11855 }
11856 static const Engine Engine_MIN =
11857 TanHParameter_Engine_Engine_MIN;
11858 static const Engine Engine_MAX =
11859 TanHParameter_Engine_Engine_MAX;
11860 static const int Engine_ARRAYSIZE =
11861 TanHParameter_Engine_Engine_ARRAYSIZE;
11862 static inline const ::google::protobuf::EnumDescriptor*
Engine_descriptor()11863 Engine_descriptor() {
11864 return TanHParameter_Engine_descriptor();
11865 }
Engine_Name(Engine value)11866 static inline const ::std::string& Engine_Name(Engine value) {
11867 return TanHParameter_Engine_Name(value);
11868 }
Engine_Parse(const::std::string & name,Engine * value)11869 static inline bool Engine_Parse(const ::std::string& name,
11870 Engine* value) {
11871 return TanHParameter_Engine_Parse(name, value);
11872 }
11873
11874 // accessors -------------------------------------------------------
11875
11876 // optional .opencv_caffe.TanHParameter.Engine engine = 1 [default = DEFAULT];
11877 bool has_engine() const;
11878 void clear_engine();
11879 static const int kEngineFieldNumber = 1;
11880 ::opencv_caffe::TanHParameter_Engine engine() const;
11881 void set_engine(::opencv_caffe::TanHParameter_Engine value);
11882
11883 // @@protoc_insertion_point(class_scope:opencv_caffe.TanHParameter)
11884 private:
11885 void set_has_engine();
11886 void clear_has_engine();
11887
11888 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
11889 ::google::protobuf::internal::HasBits<1> _has_bits_;
11890 mutable int _cached_size_;
11891 int engine_;
11892 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
11893 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsTanHParameterImpl();
11894 };
11895 // -------------------------------------------------------------------
11896
11897 class TileParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.TileParameter) */ {
11898 public:
11899 TileParameter();
11900 virtual ~TileParameter();
11901
11902 TileParameter(const TileParameter& from);
11903
11904 inline TileParameter& operator=(const TileParameter& from) {
11905 CopyFrom(from);
11906 return *this;
11907 }
11908 #if LANG_CXX11
TileParameter(TileParameter && from)11909 TileParameter(TileParameter&& from) noexcept
11910 : TileParameter() {
11911 *this = ::std::move(from);
11912 }
11913
11914 inline TileParameter& operator=(TileParameter&& from) noexcept {
11915 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
11916 if (this != &from) InternalSwap(&from);
11917 } else {
11918 CopyFrom(from);
11919 }
11920 return *this;
11921 }
11922 #endif
unknown_fields()11923 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
11924 return _internal_metadata_.unknown_fields();
11925 }
mutable_unknown_fields()11926 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
11927 return _internal_metadata_.mutable_unknown_fields();
11928 }
11929
11930 static const ::google::protobuf::Descriptor* descriptor();
11931 static const TileParameter& default_instance();
11932
11933 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()11934 static inline const TileParameter* internal_default_instance() {
11935 return reinterpret_cast<const TileParameter*>(
11936 &_TileParameter_default_instance_);
11937 }
11938 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
11939 60;
11940
11941 void Swap(TileParameter* other);
swap(TileParameter & a,TileParameter & b)11942 friend void swap(TileParameter& a, TileParameter& b) {
11943 a.Swap(&b);
11944 }
11945
11946 // implements Message ----------------------------------------------
11947
New()11948 inline TileParameter* New() const PROTOBUF_FINAL { return New(NULL); }
11949
11950 TileParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
11951 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11952 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
11953 void CopyFrom(const TileParameter& from);
11954 void MergeFrom(const TileParameter& from);
11955 void Clear() PROTOBUF_FINAL;
11956 bool IsInitialized() const PROTOBUF_FINAL;
11957
11958 size_t ByteSizeLong() const PROTOBUF_FINAL;
11959 bool MergePartialFromCodedStream(
11960 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
11961 void SerializeWithCachedSizes(
11962 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
11963 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
11964 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()11965 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
11966 private:
11967 void SharedCtor();
11968 void SharedDtor();
11969 void SetCachedSize(int size) const PROTOBUF_FINAL;
11970 void InternalSwap(TileParameter* other);
11971 private:
GetArenaNoVirtual()11972 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
11973 return NULL;
11974 }
MaybeArenaPtr()11975 inline void* MaybeArenaPtr() const {
11976 return NULL;
11977 }
11978 public:
11979
11980 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
11981
11982 // nested types ----------------------------------------------------
11983
11984 // accessors -------------------------------------------------------
11985
11986 // optional int32 tiles = 2;
11987 bool has_tiles() const;
11988 void clear_tiles();
11989 static const int kTilesFieldNumber = 2;
11990 ::google::protobuf::int32 tiles() const;
11991 void set_tiles(::google::protobuf::int32 value);
11992
11993 // optional int32 axis = 1 [default = 1];
11994 bool has_axis() const;
11995 void clear_axis();
11996 static const int kAxisFieldNumber = 1;
11997 ::google::protobuf::int32 axis() const;
11998 void set_axis(::google::protobuf::int32 value);
11999
12000 // @@protoc_insertion_point(class_scope:opencv_caffe.TileParameter)
12001 private:
12002 void set_has_axis();
12003 void clear_has_axis();
12004 void set_has_tiles();
12005 void clear_has_tiles();
12006
12007 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
12008 ::google::protobuf::internal::HasBits<1> _has_bits_;
12009 mutable int _cached_size_;
12010 ::google::protobuf::int32 tiles_;
12011 ::google::protobuf::int32 axis_;
12012 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
12013 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsTileParameterImpl();
12014 };
12015 // -------------------------------------------------------------------
12016
12017 class ThresholdParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ThresholdParameter) */ {
12018 public:
12019 ThresholdParameter();
12020 virtual ~ThresholdParameter();
12021
12022 ThresholdParameter(const ThresholdParameter& from);
12023
12024 inline ThresholdParameter& operator=(const ThresholdParameter& from) {
12025 CopyFrom(from);
12026 return *this;
12027 }
12028 #if LANG_CXX11
ThresholdParameter(ThresholdParameter && from)12029 ThresholdParameter(ThresholdParameter&& from) noexcept
12030 : ThresholdParameter() {
12031 *this = ::std::move(from);
12032 }
12033
12034 inline ThresholdParameter& operator=(ThresholdParameter&& from) noexcept {
12035 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
12036 if (this != &from) InternalSwap(&from);
12037 } else {
12038 CopyFrom(from);
12039 }
12040 return *this;
12041 }
12042 #endif
unknown_fields()12043 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
12044 return _internal_metadata_.unknown_fields();
12045 }
mutable_unknown_fields()12046 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
12047 return _internal_metadata_.mutable_unknown_fields();
12048 }
12049
12050 static const ::google::protobuf::Descriptor* descriptor();
12051 static const ThresholdParameter& default_instance();
12052
12053 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()12054 static inline const ThresholdParameter* internal_default_instance() {
12055 return reinterpret_cast<const ThresholdParameter*>(
12056 &_ThresholdParameter_default_instance_);
12057 }
12058 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
12059 61;
12060
12061 void Swap(ThresholdParameter* other);
swap(ThresholdParameter & a,ThresholdParameter & b)12062 friend void swap(ThresholdParameter& a, ThresholdParameter& b) {
12063 a.Swap(&b);
12064 }
12065
12066 // implements Message ----------------------------------------------
12067
New()12068 inline ThresholdParameter* New() const PROTOBUF_FINAL { return New(NULL); }
12069
12070 ThresholdParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
12071 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
12072 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
12073 void CopyFrom(const ThresholdParameter& from);
12074 void MergeFrom(const ThresholdParameter& from);
12075 void Clear() PROTOBUF_FINAL;
12076 bool IsInitialized() const PROTOBUF_FINAL;
12077
12078 size_t ByteSizeLong() const PROTOBUF_FINAL;
12079 bool MergePartialFromCodedStream(
12080 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
12081 void SerializeWithCachedSizes(
12082 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
12083 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
12084 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()12085 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
12086 private:
12087 void SharedCtor();
12088 void SharedDtor();
12089 void SetCachedSize(int size) const PROTOBUF_FINAL;
12090 void InternalSwap(ThresholdParameter* other);
12091 private:
GetArenaNoVirtual()12092 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
12093 return NULL;
12094 }
MaybeArenaPtr()12095 inline void* MaybeArenaPtr() const {
12096 return NULL;
12097 }
12098 public:
12099
12100 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
12101
12102 // nested types ----------------------------------------------------
12103
12104 // accessors -------------------------------------------------------
12105
12106 // optional float threshold = 1 [default = 0];
12107 bool has_threshold() const;
12108 void clear_threshold();
12109 static const int kThresholdFieldNumber = 1;
12110 float threshold() const;
12111 void set_threshold(float value);
12112
12113 // @@protoc_insertion_point(class_scope:opencv_caffe.ThresholdParameter)
12114 private:
12115 void set_has_threshold();
12116 void clear_has_threshold();
12117
12118 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
12119 ::google::protobuf::internal::HasBits<1> _has_bits_;
12120 mutable int _cached_size_;
12121 float threshold_;
12122 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
12123 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsThresholdParameterImpl();
12124 };
12125 // -------------------------------------------------------------------
12126
12127 class WindowDataParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.WindowDataParameter) */ {
12128 public:
12129 WindowDataParameter();
12130 virtual ~WindowDataParameter();
12131
12132 WindowDataParameter(const WindowDataParameter& from);
12133
12134 inline WindowDataParameter& operator=(const WindowDataParameter& from) {
12135 CopyFrom(from);
12136 return *this;
12137 }
12138 #if LANG_CXX11
WindowDataParameter(WindowDataParameter && from)12139 WindowDataParameter(WindowDataParameter&& from) noexcept
12140 : WindowDataParameter() {
12141 *this = ::std::move(from);
12142 }
12143
12144 inline WindowDataParameter& operator=(WindowDataParameter&& from) noexcept {
12145 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
12146 if (this != &from) InternalSwap(&from);
12147 } else {
12148 CopyFrom(from);
12149 }
12150 return *this;
12151 }
12152 #endif
unknown_fields()12153 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
12154 return _internal_metadata_.unknown_fields();
12155 }
mutable_unknown_fields()12156 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
12157 return _internal_metadata_.mutable_unknown_fields();
12158 }
12159
12160 static const ::google::protobuf::Descriptor* descriptor();
12161 static const WindowDataParameter& default_instance();
12162
12163 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()12164 static inline const WindowDataParameter* internal_default_instance() {
12165 return reinterpret_cast<const WindowDataParameter*>(
12166 &_WindowDataParameter_default_instance_);
12167 }
12168 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
12169 62;
12170
12171 void Swap(WindowDataParameter* other);
swap(WindowDataParameter & a,WindowDataParameter & b)12172 friend void swap(WindowDataParameter& a, WindowDataParameter& b) {
12173 a.Swap(&b);
12174 }
12175
12176 // implements Message ----------------------------------------------
12177
New()12178 inline WindowDataParameter* New() const PROTOBUF_FINAL { return New(NULL); }
12179
12180 WindowDataParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
12181 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
12182 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
12183 void CopyFrom(const WindowDataParameter& from);
12184 void MergeFrom(const WindowDataParameter& from);
12185 void Clear() PROTOBUF_FINAL;
12186 bool IsInitialized() const PROTOBUF_FINAL;
12187
12188 size_t ByteSizeLong() const PROTOBUF_FINAL;
12189 bool MergePartialFromCodedStream(
12190 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
12191 void SerializeWithCachedSizes(
12192 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
12193 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
12194 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()12195 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
12196 private:
12197 void SharedCtor();
12198 void SharedDtor();
12199 void SetCachedSize(int size) const PROTOBUF_FINAL;
12200 void InternalSwap(WindowDataParameter* other);
12201 private:
GetArenaNoVirtual()12202 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
12203 return NULL;
12204 }
MaybeArenaPtr()12205 inline void* MaybeArenaPtr() const {
12206 return NULL;
12207 }
12208 public:
12209
12210 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
12211
12212 // nested types ----------------------------------------------------
12213
12214 // accessors -------------------------------------------------------
12215
12216 // optional string source = 1;
12217 bool has_source() const;
12218 void clear_source();
12219 static const int kSourceFieldNumber = 1;
12220 const ::std::string& source() const;
12221 void set_source(const ::std::string& value);
12222 #if LANG_CXX11
12223 void set_source(::std::string&& value);
12224 #endif
12225 void set_source(const char* value);
12226 void set_source(const char* value, size_t size);
12227 ::std::string* mutable_source();
12228 ::std::string* release_source();
12229 void set_allocated_source(::std::string* source);
12230
12231 // optional string mean_file = 3;
12232 bool has_mean_file() const;
12233 void clear_mean_file();
12234 static const int kMeanFileFieldNumber = 3;
12235 const ::std::string& mean_file() const;
12236 void set_mean_file(const ::std::string& value);
12237 #if LANG_CXX11
12238 void set_mean_file(::std::string&& value);
12239 #endif
12240 void set_mean_file(const char* value);
12241 void set_mean_file(const char* value, size_t size);
12242 ::std::string* mutable_mean_file();
12243 ::std::string* release_mean_file();
12244 void set_allocated_mean_file(::std::string* mean_file);
12245
12246 // optional string crop_mode = 11 [default = "warp"];
12247 bool has_crop_mode() const;
12248 void clear_crop_mode();
12249 static const int kCropModeFieldNumber = 11;
12250 const ::std::string& crop_mode() const;
12251 void set_crop_mode(const ::std::string& value);
12252 #if LANG_CXX11
12253 void set_crop_mode(::std::string&& value);
12254 #endif
12255 void set_crop_mode(const char* value);
12256 void set_crop_mode(const char* value, size_t size);
12257 ::std::string* mutable_crop_mode();
12258 ::std::string* release_crop_mode();
12259 void set_allocated_crop_mode(::std::string* crop_mode);
12260
12261 // optional string root_folder = 13 [default = ""];
12262 bool has_root_folder() const;
12263 void clear_root_folder();
12264 static const int kRootFolderFieldNumber = 13;
12265 const ::std::string& root_folder() const;
12266 void set_root_folder(const ::std::string& value);
12267 #if LANG_CXX11
12268 void set_root_folder(::std::string&& value);
12269 #endif
12270 void set_root_folder(const char* value);
12271 void set_root_folder(const char* value, size_t size);
12272 ::std::string* mutable_root_folder();
12273 ::std::string* release_root_folder();
12274 void set_allocated_root_folder(::std::string* root_folder);
12275
12276 // optional uint32 batch_size = 4;
12277 bool has_batch_size() const;
12278 void clear_batch_size();
12279 static const int kBatchSizeFieldNumber = 4;
12280 ::google::protobuf::uint32 batch_size() const;
12281 void set_batch_size(::google::protobuf::uint32 value);
12282
12283 // optional uint32 crop_size = 5 [default = 0];
12284 bool has_crop_size() const;
12285 void clear_crop_size();
12286 static const int kCropSizeFieldNumber = 5;
12287 ::google::protobuf::uint32 crop_size() const;
12288 void set_crop_size(::google::protobuf::uint32 value);
12289
12290 // optional bool mirror = 6 [default = false];
12291 bool has_mirror() const;
12292 void clear_mirror();
12293 static const int kMirrorFieldNumber = 6;
12294 bool mirror() const;
12295 void set_mirror(bool value);
12296
12297 // optional bool cache_images = 12 [default = false];
12298 bool has_cache_images() const;
12299 void clear_cache_images();
12300 static const int kCacheImagesFieldNumber = 12;
12301 bool cache_images() const;
12302 void set_cache_images(bool value);
12303
12304 // optional uint32 context_pad = 10 [default = 0];
12305 bool has_context_pad() const;
12306 void clear_context_pad();
12307 static const int kContextPadFieldNumber = 10;
12308 ::google::protobuf::uint32 context_pad() const;
12309 void set_context_pad(::google::protobuf::uint32 value);
12310
12311 // optional float scale = 2 [default = 1];
12312 bool has_scale() const;
12313 void clear_scale();
12314 static const int kScaleFieldNumber = 2;
12315 float scale() const;
12316 void set_scale(float value);
12317
12318 // optional float fg_threshold = 7 [default = 0.5];
12319 bool has_fg_threshold() const;
12320 void clear_fg_threshold();
12321 static const int kFgThresholdFieldNumber = 7;
12322 float fg_threshold() const;
12323 void set_fg_threshold(float value);
12324
12325 // optional float bg_threshold = 8 [default = 0.5];
12326 bool has_bg_threshold() const;
12327 void clear_bg_threshold();
12328 static const int kBgThresholdFieldNumber = 8;
12329 float bg_threshold() const;
12330 void set_bg_threshold(float value);
12331
12332 // optional float fg_fraction = 9 [default = 0.25];
12333 bool has_fg_fraction() const;
12334 void clear_fg_fraction();
12335 static const int kFgFractionFieldNumber = 9;
12336 float fg_fraction() const;
12337 void set_fg_fraction(float value);
12338
12339 // @@protoc_insertion_point(class_scope:opencv_caffe.WindowDataParameter)
12340 private:
12341 void set_has_source();
12342 void clear_has_source();
12343 void set_has_scale();
12344 void clear_has_scale();
12345 void set_has_mean_file();
12346 void clear_has_mean_file();
12347 void set_has_batch_size();
12348 void clear_has_batch_size();
12349 void set_has_crop_size();
12350 void clear_has_crop_size();
12351 void set_has_mirror();
12352 void clear_has_mirror();
12353 void set_has_fg_threshold();
12354 void clear_has_fg_threshold();
12355 void set_has_bg_threshold();
12356 void clear_has_bg_threshold();
12357 void set_has_fg_fraction();
12358 void clear_has_fg_fraction();
12359 void set_has_context_pad();
12360 void clear_has_context_pad();
12361 void set_has_crop_mode();
12362 void clear_has_crop_mode();
12363 void set_has_cache_images();
12364 void clear_has_cache_images();
12365 void set_has_root_folder();
12366 void clear_has_root_folder();
12367
12368 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
12369 ::google::protobuf::internal::HasBits<1> _has_bits_;
12370 mutable int _cached_size_;
12371 ::google::protobuf::internal::ArenaStringPtr source_;
12372 ::google::protobuf::internal::ArenaStringPtr mean_file_;
12373 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _default_crop_mode_;
12374 ::google::protobuf::internal::ArenaStringPtr crop_mode_;
12375 ::google::protobuf::internal::ArenaStringPtr root_folder_;
12376 ::google::protobuf::uint32 batch_size_;
12377 ::google::protobuf::uint32 crop_size_;
12378 bool mirror_;
12379 bool cache_images_;
12380 ::google::protobuf::uint32 context_pad_;
12381 float scale_;
12382 float fg_threshold_;
12383 float bg_threshold_;
12384 float fg_fraction_;
12385 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
12386 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsWindowDataParameterImpl();
12387 };
12388 // -------------------------------------------------------------------
12389
12390 class SPPParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.SPPParameter) */ {
12391 public:
12392 SPPParameter();
12393 virtual ~SPPParameter();
12394
12395 SPPParameter(const SPPParameter& from);
12396
12397 inline SPPParameter& operator=(const SPPParameter& from) {
12398 CopyFrom(from);
12399 return *this;
12400 }
12401 #if LANG_CXX11
SPPParameter(SPPParameter && from)12402 SPPParameter(SPPParameter&& from) noexcept
12403 : SPPParameter() {
12404 *this = ::std::move(from);
12405 }
12406
12407 inline SPPParameter& operator=(SPPParameter&& from) noexcept {
12408 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
12409 if (this != &from) InternalSwap(&from);
12410 } else {
12411 CopyFrom(from);
12412 }
12413 return *this;
12414 }
12415 #endif
unknown_fields()12416 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
12417 return _internal_metadata_.unknown_fields();
12418 }
mutable_unknown_fields()12419 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
12420 return _internal_metadata_.mutable_unknown_fields();
12421 }
12422
12423 static const ::google::protobuf::Descriptor* descriptor();
12424 static const SPPParameter& default_instance();
12425
12426 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()12427 static inline const SPPParameter* internal_default_instance() {
12428 return reinterpret_cast<const SPPParameter*>(
12429 &_SPPParameter_default_instance_);
12430 }
12431 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
12432 63;
12433
12434 void Swap(SPPParameter* other);
swap(SPPParameter & a,SPPParameter & b)12435 friend void swap(SPPParameter& a, SPPParameter& b) {
12436 a.Swap(&b);
12437 }
12438
12439 // implements Message ----------------------------------------------
12440
New()12441 inline SPPParameter* New() const PROTOBUF_FINAL { return New(NULL); }
12442
12443 SPPParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
12444 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
12445 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
12446 void CopyFrom(const SPPParameter& from);
12447 void MergeFrom(const SPPParameter& from);
12448 void Clear() PROTOBUF_FINAL;
12449 bool IsInitialized() const PROTOBUF_FINAL;
12450
12451 size_t ByteSizeLong() const PROTOBUF_FINAL;
12452 bool MergePartialFromCodedStream(
12453 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
12454 void SerializeWithCachedSizes(
12455 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
12456 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
12457 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()12458 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
12459 private:
12460 void SharedCtor();
12461 void SharedDtor();
12462 void SetCachedSize(int size) const PROTOBUF_FINAL;
12463 void InternalSwap(SPPParameter* other);
12464 private:
GetArenaNoVirtual()12465 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
12466 return NULL;
12467 }
MaybeArenaPtr()12468 inline void* MaybeArenaPtr() const {
12469 return NULL;
12470 }
12471 public:
12472
12473 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
12474
12475 // nested types ----------------------------------------------------
12476
12477 typedef SPPParameter_PoolMethod PoolMethod;
12478 static const PoolMethod MAX =
12479 SPPParameter_PoolMethod_MAX;
12480 static const PoolMethod AVE =
12481 SPPParameter_PoolMethod_AVE;
12482 static const PoolMethod STOCHASTIC =
12483 SPPParameter_PoolMethod_STOCHASTIC;
PoolMethod_IsValid(int value)12484 static inline bool PoolMethod_IsValid(int value) {
12485 return SPPParameter_PoolMethod_IsValid(value);
12486 }
12487 static const PoolMethod PoolMethod_MIN =
12488 SPPParameter_PoolMethod_PoolMethod_MIN;
12489 static const PoolMethod PoolMethod_MAX =
12490 SPPParameter_PoolMethod_PoolMethod_MAX;
12491 static const int PoolMethod_ARRAYSIZE =
12492 SPPParameter_PoolMethod_PoolMethod_ARRAYSIZE;
12493 static inline const ::google::protobuf::EnumDescriptor*
PoolMethod_descriptor()12494 PoolMethod_descriptor() {
12495 return SPPParameter_PoolMethod_descriptor();
12496 }
PoolMethod_Name(PoolMethod value)12497 static inline const ::std::string& PoolMethod_Name(PoolMethod value) {
12498 return SPPParameter_PoolMethod_Name(value);
12499 }
PoolMethod_Parse(const::std::string & name,PoolMethod * value)12500 static inline bool PoolMethod_Parse(const ::std::string& name,
12501 PoolMethod* value) {
12502 return SPPParameter_PoolMethod_Parse(name, value);
12503 }
12504
12505 typedef SPPParameter_Engine Engine;
12506 static const Engine DEFAULT =
12507 SPPParameter_Engine_DEFAULT;
12508 static const Engine CAFFE =
12509 SPPParameter_Engine_CAFFE;
12510 static const Engine CUDNN =
12511 SPPParameter_Engine_CUDNN;
Engine_IsValid(int value)12512 static inline bool Engine_IsValid(int value) {
12513 return SPPParameter_Engine_IsValid(value);
12514 }
12515 static const Engine Engine_MIN =
12516 SPPParameter_Engine_Engine_MIN;
12517 static const Engine Engine_MAX =
12518 SPPParameter_Engine_Engine_MAX;
12519 static const int Engine_ARRAYSIZE =
12520 SPPParameter_Engine_Engine_ARRAYSIZE;
12521 static inline const ::google::protobuf::EnumDescriptor*
Engine_descriptor()12522 Engine_descriptor() {
12523 return SPPParameter_Engine_descriptor();
12524 }
Engine_Name(Engine value)12525 static inline const ::std::string& Engine_Name(Engine value) {
12526 return SPPParameter_Engine_Name(value);
12527 }
Engine_Parse(const::std::string & name,Engine * value)12528 static inline bool Engine_Parse(const ::std::string& name,
12529 Engine* value) {
12530 return SPPParameter_Engine_Parse(name, value);
12531 }
12532
12533 // accessors -------------------------------------------------------
12534
12535 // optional uint32 pyramid_height = 1;
12536 bool has_pyramid_height() const;
12537 void clear_pyramid_height();
12538 static const int kPyramidHeightFieldNumber = 1;
12539 ::google::protobuf::uint32 pyramid_height() const;
12540 void set_pyramid_height(::google::protobuf::uint32 value);
12541
12542 // optional .opencv_caffe.SPPParameter.PoolMethod pool = 2 [default = MAX];
12543 bool has_pool() const;
12544 void clear_pool();
12545 static const int kPoolFieldNumber = 2;
12546 ::opencv_caffe::SPPParameter_PoolMethod pool() const;
12547 void set_pool(::opencv_caffe::SPPParameter_PoolMethod value);
12548
12549 // optional .opencv_caffe.SPPParameter.Engine engine = 6 [default = DEFAULT];
12550 bool has_engine() const;
12551 void clear_engine();
12552 static const int kEngineFieldNumber = 6;
12553 ::opencv_caffe::SPPParameter_Engine engine() const;
12554 void set_engine(::opencv_caffe::SPPParameter_Engine value);
12555
12556 // @@protoc_insertion_point(class_scope:opencv_caffe.SPPParameter)
12557 private:
12558 void set_has_pyramid_height();
12559 void clear_has_pyramid_height();
12560 void set_has_pool();
12561 void clear_has_pool();
12562 void set_has_engine();
12563 void clear_has_engine();
12564
12565 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
12566 ::google::protobuf::internal::HasBits<1> _has_bits_;
12567 mutable int _cached_size_;
12568 ::google::protobuf::uint32 pyramid_height_;
12569 int pool_;
12570 int engine_;
12571 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
12572 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsSPPParameterImpl();
12573 };
12574 // -------------------------------------------------------------------
12575
12576 class V1LayerParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.V1LayerParameter) */ {
12577 public:
12578 V1LayerParameter();
12579 virtual ~V1LayerParameter();
12580
12581 V1LayerParameter(const V1LayerParameter& from);
12582
12583 inline V1LayerParameter& operator=(const V1LayerParameter& from) {
12584 CopyFrom(from);
12585 return *this;
12586 }
12587 #if LANG_CXX11
V1LayerParameter(V1LayerParameter && from)12588 V1LayerParameter(V1LayerParameter&& from) noexcept
12589 : V1LayerParameter() {
12590 *this = ::std::move(from);
12591 }
12592
12593 inline V1LayerParameter& operator=(V1LayerParameter&& from) noexcept {
12594 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
12595 if (this != &from) InternalSwap(&from);
12596 } else {
12597 CopyFrom(from);
12598 }
12599 return *this;
12600 }
12601 #endif
unknown_fields()12602 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
12603 return _internal_metadata_.unknown_fields();
12604 }
mutable_unknown_fields()12605 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
12606 return _internal_metadata_.mutable_unknown_fields();
12607 }
12608
12609 static const ::google::protobuf::Descriptor* descriptor();
12610 static const V1LayerParameter& default_instance();
12611
12612 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()12613 static inline const V1LayerParameter* internal_default_instance() {
12614 return reinterpret_cast<const V1LayerParameter*>(
12615 &_V1LayerParameter_default_instance_);
12616 }
12617 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
12618 64;
12619
12620 void Swap(V1LayerParameter* other);
swap(V1LayerParameter & a,V1LayerParameter & b)12621 friend void swap(V1LayerParameter& a, V1LayerParameter& b) {
12622 a.Swap(&b);
12623 }
12624
12625 // implements Message ----------------------------------------------
12626
New()12627 inline V1LayerParameter* New() const PROTOBUF_FINAL { return New(NULL); }
12628
12629 V1LayerParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
12630 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
12631 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
12632 void CopyFrom(const V1LayerParameter& from);
12633 void MergeFrom(const V1LayerParameter& from);
12634 void Clear() PROTOBUF_FINAL;
12635 bool IsInitialized() const PROTOBUF_FINAL;
12636
12637 size_t ByteSizeLong() const PROTOBUF_FINAL;
12638 bool MergePartialFromCodedStream(
12639 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
12640 void SerializeWithCachedSizes(
12641 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
12642 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
12643 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()12644 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
12645 private:
12646 void SharedCtor();
12647 void SharedDtor();
12648 void SetCachedSize(int size) const PROTOBUF_FINAL;
12649 void InternalSwap(V1LayerParameter* other);
12650 private:
GetArenaNoVirtual()12651 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
12652 return NULL;
12653 }
MaybeArenaPtr()12654 inline void* MaybeArenaPtr() const {
12655 return NULL;
12656 }
12657 public:
12658
12659 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
12660
12661 // nested types ----------------------------------------------------
12662
12663 typedef V1LayerParameter_LayerType LayerType;
12664 static const LayerType NONE =
12665 V1LayerParameter_LayerType_NONE;
12666 static const LayerType ABSVAL =
12667 V1LayerParameter_LayerType_ABSVAL;
12668 static const LayerType ACCURACY =
12669 V1LayerParameter_LayerType_ACCURACY;
12670 static const LayerType ARGMAX =
12671 V1LayerParameter_LayerType_ARGMAX;
12672 static const LayerType BNLL =
12673 V1LayerParameter_LayerType_BNLL;
12674 static const LayerType CONCAT =
12675 V1LayerParameter_LayerType_CONCAT;
12676 static const LayerType CONTRASTIVE_LOSS =
12677 V1LayerParameter_LayerType_CONTRASTIVE_LOSS;
12678 static const LayerType CONVOLUTION =
12679 V1LayerParameter_LayerType_CONVOLUTION;
12680 static const LayerType DATA =
12681 V1LayerParameter_LayerType_DATA;
12682 static const LayerType DECONVOLUTION =
12683 V1LayerParameter_LayerType_DECONVOLUTION;
12684 static const LayerType DROPOUT =
12685 V1LayerParameter_LayerType_DROPOUT;
12686 static const LayerType DUMMY_DATA =
12687 V1LayerParameter_LayerType_DUMMY_DATA;
12688 static const LayerType EUCLIDEAN_LOSS =
12689 V1LayerParameter_LayerType_EUCLIDEAN_LOSS;
12690 static const LayerType ELTWISE =
12691 V1LayerParameter_LayerType_ELTWISE;
12692 static const LayerType EXP =
12693 V1LayerParameter_LayerType_EXP;
12694 static const LayerType FLATTEN =
12695 V1LayerParameter_LayerType_FLATTEN;
12696 static const LayerType HDF5_DATA =
12697 V1LayerParameter_LayerType_HDF5_DATA;
12698 static const LayerType HDF5_OUTPUT =
12699 V1LayerParameter_LayerType_HDF5_OUTPUT;
12700 static const LayerType HINGE_LOSS =
12701 V1LayerParameter_LayerType_HINGE_LOSS;
12702 static const LayerType IM2COL =
12703 V1LayerParameter_LayerType_IM2COL;
12704 static const LayerType IMAGE_DATA =
12705 V1LayerParameter_LayerType_IMAGE_DATA;
12706 static const LayerType INFOGAIN_LOSS =
12707 V1LayerParameter_LayerType_INFOGAIN_LOSS;
12708 static const LayerType INNER_PRODUCT =
12709 V1LayerParameter_LayerType_INNER_PRODUCT;
12710 static const LayerType LRN =
12711 V1LayerParameter_LayerType_LRN;
12712 static const LayerType MEMORY_DATA =
12713 V1LayerParameter_LayerType_MEMORY_DATA;
12714 static const LayerType MULTINOMIAL_LOGISTIC_LOSS =
12715 V1LayerParameter_LayerType_MULTINOMIAL_LOGISTIC_LOSS;
12716 static const LayerType MVN =
12717 V1LayerParameter_LayerType_MVN;
12718 static const LayerType POOLING =
12719 V1LayerParameter_LayerType_POOLING;
12720 static const LayerType POWER =
12721 V1LayerParameter_LayerType_POWER;
12722 static const LayerType RELU =
12723 V1LayerParameter_LayerType_RELU;
12724 static const LayerType SIGMOID =
12725 V1LayerParameter_LayerType_SIGMOID;
12726 static const LayerType SIGMOID_CROSS_ENTROPY_LOSS =
12727 V1LayerParameter_LayerType_SIGMOID_CROSS_ENTROPY_LOSS;
12728 static const LayerType SILENCE =
12729 V1LayerParameter_LayerType_SILENCE;
12730 static const LayerType SOFTMAX =
12731 V1LayerParameter_LayerType_SOFTMAX;
12732 static const LayerType SOFTMAX_LOSS =
12733 V1LayerParameter_LayerType_SOFTMAX_LOSS;
12734 static const LayerType SPLIT =
12735 V1LayerParameter_LayerType_SPLIT;
12736 static const LayerType SLICE =
12737 V1LayerParameter_LayerType_SLICE;
12738 static const LayerType TANH =
12739 V1LayerParameter_LayerType_TANH;
12740 static const LayerType WINDOW_DATA =
12741 V1LayerParameter_LayerType_WINDOW_DATA;
12742 static const LayerType THRESHOLD =
12743 V1LayerParameter_LayerType_THRESHOLD;
LayerType_IsValid(int value)12744 static inline bool LayerType_IsValid(int value) {
12745 return V1LayerParameter_LayerType_IsValid(value);
12746 }
12747 static const LayerType LayerType_MIN =
12748 V1LayerParameter_LayerType_LayerType_MIN;
12749 static const LayerType LayerType_MAX =
12750 V1LayerParameter_LayerType_LayerType_MAX;
12751 static const int LayerType_ARRAYSIZE =
12752 V1LayerParameter_LayerType_LayerType_ARRAYSIZE;
12753 static inline const ::google::protobuf::EnumDescriptor*
LayerType_descriptor()12754 LayerType_descriptor() {
12755 return V1LayerParameter_LayerType_descriptor();
12756 }
LayerType_Name(LayerType value)12757 static inline const ::std::string& LayerType_Name(LayerType value) {
12758 return V1LayerParameter_LayerType_Name(value);
12759 }
LayerType_Parse(const::std::string & name,LayerType * value)12760 static inline bool LayerType_Parse(const ::std::string& name,
12761 LayerType* value) {
12762 return V1LayerParameter_LayerType_Parse(name, value);
12763 }
12764
12765 typedef V1LayerParameter_DimCheckMode DimCheckMode;
12766 static const DimCheckMode STRICT =
12767 V1LayerParameter_DimCheckMode_STRICT;
12768 static const DimCheckMode PERMISSIVE =
12769 V1LayerParameter_DimCheckMode_PERMISSIVE;
DimCheckMode_IsValid(int value)12770 static inline bool DimCheckMode_IsValid(int value) {
12771 return V1LayerParameter_DimCheckMode_IsValid(value);
12772 }
12773 static const DimCheckMode DimCheckMode_MIN =
12774 V1LayerParameter_DimCheckMode_DimCheckMode_MIN;
12775 static const DimCheckMode DimCheckMode_MAX =
12776 V1LayerParameter_DimCheckMode_DimCheckMode_MAX;
12777 static const int DimCheckMode_ARRAYSIZE =
12778 V1LayerParameter_DimCheckMode_DimCheckMode_ARRAYSIZE;
12779 static inline const ::google::protobuf::EnumDescriptor*
DimCheckMode_descriptor()12780 DimCheckMode_descriptor() {
12781 return V1LayerParameter_DimCheckMode_descriptor();
12782 }
DimCheckMode_Name(DimCheckMode value)12783 static inline const ::std::string& DimCheckMode_Name(DimCheckMode value) {
12784 return V1LayerParameter_DimCheckMode_Name(value);
12785 }
DimCheckMode_Parse(const::std::string & name,DimCheckMode * value)12786 static inline bool DimCheckMode_Parse(const ::std::string& name,
12787 DimCheckMode* value) {
12788 return V1LayerParameter_DimCheckMode_Parse(name, value);
12789 }
12790
12791 // accessors -------------------------------------------------------
12792
12793 // repeated string bottom = 2;
12794 int bottom_size() const;
12795 void clear_bottom();
12796 static const int kBottomFieldNumber = 2;
12797 const ::std::string& bottom(int index) const;
12798 ::std::string* mutable_bottom(int index);
12799 void set_bottom(int index, const ::std::string& value);
12800 #if LANG_CXX11
12801 void set_bottom(int index, ::std::string&& value);
12802 #endif
12803 void set_bottom(int index, const char* value);
12804 void set_bottom(int index, const char* value, size_t size);
12805 ::std::string* add_bottom();
12806 void add_bottom(const ::std::string& value);
12807 #if LANG_CXX11
12808 void add_bottom(::std::string&& value);
12809 #endif
12810 void add_bottom(const char* value);
12811 void add_bottom(const char* value, size_t size);
12812 const ::google::protobuf::RepeatedPtrField< ::std::string>& bottom() const;
12813 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_bottom();
12814
12815 // repeated string top = 3;
12816 int top_size() const;
12817 void clear_top();
12818 static const int kTopFieldNumber = 3;
12819 const ::std::string& top(int index) const;
12820 ::std::string* mutable_top(int index);
12821 void set_top(int index, const ::std::string& value);
12822 #if LANG_CXX11
12823 void set_top(int index, ::std::string&& value);
12824 #endif
12825 void set_top(int index, const char* value);
12826 void set_top(int index, const char* value, size_t size);
12827 ::std::string* add_top();
12828 void add_top(const ::std::string& value);
12829 #if LANG_CXX11
12830 void add_top(::std::string&& value);
12831 #endif
12832 void add_top(const char* value);
12833 void add_top(const char* value, size_t size);
12834 const ::google::protobuf::RepeatedPtrField< ::std::string>& top() const;
12835 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_top();
12836
12837 // repeated .opencv_caffe.BlobProto blobs = 6;
12838 int blobs_size() const;
12839 void clear_blobs();
12840 static const int kBlobsFieldNumber = 6;
12841 const ::opencv_caffe::BlobProto& blobs(int index) const;
12842 ::opencv_caffe::BlobProto* mutable_blobs(int index);
12843 ::opencv_caffe::BlobProto* add_blobs();
12844 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >*
12845 mutable_blobs();
12846 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >&
12847 blobs() const;
12848
12849 // repeated float blobs_lr = 7;
12850 int blobs_lr_size() const;
12851 void clear_blobs_lr();
12852 static const int kBlobsLrFieldNumber = 7;
12853 float blobs_lr(int index) const;
12854 void set_blobs_lr(int index, float value);
12855 void add_blobs_lr(float value);
12856 const ::google::protobuf::RepeatedField< float >&
12857 blobs_lr() const;
12858 ::google::protobuf::RepeatedField< float >*
12859 mutable_blobs_lr();
12860
12861 // repeated float weight_decay = 8;
12862 int weight_decay_size() const;
12863 void clear_weight_decay();
12864 static const int kWeightDecayFieldNumber = 8;
12865 float weight_decay(int index) const;
12866 void set_weight_decay(int index, float value);
12867 void add_weight_decay(float value);
12868 const ::google::protobuf::RepeatedField< float >&
12869 weight_decay() const;
12870 ::google::protobuf::RepeatedField< float >*
12871 mutable_weight_decay();
12872
12873 // repeated .opencv_caffe.NetStateRule include = 32;
12874 int include_size() const;
12875 void clear_include();
12876 static const int kIncludeFieldNumber = 32;
12877 const ::opencv_caffe::NetStateRule& include(int index) const;
12878 ::opencv_caffe::NetStateRule* mutable_include(int index);
12879 ::opencv_caffe::NetStateRule* add_include();
12880 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >*
12881 mutable_include();
12882 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >&
12883 include() const;
12884
12885 // repeated .opencv_caffe.NetStateRule exclude = 33;
12886 int exclude_size() const;
12887 void clear_exclude();
12888 static const int kExcludeFieldNumber = 33;
12889 const ::opencv_caffe::NetStateRule& exclude(int index) const;
12890 ::opencv_caffe::NetStateRule* mutable_exclude(int index);
12891 ::opencv_caffe::NetStateRule* add_exclude();
12892 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >*
12893 mutable_exclude();
12894 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >&
12895 exclude() const;
12896
12897 // repeated float loss_weight = 35;
12898 int loss_weight_size() const;
12899 void clear_loss_weight();
12900 static const int kLossWeightFieldNumber = 35;
12901 float loss_weight(int index) const;
12902 void set_loss_weight(int index, float value);
12903 void add_loss_weight(float value);
12904 const ::google::protobuf::RepeatedField< float >&
12905 loss_weight() const;
12906 ::google::protobuf::RepeatedField< float >*
12907 mutable_loss_weight();
12908
12909 // repeated string param = 1001;
12910 int param_size() const;
12911 void clear_param();
12912 static const int kParamFieldNumber = 1001;
12913 const ::std::string& param(int index) const;
12914 ::std::string* mutable_param(int index);
12915 void set_param(int index, const ::std::string& value);
12916 #if LANG_CXX11
12917 void set_param(int index, ::std::string&& value);
12918 #endif
12919 void set_param(int index, const char* value);
12920 void set_param(int index, const char* value, size_t size);
12921 ::std::string* add_param();
12922 void add_param(const ::std::string& value);
12923 #if LANG_CXX11
12924 void add_param(::std::string&& value);
12925 #endif
12926 void add_param(const char* value);
12927 void add_param(const char* value, size_t size);
12928 const ::google::protobuf::RepeatedPtrField< ::std::string>& param() const;
12929 ::google::protobuf::RepeatedPtrField< ::std::string>* mutable_param();
12930
12931 // repeated .opencv_caffe.V1LayerParameter.DimCheckMode blob_share_mode = 1002;
12932 int blob_share_mode_size() const;
12933 void clear_blob_share_mode();
12934 static const int kBlobShareModeFieldNumber = 1002;
12935 ::opencv_caffe::V1LayerParameter_DimCheckMode blob_share_mode(int index) const;
12936 void set_blob_share_mode(int index, ::opencv_caffe::V1LayerParameter_DimCheckMode value);
12937 void add_blob_share_mode(::opencv_caffe::V1LayerParameter_DimCheckMode value);
12938 const ::google::protobuf::RepeatedField<int>& blob_share_mode() const;
12939 ::google::protobuf::RepeatedField<int>* mutable_blob_share_mode();
12940
12941 // optional string name = 4;
12942 bool has_name() const;
12943 void clear_name();
12944 static const int kNameFieldNumber = 4;
12945 const ::std::string& name() const;
12946 void set_name(const ::std::string& value);
12947 #if LANG_CXX11
12948 void set_name(::std::string&& value);
12949 #endif
12950 void set_name(const char* value);
12951 void set_name(const char* value, size_t size);
12952 ::std::string* mutable_name();
12953 ::std::string* release_name();
12954 void set_allocated_name(::std::string* name);
12955
12956 // optional .opencv_caffe.V0LayerParameter layer = 1;
12957 bool has_layer() const;
12958 void clear_layer();
12959 static const int kLayerFieldNumber = 1;
12960 const ::opencv_caffe::V0LayerParameter& layer() const;
12961 ::opencv_caffe::V0LayerParameter* release_layer();
12962 ::opencv_caffe::V0LayerParameter* mutable_layer();
12963 void set_allocated_layer(::opencv_caffe::V0LayerParameter* layer);
12964
12965 // optional .opencv_caffe.ConcatParameter concat_param = 9;
12966 bool has_concat_param() const;
12967 void clear_concat_param();
12968 static const int kConcatParamFieldNumber = 9;
12969 const ::opencv_caffe::ConcatParameter& concat_param() const;
12970 ::opencv_caffe::ConcatParameter* release_concat_param();
12971 ::opencv_caffe::ConcatParameter* mutable_concat_param();
12972 void set_allocated_concat_param(::opencv_caffe::ConcatParameter* concat_param);
12973
12974 // optional .opencv_caffe.ConvolutionParameter convolution_param = 10;
12975 bool has_convolution_param() const;
12976 void clear_convolution_param();
12977 static const int kConvolutionParamFieldNumber = 10;
12978 const ::opencv_caffe::ConvolutionParameter& convolution_param() const;
12979 ::opencv_caffe::ConvolutionParameter* release_convolution_param();
12980 ::opencv_caffe::ConvolutionParameter* mutable_convolution_param();
12981 void set_allocated_convolution_param(::opencv_caffe::ConvolutionParameter* convolution_param);
12982
12983 // optional .opencv_caffe.DataParameter data_param = 11;
12984 bool has_data_param() const;
12985 void clear_data_param();
12986 static const int kDataParamFieldNumber = 11;
12987 const ::opencv_caffe::DataParameter& data_param() const;
12988 ::opencv_caffe::DataParameter* release_data_param();
12989 ::opencv_caffe::DataParameter* mutable_data_param();
12990 void set_allocated_data_param(::opencv_caffe::DataParameter* data_param);
12991
12992 // optional .opencv_caffe.DropoutParameter dropout_param = 12;
12993 bool has_dropout_param() const;
12994 void clear_dropout_param();
12995 static const int kDropoutParamFieldNumber = 12;
12996 const ::opencv_caffe::DropoutParameter& dropout_param() const;
12997 ::opencv_caffe::DropoutParameter* release_dropout_param();
12998 ::opencv_caffe::DropoutParameter* mutable_dropout_param();
12999 void set_allocated_dropout_param(::opencv_caffe::DropoutParameter* dropout_param);
13000
13001 // optional .opencv_caffe.HDF5DataParameter hdf5_data_param = 13;
13002 bool has_hdf5_data_param() const;
13003 void clear_hdf5_data_param();
13004 static const int kHdf5DataParamFieldNumber = 13;
13005 const ::opencv_caffe::HDF5DataParameter& hdf5_data_param() const;
13006 ::opencv_caffe::HDF5DataParameter* release_hdf5_data_param();
13007 ::opencv_caffe::HDF5DataParameter* mutable_hdf5_data_param();
13008 void set_allocated_hdf5_data_param(::opencv_caffe::HDF5DataParameter* hdf5_data_param);
13009
13010 // optional .opencv_caffe.HDF5OutputParameter hdf5_output_param = 14;
13011 bool has_hdf5_output_param() const;
13012 void clear_hdf5_output_param();
13013 static const int kHdf5OutputParamFieldNumber = 14;
13014 const ::opencv_caffe::HDF5OutputParameter& hdf5_output_param() const;
13015 ::opencv_caffe::HDF5OutputParameter* release_hdf5_output_param();
13016 ::opencv_caffe::HDF5OutputParameter* mutable_hdf5_output_param();
13017 void set_allocated_hdf5_output_param(::opencv_caffe::HDF5OutputParameter* hdf5_output_param);
13018
13019 // optional .opencv_caffe.ImageDataParameter image_data_param = 15;
13020 bool has_image_data_param() const;
13021 void clear_image_data_param();
13022 static const int kImageDataParamFieldNumber = 15;
13023 const ::opencv_caffe::ImageDataParameter& image_data_param() const;
13024 ::opencv_caffe::ImageDataParameter* release_image_data_param();
13025 ::opencv_caffe::ImageDataParameter* mutable_image_data_param();
13026 void set_allocated_image_data_param(::opencv_caffe::ImageDataParameter* image_data_param);
13027
13028 // optional .opencv_caffe.InfogainLossParameter infogain_loss_param = 16;
13029 bool has_infogain_loss_param() const;
13030 void clear_infogain_loss_param();
13031 static const int kInfogainLossParamFieldNumber = 16;
13032 const ::opencv_caffe::InfogainLossParameter& infogain_loss_param() const;
13033 ::opencv_caffe::InfogainLossParameter* release_infogain_loss_param();
13034 ::opencv_caffe::InfogainLossParameter* mutable_infogain_loss_param();
13035 void set_allocated_infogain_loss_param(::opencv_caffe::InfogainLossParameter* infogain_loss_param);
13036
13037 // optional .opencv_caffe.InnerProductParameter inner_product_param = 17;
13038 bool has_inner_product_param() const;
13039 void clear_inner_product_param();
13040 static const int kInnerProductParamFieldNumber = 17;
13041 const ::opencv_caffe::InnerProductParameter& inner_product_param() const;
13042 ::opencv_caffe::InnerProductParameter* release_inner_product_param();
13043 ::opencv_caffe::InnerProductParameter* mutable_inner_product_param();
13044 void set_allocated_inner_product_param(::opencv_caffe::InnerProductParameter* inner_product_param);
13045
13046 // optional .opencv_caffe.LRNParameter lrn_param = 18;
13047 bool has_lrn_param() const;
13048 void clear_lrn_param();
13049 static const int kLrnParamFieldNumber = 18;
13050 const ::opencv_caffe::LRNParameter& lrn_param() const;
13051 ::opencv_caffe::LRNParameter* release_lrn_param();
13052 ::opencv_caffe::LRNParameter* mutable_lrn_param();
13053 void set_allocated_lrn_param(::opencv_caffe::LRNParameter* lrn_param);
13054
13055 // optional .opencv_caffe.PoolingParameter pooling_param = 19;
13056 bool has_pooling_param() const;
13057 void clear_pooling_param();
13058 static const int kPoolingParamFieldNumber = 19;
13059 const ::opencv_caffe::PoolingParameter& pooling_param() const;
13060 ::opencv_caffe::PoolingParameter* release_pooling_param();
13061 ::opencv_caffe::PoolingParameter* mutable_pooling_param();
13062 void set_allocated_pooling_param(::opencv_caffe::PoolingParameter* pooling_param);
13063
13064 // optional .opencv_caffe.WindowDataParameter window_data_param = 20;
13065 bool has_window_data_param() const;
13066 void clear_window_data_param();
13067 static const int kWindowDataParamFieldNumber = 20;
13068 const ::opencv_caffe::WindowDataParameter& window_data_param() const;
13069 ::opencv_caffe::WindowDataParameter* release_window_data_param();
13070 ::opencv_caffe::WindowDataParameter* mutable_window_data_param();
13071 void set_allocated_window_data_param(::opencv_caffe::WindowDataParameter* window_data_param);
13072
13073 // optional .opencv_caffe.PowerParameter power_param = 21;
13074 bool has_power_param() const;
13075 void clear_power_param();
13076 static const int kPowerParamFieldNumber = 21;
13077 const ::opencv_caffe::PowerParameter& power_param() const;
13078 ::opencv_caffe::PowerParameter* release_power_param();
13079 ::opencv_caffe::PowerParameter* mutable_power_param();
13080 void set_allocated_power_param(::opencv_caffe::PowerParameter* power_param);
13081
13082 // optional .opencv_caffe.MemoryDataParameter memory_data_param = 22;
13083 bool has_memory_data_param() const;
13084 void clear_memory_data_param();
13085 static const int kMemoryDataParamFieldNumber = 22;
13086 const ::opencv_caffe::MemoryDataParameter& memory_data_param() const;
13087 ::opencv_caffe::MemoryDataParameter* release_memory_data_param();
13088 ::opencv_caffe::MemoryDataParameter* mutable_memory_data_param();
13089 void set_allocated_memory_data_param(::opencv_caffe::MemoryDataParameter* memory_data_param);
13090
13091 // optional .opencv_caffe.ArgMaxParameter argmax_param = 23;
13092 bool has_argmax_param() const;
13093 void clear_argmax_param();
13094 static const int kArgmaxParamFieldNumber = 23;
13095 const ::opencv_caffe::ArgMaxParameter& argmax_param() const;
13096 ::opencv_caffe::ArgMaxParameter* release_argmax_param();
13097 ::opencv_caffe::ArgMaxParameter* mutable_argmax_param();
13098 void set_allocated_argmax_param(::opencv_caffe::ArgMaxParameter* argmax_param);
13099
13100 // optional .opencv_caffe.EltwiseParameter eltwise_param = 24;
13101 bool has_eltwise_param() const;
13102 void clear_eltwise_param();
13103 static const int kEltwiseParamFieldNumber = 24;
13104 const ::opencv_caffe::EltwiseParameter& eltwise_param() const;
13105 ::opencv_caffe::EltwiseParameter* release_eltwise_param();
13106 ::opencv_caffe::EltwiseParameter* mutable_eltwise_param();
13107 void set_allocated_eltwise_param(::opencv_caffe::EltwiseParameter* eltwise_param);
13108
13109 // optional .opencv_caffe.ThresholdParameter threshold_param = 25;
13110 bool has_threshold_param() const;
13111 void clear_threshold_param();
13112 static const int kThresholdParamFieldNumber = 25;
13113 const ::opencv_caffe::ThresholdParameter& threshold_param() const;
13114 ::opencv_caffe::ThresholdParameter* release_threshold_param();
13115 ::opencv_caffe::ThresholdParameter* mutable_threshold_param();
13116 void set_allocated_threshold_param(::opencv_caffe::ThresholdParameter* threshold_param);
13117
13118 // optional .opencv_caffe.DummyDataParameter dummy_data_param = 26;
13119 bool has_dummy_data_param() const;
13120 void clear_dummy_data_param();
13121 static const int kDummyDataParamFieldNumber = 26;
13122 const ::opencv_caffe::DummyDataParameter& dummy_data_param() const;
13123 ::opencv_caffe::DummyDataParameter* release_dummy_data_param();
13124 ::opencv_caffe::DummyDataParameter* mutable_dummy_data_param();
13125 void set_allocated_dummy_data_param(::opencv_caffe::DummyDataParameter* dummy_data_param);
13126
13127 // optional .opencv_caffe.AccuracyParameter accuracy_param = 27;
13128 bool has_accuracy_param() const;
13129 void clear_accuracy_param();
13130 static const int kAccuracyParamFieldNumber = 27;
13131 const ::opencv_caffe::AccuracyParameter& accuracy_param() const;
13132 ::opencv_caffe::AccuracyParameter* release_accuracy_param();
13133 ::opencv_caffe::AccuracyParameter* mutable_accuracy_param();
13134 void set_allocated_accuracy_param(::opencv_caffe::AccuracyParameter* accuracy_param);
13135
13136 // optional .opencv_caffe.HingeLossParameter hinge_loss_param = 29;
13137 bool has_hinge_loss_param() const;
13138 void clear_hinge_loss_param();
13139 static const int kHingeLossParamFieldNumber = 29;
13140 const ::opencv_caffe::HingeLossParameter& hinge_loss_param() const;
13141 ::opencv_caffe::HingeLossParameter* release_hinge_loss_param();
13142 ::opencv_caffe::HingeLossParameter* mutable_hinge_loss_param();
13143 void set_allocated_hinge_loss_param(::opencv_caffe::HingeLossParameter* hinge_loss_param);
13144
13145 // optional .opencv_caffe.ReLUParameter relu_param = 30;
13146 bool has_relu_param() const;
13147 void clear_relu_param();
13148 static const int kReluParamFieldNumber = 30;
13149 const ::opencv_caffe::ReLUParameter& relu_param() const;
13150 ::opencv_caffe::ReLUParameter* release_relu_param();
13151 ::opencv_caffe::ReLUParameter* mutable_relu_param();
13152 void set_allocated_relu_param(::opencv_caffe::ReLUParameter* relu_param);
13153
13154 // optional .opencv_caffe.SliceParameter slice_param = 31;
13155 bool has_slice_param() const;
13156 void clear_slice_param();
13157 static const int kSliceParamFieldNumber = 31;
13158 const ::opencv_caffe::SliceParameter& slice_param() const;
13159 ::opencv_caffe::SliceParameter* release_slice_param();
13160 ::opencv_caffe::SliceParameter* mutable_slice_param();
13161 void set_allocated_slice_param(::opencv_caffe::SliceParameter* slice_param);
13162
13163 // optional .opencv_caffe.MVNParameter mvn_param = 34;
13164 bool has_mvn_param() const;
13165 void clear_mvn_param();
13166 static const int kMvnParamFieldNumber = 34;
13167 const ::opencv_caffe::MVNParameter& mvn_param() const;
13168 ::opencv_caffe::MVNParameter* release_mvn_param();
13169 ::opencv_caffe::MVNParameter* mutable_mvn_param();
13170 void set_allocated_mvn_param(::opencv_caffe::MVNParameter* mvn_param);
13171
13172 // optional .opencv_caffe.TransformationParameter transform_param = 36;
13173 bool has_transform_param() const;
13174 void clear_transform_param();
13175 static const int kTransformParamFieldNumber = 36;
13176 const ::opencv_caffe::TransformationParameter& transform_param() const;
13177 ::opencv_caffe::TransformationParameter* release_transform_param();
13178 ::opencv_caffe::TransformationParameter* mutable_transform_param();
13179 void set_allocated_transform_param(::opencv_caffe::TransformationParameter* transform_param);
13180
13181 // optional .opencv_caffe.TanHParameter tanh_param = 37;
13182 bool has_tanh_param() const;
13183 void clear_tanh_param();
13184 static const int kTanhParamFieldNumber = 37;
13185 const ::opencv_caffe::TanHParameter& tanh_param() const;
13186 ::opencv_caffe::TanHParameter* release_tanh_param();
13187 ::opencv_caffe::TanHParameter* mutable_tanh_param();
13188 void set_allocated_tanh_param(::opencv_caffe::TanHParameter* tanh_param);
13189
13190 // optional .opencv_caffe.SigmoidParameter sigmoid_param = 38;
13191 bool has_sigmoid_param() const;
13192 void clear_sigmoid_param();
13193 static const int kSigmoidParamFieldNumber = 38;
13194 const ::opencv_caffe::SigmoidParameter& sigmoid_param() const;
13195 ::opencv_caffe::SigmoidParameter* release_sigmoid_param();
13196 ::opencv_caffe::SigmoidParameter* mutable_sigmoid_param();
13197 void set_allocated_sigmoid_param(::opencv_caffe::SigmoidParameter* sigmoid_param);
13198
13199 // optional .opencv_caffe.SoftmaxParameter softmax_param = 39;
13200 bool has_softmax_param() const;
13201 void clear_softmax_param();
13202 static const int kSoftmaxParamFieldNumber = 39;
13203 const ::opencv_caffe::SoftmaxParameter& softmax_param() const;
13204 ::opencv_caffe::SoftmaxParameter* release_softmax_param();
13205 ::opencv_caffe::SoftmaxParameter* mutable_softmax_param();
13206 void set_allocated_softmax_param(::opencv_caffe::SoftmaxParameter* softmax_param);
13207
13208 // optional .opencv_caffe.ContrastiveLossParameter contrastive_loss_param = 40;
13209 bool has_contrastive_loss_param() const;
13210 void clear_contrastive_loss_param();
13211 static const int kContrastiveLossParamFieldNumber = 40;
13212 const ::opencv_caffe::ContrastiveLossParameter& contrastive_loss_param() const;
13213 ::opencv_caffe::ContrastiveLossParameter* release_contrastive_loss_param();
13214 ::opencv_caffe::ContrastiveLossParameter* mutable_contrastive_loss_param();
13215 void set_allocated_contrastive_loss_param(::opencv_caffe::ContrastiveLossParameter* contrastive_loss_param);
13216
13217 // optional .opencv_caffe.ExpParameter exp_param = 41;
13218 bool has_exp_param() const;
13219 void clear_exp_param();
13220 static const int kExpParamFieldNumber = 41;
13221 const ::opencv_caffe::ExpParameter& exp_param() const;
13222 ::opencv_caffe::ExpParameter* release_exp_param();
13223 ::opencv_caffe::ExpParameter* mutable_exp_param();
13224 void set_allocated_exp_param(::opencv_caffe::ExpParameter* exp_param);
13225
13226 // optional .opencv_caffe.LossParameter loss_param = 42;
13227 bool has_loss_param() const;
13228 void clear_loss_param();
13229 static const int kLossParamFieldNumber = 42;
13230 const ::opencv_caffe::LossParameter& loss_param() const;
13231 ::opencv_caffe::LossParameter* release_loss_param();
13232 ::opencv_caffe::LossParameter* mutable_loss_param();
13233 void set_allocated_loss_param(::opencv_caffe::LossParameter* loss_param);
13234
13235 // optional .opencv_caffe.V1LayerParameter.LayerType type = 5;
13236 bool has_type() const;
13237 void clear_type();
13238 static const int kTypeFieldNumber = 5;
13239 ::opencv_caffe::V1LayerParameter_LayerType type() const;
13240 void set_type(::opencv_caffe::V1LayerParameter_LayerType value);
13241
13242 // @@protoc_insertion_point(class_scope:opencv_caffe.V1LayerParameter)
13243 private:
13244 void set_has_name();
13245 void clear_has_name();
13246 void set_has_type();
13247 void clear_has_type();
13248 void set_has_accuracy_param();
13249 void clear_has_accuracy_param();
13250 void set_has_argmax_param();
13251 void clear_has_argmax_param();
13252 void set_has_concat_param();
13253 void clear_has_concat_param();
13254 void set_has_contrastive_loss_param();
13255 void clear_has_contrastive_loss_param();
13256 void set_has_convolution_param();
13257 void clear_has_convolution_param();
13258 void set_has_data_param();
13259 void clear_has_data_param();
13260 void set_has_dropout_param();
13261 void clear_has_dropout_param();
13262 void set_has_dummy_data_param();
13263 void clear_has_dummy_data_param();
13264 void set_has_eltwise_param();
13265 void clear_has_eltwise_param();
13266 void set_has_exp_param();
13267 void clear_has_exp_param();
13268 void set_has_hdf5_data_param();
13269 void clear_has_hdf5_data_param();
13270 void set_has_hdf5_output_param();
13271 void clear_has_hdf5_output_param();
13272 void set_has_hinge_loss_param();
13273 void clear_has_hinge_loss_param();
13274 void set_has_image_data_param();
13275 void clear_has_image_data_param();
13276 void set_has_infogain_loss_param();
13277 void clear_has_infogain_loss_param();
13278 void set_has_inner_product_param();
13279 void clear_has_inner_product_param();
13280 void set_has_lrn_param();
13281 void clear_has_lrn_param();
13282 void set_has_memory_data_param();
13283 void clear_has_memory_data_param();
13284 void set_has_mvn_param();
13285 void clear_has_mvn_param();
13286 void set_has_pooling_param();
13287 void clear_has_pooling_param();
13288 void set_has_power_param();
13289 void clear_has_power_param();
13290 void set_has_relu_param();
13291 void clear_has_relu_param();
13292 void set_has_sigmoid_param();
13293 void clear_has_sigmoid_param();
13294 void set_has_softmax_param();
13295 void clear_has_softmax_param();
13296 void set_has_slice_param();
13297 void clear_has_slice_param();
13298 void set_has_tanh_param();
13299 void clear_has_tanh_param();
13300 void set_has_threshold_param();
13301 void clear_has_threshold_param();
13302 void set_has_window_data_param();
13303 void clear_has_window_data_param();
13304 void set_has_transform_param();
13305 void clear_has_transform_param();
13306 void set_has_loss_param();
13307 void clear_has_loss_param();
13308 void set_has_layer();
13309 void clear_has_layer();
13310
13311 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
13312 ::google::protobuf::internal::HasBits<2> _has_bits_;
13313 ::google::protobuf::RepeatedPtrField< ::std::string> bottom_;
13314 ::google::protobuf::RepeatedPtrField< ::std::string> top_;
13315 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto > blobs_;
13316 ::google::protobuf::RepeatedField< float > blobs_lr_;
13317 ::google::protobuf::RepeatedField< float > weight_decay_;
13318 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule > include_;
13319 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule > exclude_;
13320 ::google::protobuf::RepeatedField< float > loss_weight_;
13321 ::google::protobuf::RepeatedPtrField< ::std::string> param_;
13322 ::google::protobuf::RepeatedField<int> blob_share_mode_;
13323 ::google::protobuf::internal::ArenaStringPtr name_;
13324 ::opencv_caffe::V0LayerParameter* layer_;
13325 ::opencv_caffe::ConcatParameter* concat_param_;
13326 ::opencv_caffe::ConvolutionParameter* convolution_param_;
13327 ::opencv_caffe::DataParameter* data_param_;
13328 ::opencv_caffe::DropoutParameter* dropout_param_;
13329 ::opencv_caffe::HDF5DataParameter* hdf5_data_param_;
13330 ::opencv_caffe::HDF5OutputParameter* hdf5_output_param_;
13331 ::opencv_caffe::ImageDataParameter* image_data_param_;
13332 ::opencv_caffe::InfogainLossParameter* infogain_loss_param_;
13333 ::opencv_caffe::InnerProductParameter* inner_product_param_;
13334 ::opencv_caffe::LRNParameter* lrn_param_;
13335 ::opencv_caffe::PoolingParameter* pooling_param_;
13336 ::opencv_caffe::WindowDataParameter* window_data_param_;
13337 ::opencv_caffe::PowerParameter* power_param_;
13338 ::opencv_caffe::MemoryDataParameter* memory_data_param_;
13339 ::opencv_caffe::ArgMaxParameter* argmax_param_;
13340 ::opencv_caffe::EltwiseParameter* eltwise_param_;
13341 ::opencv_caffe::ThresholdParameter* threshold_param_;
13342 ::opencv_caffe::DummyDataParameter* dummy_data_param_;
13343 ::opencv_caffe::AccuracyParameter* accuracy_param_;
13344 ::opencv_caffe::HingeLossParameter* hinge_loss_param_;
13345 ::opencv_caffe::ReLUParameter* relu_param_;
13346 ::opencv_caffe::SliceParameter* slice_param_;
13347 ::opencv_caffe::MVNParameter* mvn_param_;
13348 ::opencv_caffe::TransformationParameter* transform_param_;
13349 ::opencv_caffe::TanHParameter* tanh_param_;
13350 ::opencv_caffe::SigmoidParameter* sigmoid_param_;
13351 ::opencv_caffe::SoftmaxParameter* softmax_param_;
13352 ::opencv_caffe::ContrastiveLossParameter* contrastive_loss_param_;
13353 ::opencv_caffe::ExpParameter* exp_param_;
13354 ::opencv_caffe::LossParameter* loss_param_;
13355 int type_;
13356 mutable int _cached_size_;
13357 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
13358 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsV1LayerParameterImpl();
13359 };
13360 // -------------------------------------------------------------------
13361
13362 class V0LayerParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.V0LayerParameter) */ {
13363 public:
13364 V0LayerParameter();
13365 virtual ~V0LayerParameter();
13366
13367 V0LayerParameter(const V0LayerParameter& from);
13368
13369 inline V0LayerParameter& operator=(const V0LayerParameter& from) {
13370 CopyFrom(from);
13371 return *this;
13372 }
13373 #if LANG_CXX11
V0LayerParameter(V0LayerParameter && from)13374 V0LayerParameter(V0LayerParameter&& from) noexcept
13375 : V0LayerParameter() {
13376 *this = ::std::move(from);
13377 }
13378
13379 inline V0LayerParameter& operator=(V0LayerParameter&& from) noexcept {
13380 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
13381 if (this != &from) InternalSwap(&from);
13382 } else {
13383 CopyFrom(from);
13384 }
13385 return *this;
13386 }
13387 #endif
unknown_fields()13388 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
13389 return _internal_metadata_.unknown_fields();
13390 }
mutable_unknown_fields()13391 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
13392 return _internal_metadata_.mutable_unknown_fields();
13393 }
13394
13395 static const ::google::protobuf::Descriptor* descriptor();
13396 static const V0LayerParameter& default_instance();
13397
13398 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()13399 static inline const V0LayerParameter* internal_default_instance() {
13400 return reinterpret_cast<const V0LayerParameter*>(
13401 &_V0LayerParameter_default_instance_);
13402 }
13403 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
13404 65;
13405
13406 void Swap(V0LayerParameter* other);
swap(V0LayerParameter & a,V0LayerParameter & b)13407 friend void swap(V0LayerParameter& a, V0LayerParameter& b) {
13408 a.Swap(&b);
13409 }
13410
13411 // implements Message ----------------------------------------------
13412
New()13413 inline V0LayerParameter* New() const PROTOBUF_FINAL { return New(NULL); }
13414
13415 V0LayerParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
13416 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
13417 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
13418 void CopyFrom(const V0LayerParameter& from);
13419 void MergeFrom(const V0LayerParameter& from);
13420 void Clear() PROTOBUF_FINAL;
13421 bool IsInitialized() const PROTOBUF_FINAL;
13422
13423 size_t ByteSizeLong() const PROTOBUF_FINAL;
13424 bool MergePartialFromCodedStream(
13425 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
13426 void SerializeWithCachedSizes(
13427 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
13428 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
13429 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()13430 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
13431 private:
13432 void SharedCtor();
13433 void SharedDtor();
13434 void SetCachedSize(int size) const PROTOBUF_FINAL;
13435 void InternalSwap(V0LayerParameter* other);
13436 private:
GetArenaNoVirtual()13437 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
13438 return NULL;
13439 }
MaybeArenaPtr()13440 inline void* MaybeArenaPtr() const {
13441 return NULL;
13442 }
13443 public:
13444
13445 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
13446
13447 // nested types ----------------------------------------------------
13448
13449 typedef V0LayerParameter_PoolMethod PoolMethod;
13450 static const PoolMethod MAX =
13451 V0LayerParameter_PoolMethod_MAX;
13452 static const PoolMethod AVE =
13453 V0LayerParameter_PoolMethod_AVE;
13454 static const PoolMethod STOCHASTIC =
13455 V0LayerParameter_PoolMethod_STOCHASTIC;
PoolMethod_IsValid(int value)13456 static inline bool PoolMethod_IsValid(int value) {
13457 return V0LayerParameter_PoolMethod_IsValid(value);
13458 }
13459 static const PoolMethod PoolMethod_MIN =
13460 V0LayerParameter_PoolMethod_PoolMethod_MIN;
13461 static const PoolMethod PoolMethod_MAX =
13462 V0LayerParameter_PoolMethod_PoolMethod_MAX;
13463 static const int PoolMethod_ARRAYSIZE =
13464 V0LayerParameter_PoolMethod_PoolMethod_ARRAYSIZE;
13465 static inline const ::google::protobuf::EnumDescriptor*
PoolMethod_descriptor()13466 PoolMethod_descriptor() {
13467 return V0LayerParameter_PoolMethod_descriptor();
13468 }
PoolMethod_Name(PoolMethod value)13469 static inline const ::std::string& PoolMethod_Name(PoolMethod value) {
13470 return V0LayerParameter_PoolMethod_Name(value);
13471 }
PoolMethod_Parse(const::std::string & name,PoolMethod * value)13472 static inline bool PoolMethod_Parse(const ::std::string& name,
13473 PoolMethod* value) {
13474 return V0LayerParameter_PoolMethod_Parse(name, value);
13475 }
13476
13477 // accessors -------------------------------------------------------
13478
13479 // repeated .opencv_caffe.BlobProto blobs = 50;
13480 int blobs_size() const;
13481 void clear_blobs();
13482 static const int kBlobsFieldNumber = 50;
13483 const ::opencv_caffe::BlobProto& blobs(int index) const;
13484 ::opencv_caffe::BlobProto* mutable_blobs(int index);
13485 ::opencv_caffe::BlobProto* add_blobs();
13486 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >*
13487 mutable_blobs();
13488 const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >&
13489 blobs() const;
13490
13491 // repeated float blobs_lr = 51;
13492 int blobs_lr_size() const;
13493 void clear_blobs_lr();
13494 static const int kBlobsLrFieldNumber = 51;
13495 float blobs_lr(int index) const;
13496 void set_blobs_lr(int index, float value);
13497 void add_blobs_lr(float value);
13498 const ::google::protobuf::RepeatedField< float >&
13499 blobs_lr() const;
13500 ::google::protobuf::RepeatedField< float >*
13501 mutable_blobs_lr();
13502
13503 // repeated float weight_decay = 52;
13504 int weight_decay_size() const;
13505 void clear_weight_decay();
13506 static const int kWeightDecayFieldNumber = 52;
13507 float weight_decay(int index) const;
13508 void set_weight_decay(int index, float value);
13509 void add_weight_decay(float value);
13510 const ::google::protobuf::RepeatedField< float >&
13511 weight_decay() const;
13512 ::google::protobuf::RepeatedField< float >*
13513 mutable_weight_decay();
13514
13515 // optional string name = 1;
13516 bool has_name() const;
13517 void clear_name();
13518 static const int kNameFieldNumber = 1;
13519 const ::std::string& name() const;
13520 void set_name(const ::std::string& value);
13521 #if LANG_CXX11
13522 void set_name(::std::string&& value);
13523 #endif
13524 void set_name(const char* value);
13525 void set_name(const char* value, size_t size);
13526 ::std::string* mutable_name();
13527 ::std::string* release_name();
13528 void set_allocated_name(::std::string* name);
13529
13530 // optional string type = 2;
13531 bool has_type() const;
13532 void clear_type();
13533 static const int kTypeFieldNumber = 2;
13534 const ::std::string& type() const;
13535 void set_type(const ::std::string& value);
13536 #if LANG_CXX11
13537 void set_type(::std::string&& value);
13538 #endif
13539 void set_type(const char* value);
13540 void set_type(const char* value, size_t size);
13541 ::std::string* mutable_type();
13542 ::std::string* release_type();
13543 void set_allocated_type(::std::string* type);
13544
13545 // optional string source = 16;
13546 bool has_source() const;
13547 void clear_source();
13548 static const int kSourceFieldNumber = 16;
13549 const ::std::string& source() const;
13550 void set_source(const ::std::string& value);
13551 #if LANG_CXX11
13552 void set_source(::std::string&& value);
13553 #endif
13554 void set_source(const char* value);
13555 void set_source(const char* value, size_t size);
13556 ::std::string* mutable_source();
13557 ::std::string* release_source();
13558 void set_allocated_source(::std::string* source);
13559
13560 // optional string meanfile = 18;
13561 bool has_meanfile() const;
13562 void clear_meanfile();
13563 static const int kMeanfileFieldNumber = 18;
13564 const ::std::string& meanfile() const;
13565 void set_meanfile(const ::std::string& value);
13566 #if LANG_CXX11
13567 void set_meanfile(::std::string&& value);
13568 #endif
13569 void set_meanfile(const char* value);
13570 void set_meanfile(const char* value, size_t size);
13571 ::std::string* mutable_meanfile();
13572 ::std::string* release_meanfile();
13573 void set_allocated_meanfile(::std::string* meanfile);
13574
13575 // optional string det_crop_mode = 59 [default = "warp"];
13576 bool has_det_crop_mode() const;
13577 void clear_det_crop_mode();
13578 static const int kDetCropModeFieldNumber = 59;
13579 const ::std::string& det_crop_mode() const;
13580 void set_det_crop_mode(const ::std::string& value);
13581 #if LANG_CXX11
13582 void set_det_crop_mode(::std::string&& value);
13583 #endif
13584 void set_det_crop_mode(const char* value);
13585 void set_det_crop_mode(const char* value, size_t size);
13586 ::std::string* mutable_det_crop_mode();
13587 ::std::string* release_det_crop_mode();
13588 void set_allocated_det_crop_mode(::std::string* det_crop_mode);
13589
13590 // optional .opencv_caffe.FillerParameter weight_filler = 5;
13591 bool has_weight_filler() const;
13592 void clear_weight_filler();
13593 static const int kWeightFillerFieldNumber = 5;
13594 const ::opencv_caffe::FillerParameter& weight_filler() const;
13595 ::opencv_caffe::FillerParameter* release_weight_filler();
13596 ::opencv_caffe::FillerParameter* mutable_weight_filler();
13597 void set_allocated_weight_filler(::opencv_caffe::FillerParameter* weight_filler);
13598
13599 // optional .opencv_caffe.FillerParameter bias_filler = 6;
13600 bool has_bias_filler() const;
13601 void clear_bias_filler();
13602 static const int kBiasFillerFieldNumber = 6;
13603 const ::opencv_caffe::FillerParameter& bias_filler() const;
13604 ::opencv_caffe::FillerParameter* release_bias_filler();
13605 ::opencv_caffe::FillerParameter* mutable_bias_filler();
13606 void set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler);
13607
13608 // optional .opencv_caffe.HDF5OutputParameter hdf5_output_param = 1001;
13609 bool has_hdf5_output_param() const;
13610 void clear_hdf5_output_param();
13611 static const int kHdf5OutputParamFieldNumber = 1001;
13612 const ::opencv_caffe::HDF5OutputParameter& hdf5_output_param() const;
13613 ::opencv_caffe::HDF5OutputParameter* release_hdf5_output_param();
13614 ::opencv_caffe::HDF5OutputParameter* mutable_hdf5_output_param();
13615 void set_allocated_hdf5_output_param(::opencv_caffe::HDF5OutputParameter* hdf5_output_param);
13616
13617 // optional uint32 num_output = 3;
13618 bool has_num_output() const;
13619 void clear_num_output();
13620 static const int kNumOutputFieldNumber = 3;
13621 ::google::protobuf::uint32 num_output() const;
13622 void set_num_output(::google::protobuf::uint32 value);
13623
13624 // optional uint32 pad = 7 [default = 0];
13625 bool has_pad() const;
13626 void clear_pad();
13627 static const int kPadFieldNumber = 7;
13628 ::google::protobuf::uint32 pad() const;
13629 void set_pad(::google::protobuf::uint32 value);
13630
13631 // optional uint32 kernelsize = 8;
13632 bool has_kernelsize() const;
13633 void clear_kernelsize();
13634 static const int kKernelsizeFieldNumber = 8;
13635 ::google::protobuf::uint32 kernelsize() const;
13636 void set_kernelsize(::google::protobuf::uint32 value);
13637
13638 // optional .opencv_caffe.V0LayerParameter.PoolMethod pool = 11 [default = MAX];
13639 bool has_pool() const;
13640 void clear_pool();
13641 static const int kPoolFieldNumber = 11;
13642 ::opencv_caffe::V0LayerParameter_PoolMethod pool() const;
13643 void set_pool(::opencv_caffe::V0LayerParameter_PoolMethod value);
13644
13645 // optional uint32 batchsize = 19;
13646 bool has_batchsize() const;
13647 void clear_batchsize();
13648 static const int kBatchsizeFieldNumber = 19;
13649 ::google::protobuf::uint32 batchsize() const;
13650 void set_batchsize(::google::protobuf::uint32 value);
13651
13652 // optional uint32 cropsize = 20 [default = 0];
13653 bool has_cropsize() const;
13654 void clear_cropsize();
13655 static const int kCropsizeFieldNumber = 20;
13656 ::google::protobuf::uint32 cropsize() const;
13657 void set_cropsize(::google::protobuf::uint32 value);
13658
13659 // optional int32 new_width = 63 [default = 0];
13660 bool has_new_width() const;
13661 void clear_new_width();
13662 static const int kNewWidthFieldNumber = 63;
13663 ::google::protobuf::int32 new_width() const;
13664 void set_new_width(::google::protobuf::int32 value);
13665
13666 // optional bool mirror = 21 [default = false];
13667 bool has_mirror() const;
13668 void clear_mirror();
13669 static const int kMirrorFieldNumber = 21;
13670 bool mirror() const;
13671 void set_mirror(bool value);
13672
13673 // optional bool shuffle_images = 64 [default = false];
13674 bool has_shuffle_images() const;
13675 void clear_shuffle_images();
13676 static const int kShuffleImagesFieldNumber = 64;
13677 bool shuffle_images() const;
13678 void set_shuffle_images(bool value);
13679
13680 // optional uint32 rand_skip = 53 [default = 0];
13681 bool has_rand_skip() const;
13682 void clear_rand_skip();
13683 static const int kRandSkipFieldNumber = 53;
13684 ::google::protobuf::uint32 rand_skip() const;
13685 void set_rand_skip(::google::protobuf::uint32 value);
13686
13687 // optional uint32 det_context_pad = 58 [default = 0];
13688 bool has_det_context_pad() const;
13689 void clear_det_context_pad();
13690 static const int kDetContextPadFieldNumber = 58;
13691 ::google::protobuf::uint32 det_context_pad() const;
13692 void set_det_context_pad(::google::protobuf::uint32 value);
13693
13694 // optional int32 new_num = 60 [default = 0];
13695 bool has_new_num() const;
13696 void clear_new_num();
13697 static const int kNewNumFieldNumber = 60;
13698 ::google::protobuf::int32 new_num() const;
13699 void set_new_num(::google::protobuf::int32 value);
13700
13701 // optional int32 new_channels = 61 [default = 0];
13702 bool has_new_channels() const;
13703 void clear_new_channels();
13704 static const int kNewChannelsFieldNumber = 61;
13705 ::google::protobuf::int32 new_channels() const;
13706 void set_new_channels(::google::protobuf::int32 value);
13707
13708 // optional int32 new_height = 62 [default = 0];
13709 bool has_new_height() const;
13710 void clear_new_height();
13711 static const int kNewHeightFieldNumber = 62;
13712 ::google::protobuf::int32 new_height() const;
13713 void set_new_height(::google::protobuf::int32 value);
13714
13715 // optional uint32 concat_dim = 65 [default = 1];
13716 bool has_concat_dim() const;
13717 void clear_concat_dim();
13718 static const int kConcatDimFieldNumber = 65;
13719 ::google::protobuf::uint32 concat_dim() const;
13720 void set_concat_dim(::google::protobuf::uint32 value);
13721
13722 // optional bool biasterm = 4 [default = true];
13723 bool has_biasterm() const;
13724 void clear_biasterm();
13725 static const int kBiastermFieldNumber = 4;
13726 bool biasterm() const;
13727 void set_biasterm(bool value);
13728
13729 // optional uint32 group = 9 [default = 1];
13730 bool has_group() const;
13731 void clear_group();
13732 static const int kGroupFieldNumber = 9;
13733 ::google::protobuf::uint32 group() const;
13734 void set_group(::google::protobuf::uint32 value);
13735
13736 // optional uint32 stride = 10 [default = 1];
13737 bool has_stride() const;
13738 void clear_stride();
13739 static const int kStrideFieldNumber = 10;
13740 ::google::protobuf::uint32 stride() const;
13741 void set_stride(::google::protobuf::uint32 value);
13742
13743 // optional float dropout_ratio = 12 [default = 0.5];
13744 bool has_dropout_ratio() const;
13745 void clear_dropout_ratio();
13746 static const int kDropoutRatioFieldNumber = 12;
13747 float dropout_ratio() const;
13748 void set_dropout_ratio(float value);
13749
13750 // optional uint32 local_size = 13 [default = 5];
13751 bool has_local_size() const;
13752 void clear_local_size();
13753 static const int kLocalSizeFieldNumber = 13;
13754 ::google::protobuf::uint32 local_size() const;
13755 void set_local_size(::google::protobuf::uint32 value);
13756
13757 // optional float alpha = 14 [default = 1];
13758 bool has_alpha() const;
13759 void clear_alpha();
13760 static const int kAlphaFieldNumber = 14;
13761 float alpha() const;
13762 void set_alpha(float value);
13763
13764 // optional float beta = 15 [default = 0.75];
13765 bool has_beta() const;
13766 void clear_beta();
13767 static const int kBetaFieldNumber = 15;
13768 float beta() const;
13769 void set_beta(float value);
13770
13771 // optional float scale = 17 [default = 1];
13772 bool has_scale() const;
13773 void clear_scale();
13774 static const int kScaleFieldNumber = 17;
13775 float scale() const;
13776 void set_scale(float value);
13777
13778 // optional float k = 22 [default = 1];
13779 bool has_k() const;
13780 void clear_k();
13781 static const int kKFieldNumber = 22;
13782 float k() const;
13783 void set_k(float value);
13784
13785 // optional float det_fg_threshold = 54 [default = 0.5];
13786 bool has_det_fg_threshold() const;
13787 void clear_det_fg_threshold();
13788 static const int kDetFgThresholdFieldNumber = 54;
13789 float det_fg_threshold() const;
13790 void set_det_fg_threshold(float value);
13791
13792 // optional float det_bg_threshold = 55 [default = 0.5];
13793 bool has_det_bg_threshold() const;
13794 void clear_det_bg_threshold();
13795 static const int kDetBgThresholdFieldNumber = 55;
13796 float det_bg_threshold() const;
13797 void set_det_bg_threshold(float value);
13798
13799 // optional float det_fg_fraction = 56 [default = 0.25];
13800 bool has_det_fg_fraction() const;
13801 void clear_det_fg_fraction();
13802 static const int kDetFgFractionFieldNumber = 56;
13803 float det_fg_fraction() const;
13804 void set_det_fg_fraction(float value);
13805
13806 // @@protoc_insertion_point(class_scope:opencv_caffe.V0LayerParameter)
13807 private:
13808 void set_has_name();
13809 void clear_has_name();
13810 void set_has_type();
13811 void clear_has_type();
13812 void set_has_num_output();
13813 void clear_has_num_output();
13814 void set_has_biasterm();
13815 void clear_has_biasterm();
13816 void set_has_weight_filler();
13817 void clear_has_weight_filler();
13818 void set_has_bias_filler();
13819 void clear_has_bias_filler();
13820 void set_has_pad();
13821 void clear_has_pad();
13822 void set_has_kernelsize();
13823 void clear_has_kernelsize();
13824 void set_has_group();
13825 void clear_has_group();
13826 void set_has_stride();
13827 void clear_has_stride();
13828 void set_has_pool();
13829 void clear_has_pool();
13830 void set_has_dropout_ratio();
13831 void clear_has_dropout_ratio();
13832 void set_has_local_size();
13833 void clear_has_local_size();
13834 void set_has_alpha();
13835 void clear_has_alpha();
13836 void set_has_beta();
13837 void clear_has_beta();
13838 void set_has_k();
13839 void clear_has_k();
13840 void set_has_source();
13841 void clear_has_source();
13842 void set_has_scale();
13843 void clear_has_scale();
13844 void set_has_meanfile();
13845 void clear_has_meanfile();
13846 void set_has_batchsize();
13847 void clear_has_batchsize();
13848 void set_has_cropsize();
13849 void clear_has_cropsize();
13850 void set_has_mirror();
13851 void clear_has_mirror();
13852 void set_has_rand_skip();
13853 void clear_has_rand_skip();
13854 void set_has_det_fg_threshold();
13855 void clear_has_det_fg_threshold();
13856 void set_has_det_bg_threshold();
13857 void clear_has_det_bg_threshold();
13858 void set_has_det_fg_fraction();
13859 void clear_has_det_fg_fraction();
13860 void set_has_det_context_pad();
13861 void clear_has_det_context_pad();
13862 void set_has_det_crop_mode();
13863 void clear_has_det_crop_mode();
13864 void set_has_new_num();
13865 void clear_has_new_num();
13866 void set_has_new_channels();
13867 void clear_has_new_channels();
13868 void set_has_new_height();
13869 void clear_has_new_height();
13870 void set_has_new_width();
13871 void clear_has_new_width();
13872 void set_has_shuffle_images();
13873 void clear_has_shuffle_images();
13874 void set_has_concat_dim();
13875 void clear_has_concat_dim();
13876 void set_has_hdf5_output_param();
13877 void clear_has_hdf5_output_param();
13878
13879 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
13880 ::google::protobuf::internal::HasBits<2> _has_bits_;
13881 ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto > blobs_;
13882 ::google::protobuf::RepeatedField< float > blobs_lr_;
13883 ::google::protobuf::RepeatedField< float > weight_decay_;
13884 ::google::protobuf::internal::ArenaStringPtr name_;
13885 ::google::protobuf::internal::ArenaStringPtr type_;
13886 ::google::protobuf::internal::ArenaStringPtr source_;
13887 ::google::protobuf::internal::ArenaStringPtr meanfile_;
13888 static ::google::protobuf::internal::ExplicitlyConstructed< ::std::string> _default_det_crop_mode_;
13889 ::google::protobuf::internal::ArenaStringPtr det_crop_mode_;
13890 ::opencv_caffe::FillerParameter* weight_filler_;
13891 ::opencv_caffe::FillerParameter* bias_filler_;
13892 ::opencv_caffe::HDF5OutputParameter* hdf5_output_param_;
13893 ::google::protobuf::uint32 num_output_;
13894 ::google::protobuf::uint32 pad_;
13895 ::google::protobuf::uint32 kernelsize_;
13896 int pool_;
13897 ::google::protobuf::uint32 batchsize_;
13898 ::google::protobuf::uint32 cropsize_;
13899 ::google::protobuf::int32 new_width_;
13900 bool mirror_;
13901 bool shuffle_images_;
13902 ::google::protobuf::uint32 rand_skip_;
13903 ::google::protobuf::uint32 det_context_pad_;
13904 ::google::protobuf::int32 new_num_;
13905 ::google::protobuf::int32 new_channels_;
13906 ::google::protobuf::int32 new_height_;
13907 ::google::protobuf::uint32 concat_dim_;
13908 bool biasterm_;
13909 ::google::protobuf::uint32 group_;
13910 ::google::protobuf::uint32 stride_;
13911 float dropout_ratio_;
13912 ::google::protobuf::uint32 local_size_;
13913 float alpha_;
13914 float beta_;
13915 float scale_;
13916 float k_;
13917 float det_fg_threshold_;
13918 float det_bg_threshold_;
13919 float det_fg_fraction_;
13920 mutable int _cached_size_;
13921 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
13922 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsV0LayerParameterImpl();
13923 };
13924 // -------------------------------------------------------------------
13925
13926 class PReLUParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.PReLUParameter) */ {
13927 public:
13928 PReLUParameter();
13929 virtual ~PReLUParameter();
13930
13931 PReLUParameter(const PReLUParameter& from);
13932
13933 inline PReLUParameter& operator=(const PReLUParameter& from) {
13934 CopyFrom(from);
13935 return *this;
13936 }
13937 #if LANG_CXX11
PReLUParameter(PReLUParameter && from)13938 PReLUParameter(PReLUParameter&& from) noexcept
13939 : PReLUParameter() {
13940 *this = ::std::move(from);
13941 }
13942
13943 inline PReLUParameter& operator=(PReLUParameter&& from) noexcept {
13944 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
13945 if (this != &from) InternalSwap(&from);
13946 } else {
13947 CopyFrom(from);
13948 }
13949 return *this;
13950 }
13951 #endif
unknown_fields()13952 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
13953 return _internal_metadata_.unknown_fields();
13954 }
mutable_unknown_fields()13955 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
13956 return _internal_metadata_.mutable_unknown_fields();
13957 }
13958
13959 static const ::google::protobuf::Descriptor* descriptor();
13960 static const PReLUParameter& default_instance();
13961
13962 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()13963 static inline const PReLUParameter* internal_default_instance() {
13964 return reinterpret_cast<const PReLUParameter*>(
13965 &_PReLUParameter_default_instance_);
13966 }
13967 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
13968 66;
13969
13970 void Swap(PReLUParameter* other);
swap(PReLUParameter & a,PReLUParameter & b)13971 friend void swap(PReLUParameter& a, PReLUParameter& b) {
13972 a.Swap(&b);
13973 }
13974
13975 // implements Message ----------------------------------------------
13976
New()13977 inline PReLUParameter* New() const PROTOBUF_FINAL { return New(NULL); }
13978
13979 PReLUParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
13980 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
13981 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
13982 void CopyFrom(const PReLUParameter& from);
13983 void MergeFrom(const PReLUParameter& from);
13984 void Clear() PROTOBUF_FINAL;
13985 bool IsInitialized() const PROTOBUF_FINAL;
13986
13987 size_t ByteSizeLong() const PROTOBUF_FINAL;
13988 bool MergePartialFromCodedStream(
13989 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
13990 void SerializeWithCachedSizes(
13991 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
13992 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
13993 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()13994 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
13995 private:
13996 void SharedCtor();
13997 void SharedDtor();
13998 void SetCachedSize(int size) const PROTOBUF_FINAL;
13999 void InternalSwap(PReLUParameter* other);
14000 private:
GetArenaNoVirtual()14001 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
14002 return NULL;
14003 }
MaybeArenaPtr()14004 inline void* MaybeArenaPtr() const {
14005 return NULL;
14006 }
14007 public:
14008
14009 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
14010
14011 // nested types ----------------------------------------------------
14012
14013 // accessors -------------------------------------------------------
14014
14015 // optional .opencv_caffe.FillerParameter filler = 1;
14016 bool has_filler() const;
14017 void clear_filler();
14018 static const int kFillerFieldNumber = 1;
14019 const ::opencv_caffe::FillerParameter& filler() const;
14020 ::opencv_caffe::FillerParameter* release_filler();
14021 ::opencv_caffe::FillerParameter* mutable_filler();
14022 void set_allocated_filler(::opencv_caffe::FillerParameter* filler);
14023
14024 // optional bool channel_shared = 2 [default = false];
14025 bool has_channel_shared() const;
14026 void clear_channel_shared();
14027 static const int kChannelSharedFieldNumber = 2;
14028 bool channel_shared() const;
14029 void set_channel_shared(bool value);
14030
14031 // @@protoc_insertion_point(class_scope:opencv_caffe.PReLUParameter)
14032 private:
14033 void set_has_filler();
14034 void clear_has_filler();
14035 void set_has_channel_shared();
14036 void clear_has_channel_shared();
14037
14038 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
14039 ::google::protobuf::internal::HasBits<1> _has_bits_;
14040 mutable int _cached_size_;
14041 ::opencv_caffe::FillerParameter* filler_;
14042 bool channel_shared_;
14043 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
14044 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsPReLUParameterImpl();
14045 };
14046 // -------------------------------------------------------------------
14047
14048 class NormalizedBBox : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.NormalizedBBox) */ {
14049 public:
14050 NormalizedBBox();
14051 virtual ~NormalizedBBox();
14052
14053 NormalizedBBox(const NormalizedBBox& from);
14054
14055 inline NormalizedBBox& operator=(const NormalizedBBox& from) {
14056 CopyFrom(from);
14057 return *this;
14058 }
14059 #if LANG_CXX11
NormalizedBBox(NormalizedBBox && from)14060 NormalizedBBox(NormalizedBBox&& from) noexcept
14061 : NormalizedBBox() {
14062 *this = ::std::move(from);
14063 }
14064
14065 inline NormalizedBBox& operator=(NormalizedBBox&& from) noexcept {
14066 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
14067 if (this != &from) InternalSwap(&from);
14068 } else {
14069 CopyFrom(from);
14070 }
14071 return *this;
14072 }
14073 #endif
unknown_fields()14074 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
14075 return _internal_metadata_.unknown_fields();
14076 }
mutable_unknown_fields()14077 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
14078 return _internal_metadata_.mutable_unknown_fields();
14079 }
14080
14081 static const ::google::protobuf::Descriptor* descriptor();
14082 static const NormalizedBBox& default_instance();
14083
14084 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()14085 static inline const NormalizedBBox* internal_default_instance() {
14086 return reinterpret_cast<const NormalizedBBox*>(
14087 &_NormalizedBBox_default_instance_);
14088 }
14089 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
14090 67;
14091
14092 void Swap(NormalizedBBox* other);
swap(NormalizedBBox & a,NormalizedBBox & b)14093 friend void swap(NormalizedBBox& a, NormalizedBBox& b) {
14094 a.Swap(&b);
14095 }
14096
14097 // implements Message ----------------------------------------------
14098
New()14099 inline NormalizedBBox* New() const PROTOBUF_FINAL { return New(NULL); }
14100
14101 NormalizedBBox* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
14102 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
14103 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
14104 void CopyFrom(const NormalizedBBox& from);
14105 void MergeFrom(const NormalizedBBox& from);
14106 void Clear() PROTOBUF_FINAL;
14107 bool IsInitialized() const PROTOBUF_FINAL;
14108
14109 size_t ByteSizeLong() const PROTOBUF_FINAL;
14110 bool MergePartialFromCodedStream(
14111 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
14112 void SerializeWithCachedSizes(
14113 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
14114 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
14115 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()14116 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
14117 private:
14118 void SharedCtor();
14119 void SharedDtor();
14120 void SetCachedSize(int size) const PROTOBUF_FINAL;
14121 void InternalSwap(NormalizedBBox* other);
14122 private:
GetArenaNoVirtual()14123 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
14124 return NULL;
14125 }
MaybeArenaPtr()14126 inline void* MaybeArenaPtr() const {
14127 return NULL;
14128 }
14129 public:
14130
14131 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
14132
14133 // nested types ----------------------------------------------------
14134
14135 // accessors -------------------------------------------------------
14136
14137 // optional float xmin = 1;
14138 bool has_xmin() const;
14139 void clear_xmin();
14140 static const int kXminFieldNumber = 1;
14141 float xmin() const;
14142 void set_xmin(float value);
14143
14144 // optional float ymin = 2;
14145 bool has_ymin() const;
14146 void clear_ymin();
14147 static const int kYminFieldNumber = 2;
14148 float ymin() const;
14149 void set_ymin(float value);
14150
14151 // optional float xmax = 3;
14152 bool has_xmax() const;
14153 void clear_xmax();
14154 static const int kXmaxFieldNumber = 3;
14155 float xmax() const;
14156 void set_xmax(float value);
14157
14158 // optional float ymax = 4;
14159 bool has_ymax() const;
14160 void clear_ymax();
14161 static const int kYmaxFieldNumber = 4;
14162 float ymax() const;
14163 void set_ymax(float value);
14164
14165 // optional int32 label = 5;
14166 bool has_label() const;
14167 void clear_label();
14168 static const int kLabelFieldNumber = 5;
14169 ::google::protobuf::int32 label() const;
14170 void set_label(::google::protobuf::int32 value);
14171
14172 // optional bool difficult = 6;
14173 bool has_difficult() const;
14174 void clear_difficult();
14175 static const int kDifficultFieldNumber = 6;
14176 bool difficult() const;
14177 void set_difficult(bool value);
14178
14179 // optional float score = 7;
14180 bool has_score() const;
14181 void clear_score();
14182 static const int kScoreFieldNumber = 7;
14183 float score() const;
14184 void set_score(float value);
14185
14186 // optional float size = 8;
14187 bool has_size() const;
14188 void clear_size();
14189 static const int kSizeFieldNumber = 8;
14190 float size() const;
14191 void set_size(float value);
14192
14193 // @@protoc_insertion_point(class_scope:opencv_caffe.NormalizedBBox)
14194 private:
14195 void set_has_xmin();
14196 void clear_has_xmin();
14197 void set_has_ymin();
14198 void clear_has_ymin();
14199 void set_has_xmax();
14200 void clear_has_xmax();
14201 void set_has_ymax();
14202 void clear_has_ymax();
14203 void set_has_label();
14204 void clear_has_label();
14205 void set_has_difficult();
14206 void clear_has_difficult();
14207 void set_has_score();
14208 void clear_has_score();
14209 void set_has_size();
14210 void clear_has_size();
14211
14212 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
14213 ::google::protobuf::internal::HasBits<1> _has_bits_;
14214 mutable int _cached_size_;
14215 float xmin_;
14216 float ymin_;
14217 float xmax_;
14218 float ymax_;
14219 ::google::protobuf::int32 label_;
14220 bool difficult_;
14221 float score_;
14222 float size_;
14223 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
14224 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsNormalizedBBoxImpl();
14225 };
14226 // -------------------------------------------------------------------
14227
14228 class ROIPoolingParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ROIPoolingParameter) */ {
14229 public:
14230 ROIPoolingParameter();
14231 virtual ~ROIPoolingParameter();
14232
14233 ROIPoolingParameter(const ROIPoolingParameter& from);
14234
14235 inline ROIPoolingParameter& operator=(const ROIPoolingParameter& from) {
14236 CopyFrom(from);
14237 return *this;
14238 }
14239 #if LANG_CXX11
ROIPoolingParameter(ROIPoolingParameter && from)14240 ROIPoolingParameter(ROIPoolingParameter&& from) noexcept
14241 : ROIPoolingParameter() {
14242 *this = ::std::move(from);
14243 }
14244
14245 inline ROIPoolingParameter& operator=(ROIPoolingParameter&& from) noexcept {
14246 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
14247 if (this != &from) InternalSwap(&from);
14248 } else {
14249 CopyFrom(from);
14250 }
14251 return *this;
14252 }
14253 #endif
unknown_fields()14254 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
14255 return _internal_metadata_.unknown_fields();
14256 }
mutable_unknown_fields()14257 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
14258 return _internal_metadata_.mutable_unknown_fields();
14259 }
14260
14261 static const ::google::protobuf::Descriptor* descriptor();
14262 static const ROIPoolingParameter& default_instance();
14263
14264 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()14265 static inline const ROIPoolingParameter* internal_default_instance() {
14266 return reinterpret_cast<const ROIPoolingParameter*>(
14267 &_ROIPoolingParameter_default_instance_);
14268 }
14269 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
14270 68;
14271
14272 void Swap(ROIPoolingParameter* other);
swap(ROIPoolingParameter & a,ROIPoolingParameter & b)14273 friend void swap(ROIPoolingParameter& a, ROIPoolingParameter& b) {
14274 a.Swap(&b);
14275 }
14276
14277 // implements Message ----------------------------------------------
14278
New()14279 inline ROIPoolingParameter* New() const PROTOBUF_FINAL { return New(NULL); }
14280
14281 ROIPoolingParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
14282 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
14283 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
14284 void CopyFrom(const ROIPoolingParameter& from);
14285 void MergeFrom(const ROIPoolingParameter& from);
14286 void Clear() PROTOBUF_FINAL;
14287 bool IsInitialized() const PROTOBUF_FINAL;
14288
14289 size_t ByteSizeLong() const PROTOBUF_FINAL;
14290 bool MergePartialFromCodedStream(
14291 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
14292 void SerializeWithCachedSizes(
14293 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
14294 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
14295 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()14296 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
14297 private:
14298 void SharedCtor();
14299 void SharedDtor();
14300 void SetCachedSize(int size) const PROTOBUF_FINAL;
14301 void InternalSwap(ROIPoolingParameter* other);
14302 private:
GetArenaNoVirtual()14303 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
14304 return NULL;
14305 }
MaybeArenaPtr()14306 inline void* MaybeArenaPtr() const {
14307 return NULL;
14308 }
14309 public:
14310
14311 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
14312
14313 // nested types ----------------------------------------------------
14314
14315 // accessors -------------------------------------------------------
14316
14317 // optional uint32 pooled_h = 1 [default = 0];
14318 bool has_pooled_h() const;
14319 void clear_pooled_h();
14320 static const int kPooledHFieldNumber = 1;
14321 ::google::protobuf::uint32 pooled_h() const;
14322 void set_pooled_h(::google::protobuf::uint32 value);
14323
14324 // optional uint32 pooled_w = 2 [default = 0];
14325 bool has_pooled_w() const;
14326 void clear_pooled_w();
14327 static const int kPooledWFieldNumber = 2;
14328 ::google::protobuf::uint32 pooled_w() const;
14329 void set_pooled_w(::google::protobuf::uint32 value);
14330
14331 // optional float spatial_scale = 3 [default = 1];
14332 bool has_spatial_scale() const;
14333 void clear_spatial_scale();
14334 static const int kSpatialScaleFieldNumber = 3;
14335 float spatial_scale() const;
14336 void set_spatial_scale(float value);
14337
14338 // @@protoc_insertion_point(class_scope:opencv_caffe.ROIPoolingParameter)
14339 private:
14340 void set_has_pooled_h();
14341 void clear_has_pooled_h();
14342 void set_has_pooled_w();
14343 void clear_has_pooled_w();
14344 void set_has_spatial_scale();
14345 void clear_has_spatial_scale();
14346
14347 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
14348 ::google::protobuf::internal::HasBits<1> _has_bits_;
14349 mutable int _cached_size_;
14350 ::google::protobuf::uint32 pooled_h_;
14351 ::google::protobuf::uint32 pooled_w_;
14352 float spatial_scale_;
14353 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
14354 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsROIPoolingParameterImpl();
14355 };
14356 // -------------------------------------------------------------------
14357
14358 class ProposalParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.ProposalParameter) */ {
14359 public:
14360 ProposalParameter();
14361 virtual ~ProposalParameter();
14362
14363 ProposalParameter(const ProposalParameter& from);
14364
14365 inline ProposalParameter& operator=(const ProposalParameter& from) {
14366 CopyFrom(from);
14367 return *this;
14368 }
14369 #if LANG_CXX11
ProposalParameter(ProposalParameter && from)14370 ProposalParameter(ProposalParameter&& from) noexcept
14371 : ProposalParameter() {
14372 *this = ::std::move(from);
14373 }
14374
14375 inline ProposalParameter& operator=(ProposalParameter&& from) noexcept {
14376 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
14377 if (this != &from) InternalSwap(&from);
14378 } else {
14379 CopyFrom(from);
14380 }
14381 return *this;
14382 }
14383 #endif
unknown_fields()14384 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
14385 return _internal_metadata_.unknown_fields();
14386 }
mutable_unknown_fields()14387 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
14388 return _internal_metadata_.mutable_unknown_fields();
14389 }
14390
14391 static const ::google::protobuf::Descriptor* descriptor();
14392 static const ProposalParameter& default_instance();
14393
14394 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()14395 static inline const ProposalParameter* internal_default_instance() {
14396 return reinterpret_cast<const ProposalParameter*>(
14397 &_ProposalParameter_default_instance_);
14398 }
14399 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
14400 69;
14401
14402 void Swap(ProposalParameter* other);
swap(ProposalParameter & a,ProposalParameter & b)14403 friend void swap(ProposalParameter& a, ProposalParameter& b) {
14404 a.Swap(&b);
14405 }
14406
14407 // implements Message ----------------------------------------------
14408
New()14409 inline ProposalParameter* New() const PROTOBUF_FINAL { return New(NULL); }
14410
14411 ProposalParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
14412 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
14413 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
14414 void CopyFrom(const ProposalParameter& from);
14415 void MergeFrom(const ProposalParameter& from);
14416 void Clear() PROTOBUF_FINAL;
14417 bool IsInitialized() const PROTOBUF_FINAL;
14418
14419 size_t ByteSizeLong() const PROTOBUF_FINAL;
14420 bool MergePartialFromCodedStream(
14421 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
14422 void SerializeWithCachedSizes(
14423 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
14424 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
14425 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()14426 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
14427 private:
14428 void SharedCtor();
14429 void SharedDtor();
14430 void SetCachedSize(int size) const PROTOBUF_FINAL;
14431 void InternalSwap(ProposalParameter* other);
14432 private:
GetArenaNoVirtual()14433 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
14434 return NULL;
14435 }
MaybeArenaPtr()14436 inline void* MaybeArenaPtr() const {
14437 return NULL;
14438 }
14439 public:
14440
14441 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
14442
14443 // nested types ----------------------------------------------------
14444
14445 // accessors -------------------------------------------------------
14446
14447 // repeated float ratio = 4;
14448 int ratio_size() const;
14449 void clear_ratio();
14450 static const int kRatioFieldNumber = 4;
14451 float ratio(int index) const;
14452 void set_ratio(int index, float value);
14453 void add_ratio(float value);
14454 const ::google::protobuf::RepeatedField< float >&
14455 ratio() const;
14456 ::google::protobuf::RepeatedField< float >*
14457 mutable_ratio();
14458
14459 // repeated float scale = 5;
14460 int scale_size() const;
14461 void clear_scale();
14462 static const int kScaleFieldNumber = 5;
14463 float scale(int index) const;
14464 void set_scale(int index, float value);
14465 void add_scale(float value);
14466 const ::google::protobuf::RepeatedField< float >&
14467 scale() const;
14468 ::google::protobuf::RepeatedField< float >*
14469 mutable_scale();
14470
14471 // optional uint32 feat_stride = 1 [default = 16];
14472 bool has_feat_stride() const;
14473 void clear_feat_stride();
14474 static const int kFeatStrideFieldNumber = 1;
14475 ::google::protobuf::uint32 feat_stride() const;
14476 void set_feat_stride(::google::protobuf::uint32 value);
14477
14478 // optional uint32 base_size = 2 [default = 16];
14479 bool has_base_size() const;
14480 void clear_base_size();
14481 static const int kBaseSizeFieldNumber = 2;
14482 ::google::protobuf::uint32 base_size() const;
14483 void set_base_size(::google::protobuf::uint32 value);
14484
14485 // optional uint32 min_size = 3 [default = 16];
14486 bool has_min_size() const;
14487 void clear_min_size();
14488 static const int kMinSizeFieldNumber = 3;
14489 ::google::protobuf::uint32 min_size() const;
14490 void set_min_size(::google::protobuf::uint32 value);
14491
14492 // optional uint32 pre_nms_topn = 6 [default = 6000];
14493 bool has_pre_nms_topn() const;
14494 void clear_pre_nms_topn();
14495 static const int kPreNmsTopnFieldNumber = 6;
14496 ::google::protobuf::uint32 pre_nms_topn() const;
14497 void set_pre_nms_topn(::google::protobuf::uint32 value);
14498
14499 // optional uint32 post_nms_topn = 7 [default = 300];
14500 bool has_post_nms_topn() const;
14501 void clear_post_nms_topn();
14502 static const int kPostNmsTopnFieldNumber = 7;
14503 ::google::protobuf::uint32 post_nms_topn() const;
14504 void set_post_nms_topn(::google::protobuf::uint32 value);
14505
14506 // optional float nms_thresh = 8 [default = 0.7];
14507 bool has_nms_thresh() const;
14508 void clear_nms_thresh();
14509 static const int kNmsThreshFieldNumber = 8;
14510 float nms_thresh() const;
14511 void set_nms_thresh(float value);
14512
14513 // @@protoc_insertion_point(class_scope:opencv_caffe.ProposalParameter)
14514 private:
14515 void set_has_feat_stride();
14516 void clear_has_feat_stride();
14517 void set_has_base_size();
14518 void clear_has_base_size();
14519 void set_has_min_size();
14520 void clear_has_min_size();
14521 void set_has_pre_nms_topn();
14522 void clear_has_pre_nms_topn();
14523 void set_has_post_nms_topn();
14524 void clear_has_post_nms_topn();
14525 void set_has_nms_thresh();
14526 void clear_has_nms_thresh();
14527
14528 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
14529 ::google::protobuf::internal::HasBits<1> _has_bits_;
14530 mutable int _cached_size_;
14531 ::google::protobuf::RepeatedField< float > ratio_;
14532 ::google::protobuf::RepeatedField< float > scale_;
14533 ::google::protobuf::uint32 feat_stride_;
14534 ::google::protobuf::uint32 base_size_;
14535 ::google::protobuf::uint32 min_size_;
14536 ::google::protobuf::uint32 pre_nms_topn_;
14537 ::google::protobuf::uint32 post_nms_topn_;
14538 float nms_thresh_;
14539 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
14540 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsProposalParameterImpl();
14541 };
14542 // -------------------------------------------------------------------
14543
14544 class PSROIPoolingParameter : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_caffe.PSROIPoolingParameter) */ {
14545 public:
14546 PSROIPoolingParameter();
14547 virtual ~PSROIPoolingParameter();
14548
14549 PSROIPoolingParameter(const PSROIPoolingParameter& from);
14550
14551 inline PSROIPoolingParameter& operator=(const PSROIPoolingParameter& from) {
14552 CopyFrom(from);
14553 return *this;
14554 }
14555 #if LANG_CXX11
PSROIPoolingParameter(PSROIPoolingParameter && from)14556 PSROIPoolingParameter(PSROIPoolingParameter&& from) noexcept
14557 : PSROIPoolingParameter() {
14558 *this = ::std::move(from);
14559 }
14560
14561 inline PSROIPoolingParameter& operator=(PSROIPoolingParameter&& from) noexcept {
14562 if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {
14563 if (this != &from) InternalSwap(&from);
14564 } else {
14565 CopyFrom(from);
14566 }
14567 return *this;
14568 }
14569 #endif
unknown_fields()14570 inline const ::google::protobuf::UnknownFieldSet& unknown_fields() const {
14571 return _internal_metadata_.unknown_fields();
14572 }
mutable_unknown_fields()14573 inline ::google::protobuf::UnknownFieldSet* mutable_unknown_fields() {
14574 return _internal_metadata_.mutable_unknown_fields();
14575 }
14576
14577 static const ::google::protobuf::Descriptor* descriptor();
14578 static const PSROIPoolingParameter& default_instance();
14579
14580 static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY
internal_default_instance()14581 static inline const PSROIPoolingParameter* internal_default_instance() {
14582 return reinterpret_cast<const PSROIPoolingParameter*>(
14583 &_PSROIPoolingParameter_default_instance_);
14584 }
14585 static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =
14586 70;
14587
14588 void Swap(PSROIPoolingParameter* other);
swap(PSROIPoolingParameter & a,PSROIPoolingParameter & b)14589 friend void swap(PSROIPoolingParameter& a, PSROIPoolingParameter& b) {
14590 a.Swap(&b);
14591 }
14592
14593 // implements Message ----------------------------------------------
14594
New()14595 inline PSROIPoolingParameter* New() const PROTOBUF_FINAL { return New(NULL); }
14596
14597 PSROIPoolingParameter* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;
14598 void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
14599 void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;
14600 void CopyFrom(const PSROIPoolingParameter& from);
14601 void MergeFrom(const PSROIPoolingParameter& from);
14602 void Clear() PROTOBUF_FINAL;
14603 bool IsInitialized() const PROTOBUF_FINAL;
14604
14605 size_t ByteSizeLong() const PROTOBUF_FINAL;
14606 bool MergePartialFromCodedStream(
14607 ::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;
14608 void SerializeWithCachedSizes(
14609 ::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;
14610 ::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(
14611 bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;
GetCachedSize()14612 int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }
14613 private:
14614 void SharedCtor();
14615 void SharedDtor();
14616 void SetCachedSize(int size) const PROTOBUF_FINAL;
14617 void InternalSwap(PSROIPoolingParameter* other);
14618 private:
GetArenaNoVirtual()14619 inline ::google::protobuf::Arena* GetArenaNoVirtual() const {
14620 return NULL;
14621 }
MaybeArenaPtr()14622 inline void* MaybeArenaPtr() const {
14623 return NULL;
14624 }
14625 public:
14626
14627 ::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;
14628
14629 // nested types ----------------------------------------------------
14630
14631 // accessors -------------------------------------------------------
14632
14633 // required float spatial_scale = 1;
14634 bool has_spatial_scale() const;
14635 void clear_spatial_scale();
14636 static const int kSpatialScaleFieldNumber = 1;
14637 float spatial_scale() const;
14638 void set_spatial_scale(float value);
14639
14640 // required int32 output_dim = 2;
14641 bool has_output_dim() const;
14642 void clear_output_dim();
14643 static const int kOutputDimFieldNumber = 2;
14644 ::google::protobuf::int32 output_dim() const;
14645 void set_output_dim(::google::protobuf::int32 value);
14646
14647 // required int32 group_size = 3;
14648 bool has_group_size() const;
14649 void clear_group_size();
14650 static const int kGroupSizeFieldNumber = 3;
14651 ::google::protobuf::int32 group_size() const;
14652 void set_group_size(::google::protobuf::int32 value);
14653
14654 // @@protoc_insertion_point(class_scope:opencv_caffe.PSROIPoolingParameter)
14655 private:
14656 void set_has_spatial_scale();
14657 void clear_has_spatial_scale();
14658 void set_has_output_dim();
14659 void clear_has_output_dim();
14660 void set_has_group_size();
14661 void clear_has_group_size();
14662
14663 // helper for ByteSizeLong()
14664 size_t RequiredFieldsByteSizeFallback() const;
14665
14666 ::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;
14667 ::google::protobuf::internal::HasBits<1> _has_bits_;
14668 mutable int _cached_size_;
14669 float spatial_scale_;
14670 ::google::protobuf::int32 output_dim_;
14671 ::google::protobuf::int32 group_size_;
14672 friend struct ::protobuf_opencv_2dcaffe_2eproto::TableStruct;
14673 friend void ::protobuf_opencv_2dcaffe_2eproto::InitDefaultsPSROIPoolingParameterImpl();
14674 };
14675 // ===================================================================
14676
14677
14678 // ===================================================================
14679
14680 #ifdef __GNUC__
14681 #pragma GCC diagnostic push
14682 #pragma GCC diagnostic ignored "-Wstrict-aliasing"
14683 #endif // __GNUC__
14684 // BlobShape
14685
14686 // repeated int64 dim = 1 [packed = true];
dim_size()14687 inline int BlobShape::dim_size() const {
14688 return dim_.size();
14689 }
clear_dim()14690 inline void BlobShape::clear_dim() {
14691 dim_.Clear();
14692 }
dim(int index)14693 inline ::google::protobuf::int64 BlobShape::dim(int index) const {
14694 // @@protoc_insertion_point(field_get:opencv_caffe.BlobShape.dim)
14695 return dim_.Get(index);
14696 }
set_dim(int index,::google::protobuf::int64 value)14697 inline void BlobShape::set_dim(int index, ::google::protobuf::int64 value) {
14698 dim_.Set(index, value);
14699 // @@protoc_insertion_point(field_set:opencv_caffe.BlobShape.dim)
14700 }
add_dim(::google::protobuf::int64 value)14701 inline void BlobShape::add_dim(::google::protobuf::int64 value) {
14702 dim_.Add(value);
14703 // @@protoc_insertion_point(field_add:opencv_caffe.BlobShape.dim)
14704 }
14705 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&
dim()14706 BlobShape::dim() const {
14707 // @@protoc_insertion_point(field_list:opencv_caffe.BlobShape.dim)
14708 return dim_;
14709 }
14710 inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*
mutable_dim()14711 BlobShape::mutable_dim() {
14712 // @@protoc_insertion_point(field_mutable_list:opencv_caffe.BlobShape.dim)
14713 return &dim_;
14714 }
14715
14716 // -------------------------------------------------------------------
14717
14718 // BlobProto
14719
14720 // optional .opencv_caffe.BlobShape shape = 7;
has_shape()14721 inline bool BlobProto::has_shape() const {
14722 return (_has_bits_[0] & 0x00000002u) != 0;
14723 }
set_has_shape()14724 inline void BlobProto::set_has_shape() {
14725 _has_bits_[0] |= 0x00000002u;
14726 }
clear_has_shape()14727 inline void BlobProto::clear_has_shape() {
14728 _has_bits_[0] &= ~0x00000002u;
14729 }
clear_shape()14730 inline void BlobProto::clear_shape() {
14731 if (shape_ != NULL) shape_->Clear();
14732 clear_has_shape();
14733 }
shape()14734 inline const ::opencv_caffe::BlobShape& BlobProto::shape() const {
14735 const ::opencv_caffe::BlobShape* p = shape_;
14736 // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.shape)
14737 return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::BlobShape*>(
14738 &::opencv_caffe::_BlobShape_default_instance_);
14739 }
release_shape()14740 inline ::opencv_caffe::BlobShape* BlobProto::release_shape() {
14741 // @@protoc_insertion_point(field_release:opencv_caffe.BlobProto.shape)
14742 clear_has_shape();
14743 ::opencv_caffe::BlobShape* temp = shape_;
14744 shape_ = NULL;
14745 return temp;
14746 }
mutable_shape()14747 inline ::opencv_caffe::BlobShape* BlobProto::mutable_shape() {
14748 set_has_shape();
14749 if (shape_ == NULL) {
14750 shape_ = new ::opencv_caffe::BlobShape;
14751 }
14752 // @@protoc_insertion_point(field_mutable:opencv_caffe.BlobProto.shape)
14753 return shape_;
14754 }
set_allocated_shape(::opencv_caffe::BlobShape * shape)14755 inline void BlobProto::set_allocated_shape(::opencv_caffe::BlobShape* shape) {
14756 ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
14757 if (message_arena == NULL) {
14758 delete shape_;
14759 }
14760 if (shape) {
14761 ::google::protobuf::Arena* submessage_arena = NULL;
14762 if (message_arena != submessage_arena) {
14763 shape = ::google::protobuf::internal::GetOwnedMessage(
14764 message_arena, shape, submessage_arena);
14765 }
14766 set_has_shape();
14767 } else {
14768 clear_has_shape();
14769 }
14770 shape_ = shape;
14771 // @@protoc_insertion_point(field_set_allocated:opencv_caffe.BlobProto.shape)
14772 }
14773
14774 // repeated float data = 5 [packed = true];
data_size()14775 inline int BlobProto::data_size() const {
14776 return data_.size();
14777 }
clear_data()14778 inline void BlobProto::clear_data() {
14779 data_.Clear();
14780 }
data(int index)14781 inline float BlobProto::data(int index) const {
14782 // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.data)
14783 return data_.Get(index);
14784 }
set_data(int index,float value)14785 inline void BlobProto::set_data(int index, float value) {
14786 data_.Set(index, value);
14787 // @@protoc_insertion_point(field_set:opencv_caffe.BlobProto.data)
14788 }
add_data(float value)14789 inline void BlobProto::add_data(float value) {
14790 data_.Add(value);
14791 // @@protoc_insertion_point(field_add:opencv_caffe.BlobProto.data)
14792 }
14793 inline const ::google::protobuf::RepeatedField< float >&
data()14794 BlobProto::data() const {
14795 // @@protoc_insertion_point(field_list:opencv_caffe.BlobProto.data)
14796 return data_;
14797 }
14798 inline ::google::protobuf::RepeatedField< float >*
mutable_data()14799 BlobProto::mutable_data() {
14800 // @@protoc_insertion_point(field_mutable_list:opencv_caffe.BlobProto.data)
14801 return &data_;
14802 }
14803
14804 // repeated float diff = 6 [packed = true];
diff_size()14805 inline int BlobProto::diff_size() const {
14806 return diff_.size();
14807 }
clear_diff()14808 inline void BlobProto::clear_diff() {
14809 diff_.Clear();
14810 }
diff(int index)14811 inline float BlobProto::diff(int index) const {
14812 // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.diff)
14813 return diff_.Get(index);
14814 }
set_diff(int index,float value)14815 inline void BlobProto::set_diff(int index, float value) {
14816 diff_.Set(index, value);
14817 // @@protoc_insertion_point(field_set:opencv_caffe.BlobProto.diff)
14818 }
add_diff(float value)14819 inline void BlobProto::add_diff(float value) {
14820 diff_.Add(value);
14821 // @@protoc_insertion_point(field_add:opencv_caffe.BlobProto.diff)
14822 }
14823 inline const ::google::protobuf::RepeatedField< float >&
diff()14824 BlobProto::diff() const {
14825 // @@protoc_insertion_point(field_list:opencv_caffe.BlobProto.diff)
14826 return diff_;
14827 }
14828 inline ::google::protobuf::RepeatedField< float >*
mutable_diff()14829 BlobProto::mutable_diff() {
14830 // @@protoc_insertion_point(field_mutable_list:opencv_caffe.BlobProto.diff)
14831 return &diff_;
14832 }
14833
14834 // repeated double double_data = 8 [packed = true];
double_data_size()14835 inline int BlobProto::double_data_size() const {
14836 return double_data_.size();
14837 }
clear_double_data()14838 inline void BlobProto::clear_double_data() {
14839 double_data_.Clear();
14840 }
double_data(int index)14841 inline double BlobProto::double_data(int index) const {
14842 // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.double_data)
14843 return double_data_.Get(index);
14844 }
set_double_data(int index,double value)14845 inline void BlobProto::set_double_data(int index, double value) {
14846 double_data_.Set(index, value);
14847 // @@protoc_insertion_point(field_set:opencv_caffe.BlobProto.double_data)
14848 }
add_double_data(double value)14849 inline void BlobProto::add_double_data(double value) {
14850 double_data_.Add(value);
14851 // @@protoc_insertion_point(field_add:opencv_caffe.BlobProto.double_data)
14852 }
14853 inline const ::google::protobuf::RepeatedField< double >&
double_data()14854 BlobProto::double_data() const {
14855 // @@protoc_insertion_point(field_list:opencv_caffe.BlobProto.double_data)
14856 return double_data_;
14857 }
14858 inline ::google::protobuf::RepeatedField< double >*
mutable_double_data()14859 BlobProto::mutable_double_data() {
14860 // @@protoc_insertion_point(field_mutable_list:opencv_caffe.BlobProto.double_data)
14861 return &double_data_;
14862 }
14863
14864 // repeated double double_diff = 9 [packed = true];
double_diff_size()14865 inline int BlobProto::double_diff_size() const {
14866 return double_diff_.size();
14867 }
clear_double_diff()14868 inline void BlobProto::clear_double_diff() {
14869 double_diff_.Clear();
14870 }
double_diff(int index)14871 inline double BlobProto::double_diff(int index) const {
14872 // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.double_diff)
14873 return double_diff_.Get(index);
14874 }
set_double_diff(int index,double value)14875 inline void BlobProto::set_double_diff(int index, double value) {
14876 double_diff_.Set(index, value);
14877 // @@protoc_insertion_point(field_set:opencv_caffe.BlobProto.double_diff)
14878 }
add_double_diff(double value)14879 inline void BlobProto::add_double_diff(double value) {
14880 double_diff_.Add(value);
14881 // @@protoc_insertion_point(field_add:opencv_caffe.BlobProto.double_diff)
14882 }
14883 inline const ::google::protobuf::RepeatedField< double >&
double_diff()14884 BlobProto::double_diff() const {
14885 // @@protoc_insertion_point(field_list:opencv_caffe.BlobProto.double_diff)
14886 return double_diff_;
14887 }
14888 inline ::google::protobuf::RepeatedField< double >*
mutable_double_diff()14889 BlobProto::mutable_double_diff() {
14890 // @@protoc_insertion_point(field_mutable_list:opencv_caffe.BlobProto.double_diff)
14891 return &double_diff_;
14892 }
14893
14894 // optional .opencv_caffe.Type raw_data_type = 10;
has_raw_data_type()14895 inline bool BlobProto::has_raw_data_type() const {
14896 return (_has_bits_[0] & 0x00000040u) != 0;
14897 }
set_has_raw_data_type()14898 inline void BlobProto::set_has_raw_data_type() {
14899 _has_bits_[0] |= 0x00000040u;
14900 }
clear_has_raw_data_type()14901 inline void BlobProto::clear_has_raw_data_type() {
14902 _has_bits_[0] &= ~0x00000040u;
14903 }
clear_raw_data_type()14904