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 inline void BlobProto::clear_raw_data_type() {
14905   raw_data_type_ = 0;
14906   clear_has_raw_data_type();
14907 }
raw_data_type()14908 inline ::opencv_caffe::Type BlobProto::raw_data_type() const {
14909   // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.raw_data_type)
14910   return static_cast< ::opencv_caffe::Type >(raw_data_type_);
14911 }
set_raw_data_type(::opencv_caffe::Type value)14912 inline void BlobProto::set_raw_data_type(::opencv_caffe::Type value) {
14913   assert(::opencv_caffe::Type_IsValid(value));
14914   set_has_raw_data_type();
14915   raw_data_type_ = value;
14916   // @@protoc_insertion_point(field_set:opencv_caffe.BlobProto.raw_data_type)
14917 }
14918 
14919 // optional bytes raw_data = 12 [packed = false];
has_raw_data()14920 inline bool BlobProto::has_raw_data() const {
14921   return (_has_bits_[0] & 0x00000001u) != 0;
14922 }
set_has_raw_data()14923 inline void BlobProto::set_has_raw_data() {
14924   _has_bits_[0] |= 0x00000001u;
14925 }
clear_has_raw_data()14926 inline void BlobProto::clear_has_raw_data() {
14927   _has_bits_[0] &= ~0x00000001u;
14928 }
clear_raw_data()14929 inline void BlobProto::clear_raw_data() {
14930   raw_data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14931   clear_has_raw_data();
14932 }
raw_data()14933 inline const ::std::string& BlobProto::raw_data() const {
14934   // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.raw_data)
14935   return raw_data_.GetNoArena();
14936 }
set_raw_data(const::std::string & value)14937 inline void BlobProto::set_raw_data(const ::std::string& value) {
14938   set_has_raw_data();
14939   raw_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
14940   // @@protoc_insertion_point(field_set:opencv_caffe.BlobProto.raw_data)
14941 }
14942 #if LANG_CXX11
set_raw_data(::std::string && value)14943 inline void BlobProto::set_raw_data(::std::string&& value) {
14944   set_has_raw_data();
14945   raw_data_.SetNoArena(
14946     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
14947   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.BlobProto.raw_data)
14948 }
14949 #endif
set_raw_data(const char * value)14950 inline void BlobProto::set_raw_data(const char* value) {
14951   GOOGLE_DCHECK(value != NULL);
14952   set_has_raw_data();
14953   raw_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
14954   // @@protoc_insertion_point(field_set_char:opencv_caffe.BlobProto.raw_data)
14955 }
set_raw_data(const void * value,size_t size)14956 inline void BlobProto::set_raw_data(const void* value, size_t size) {
14957   set_has_raw_data();
14958   raw_data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
14959       ::std::string(reinterpret_cast<const char*>(value), size));
14960   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.BlobProto.raw_data)
14961 }
mutable_raw_data()14962 inline ::std::string* BlobProto::mutable_raw_data() {
14963   set_has_raw_data();
14964   // @@protoc_insertion_point(field_mutable:opencv_caffe.BlobProto.raw_data)
14965   return raw_data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14966 }
release_raw_data()14967 inline ::std::string* BlobProto::release_raw_data() {
14968   // @@protoc_insertion_point(field_release:opencv_caffe.BlobProto.raw_data)
14969   clear_has_raw_data();
14970   return raw_data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
14971 }
set_allocated_raw_data(::std::string * raw_data)14972 inline void BlobProto::set_allocated_raw_data(::std::string* raw_data) {
14973   if (raw_data != NULL) {
14974     set_has_raw_data();
14975   } else {
14976     clear_has_raw_data();
14977   }
14978   raw_data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), raw_data);
14979   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.BlobProto.raw_data)
14980 }
14981 
14982 // optional int32 num = 1 [default = 0];
has_num()14983 inline bool BlobProto::has_num() const {
14984   return (_has_bits_[0] & 0x00000004u) != 0;
14985 }
set_has_num()14986 inline void BlobProto::set_has_num() {
14987   _has_bits_[0] |= 0x00000004u;
14988 }
clear_has_num()14989 inline void BlobProto::clear_has_num() {
14990   _has_bits_[0] &= ~0x00000004u;
14991 }
clear_num()14992 inline void BlobProto::clear_num() {
14993   num_ = 0;
14994   clear_has_num();
14995 }
num()14996 inline ::google::protobuf::int32 BlobProto::num() const {
14997   // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.num)
14998   return num_;
14999 }
set_num(::google::protobuf::int32 value)15000 inline void BlobProto::set_num(::google::protobuf::int32 value) {
15001   set_has_num();
15002   num_ = value;
15003   // @@protoc_insertion_point(field_set:opencv_caffe.BlobProto.num)
15004 }
15005 
15006 // optional int32 channels = 2 [default = 0];
has_channels()15007 inline bool BlobProto::has_channels() const {
15008   return (_has_bits_[0] & 0x00000008u) != 0;
15009 }
set_has_channels()15010 inline void BlobProto::set_has_channels() {
15011   _has_bits_[0] |= 0x00000008u;
15012 }
clear_has_channels()15013 inline void BlobProto::clear_has_channels() {
15014   _has_bits_[0] &= ~0x00000008u;
15015 }
clear_channels()15016 inline void BlobProto::clear_channels() {
15017   channels_ = 0;
15018   clear_has_channels();
15019 }
channels()15020 inline ::google::protobuf::int32 BlobProto::channels() const {
15021   // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.channels)
15022   return channels_;
15023 }
set_channels(::google::protobuf::int32 value)15024 inline void BlobProto::set_channels(::google::protobuf::int32 value) {
15025   set_has_channels();
15026   channels_ = value;
15027   // @@protoc_insertion_point(field_set:opencv_caffe.BlobProto.channels)
15028 }
15029 
15030 // optional int32 height = 3 [default = 0];
has_height()15031 inline bool BlobProto::has_height() const {
15032   return (_has_bits_[0] & 0x00000010u) != 0;
15033 }
set_has_height()15034 inline void BlobProto::set_has_height() {
15035   _has_bits_[0] |= 0x00000010u;
15036 }
clear_has_height()15037 inline void BlobProto::clear_has_height() {
15038   _has_bits_[0] &= ~0x00000010u;
15039 }
clear_height()15040 inline void BlobProto::clear_height() {
15041   height_ = 0;
15042   clear_has_height();
15043 }
height()15044 inline ::google::protobuf::int32 BlobProto::height() const {
15045   // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.height)
15046   return height_;
15047 }
set_height(::google::protobuf::int32 value)15048 inline void BlobProto::set_height(::google::protobuf::int32 value) {
15049   set_has_height();
15050   height_ = value;
15051   // @@protoc_insertion_point(field_set:opencv_caffe.BlobProto.height)
15052 }
15053 
15054 // optional int32 width = 4 [default = 0];
has_width()15055 inline bool BlobProto::has_width() const {
15056   return (_has_bits_[0] & 0x00000020u) != 0;
15057 }
set_has_width()15058 inline void BlobProto::set_has_width() {
15059   _has_bits_[0] |= 0x00000020u;
15060 }
clear_has_width()15061 inline void BlobProto::clear_has_width() {
15062   _has_bits_[0] &= ~0x00000020u;
15063 }
clear_width()15064 inline void BlobProto::clear_width() {
15065   width_ = 0;
15066   clear_has_width();
15067 }
width()15068 inline ::google::protobuf::int32 BlobProto::width() const {
15069   // @@protoc_insertion_point(field_get:opencv_caffe.BlobProto.width)
15070   return width_;
15071 }
set_width(::google::protobuf::int32 value)15072 inline void BlobProto::set_width(::google::protobuf::int32 value) {
15073   set_has_width();
15074   width_ = value;
15075   // @@protoc_insertion_point(field_set:opencv_caffe.BlobProto.width)
15076 }
15077 
15078 // -------------------------------------------------------------------
15079 
15080 // BlobProtoVector
15081 
15082 // repeated .opencv_caffe.BlobProto blobs = 1;
blobs_size()15083 inline int BlobProtoVector::blobs_size() const {
15084   return blobs_.size();
15085 }
clear_blobs()15086 inline void BlobProtoVector::clear_blobs() {
15087   blobs_.Clear();
15088 }
blobs(int index)15089 inline const ::opencv_caffe::BlobProto& BlobProtoVector::blobs(int index) const {
15090   // @@protoc_insertion_point(field_get:opencv_caffe.BlobProtoVector.blobs)
15091   return blobs_.Get(index);
15092 }
mutable_blobs(int index)15093 inline ::opencv_caffe::BlobProto* BlobProtoVector::mutable_blobs(int index) {
15094   // @@protoc_insertion_point(field_mutable:opencv_caffe.BlobProtoVector.blobs)
15095   return blobs_.Mutable(index);
15096 }
add_blobs()15097 inline ::opencv_caffe::BlobProto* BlobProtoVector::add_blobs() {
15098   // @@protoc_insertion_point(field_add:opencv_caffe.BlobProtoVector.blobs)
15099   return blobs_.Add();
15100 }
15101 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >*
mutable_blobs()15102 BlobProtoVector::mutable_blobs() {
15103   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.BlobProtoVector.blobs)
15104   return &blobs_;
15105 }
15106 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >&
blobs()15107 BlobProtoVector::blobs() const {
15108   // @@protoc_insertion_point(field_list:opencv_caffe.BlobProtoVector.blobs)
15109   return blobs_;
15110 }
15111 
15112 // -------------------------------------------------------------------
15113 
15114 // PermuteParameter
15115 
15116 // repeated uint32 order = 1;
order_size()15117 inline int PermuteParameter::order_size() const {
15118   return order_.size();
15119 }
clear_order()15120 inline void PermuteParameter::clear_order() {
15121   order_.Clear();
15122 }
order(int index)15123 inline ::google::protobuf::uint32 PermuteParameter::order(int index) const {
15124   // @@protoc_insertion_point(field_get:opencv_caffe.PermuteParameter.order)
15125   return order_.Get(index);
15126 }
set_order(int index,::google::protobuf::uint32 value)15127 inline void PermuteParameter::set_order(int index, ::google::protobuf::uint32 value) {
15128   order_.Set(index, value);
15129   // @@protoc_insertion_point(field_set:opencv_caffe.PermuteParameter.order)
15130 }
add_order(::google::protobuf::uint32 value)15131 inline void PermuteParameter::add_order(::google::protobuf::uint32 value) {
15132   order_.Add(value);
15133   // @@protoc_insertion_point(field_add:opencv_caffe.PermuteParameter.order)
15134 }
15135 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
order()15136 PermuteParameter::order() const {
15137   // @@protoc_insertion_point(field_list:opencv_caffe.PermuteParameter.order)
15138   return order_;
15139 }
15140 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_order()15141 PermuteParameter::mutable_order() {
15142   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.PermuteParameter.order)
15143   return &order_;
15144 }
15145 
15146 // -------------------------------------------------------------------
15147 
15148 // NormalizeBBoxParameter
15149 
15150 // optional bool across_spatial = 1 [default = true];
has_across_spatial()15151 inline bool NormalizeBBoxParameter::has_across_spatial() const {
15152   return (_has_bits_[0] & 0x00000002u) != 0;
15153 }
set_has_across_spatial()15154 inline void NormalizeBBoxParameter::set_has_across_spatial() {
15155   _has_bits_[0] |= 0x00000002u;
15156 }
clear_has_across_spatial()15157 inline void NormalizeBBoxParameter::clear_has_across_spatial() {
15158   _has_bits_[0] &= ~0x00000002u;
15159 }
clear_across_spatial()15160 inline void NormalizeBBoxParameter::clear_across_spatial() {
15161   across_spatial_ = true;
15162   clear_has_across_spatial();
15163 }
across_spatial()15164 inline bool NormalizeBBoxParameter::across_spatial() const {
15165   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizeBBoxParameter.across_spatial)
15166   return across_spatial_;
15167 }
set_across_spatial(bool value)15168 inline void NormalizeBBoxParameter::set_across_spatial(bool value) {
15169   set_has_across_spatial();
15170   across_spatial_ = value;
15171   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizeBBoxParameter.across_spatial)
15172 }
15173 
15174 // optional .opencv_caffe.FillerParameter scale_filler = 2;
has_scale_filler()15175 inline bool NormalizeBBoxParameter::has_scale_filler() const {
15176   return (_has_bits_[0] & 0x00000001u) != 0;
15177 }
set_has_scale_filler()15178 inline void NormalizeBBoxParameter::set_has_scale_filler() {
15179   _has_bits_[0] |= 0x00000001u;
15180 }
clear_has_scale_filler()15181 inline void NormalizeBBoxParameter::clear_has_scale_filler() {
15182   _has_bits_[0] &= ~0x00000001u;
15183 }
clear_scale_filler()15184 inline void NormalizeBBoxParameter::clear_scale_filler() {
15185   if (scale_filler_ != NULL) scale_filler_->Clear();
15186   clear_has_scale_filler();
15187 }
scale_filler()15188 inline const ::opencv_caffe::FillerParameter& NormalizeBBoxParameter::scale_filler() const {
15189   const ::opencv_caffe::FillerParameter* p = scale_filler_;
15190   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizeBBoxParameter.scale_filler)
15191   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
15192       &::opencv_caffe::_FillerParameter_default_instance_);
15193 }
release_scale_filler()15194 inline ::opencv_caffe::FillerParameter* NormalizeBBoxParameter::release_scale_filler() {
15195   // @@protoc_insertion_point(field_release:opencv_caffe.NormalizeBBoxParameter.scale_filler)
15196   clear_has_scale_filler();
15197   ::opencv_caffe::FillerParameter* temp = scale_filler_;
15198   scale_filler_ = NULL;
15199   return temp;
15200 }
mutable_scale_filler()15201 inline ::opencv_caffe::FillerParameter* NormalizeBBoxParameter::mutable_scale_filler() {
15202   set_has_scale_filler();
15203   if (scale_filler_ == NULL) {
15204     scale_filler_ = new ::opencv_caffe::FillerParameter;
15205   }
15206   // @@protoc_insertion_point(field_mutable:opencv_caffe.NormalizeBBoxParameter.scale_filler)
15207   return scale_filler_;
15208 }
set_allocated_scale_filler(::opencv_caffe::FillerParameter * scale_filler)15209 inline void NormalizeBBoxParameter::set_allocated_scale_filler(::opencv_caffe::FillerParameter* scale_filler) {
15210   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
15211   if (message_arena == NULL) {
15212     delete scale_filler_;
15213   }
15214   if (scale_filler) {
15215     ::google::protobuf::Arena* submessage_arena = NULL;
15216     if (message_arena != submessage_arena) {
15217       scale_filler = ::google::protobuf::internal::GetOwnedMessage(
15218           message_arena, scale_filler, submessage_arena);
15219     }
15220     set_has_scale_filler();
15221   } else {
15222     clear_has_scale_filler();
15223   }
15224   scale_filler_ = scale_filler;
15225   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.NormalizeBBoxParameter.scale_filler)
15226 }
15227 
15228 // optional bool channel_shared = 3 [default = true];
has_channel_shared()15229 inline bool NormalizeBBoxParameter::has_channel_shared() const {
15230   return (_has_bits_[0] & 0x00000004u) != 0;
15231 }
set_has_channel_shared()15232 inline void NormalizeBBoxParameter::set_has_channel_shared() {
15233   _has_bits_[0] |= 0x00000004u;
15234 }
clear_has_channel_shared()15235 inline void NormalizeBBoxParameter::clear_has_channel_shared() {
15236   _has_bits_[0] &= ~0x00000004u;
15237 }
clear_channel_shared()15238 inline void NormalizeBBoxParameter::clear_channel_shared() {
15239   channel_shared_ = true;
15240   clear_has_channel_shared();
15241 }
channel_shared()15242 inline bool NormalizeBBoxParameter::channel_shared() const {
15243   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizeBBoxParameter.channel_shared)
15244   return channel_shared_;
15245 }
set_channel_shared(bool value)15246 inline void NormalizeBBoxParameter::set_channel_shared(bool value) {
15247   set_has_channel_shared();
15248   channel_shared_ = value;
15249   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizeBBoxParameter.channel_shared)
15250 }
15251 
15252 // optional float eps = 4 [default = 1e-10];
has_eps()15253 inline bool NormalizeBBoxParameter::has_eps() const {
15254   return (_has_bits_[0] & 0x00000008u) != 0;
15255 }
set_has_eps()15256 inline void NormalizeBBoxParameter::set_has_eps() {
15257   _has_bits_[0] |= 0x00000008u;
15258 }
clear_has_eps()15259 inline void NormalizeBBoxParameter::clear_has_eps() {
15260   _has_bits_[0] &= ~0x00000008u;
15261 }
clear_eps()15262 inline void NormalizeBBoxParameter::clear_eps() {
15263   eps_ = 1e-10f;
15264   clear_has_eps();
15265 }
eps()15266 inline float NormalizeBBoxParameter::eps() const {
15267   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizeBBoxParameter.eps)
15268   return eps_;
15269 }
set_eps(float value)15270 inline void NormalizeBBoxParameter::set_eps(float value) {
15271   set_has_eps();
15272   eps_ = value;
15273   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizeBBoxParameter.eps)
15274 }
15275 
15276 // -------------------------------------------------------------------
15277 
15278 // PriorBoxParameter
15279 
15280 // repeated float min_size = 1;
min_size_size()15281 inline int PriorBoxParameter::min_size_size() const {
15282   return min_size_.size();
15283 }
clear_min_size()15284 inline void PriorBoxParameter::clear_min_size() {
15285   min_size_.Clear();
15286 }
min_size(int index)15287 inline float PriorBoxParameter::min_size(int index) const {
15288   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.min_size)
15289   return min_size_.Get(index);
15290 }
set_min_size(int index,float value)15291 inline void PriorBoxParameter::set_min_size(int index, float value) {
15292   min_size_.Set(index, value);
15293   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.min_size)
15294 }
add_min_size(float value)15295 inline void PriorBoxParameter::add_min_size(float value) {
15296   min_size_.Add(value);
15297   // @@protoc_insertion_point(field_add:opencv_caffe.PriorBoxParameter.min_size)
15298 }
15299 inline const ::google::protobuf::RepeatedField< float >&
min_size()15300 PriorBoxParameter::min_size() const {
15301   // @@protoc_insertion_point(field_list:opencv_caffe.PriorBoxParameter.min_size)
15302   return min_size_;
15303 }
15304 inline ::google::protobuf::RepeatedField< float >*
mutable_min_size()15305 PriorBoxParameter::mutable_min_size() {
15306   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.PriorBoxParameter.min_size)
15307   return &min_size_;
15308 }
15309 
15310 // repeated float max_size = 2;
max_size_size()15311 inline int PriorBoxParameter::max_size_size() const {
15312   return max_size_.size();
15313 }
clear_max_size()15314 inline void PriorBoxParameter::clear_max_size() {
15315   max_size_.Clear();
15316 }
max_size(int index)15317 inline float PriorBoxParameter::max_size(int index) const {
15318   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.max_size)
15319   return max_size_.Get(index);
15320 }
set_max_size(int index,float value)15321 inline void PriorBoxParameter::set_max_size(int index, float value) {
15322   max_size_.Set(index, value);
15323   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.max_size)
15324 }
add_max_size(float value)15325 inline void PriorBoxParameter::add_max_size(float value) {
15326   max_size_.Add(value);
15327   // @@protoc_insertion_point(field_add:opencv_caffe.PriorBoxParameter.max_size)
15328 }
15329 inline const ::google::protobuf::RepeatedField< float >&
max_size()15330 PriorBoxParameter::max_size() const {
15331   // @@protoc_insertion_point(field_list:opencv_caffe.PriorBoxParameter.max_size)
15332   return max_size_;
15333 }
15334 inline ::google::protobuf::RepeatedField< float >*
mutable_max_size()15335 PriorBoxParameter::mutable_max_size() {
15336   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.PriorBoxParameter.max_size)
15337   return &max_size_;
15338 }
15339 
15340 // repeated float aspect_ratio = 3;
aspect_ratio_size()15341 inline int PriorBoxParameter::aspect_ratio_size() const {
15342   return aspect_ratio_.size();
15343 }
clear_aspect_ratio()15344 inline void PriorBoxParameter::clear_aspect_ratio() {
15345   aspect_ratio_.Clear();
15346 }
aspect_ratio(int index)15347 inline float PriorBoxParameter::aspect_ratio(int index) const {
15348   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.aspect_ratio)
15349   return aspect_ratio_.Get(index);
15350 }
set_aspect_ratio(int index,float value)15351 inline void PriorBoxParameter::set_aspect_ratio(int index, float value) {
15352   aspect_ratio_.Set(index, value);
15353   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.aspect_ratio)
15354 }
add_aspect_ratio(float value)15355 inline void PriorBoxParameter::add_aspect_ratio(float value) {
15356   aspect_ratio_.Add(value);
15357   // @@protoc_insertion_point(field_add:opencv_caffe.PriorBoxParameter.aspect_ratio)
15358 }
15359 inline const ::google::protobuf::RepeatedField< float >&
aspect_ratio()15360 PriorBoxParameter::aspect_ratio() const {
15361   // @@protoc_insertion_point(field_list:opencv_caffe.PriorBoxParameter.aspect_ratio)
15362   return aspect_ratio_;
15363 }
15364 inline ::google::protobuf::RepeatedField< float >*
mutable_aspect_ratio()15365 PriorBoxParameter::mutable_aspect_ratio() {
15366   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.PriorBoxParameter.aspect_ratio)
15367   return &aspect_ratio_;
15368 }
15369 
15370 // optional bool flip = 4 [default = true];
has_flip()15371 inline bool PriorBoxParameter::has_flip() const {
15372   return (_has_bits_[0] & 0x00000040u) != 0;
15373 }
set_has_flip()15374 inline void PriorBoxParameter::set_has_flip() {
15375   _has_bits_[0] |= 0x00000040u;
15376 }
clear_has_flip()15377 inline void PriorBoxParameter::clear_has_flip() {
15378   _has_bits_[0] &= ~0x00000040u;
15379 }
clear_flip()15380 inline void PriorBoxParameter::clear_flip() {
15381   flip_ = true;
15382   clear_has_flip();
15383 }
flip()15384 inline bool PriorBoxParameter::flip() const {
15385   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.flip)
15386   return flip_;
15387 }
set_flip(bool value)15388 inline void PriorBoxParameter::set_flip(bool value) {
15389   set_has_flip();
15390   flip_ = value;
15391   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.flip)
15392 }
15393 
15394 // optional bool clip = 5 [default = true];
has_clip()15395 inline bool PriorBoxParameter::has_clip() const {
15396   return (_has_bits_[0] & 0x00000080u) != 0;
15397 }
set_has_clip()15398 inline void PriorBoxParameter::set_has_clip() {
15399   _has_bits_[0] |= 0x00000080u;
15400 }
clear_has_clip()15401 inline void PriorBoxParameter::clear_has_clip() {
15402   _has_bits_[0] &= ~0x00000080u;
15403 }
clear_clip()15404 inline void PriorBoxParameter::clear_clip() {
15405   clip_ = true;
15406   clear_has_clip();
15407 }
clip()15408 inline bool PriorBoxParameter::clip() const {
15409   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.clip)
15410   return clip_;
15411 }
set_clip(bool value)15412 inline void PriorBoxParameter::set_clip(bool value) {
15413   set_has_clip();
15414   clip_ = value;
15415   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.clip)
15416 }
15417 
15418 // repeated float variance = 6;
variance_size()15419 inline int PriorBoxParameter::variance_size() const {
15420   return variance_.size();
15421 }
clear_variance()15422 inline void PriorBoxParameter::clear_variance() {
15423   variance_.Clear();
15424 }
variance(int index)15425 inline float PriorBoxParameter::variance(int index) const {
15426   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.variance)
15427   return variance_.Get(index);
15428 }
set_variance(int index,float value)15429 inline void PriorBoxParameter::set_variance(int index, float value) {
15430   variance_.Set(index, value);
15431   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.variance)
15432 }
add_variance(float value)15433 inline void PriorBoxParameter::add_variance(float value) {
15434   variance_.Add(value);
15435   // @@protoc_insertion_point(field_add:opencv_caffe.PriorBoxParameter.variance)
15436 }
15437 inline const ::google::protobuf::RepeatedField< float >&
variance()15438 PriorBoxParameter::variance() const {
15439   // @@protoc_insertion_point(field_list:opencv_caffe.PriorBoxParameter.variance)
15440   return variance_;
15441 }
15442 inline ::google::protobuf::RepeatedField< float >*
mutable_variance()15443 PriorBoxParameter::mutable_variance() {
15444   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.PriorBoxParameter.variance)
15445   return &variance_;
15446 }
15447 
15448 // optional uint32 img_size = 7;
has_img_size()15449 inline bool PriorBoxParameter::has_img_size() const {
15450   return (_has_bits_[0] & 0x00000001u) != 0;
15451 }
set_has_img_size()15452 inline void PriorBoxParameter::set_has_img_size() {
15453   _has_bits_[0] |= 0x00000001u;
15454 }
clear_has_img_size()15455 inline void PriorBoxParameter::clear_has_img_size() {
15456   _has_bits_[0] &= ~0x00000001u;
15457 }
clear_img_size()15458 inline void PriorBoxParameter::clear_img_size() {
15459   img_size_ = 0u;
15460   clear_has_img_size();
15461 }
img_size()15462 inline ::google::protobuf::uint32 PriorBoxParameter::img_size() const {
15463   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.img_size)
15464   return img_size_;
15465 }
set_img_size(::google::protobuf::uint32 value)15466 inline void PriorBoxParameter::set_img_size(::google::protobuf::uint32 value) {
15467   set_has_img_size();
15468   img_size_ = value;
15469   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.img_size)
15470 }
15471 
15472 // optional uint32 img_h = 8;
has_img_h()15473 inline bool PriorBoxParameter::has_img_h() const {
15474   return (_has_bits_[0] & 0x00000002u) != 0;
15475 }
set_has_img_h()15476 inline void PriorBoxParameter::set_has_img_h() {
15477   _has_bits_[0] |= 0x00000002u;
15478 }
clear_has_img_h()15479 inline void PriorBoxParameter::clear_has_img_h() {
15480   _has_bits_[0] &= ~0x00000002u;
15481 }
clear_img_h()15482 inline void PriorBoxParameter::clear_img_h() {
15483   img_h_ = 0u;
15484   clear_has_img_h();
15485 }
img_h()15486 inline ::google::protobuf::uint32 PriorBoxParameter::img_h() const {
15487   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.img_h)
15488   return img_h_;
15489 }
set_img_h(::google::protobuf::uint32 value)15490 inline void PriorBoxParameter::set_img_h(::google::protobuf::uint32 value) {
15491   set_has_img_h();
15492   img_h_ = value;
15493   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.img_h)
15494 }
15495 
15496 // optional uint32 img_w = 9;
has_img_w()15497 inline bool PriorBoxParameter::has_img_w() const {
15498   return (_has_bits_[0] & 0x00000004u) != 0;
15499 }
set_has_img_w()15500 inline void PriorBoxParameter::set_has_img_w() {
15501   _has_bits_[0] |= 0x00000004u;
15502 }
clear_has_img_w()15503 inline void PriorBoxParameter::clear_has_img_w() {
15504   _has_bits_[0] &= ~0x00000004u;
15505 }
clear_img_w()15506 inline void PriorBoxParameter::clear_img_w() {
15507   img_w_ = 0u;
15508   clear_has_img_w();
15509 }
img_w()15510 inline ::google::protobuf::uint32 PriorBoxParameter::img_w() const {
15511   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.img_w)
15512   return img_w_;
15513 }
set_img_w(::google::protobuf::uint32 value)15514 inline void PriorBoxParameter::set_img_w(::google::protobuf::uint32 value) {
15515   set_has_img_w();
15516   img_w_ = value;
15517   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.img_w)
15518 }
15519 
15520 // optional float step = 10;
has_step()15521 inline bool PriorBoxParameter::has_step() const {
15522   return (_has_bits_[0] & 0x00000008u) != 0;
15523 }
set_has_step()15524 inline void PriorBoxParameter::set_has_step() {
15525   _has_bits_[0] |= 0x00000008u;
15526 }
clear_has_step()15527 inline void PriorBoxParameter::clear_has_step() {
15528   _has_bits_[0] &= ~0x00000008u;
15529 }
clear_step()15530 inline void PriorBoxParameter::clear_step() {
15531   step_ = 0;
15532   clear_has_step();
15533 }
step()15534 inline float PriorBoxParameter::step() const {
15535   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.step)
15536   return step_;
15537 }
set_step(float value)15538 inline void PriorBoxParameter::set_step(float value) {
15539   set_has_step();
15540   step_ = value;
15541   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.step)
15542 }
15543 
15544 // optional float step_h = 11;
has_step_h()15545 inline bool PriorBoxParameter::has_step_h() const {
15546   return (_has_bits_[0] & 0x00000010u) != 0;
15547 }
set_has_step_h()15548 inline void PriorBoxParameter::set_has_step_h() {
15549   _has_bits_[0] |= 0x00000010u;
15550 }
clear_has_step_h()15551 inline void PriorBoxParameter::clear_has_step_h() {
15552   _has_bits_[0] &= ~0x00000010u;
15553 }
clear_step_h()15554 inline void PriorBoxParameter::clear_step_h() {
15555   step_h_ = 0;
15556   clear_has_step_h();
15557 }
step_h()15558 inline float PriorBoxParameter::step_h() const {
15559   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.step_h)
15560   return step_h_;
15561 }
set_step_h(float value)15562 inline void PriorBoxParameter::set_step_h(float value) {
15563   set_has_step_h();
15564   step_h_ = value;
15565   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.step_h)
15566 }
15567 
15568 // optional float step_w = 12;
has_step_w()15569 inline bool PriorBoxParameter::has_step_w() const {
15570   return (_has_bits_[0] & 0x00000020u) != 0;
15571 }
set_has_step_w()15572 inline void PriorBoxParameter::set_has_step_w() {
15573   _has_bits_[0] |= 0x00000020u;
15574 }
clear_has_step_w()15575 inline void PriorBoxParameter::clear_has_step_w() {
15576   _has_bits_[0] &= ~0x00000020u;
15577 }
clear_step_w()15578 inline void PriorBoxParameter::clear_step_w() {
15579   step_w_ = 0;
15580   clear_has_step_w();
15581 }
step_w()15582 inline float PriorBoxParameter::step_w() const {
15583   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.step_w)
15584   return step_w_;
15585 }
set_step_w(float value)15586 inline void PriorBoxParameter::set_step_w(float value) {
15587   set_has_step_w();
15588   step_w_ = value;
15589   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.step_w)
15590 }
15591 
15592 // optional float offset = 13 [default = 0.5];
has_offset()15593 inline bool PriorBoxParameter::has_offset() const {
15594   return (_has_bits_[0] & 0x00000100u) != 0;
15595 }
set_has_offset()15596 inline void PriorBoxParameter::set_has_offset() {
15597   _has_bits_[0] |= 0x00000100u;
15598 }
clear_has_offset()15599 inline void PriorBoxParameter::clear_has_offset() {
15600   _has_bits_[0] &= ~0x00000100u;
15601 }
clear_offset()15602 inline void PriorBoxParameter::clear_offset() {
15603   offset_ = 0.5f;
15604   clear_has_offset();
15605 }
offset()15606 inline float PriorBoxParameter::offset() const {
15607   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.offset)
15608   return offset_;
15609 }
set_offset(float value)15610 inline void PriorBoxParameter::set_offset(float value) {
15611   set_has_offset();
15612   offset_ = value;
15613   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.offset)
15614 }
15615 
15616 // repeated float offset_h = 14;
offset_h_size()15617 inline int PriorBoxParameter::offset_h_size() const {
15618   return offset_h_.size();
15619 }
clear_offset_h()15620 inline void PriorBoxParameter::clear_offset_h() {
15621   offset_h_.Clear();
15622 }
offset_h(int index)15623 inline float PriorBoxParameter::offset_h(int index) const {
15624   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.offset_h)
15625   return offset_h_.Get(index);
15626 }
set_offset_h(int index,float value)15627 inline void PriorBoxParameter::set_offset_h(int index, float value) {
15628   offset_h_.Set(index, value);
15629   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.offset_h)
15630 }
add_offset_h(float value)15631 inline void PriorBoxParameter::add_offset_h(float value) {
15632   offset_h_.Add(value);
15633   // @@protoc_insertion_point(field_add:opencv_caffe.PriorBoxParameter.offset_h)
15634 }
15635 inline const ::google::protobuf::RepeatedField< float >&
offset_h()15636 PriorBoxParameter::offset_h() const {
15637   // @@protoc_insertion_point(field_list:opencv_caffe.PriorBoxParameter.offset_h)
15638   return offset_h_;
15639 }
15640 inline ::google::protobuf::RepeatedField< float >*
mutable_offset_h()15641 PriorBoxParameter::mutable_offset_h() {
15642   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.PriorBoxParameter.offset_h)
15643   return &offset_h_;
15644 }
15645 
15646 // repeated float offset_w = 15;
offset_w_size()15647 inline int PriorBoxParameter::offset_w_size() const {
15648   return offset_w_.size();
15649 }
clear_offset_w()15650 inline void PriorBoxParameter::clear_offset_w() {
15651   offset_w_.Clear();
15652 }
offset_w(int index)15653 inline float PriorBoxParameter::offset_w(int index) const {
15654   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.offset_w)
15655   return offset_w_.Get(index);
15656 }
set_offset_w(int index,float value)15657 inline void PriorBoxParameter::set_offset_w(int index, float value) {
15658   offset_w_.Set(index, value);
15659   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.offset_w)
15660 }
add_offset_w(float value)15661 inline void PriorBoxParameter::add_offset_w(float value) {
15662   offset_w_.Add(value);
15663   // @@protoc_insertion_point(field_add:opencv_caffe.PriorBoxParameter.offset_w)
15664 }
15665 inline const ::google::protobuf::RepeatedField< float >&
offset_w()15666 PriorBoxParameter::offset_w() const {
15667   // @@protoc_insertion_point(field_list:opencv_caffe.PriorBoxParameter.offset_w)
15668   return offset_w_;
15669 }
15670 inline ::google::protobuf::RepeatedField< float >*
mutable_offset_w()15671 PriorBoxParameter::mutable_offset_w() {
15672   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.PriorBoxParameter.offset_w)
15673   return &offset_w_;
15674 }
15675 
15676 // repeated float width = 16;
width_size()15677 inline int PriorBoxParameter::width_size() const {
15678   return width_.size();
15679 }
clear_width()15680 inline void PriorBoxParameter::clear_width() {
15681   width_.Clear();
15682 }
width(int index)15683 inline float PriorBoxParameter::width(int index) const {
15684   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.width)
15685   return width_.Get(index);
15686 }
set_width(int index,float value)15687 inline void PriorBoxParameter::set_width(int index, float value) {
15688   width_.Set(index, value);
15689   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.width)
15690 }
add_width(float value)15691 inline void PriorBoxParameter::add_width(float value) {
15692   width_.Add(value);
15693   // @@protoc_insertion_point(field_add:opencv_caffe.PriorBoxParameter.width)
15694 }
15695 inline const ::google::protobuf::RepeatedField< float >&
width()15696 PriorBoxParameter::width() const {
15697   // @@protoc_insertion_point(field_list:opencv_caffe.PriorBoxParameter.width)
15698   return width_;
15699 }
15700 inline ::google::protobuf::RepeatedField< float >*
mutable_width()15701 PriorBoxParameter::mutable_width() {
15702   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.PriorBoxParameter.width)
15703   return &width_;
15704 }
15705 
15706 // repeated float height = 17;
height_size()15707 inline int PriorBoxParameter::height_size() const {
15708   return height_.size();
15709 }
clear_height()15710 inline void PriorBoxParameter::clear_height() {
15711   height_.Clear();
15712 }
height(int index)15713 inline float PriorBoxParameter::height(int index) const {
15714   // @@protoc_insertion_point(field_get:opencv_caffe.PriorBoxParameter.height)
15715   return height_.Get(index);
15716 }
set_height(int index,float value)15717 inline void PriorBoxParameter::set_height(int index, float value) {
15718   height_.Set(index, value);
15719   // @@protoc_insertion_point(field_set:opencv_caffe.PriorBoxParameter.height)
15720 }
add_height(float value)15721 inline void PriorBoxParameter::add_height(float value) {
15722   height_.Add(value);
15723   // @@protoc_insertion_point(field_add:opencv_caffe.PriorBoxParameter.height)
15724 }
15725 inline const ::google::protobuf::RepeatedField< float >&
height()15726 PriorBoxParameter::height() const {
15727   // @@protoc_insertion_point(field_list:opencv_caffe.PriorBoxParameter.height)
15728   return height_;
15729 }
15730 inline ::google::protobuf::RepeatedField< float >*
mutable_height()15731 PriorBoxParameter::mutable_height() {
15732   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.PriorBoxParameter.height)
15733   return &height_;
15734 }
15735 
15736 // -------------------------------------------------------------------
15737 
15738 // DetectionOutputParameter
15739 
15740 // optional uint32 num_classes = 1;
has_num_classes()15741 inline bool DetectionOutputParameter::has_num_classes() const {
15742   return (_has_bits_[0] & 0x00000004u) != 0;
15743 }
set_has_num_classes()15744 inline void DetectionOutputParameter::set_has_num_classes() {
15745   _has_bits_[0] |= 0x00000004u;
15746 }
clear_has_num_classes()15747 inline void DetectionOutputParameter::clear_has_num_classes() {
15748   _has_bits_[0] &= ~0x00000004u;
15749 }
clear_num_classes()15750 inline void DetectionOutputParameter::clear_num_classes() {
15751   num_classes_ = 0u;
15752   clear_has_num_classes();
15753 }
num_classes()15754 inline ::google::protobuf::uint32 DetectionOutputParameter::num_classes() const {
15755   // @@protoc_insertion_point(field_get:opencv_caffe.DetectionOutputParameter.num_classes)
15756   return num_classes_;
15757 }
set_num_classes(::google::protobuf::uint32 value)15758 inline void DetectionOutputParameter::set_num_classes(::google::protobuf::uint32 value) {
15759   set_has_num_classes();
15760   num_classes_ = value;
15761   // @@protoc_insertion_point(field_set:opencv_caffe.DetectionOutputParameter.num_classes)
15762 }
15763 
15764 // optional bool share_location = 2 [default = true];
has_share_location()15765 inline bool DetectionOutputParameter::has_share_location() const {
15766   return (_has_bits_[0] & 0x00000100u) != 0;
15767 }
set_has_share_location()15768 inline void DetectionOutputParameter::set_has_share_location() {
15769   _has_bits_[0] |= 0x00000100u;
15770 }
clear_has_share_location()15771 inline void DetectionOutputParameter::clear_has_share_location() {
15772   _has_bits_[0] &= ~0x00000100u;
15773 }
clear_share_location()15774 inline void DetectionOutputParameter::clear_share_location() {
15775   share_location_ = true;
15776   clear_has_share_location();
15777 }
share_location()15778 inline bool DetectionOutputParameter::share_location() const {
15779   // @@protoc_insertion_point(field_get:opencv_caffe.DetectionOutputParameter.share_location)
15780   return share_location_;
15781 }
set_share_location(bool value)15782 inline void DetectionOutputParameter::set_share_location(bool value) {
15783   set_has_share_location();
15784   share_location_ = value;
15785   // @@protoc_insertion_point(field_set:opencv_caffe.DetectionOutputParameter.share_location)
15786 }
15787 
15788 // optional int32 background_label_id = 3 [default = 0];
has_background_label_id()15789 inline bool DetectionOutputParameter::has_background_label_id() const {
15790   return (_has_bits_[0] & 0x00000008u) != 0;
15791 }
set_has_background_label_id()15792 inline void DetectionOutputParameter::set_has_background_label_id() {
15793   _has_bits_[0] |= 0x00000008u;
15794 }
clear_has_background_label_id()15795 inline void DetectionOutputParameter::clear_has_background_label_id() {
15796   _has_bits_[0] &= ~0x00000008u;
15797 }
clear_background_label_id()15798 inline void DetectionOutputParameter::clear_background_label_id() {
15799   background_label_id_ = 0;
15800   clear_has_background_label_id();
15801 }
background_label_id()15802 inline ::google::protobuf::int32 DetectionOutputParameter::background_label_id() const {
15803   // @@protoc_insertion_point(field_get:opencv_caffe.DetectionOutputParameter.background_label_id)
15804   return background_label_id_;
15805 }
set_background_label_id(::google::protobuf::int32 value)15806 inline void DetectionOutputParameter::set_background_label_id(::google::protobuf::int32 value) {
15807   set_has_background_label_id();
15808   background_label_id_ = value;
15809   // @@protoc_insertion_point(field_set:opencv_caffe.DetectionOutputParameter.background_label_id)
15810 }
15811 
15812 // optional .opencv_caffe.NonMaximumSuppressionParameter nms_param = 4;
has_nms_param()15813 inline bool DetectionOutputParameter::has_nms_param() const {
15814   return (_has_bits_[0] & 0x00000001u) != 0;
15815 }
set_has_nms_param()15816 inline void DetectionOutputParameter::set_has_nms_param() {
15817   _has_bits_[0] |= 0x00000001u;
15818 }
clear_has_nms_param()15819 inline void DetectionOutputParameter::clear_has_nms_param() {
15820   _has_bits_[0] &= ~0x00000001u;
15821 }
clear_nms_param()15822 inline void DetectionOutputParameter::clear_nms_param() {
15823   if (nms_param_ != NULL) nms_param_->Clear();
15824   clear_has_nms_param();
15825 }
nms_param()15826 inline const ::opencv_caffe::NonMaximumSuppressionParameter& DetectionOutputParameter::nms_param() const {
15827   const ::opencv_caffe::NonMaximumSuppressionParameter* p = nms_param_;
15828   // @@protoc_insertion_point(field_get:opencv_caffe.DetectionOutputParameter.nms_param)
15829   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::NonMaximumSuppressionParameter*>(
15830       &::opencv_caffe::_NonMaximumSuppressionParameter_default_instance_);
15831 }
release_nms_param()15832 inline ::opencv_caffe::NonMaximumSuppressionParameter* DetectionOutputParameter::release_nms_param() {
15833   // @@protoc_insertion_point(field_release:opencv_caffe.DetectionOutputParameter.nms_param)
15834   clear_has_nms_param();
15835   ::opencv_caffe::NonMaximumSuppressionParameter* temp = nms_param_;
15836   nms_param_ = NULL;
15837   return temp;
15838 }
mutable_nms_param()15839 inline ::opencv_caffe::NonMaximumSuppressionParameter* DetectionOutputParameter::mutable_nms_param() {
15840   set_has_nms_param();
15841   if (nms_param_ == NULL) {
15842     nms_param_ = new ::opencv_caffe::NonMaximumSuppressionParameter;
15843   }
15844   // @@protoc_insertion_point(field_mutable:opencv_caffe.DetectionOutputParameter.nms_param)
15845   return nms_param_;
15846 }
set_allocated_nms_param(::opencv_caffe::NonMaximumSuppressionParameter * nms_param)15847 inline void DetectionOutputParameter::set_allocated_nms_param(::opencv_caffe::NonMaximumSuppressionParameter* nms_param) {
15848   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
15849   if (message_arena == NULL) {
15850     delete nms_param_;
15851   }
15852   if (nms_param) {
15853     ::google::protobuf::Arena* submessage_arena = NULL;
15854     if (message_arena != submessage_arena) {
15855       nms_param = ::google::protobuf::internal::GetOwnedMessage(
15856           message_arena, nms_param, submessage_arena);
15857     }
15858     set_has_nms_param();
15859   } else {
15860     clear_has_nms_param();
15861   }
15862   nms_param_ = nms_param;
15863   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.DetectionOutputParameter.nms_param)
15864 }
15865 
15866 // optional .opencv_caffe.SaveOutputParameter save_output_param = 5;
has_save_output_param()15867 inline bool DetectionOutputParameter::has_save_output_param() const {
15868   return (_has_bits_[0] & 0x00000002u) != 0;
15869 }
set_has_save_output_param()15870 inline void DetectionOutputParameter::set_has_save_output_param() {
15871   _has_bits_[0] |= 0x00000002u;
15872 }
clear_has_save_output_param()15873 inline void DetectionOutputParameter::clear_has_save_output_param() {
15874   _has_bits_[0] &= ~0x00000002u;
15875 }
clear_save_output_param()15876 inline void DetectionOutputParameter::clear_save_output_param() {
15877   if (save_output_param_ != NULL) save_output_param_->Clear();
15878   clear_has_save_output_param();
15879 }
save_output_param()15880 inline const ::opencv_caffe::SaveOutputParameter& DetectionOutputParameter::save_output_param() const {
15881   const ::opencv_caffe::SaveOutputParameter* p = save_output_param_;
15882   // @@protoc_insertion_point(field_get:opencv_caffe.DetectionOutputParameter.save_output_param)
15883   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::SaveOutputParameter*>(
15884       &::opencv_caffe::_SaveOutputParameter_default_instance_);
15885 }
release_save_output_param()15886 inline ::opencv_caffe::SaveOutputParameter* DetectionOutputParameter::release_save_output_param() {
15887   // @@protoc_insertion_point(field_release:opencv_caffe.DetectionOutputParameter.save_output_param)
15888   clear_has_save_output_param();
15889   ::opencv_caffe::SaveOutputParameter* temp = save_output_param_;
15890   save_output_param_ = NULL;
15891   return temp;
15892 }
mutable_save_output_param()15893 inline ::opencv_caffe::SaveOutputParameter* DetectionOutputParameter::mutable_save_output_param() {
15894   set_has_save_output_param();
15895   if (save_output_param_ == NULL) {
15896     save_output_param_ = new ::opencv_caffe::SaveOutputParameter;
15897   }
15898   // @@protoc_insertion_point(field_mutable:opencv_caffe.DetectionOutputParameter.save_output_param)
15899   return save_output_param_;
15900 }
set_allocated_save_output_param(::opencv_caffe::SaveOutputParameter * save_output_param)15901 inline void DetectionOutputParameter::set_allocated_save_output_param(::opencv_caffe::SaveOutputParameter* save_output_param) {
15902   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
15903   if (message_arena == NULL) {
15904     delete save_output_param_;
15905   }
15906   if (save_output_param) {
15907     ::google::protobuf::Arena* submessage_arena = NULL;
15908     if (message_arena != submessage_arena) {
15909       save_output_param = ::google::protobuf::internal::GetOwnedMessage(
15910           message_arena, save_output_param, submessage_arena);
15911     }
15912     set_has_save_output_param();
15913   } else {
15914     clear_has_save_output_param();
15915   }
15916   save_output_param_ = save_output_param;
15917   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.DetectionOutputParameter.save_output_param)
15918 }
15919 
15920 // optional .opencv_caffe.PriorBoxParameter.CodeType code_type = 6 [default = CORNER];
has_code_type()15921 inline bool DetectionOutputParameter::has_code_type() const {
15922   return (_has_bits_[0] & 0x00000080u) != 0;
15923 }
set_has_code_type()15924 inline void DetectionOutputParameter::set_has_code_type() {
15925   _has_bits_[0] |= 0x00000080u;
15926 }
clear_has_code_type()15927 inline void DetectionOutputParameter::clear_has_code_type() {
15928   _has_bits_[0] &= ~0x00000080u;
15929 }
clear_code_type()15930 inline void DetectionOutputParameter::clear_code_type() {
15931   code_type_ = 1;
15932   clear_has_code_type();
15933 }
code_type()15934 inline ::opencv_caffe::PriorBoxParameter_CodeType DetectionOutputParameter::code_type() const {
15935   // @@protoc_insertion_point(field_get:opencv_caffe.DetectionOutputParameter.code_type)
15936   return static_cast< ::opencv_caffe::PriorBoxParameter_CodeType >(code_type_);
15937 }
set_code_type(::opencv_caffe::PriorBoxParameter_CodeType value)15938 inline void DetectionOutputParameter::set_code_type(::opencv_caffe::PriorBoxParameter_CodeType value) {
15939   assert(::opencv_caffe::PriorBoxParameter_CodeType_IsValid(value));
15940   set_has_code_type();
15941   code_type_ = value;
15942   // @@protoc_insertion_point(field_set:opencv_caffe.DetectionOutputParameter.code_type)
15943 }
15944 
15945 // optional bool variance_encoded_in_target = 8 [default = false];
has_variance_encoded_in_target()15946 inline bool DetectionOutputParameter::has_variance_encoded_in_target() const {
15947   return (_has_bits_[0] & 0x00000010u) != 0;
15948 }
set_has_variance_encoded_in_target()15949 inline void DetectionOutputParameter::set_has_variance_encoded_in_target() {
15950   _has_bits_[0] |= 0x00000010u;
15951 }
clear_has_variance_encoded_in_target()15952 inline void DetectionOutputParameter::clear_has_variance_encoded_in_target() {
15953   _has_bits_[0] &= ~0x00000010u;
15954 }
clear_variance_encoded_in_target()15955 inline void DetectionOutputParameter::clear_variance_encoded_in_target() {
15956   variance_encoded_in_target_ = false;
15957   clear_has_variance_encoded_in_target();
15958 }
variance_encoded_in_target()15959 inline bool DetectionOutputParameter::variance_encoded_in_target() const {
15960   // @@protoc_insertion_point(field_get:opencv_caffe.DetectionOutputParameter.variance_encoded_in_target)
15961   return variance_encoded_in_target_;
15962 }
set_variance_encoded_in_target(bool value)15963 inline void DetectionOutputParameter::set_variance_encoded_in_target(bool value) {
15964   set_has_variance_encoded_in_target();
15965   variance_encoded_in_target_ = value;
15966   // @@protoc_insertion_point(field_set:opencv_caffe.DetectionOutputParameter.variance_encoded_in_target)
15967 }
15968 
15969 // optional int32 keep_top_k = 7 [default = -1];
has_keep_top_k()15970 inline bool DetectionOutputParameter::has_keep_top_k() const {
15971   return (_has_bits_[0] & 0x00000040u) != 0;
15972 }
set_has_keep_top_k()15973 inline void DetectionOutputParameter::set_has_keep_top_k() {
15974   _has_bits_[0] |= 0x00000040u;
15975 }
clear_has_keep_top_k()15976 inline void DetectionOutputParameter::clear_has_keep_top_k() {
15977   _has_bits_[0] &= ~0x00000040u;
15978 }
clear_keep_top_k()15979 inline void DetectionOutputParameter::clear_keep_top_k() {
15980   keep_top_k_ = -1;
15981   clear_has_keep_top_k();
15982 }
keep_top_k()15983 inline ::google::protobuf::int32 DetectionOutputParameter::keep_top_k() const {
15984   // @@protoc_insertion_point(field_get:opencv_caffe.DetectionOutputParameter.keep_top_k)
15985   return keep_top_k_;
15986 }
set_keep_top_k(::google::protobuf::int32 value)15987 inline void DetectionOutputParameter::set_keep_top_k(::google::protobuf::int32 value) {
15988   set_has_keep_top_k();
15989   keep_top_k_ = value;
15990   // @@protoc_insertion_point(field_set:opencv_caffe.DetectionOutputParameter.keep_top_k)
15991 }
15992 
15993 // optional float confidence_threshold = 9;
has_confidence_threshold()15994 inline bool DetectionOutputParameter::has_confidence_threshold() const {
15995   return (_has_bits_[0] & 0x00000020u) != 0;
15996 }
set_has_confidence_threshold()15997 inline void DetectionOutputParameter::set_has_confidence_threshold() {
15998   _has_bits_[0] |= 0x00000020u;
15999 }
clear_has_confidence_threshold()16000 inline void DetectionOutputParameter::clear_has_confidence_threshold() {
16001   _has_bits_[0] &= ~0x00000020u;
16002 }
clear_confidence_threshold()16003 inline void DetectionOutputParameter::clear_confidence_threshold() {
16004   confidence_threshold_ = 0;
16005   clear_has_confidence_threshold();
16006 }
confidence_threshold()16007 inline float DetectionOutputParameter::confidence_threshold() const {
16008   // @@protoc_insertion_point(field_get:opencv_caffe.DetectionOutputParameter.confidence_threshold)
16009   return confidence_threshold_;
16010 }
set_confidence_threshold(float value)16011 inline void DetectionOutputParameter::set_confidence_threshold(float value) {
16012   set_has_confidence_threshold();
16013   confidence_threshold_ = value;
16014   // @@protoc_insertion_point(field_set:opencv_caffe.DetectionOutputParameter.confidence_threshold)
16015 }
16016 
16017 // optional bool normalized_bbox = 10 [default = true];
has_normalized_bbox()16018 inline bool DetectionOutputParameter::has_normalized_bbox() const {
16019   return (_has_bits_[0] & 0x00000200u) != 0;
16020 }
set_has_normalized_bbox()16021 inline void DetectionOutputParameter::set_has_normalized_bbox() {
16022   _has_bits_[0] |= 0x00000200u;
16023 }
clear_has_normalized_bbox()16024 inline void DetectionOutputParameter::clear_has_normalized_bbox() {
16025   _has_bits_[0] &= ~0x00000200u;
16026 }
clear_normalized_bbox()16027 inline void DetectionOutputParameter::clear_normalized_bbox() {
16028   normalized_bbox_ = true;
16029   clear_has_normalized_bbox();
16030 }
normalized_bbox()16031 inline bool DetectionOutputParameter::normalized_bbox() const {
16032   // @@protoc_insertion_point(field_get:opencv_caffe.DetectionOutputParameter.normalized_bbox)
16033   return normalized_bbox_;
16034 }
set_normalized_bbox(bool value)16035 inline void DetectionOutputParameter::set_normalized_bbox(bool value) {
16036   set_has_normalized_bbox();
16037   normalized_bbox_ = value;
16038   // @@protoc_insertion_point(field_set:opencv_caffe.DetectionOutputParameter.normalized_bbox)
16039 }
16040 
16041 // -------------------------------------------------------------------
16042 
16043 // Datum
16044 
16045 // optional int32 channels = 1;
has_channels()16046 inline bool Datum::has_channels() const {
16047   return (_has_bits_[0] & 0x00000002u) != 0;
16048 }
set_has_channels()16049 inline void Datum::set_has_channels() {
16050   _has_bits_[0] |= 0x00000002u;
16051 }
clear_has_channels()16052 inline void Datum::clear_has_channels() {
16053   _has_bits_[0] &= ~0x00000002u;
16054 }
clear_channels()16055 inline void Datum::clear_channels() {
16056   channels_ = 0;
16057   clear_has_channels();
16058 }
channels()16059 inline ::google::protobuf::int32 Datum::channels() const {
16060   // @@protoc_insertion_point(field_get:opencv_caffe.Datum.channels)
16061   return channels_;
16062 }
set_channels(::google::protobuf::int32 value)16063 inline void Datum::set_channels(::google::protobuf::int32 value) {
16064   set_has_channels();
16065   channels_ = value;
16066   // @@protoc_insertion_point(field_set:opencv_caffe.Datum.channels)
16067 }
16068 
16069 // optional int32 height = 2;
has_height()16070 inline bool Datum::has_height() const {
16071   return (_has_bits_[0] & 0x00000004u) != 0;
16072 }
set_has_height()16073 inline void Datum::set_has_height() {
16074   _has_bits_[0] |= 0x00000004u;
16075 }
clear_has_height()16076 inline void Datum::clear_has_height() {
16077   _has_bits_[0] &= ~0x00000004u;
16078 }
clear_height()16079 inline void Datum::clear_height() {
16080   height_ = 0;
16081   clear_has_height();
16082 }
height()16083 inline ::google::protobuf::int32 Datum::height() const {
16084   // @@protoc_insertion_point(field_get:opencv_caffe.Datum.height)
16085   return height_;
16086 }
set_height(::google::protobuf::int32 value)16087 inline void Datum::set_height(::google::protobuf::int32 value) {
16088   set_has_height();
16089   height_ = value;
16090   // @@protoc_insertion_point(field_set:opencv_caffe.Datum.height)
16091 }
16092 
16093 // optional int32 width = 3;
has_width()16094 inline bool Datum::has_width() const {
16095   return (_has_bits_[0] & 0x00000008u) != 0;
16096 }
set_has_width()16097 inline void Datum::set_has_width() {
16098   _has_bits_[0] |= 0x00000008u;
16099 }
clear_has_width()16100 inline void Datum::clear_has_width() {
16101   _has_bits_[0] &= ~0x00000008u;
16102 }
clear_width()16103 inline void Datum::clear_width() {
16104   width_ = 0;
16105   clear_has_width();
16106 }
width()16107 inline ::google::protobuf::int32 Datum::width() const {
16108   // @@protoc_insertion_point(field_get:opencv_caffe.Datum.width)
16109   return width_;
16110 }
set_width(::google::protobuf::int32 value)16111 inline void Datum::set_width(::google::protobuf::int32 value) {
16112   set_has_width();
16113   width_ = value;
16114   // @@protoc_insertion_point(field_set:opencv_caffe.Datum.width)
16115 }
16116 
16117 // optional bytes data = 4;
has_data()16118 inline bool Datum::has_data() const {
16119   return (_has_bits_[0] & 0x00000001u) != 0;
16120 }
set_has_data()16121 inline void Datum::set_has_data() {
16122   _has_bits_[0] |= 0x00000001u;
16123 }
clear_has_data()16124 inline void Datum::clear_has_data() {
16125   _has_bits_[0] &= ~0x00000001u;
16126 }
clear_data()16127 inline void Datum::clear_data() {
16128   data_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16129   clear_has_data();
16130 }
data()16131 inline const ::std::string& Datum::data() const {
16132   // @@protoc_insertion_point(field_get:opencv_caffe.Datum.data)
16133   return data_.GetNoArena();
16134 }
set_data(const::std::string & value)16135 inline void Datum::set_data(const ::std::string& value) {
16136   set_has_data();
16137   data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
16138   // @@protoc_insertion_point(field_set:opencv_caffe.Datum.data)
16139 }
16140 #if LANG_CXX11
set_data(::std::string && value)16141 inline void Datum::set_data(::std::string&& value) {
16142   set_has_data();
16143   data_.SetNoArena(
16144     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
16145   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.Datum.data)
16146 }
16147 #endif
set_data(const char * value)16148 inline void Datum::set_data(const char* value) {
16149   GOOGLE_DCHECK(value != NULL);
16150   set_has_data();
16151   data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
16152   // @@protoc_insertion_point(field_set_char:opencv_caffe.Datum.data)
16153 }
set_data(const void * value,size_t size)16154 inline void Datum::set_data(const void* value, size_t size) {
16155   set_has_data();
16156   data_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
16157       ::std::string(reinterpret_cast<const char*>(value), size));
16158   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.Datum.data)
16159 }
mutable_data()16160 inline ::std::string* Datum::mutable_data() {
16161   set_has_data();
16162   // @@protoc_insertion_point(field_mutable:opencv_caffe.Datum.data)
16163   return data_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16164 }
release_data()16165 inline ::std::string* Datum::release_data() {
16166   // @@protoc_insertion_point(field_release:opencv_caffe.Datum.data)
16167   clear_has_data();
16168   return data_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16169 }
set_allocated_data(::std::string * data)16170 inline void Datum::set_allocated_data(::std::string* data) {
16171   if (data != NULL) {
16172     set_has_data();
16173   } else {
16174     clear_has_data();
16175   }
16176   data_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), data);
16177   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.Datum.data)
16178 }
16179 
16180 // optional int32 label = 5;
has_label()16181 inline bool Datum::has_label() const {
16182   return (_has_bits_[0] & 0x00000010u) != 0;
16183 }
set_has_label()16184 inline void Datum::set_has_label() {
16185   _has_bits_[0] |= 0x00000010u;
16186 }
clear_has_label()16187 inline void Datum::clear_has_label() {
16188   _has_bits_[0] &= ~0x00000010u;
16189 }
clear_label()16190 inline void Datum::clear_label() {
16191   label_ = 0;
16192   clear_has_label();
16193 }
label()16194 inline ::google::protobuf::int32 Datum::label() const {
16195   // @@protoc_insertion_point(field_get:opencv_caffe.Datum.label)
16196   return label_;
16197 }
set_label(::google::protobuf::int32 value)16198 inline void Datum::set_label(::google::protobuf::int32 value) {
16199   set_has_label();
16200   label_ = value;
16201   // @@protoc_insertion_point(field_set:opencv_caffe.Datum.label)
16202 }
16203 
16204 // repeated float float_data = 6;
float_data_size()16205 inline int Datum::float_data_size() const {
16206   return float_data_.size();
16207 }
clear_float_data()16208 inline void Datum::clear_float_data() {
16209   float_data_.Clear();
16210 }
float_data(int index)16211 inline float Datum::float_data(int index) const {
16212   // @@protoc_insertion_point(field_get:opencv_caffe.Datum.float_data)
16213   return float_data_.Get(index);
16214 }
set_float_data(int index,float value)16215 inline void Datum::set_float_data(int index, float value) {
16216   float_data_.Set(index, value);
16217   // @@protoc_insertion_point(field_set:opencv_caffe.Datum.float_data)
16218 }
add_float_data(float value)16219 inline void Datum::add_float_data(float value) {
16220   float_data_.Add(value);
16221   // @@protoc_insertion_point(field_add:opencv_caffe.Datum.float_data)
16222 }
16223 inline const ::google::protobuf::RepeatedField< float >&
float_data()16224 Datum::float_data() const {
16225   // @@protoc_insertion_point(field_list:opencv_caffe.Datum.float_data)
16226   return float_data_;
16227 }
16228 inline ::google::protobuf::RepeatedField< float >*
mutable_float_data()16229 Datum::mutable_float_data() {
16230   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.Datum.float_data)
16231   return &float_data_;
16232 }
16233 
16234 // optional bool encoded = 7 [default = false];
has_encoded()16235 inline bool Datum::has_encoded() const {
16236   return (_has_bits_[0] & 0x00000020u) != 0;
16237 }
set_has_encoded()16238 inline void Datum::set_has_encoded() {
16239   _has_bits_[0] |= 0x00000020u;
16240 }
clear_has_encoded()16241 inline void Datum::clear_has_encoded() {
16242   _has_bits_[0] &= ~0x00000020u;
16243 }
clear_encoded()16244 inline void Datum::clear_encoded() {
16245   encoded_ = false;
16246   clear_has_encoded();
16247 }
encoded()16248 inline bool Datum::encoded() const {
16249   // @@protoc_insertion_point(field_get:opencv_caffe.Datum.encoded)
16250   return encoded_;
16251 }
set_encoded(bool value)16252 inline void Datum::set_encoded(bool value) {
16253   set_has_encoded();
16254   encoded_ = value;
16255   // @@protoc_insertion_point(field_set:opencv_caffe.Datum.encoded)
16256 }
16257 
16258 // -------------------------------------------------------------------
16259 
16260 // FillerParameter
16261 
16262 // optional string type = 1 [default = "constant"];
has_type()16263 inline bool FillerParameter::has_type() const {
16264   return (_has_bits_[0] & 0x00000001u) != 0;
16265 }
set_has_type()16266 inline void FillerParameter::set_has_type() {
16267   _has_bits_[0] |= 0x00000001u;
16268 }
clear_has_type()16269 inline void FillerParameter::clear_has_type() {
16270   _has_bits_[0] &= ~0x00000001u;
16271 }
clear_type()16272 inline void FillerParameter::clear_type() {
16273   type_.ClearToDefaultNoArena(&::opencv_caffe::FillerParameter::_default_type_.get());
16274   clear_has_type();
16275 }
type()16276 inline const ::std::string& FillerParameter::type() const {
16277   // @@protoc_insertion_point(field_get:opencv_caffe.FillerParameter.type)
16278   return type_.GetNoArena();
16279 }
set_type(const::std::string & value)16280 inline void FillerParameter::set_type(const ::std::string& value) {
16281   set_has_type();
16282   type_.SetNoArena(&::opencv_caffe::FillerParameter::_default_type_.get(), value);
16283   // @@protoc_insertion_point(field_set:opencv_caffe.FillerParameter.type)
16284 }
16285 #if LANG_CXX11
set_type(::std::string && value)16286 inline void FillerParameter::set_type(::std::string&& value) {
16287   set_has_type();
16288   type_.SetNoArena(
16289     &::opencv_caffe::FillerParameter::_default_type_.get(), ::std::move(value));
16290   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.FillerParameter.type)
16291 }
16292 #endif
set_type(const char * value)16293 inline void FillerParameter::set_type(const char* value) {
16294   GOOGLE_DCHECK(value != NULL);
16295   set_has_type();
16296   type_.SetNoArena(&::opencv_caffe::FillerParameter::_default_type_.get(), ::std::string(value));
16297   // @@protoc_insertion_point(field_set_char:opencv_caffe.FillerParameter.type)
16298 }
set_type(const char * value,size_t size)16299 inline void FillerParameter::set_type(const char* value, size_t size) {
16300   set_has_type();
16301   type_.SetNoArena(&::opencv_caffe::FillerParameter::_default_type_.get(),
16302       ::std::string(reinterpret_cast<const char*>(value), size));
16303   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.FillerParameter.type)
16304 }
mutable_type()16305 inline ::std::string* FillerParameter::mutable_type() {
16306   set_has_type();
16307   // @@protoc_insertion_point(field_mutable:opencv_caffe.FillerParameter.type)
16308   return type_.MutableNoArena(&::opencv_caffe::FillerParameter::_default_type_.get());
16309 }
release_type()16310 inline ::std::string* FillerParameter::release_type() {
16311   // @@protoc_insertion_point(field_release:opencv_caffe.FillerParameter.type)
16312   clear_has_type();
16313   return type_.ReleaseNoArena(&::opencv_caffe::FillerParameter::_default_type_.get());
16314 }
set_allocated_type(::std::string * type)16315 inline void FillerParameter::set_allocated_type(::std::string* type) {
16316   if (type != NULL) {
16317     set_has_type();
16318   } else {
16319     clear_has_type();
16320   }
16321   type_.SetAllocatedNoArena(&::opencv_caffe::FillerParameter::_default_type_.get(), type);
16322   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.FillerParameter.type)
16323 }
16324 
16325 // optional float value = 2 [default = 0];
has_value()16326 inline bool FillerParameter::has_value() const {
16327   return (_has_bits_[0] & 0x00000002u) != 0;
16328 }
set_has_value()16329 inline void FillerParameter::set_has_value() {
16330   _has_bits_[0] |= 0x00000002u;
16331 }
clear_has_value()16332 inline void FillerParameter::clear_has_value() {
16333   _has_bits_[0] &= ~0x00000002u;
16334 }
clear_value()16335 inline void FillerParameter::clear_value() {
16336   value_ = 0;
16337   clear_has_value();
16338 }
value()16339 inline float FillerParameter::value() const {
16340   // @@protoc_insertion_point(field_get:opencv_caffe.FillerParameter.value)
16341   return value_;
16342 }
set_value(float value)16343 inline void FillerParameter::set_value(float value) {
16344   set_has_value();
16345   value_ = value;
16346   // @@protoc_insertion_point(field_set:opencv_caffe.FillerParameter.value)
16347 }
16348 
16349 // optional float min = 3 [default = 0];
has_min()16350 inline bool FillerParameter::has_min() const {
16351   return (_has_bits_[0] & 0x00000004u) != 0;
16352 }
set_has_min()16353 inline void FillerParameter::set_has_min() {
16354   _has_bits_[0] |= 0x00000004u;
16355 }
clear_has_min()16356 inline void FillerParameter::clear_has_min() {
16357   _has_bits_[0] &= ~0x00000004u;
16358 }
clear_min()16359 inline void FillerParameter::clear_min() {
16360   min_ = 0;
16361   clear_has_min();
16362 }
min()16363 inline float FillerParameter::min() const {
16364   // @@protoc_insertion_point(field_get:opencv_caffe.FillerParameter.min)
16365   return min_;
16366 }
set_min(float value)16367 inline void FillerParameter::set_min(float value) {
16368   set_has_min();
16369   min_ = value;
16370   // @@protoc_insertion_point(field_set:opencv_caffe.FillerParameter.min)
16371 }
16372 
16373 // optional float max = 4 [default = 1];
has_max()16374 inline bool FillerParameter::has_max() const {
16375   return (_has_bits_[0] & 0x00000040u) != 0;
16376 }
set_has_max()16377 inline void FillerParameter::set_has_max() {
16378   _has_bits_[0] |= 0x00000040u;
16379 }
clear_has_max()16380 inline void FillerParameter::clear_has_max() {
16381   _has_bits_[0] &= ~0x00000040u;
16382 }
clear_max()16383 inline void FillerParameter::clear_max() {
16384   max_ = 1;
16385   clear_has_max();
16386 }
max()16387 inline float FillerParameter::max() const {
16388   // @@protoc_insertion_point(field_get:opencv_caffe.FillerParameter.max)
16389   return max_;
16390 }
set_max(float value)16391 inline void FillerParameter::set_max(float value) {
16392   set_has_max();
16393   max_ = value;
16394   // @@protoc_insertion_point(field_set:opencv_caffe.FillerParameter.max)
16395 }
16396 
16397 // optional float mean = 5 [default = 0];
has_mean()16398 inline bool FillerParameter::has_mean() const {
16399   return (_has_bits_[0] & 0x00000008u) != 0;
16400 }
set_has_mean()16401 inline void FillerParameter::set_has_mean() {
16402   _has_bits_[0] |= 0x00000008u;
16403 }
clear_has_mean()16404 inline void FillerParameter::clear_has_mean() {
16405   _has_bits_[0] &= ~0x00000008u;
16406 }
clear_mean()16407 inline void FillerParameter::clear_mean() {
16408   mean_ = 0;
16409   clear_has_mean();
16410 }
mean()16411 inline float FillerParameter::mean() const {
16412   // @@protoc_insertion_point(field_get:opencv_caffe.FillerParameter.mean)
16413   return mean_;
16414 }
set_mean(float value)16415 inline void FillerParameter::set_mean(float value) {
16416   set_has_mean();
16417   mean_ = value;
16418   // @@protoc_insertion_point(field_set:opencv_caffe.FillerParameter.mean)
16419 }
16420 
16421 // optional float std = 6 [default = 1];
has_std()16422 inline bool FillerParameter::has_std() const {
16423   return (_has_bits_[0] & 0x00000080u) != 0;
16424 }
set_has_std()16425 inline void FillerParameter::set_has_std() {
16426   _has_bits_[0] |= 0x00000080u;
16427 }
clear_has_std()16428 inline void FillerParameter::clear_has_std() {
16429   _has_bits_[0] &= ~0x00000080u;
16430 }
clear_std()16431 inline void FillerParameter::clear_std() {
16432   std_ = 1;
16433   clear_has_std();
16434 }
std()16435 inline float FillerParameter::std() const {
16436   // @@protoc_insertion_point(field_get:opencv_caffe.FillerParameter.std)
16437   return std_;
16438 }
set_std(float value)16439 inline void FillerParameter::set_std(float value) {
16440   set_has_std();
16441   std_ = value;
16442   // @@protoc_insertion_point(field_set:opencv_caffe.FillerParameter.std)
16443 }
16444 
16445 // optional int32 sparse = 7 [default = -1];
has_sparse()16446 inline bool FillerParameter::has_sparse() const {
16447   return (_has_bits_[0] & 0x00000020u) != 0;
16448 }
set_has_sparse()16449 inline void FillerParameter::set_has_sparse() {
16450   _has_bits_[0] |= 0x00000020u;
16451 }
clear_has_sparse()16452 inline void FillerParameter::clear_has_sparse() {
16453   _has_bits_[0] &= ~0x00000020u;
16454 }
clear_sparse()16455 inline void FillerParameter::clear_sparse() {
16456   sparse_ = -1;
16457   clear_has_sparse();
16458 }
sparse()16459 inline ::google::protobuf::int32 FillerParameter::sparse() const {
16460   // @@protoc_insertion_point(field_get:opencv_caffe.FillerParameter.sparse)
16461   return sparse_;
16462 }
set_sparse(::google::protobuf::int32 value)16463 inline void FillerParameter::set_sparse(::google::protobuf::int32 value) {
16464   set_has_sparse();
16465   sparse_ = value;
16466   // @@protoc_insertion_point(field_set:opencv_caffe.FillerParameter.sparse)
16467 }
16468 
16469 // optional .opencv_caffe.FillerParameter.VarianceNorm variance_norm = 8 [default = FAN_IN];
has_variance_norm()16470 inline bool FillerParameter::has_variance_norm() const {
16471   return (_has_bits_[0] & 0x00000010u) != 0;
16472 }
set_has_variance_norm()16473 inline void FillerParameter::set_has_variance_norm() {
16474   _has_bits_[0] |= 0x00000010u;
16475 }
clear_has_variance_norm()16476 inline void FillerParameter::clear_has_variance_norm() {
16477   _has_bits_[0] &= ~0x00000010u;
16478 }
clear_variance_norm()16479 inline void FillerParameter::clear_variance_norm() {
16480   variance_norm_ = 0;
16481   clear_has_variance_norm();
16482 }
variance_norm()16483 inline ::opencv_caffe::FillerParameter_VarianceNorm FillerParameter::variance_norm() const {
16484   // @@protoc_insertion_point(field_get:opencv_caffe.FillerParameter.variance_norm)
16485   return static_cast< ::opencv_caffe::FillerParameter_VarianceNorm >(variance_norm_);
16486 }
set_variance_norm(::opencv_caffe::FillerParameter_VarianceNorm value)16487 inline void FillerParameter::set_variance_norm(::opencv_caffe::FillerParameter_VarianceNorm value) {
16488   assert(::opencv_caffe::FillerParameter_VarianceNorm_IsValid(value));
16489   set_has_variance_norm();
16490   variance_norm_ = value;
16491   // @@protoc_insertion_point(field_set:opencv_caffe.FillerParameter.variance_norm)
16492 }
16493 
16494 // -------------------------------------------------------------------
16495 
16496 // NetParameter
16497 
16498 // optional string name = 1;
has_name()16499 inline bool NetParameter::has_name() const {
16500   return (_has_bits_[0] & 0x00000001u) != 0;
16501 }
set_has_name()16502 inline void NetParameter::set_has_name() {
16503   _has_bits_[0] |= 0x00000001u;
16504 }
clear_has_name()16505 inline void NetParameter::clear_has_name() {
16506   _has_bits_[0] &= ~0x00000001u;
16507 }
clear_name()16508 inline void NetParameter::clear_name() {
16509   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16510   clear_has_name();
16511 }
name()16512 inline const ::std::string& NetParameter::name() const {
16513   // @@protoc_insertion_point(field_get:opencv_caffe.NetParameter.name)
16514   return name_.GetNoArena();
16515 }
set_name(const::std::string & value)16516 inline void NetParameter::set_name(const ::std::string& value) {
16517   set_has_name();
16518   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
16519   // @@protoc_insertion_point(field_set:opencv_caffe.NetParameter.name)
16520 }
16521 #if LANG_CXX11
set_name(::std::string && value)16522 inline void NetParameter::set_name(::std::string&& value) {
16523   set_has_name();
16524   name_.SetNoArena(
16525     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
16526   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.NetParameter.name)
16527 }
16528 #endif
set_name(const char * value)16529 inline void NetParameter::set_name(const char* value) {
16530   GOOGLE_DCHECK(value != NULL);
16531   set_has_name();
16532   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
16533   // @@protoc_insertion_point(field_set_char:opencv_caffe.NetParameter.name)
16534 }
set_name(const char * value,size_t size)16535 inline void NetParameter::set_name(const char* value, size_t size) {
16536   set_has_name();
16537   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
16538       ::std::string(reinterpret_cast<const char*>(value), size));
16539   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.NetParameter.name)
16540 }
mutable_name()16541 inline ::std::string* NetParameter::mutable_name() {
16542   set_has_name();
16543   // @@protoc_insertion_point(field_mutable:opencv_caffe.NetParameter.name)
16544   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16545 }
release_name()16546 inline ::std::string* NetParameter::release_name() {
16547   // @@protoc_insertion_point(field_release:opencv_caffe.NetParameter.name)
16548   clear_has_name();
16549   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16550 }
set_allocated_name(::std::string * name)16551 inline void NetParameter::set_allocated_name(::std::string* name) {
16552   if (name != NULL) {
16553     set_has_name();
16554   } else {
16555     clear_has_name();
16556   }
16557   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
16558   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.NetParameter.name)
16559 }
16560 
16561 // repeated string input = 3;
input_size()16562 inline int NetParameter::input_size() const {
16563   return input_.size();
16564 }
clear_input()16565 inline void NetParameter::clear_input() {
16566   input_.Clear();
16567 }
input(int index)16568 inline const ::std::string& NetParameter::input(int index) const {
16569   // @@protoc_insertion_point(field_get:opencv_caffe.NetParameter.input)
16570   return input_.Get(index);
16571 }
mutable_input(int index)16572 inline ::std::string* NetParameter::mutable_input(int index) {
16573   // @@protoc_insertion_point(field_mutable:opencv_caffe.NetParameter.input)
16574   return input_.Mutable(index);
16575 }
set_input(int index,const::std::string & value)16576 inline void NetParameter::set_input(int index, const ::std::string& value) {
16577   // @@protoc_insertion_point(field_set:opencv_caffe.NetParameter.input)
16578   input_.Mutable(index)->assign(value);
16579 }
16580 #if LANG_CXX11
set_input(int index,::std::string && value)16581 inline void NetParameter::set_input(int index, ::std::string&& value) {
16582   // @@protoc_insertion_point(field_set:opencv_caffe.NetParameter.input)
16583   input_.Mutable(index)->assign(std::move(value));
16584 }
16585 #endif
set_input(int index,const char * value)16586 inline void NetParameter::set_input(int index, const char* value) {
16587   GOOGLE_DCHECK(value != NULL);
16588   input_.Mutable(index)->assign(value);
16589   // @@protoc_insertion_point(field_set_char:opencv_caffe.NetParameter.input)
16590 }
set_input(int index,const char * value,size_t size)16591 inline void NetParameter::set_input(int index, const char* value, size_t size) {
16592   input_.Mutable(index)->assign(
16593     reinterpret_cast<const char*>(value), size);
16594   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.NetParameter.input)
16595 }
add_input()16596 inline ::std::string* NetParameter::add_input() {
16597   // @@protoc_insertion_point(field_add_mutable:opencv_caffe.NetParameter.input)
16598   return input_.Add();
16599 }
add_input(const::std::string & value)16600 inline void NetParameter::add_input(const ::std::string& value) {
16601   input_.Add()->assign(value);
16602   // @@protoc_insertion_point(field_add:opencv_caffe.NetParameter.input)
16603 }
16604 #if LANG_CXX11
add_input(::std::string && value)16605 inline void NetParameter::add_input(::std::string&& value) {
16606   input_.Add(std::move(value));
16607   // @@protoc_insertion_point(field_add:opencv_caffe.NetParameter.input)
16608 }
16609 #endif
add_input(const char * value)16610 inline void NetParameter::add_input(const char* value) {
16611   GOOGLE_DCHECK(value != NULL);
16612   input_.Add()->assign(value);
16613   // @@protoc_insertion_point(field_add_char:opencv_caffe.NetParameter.input)
16614 }
add_input(const char * value,size_t size)16615 inline void NetParameter::add_input(const char* value, size_t size) {
16616   input_.Add()->assign(reinterpret_cast<const char*>(value), size);
16617   // @@protoc_insertion_point(field_add_pointer:opencv_caffe.NetParameter.input)
16618 }
16619 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
input()16620 NetParameter::input() const {
16621   // @@protoc_insertion_point(field_list:opencv_caffe.NetParameter.input)
16622   return input_;
16623 }
16624 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_input()16625 NetParameter::mutable_input() {
16626   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.NetParameter.input)
16627   return &input_;
16628 }
16629 
16630 // repeated .opencv_caffe.BlobShape input_shape = 8;
input_shape_size()16631 inline int NetParameter::input_shape_size() const {
16632   return input_shape_.size();
16633 }
clear_input_shape()16634 inline void NetParameter::clear_input_shape() {
16635   input_shape_.Clear();
16636 }
input_shape(int index)16637 inline const ::opencv_caffe::BlobShape& NetParameter::input_shape(int index) const {
16638   // @@protoc_insertion_point(field_get:opencv_caffe.NetParameter.input_shape)
16639   return input_shape_.Get(index);
16640 }
mutable_input_shape(int index)16641 inline ::opencv_caffe::BlobShape* NetParameter::mutable_input_shape(int index) {
16642   // @@protoc_insertion_point(field_mutable:opencv_caffe.NetParameter.input_shape)
16643   return input_shape_.Mutable(index);
16644 }
add_input_shape()16645 inline ::opencv_caffe::BlobShape* NetParameter::add_input_shape() {
16646   // @@protoc_insertion_point(field_add:opencv_caffe.NetParameter.input_shape)
16647   return input_shape_.Add();
16648 }
16649 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >*
mutable_input_shape()16650 NetParameter::mutable_input_shape() {
16651   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.NetParameter.input_shape)
16652   return &input_shape_;
16653 }
16654 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >&
input_shape()16655 NetParameter::input_shape() const {
16656   // @@protoc_insertion_point(field_list:opencv_caffe.NetParameter.input_shape)
16657   return input_shape_;
16658 }
16659 
16660 // repeated int32 input_dim = 4;
input_dim_size()16661 inline int NetParameter::input_dim_size() const {
16662   return input_dim_.size();
16663 }
clear_input_dim()16664 inline void NetParameter::clear_input_dim() {
16665   input_dim_.Clear();
16666 }
input_dim(int index)16667 inline ::google::protobuf::int32 NetParameter::input_dim(int index) const {
16668   // @@protoc_insertion_point(field_get:opencv_caffe.NetParameter.input_dim)
16669   return input_dim_.Get(index);
16670 }
set_input_dim(int index,::google::protobuf::int32 value)16671 inline void NetParameter::set_input_dim(int index, ::google::protobuf::int32 value) {
16672   input_dim_.Set(index, value);
16673   // @@protoc_insertion_point(field_set:opencv_caffe.NetParameter.input_dim)
16674 }
add_input_dim(::google::protobuf::int32 value)16675 inline void NetParameter::add_input_dim(::google::protobuf::int32 value) {
16676   input_dim_.Add(value);
16677   // @@protoc_insertion_point(field_add:opencv_caffe.NetParameter.input_dim)
16678 }
16679 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
input_dim()16680 NetParameter::input_dim() const {
16681   // @@protoc_insertion_point(field_list:opencv_caffe.NetParameter.input_dim)
16682   return input_dim_;
16683 }
16684 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
mutable_input_dim()16685 NetParameter::mutable_input_dim() {
16686   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.NetParameter.input_dim)
16687   return &input_dim_;
16688 }
16689 
16690 // optional bool force_backward = 5 [default = false];
has_force_backward()16691 inline bool NetParameter::has_force_backward() const {
16692   return (_has_bits_[0] & 0x00000004u) != 0;
16693 }
set_has_force_backward()16694 inline void NetParameter::set_has_force_backward() {
16695   _has_bits_[0] |= 0x00000004u;
16696 }
clear_has_force_backward()16697 inline void NetParameter::clear_has_force_backward() {
16698   _has_bits_[0] &= ~0x00000004u;
16699 }
clear_force_backward()16700 inline void NetParameter::clear_force_backward() {
16701   force_backward_ = false;
16702   clear_has_force_backward();
16703 }
force_backward()16704 inline bool NetParameter::force_backward() const {
16705   // @@protoc_insertion_point(field_get:opencv_caffe.NetParameter.force_backward)
16706   return force_backward_;
16707 }
set_force_backward(bool value)16708 inline void NetParameter::set_force_backward(bool value) {
16709   set_has_force_backward();
16710   force_backward_ = value;
16711   // @@protoc_insertion_point(field_set:opencv_caffe.NetParameter.force_backward)
16712 }
16713 
16714 // optional .opencv_caffe.NetState state = 6;
has_state()16715 inline bool NetParameter::has_state() const {
16716   return (_has_bits_[0] & 0x00000002u) != 0;
16717 }
set_has_state()16718 inline void NetParameter::set_has_state() {
16719   _has_bits_[0] |= 0x00000002u;
16720 }
clear_has_state()16721 inline void NetParameter::clear_has_state() {
16722   _has_bits_[0] &= ~0x00000002u;
16723 }
clear_state()16724 inline void NetParameter::clear_state() {
16725   if (state_ != NULL) state_->Clear();
16726   clear_has_state();
16727 }
state()16728 inline const ::opencv_caffe::NetState& NetParameter::state() const {
16729   const ::opencv_caffe::NetState* p = state_;
16730   // @@protoc_insertion_point(field_get:opencv_caffe.NetParameter.state)
16731   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::NetState*>(
16732       &::opencv_caffe::_NetState_default_instance_);
16733 }
release_state()16734 inline ::opencv_caffe::NetState* NetParameter::release_state() {
16735   // @@protoc_insertion_point(field_release:opencv_caffe.NetParameter.state)
16736   clear_has_state();
16737   ::opencv_caffe::NetState* temp = state_;
16738   state_ = NULL;
16739   return temp;
16740 }
mutable_state()16741 inline ::opencv_caffe::NetState* NetParameter::mutable_state() {
16742   set_has_state();
16743   if (state_ == NULL) {
16744     state_ = new ::opencv_caffe::NetState;
16745   }
16746   // @@protoc_insertion_point(field_mutable:opencv_caffe.NetParameter.state)
16747   return state_;
16748 }
set_allocated_state(::opencv_caffe::NetState * state)16749 inline void NetParameter::set_allocated_state(::opencv_caffe::NetState* state) {
16750   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
16751   if (message_arena == NULL) {
16752     delete state_;
16753   }
16754   if (state) {
16755     ::google::protobuf::Arena* submessage_arena = NULL;
16756     if (message_arena != submessage_arena) {
16757       state = ::google::protobuf::internal::GetOwnedMessage(
16758           message_arena, state, submessage_arena);
16759     }
16760     set_has_state();
16761   } else {
16762     clear_has_state();
16763   }
16764   state_ = state;
16765   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.NetParameter.state)
16766 }
16767 
16768 // optional bool debug_info = 7 [default = false];
has_debug_info()16769 inline bool NetParameter::has_debug_info() const {
16770   return (_has_bits_[0] & 0x00000008u) != 0;
16771 }
set_has_debug_info()16772 inline void NetParameter::set_has_debug_info() {
16773   _has_bits_[0] |= 0x00000008u;
16774 }
clear_has_debug_info()16775 inline void NetParameter::clear_has_debug_info() {
16776   _has_bits_[0] &= ~0x00000008u;
16777 }
clear_debug_info()16778 inline void NetParameter::clear_debug_info() {
16779   debug_info_ = false;
16780   clear_has_debug_info();
16781 }
debug_info()16782 inline bool NetParameter::debug_info() const {
16783   // @@protoc_insertion_point(field_get:opencv_caffe.NetParameter.debug_info)
16784   return debug_info_;
16785 }
set_debug_info(bool value)16786 inline void NetParameter::set_debug_info(bool value) {
16787   set_has_debug_info();
16788   debug_info_ = value;
16789   // @@protoc_insertion_point(field_set:opencv_caffe.NetParameter.debug_info)
16790 }
16791 
16792 // repeated .opencv_caffe.LayerParameter layer = 100;
layer_size()16793 inline int NetParameter::layer_size() const {
16794   return layer_.size();
16795 }
clear_layer()16796 inline void NetParameter::clear_layer() {
16797   layer_.Clear();
16798 }
layer(int index)16799 inline const ::opencv_caffe::LayerParameter& NetParameter::layer(int index) const {
16800   // @@protoc_insertion_point(field_get:opencv_caffe.NetParameter.layer)
16801   return layer_.Get(index);
16802 }
mutable_layer(int index)16803 inline ::opencv_caffe::LayerParameter* NetParameter::mutable_layer(int index) {
16804   // @@protoc_insertion_point(field_mutable:opencv_caffe.NetParameter.layer)
16805   return layer_.Mutable(index);
16806 }
add_layer()16807 inline ::opencv_caffe::LayerParameter* NetParameter::add_layer() {
16808   // @@protoc_insertion_point(field_add:opencv_caffe.NetParameter.layer)
16809   return layer_.Add();
16810 }
16811 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::LayerParameter >*
mutable_layer()16812 NetParameter::mutable_layer() {
16813   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.NetParameter.layer)
16814   return &layer_;
16815 }
16816 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::LayerParameter >&
layer()16817 NetParameter::layer() const {
16818   // @@protoc_insertion_point(field_list:opencv_caffe.NetParameter.layer)
16819   return layer_;
16820 }
16821 
16822 // repeated .opencv_caffe.V1LayerParameter layers = 2;
layers_size()16823 inline int NetParameter::layers_size() const {
16824   return layers_.size();
16825 }
clear_layers()16826 inline void NetParameter::clear_layers() {
16827   layers_.Clear();
16828 }
layers(int index)16829 inline const ::opencv_caffe::V1LayerParameter& NetParameter::layers(int index) const {
16830   // @@protoc_insertion_point(field_get:opencv_caffe.NetParameter.layers)
16831   return layers_.Get(index);
16832 }
mutable_layers(int index)16833 inline ::opencv_caffe::V1LayerParameter* NetParameter::mutable_layers(int index) {
16834   // @@protoc_insertion_point(field_mutable:opencv_caffe.NetParameter.layers)
16835   return layers_.Mutable(index);
16836 }
add_layers()16837 inline ::opencv_caffe::V1LayerParameter* NetParameter::add_layers() {
16838   // @@protoc_insertion_point(field_add:opencv_caffe.NetParameter.layers)
16839   return layers_.Add();
16840 }
16841 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::V1LayerParameter >*
mutable_layers()16842 NetParameter::mutable_layers() {
16843   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.NetParameter.layers)
16844   return &layers_;
16845 }
16846 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::V1LayerParameter >&
layers()16847 NetParameter::layers() const {
16848   // @@protoc_insertion_point(field_list:opencv_caffe.NetParameter.layers)
16849   return layers_;
16850 }
16851 
16852 // -------------------------------------------------------------------
16853 
16854 // SolverParameter
16855 
16856 // optional string net = 24;
has_net()16857 inline bool SolverParameter::has_net() const {
16858   return (_has_bits_[0] & 0x00000008u) != 0;
16859 }
set_has_net()16860 inline void SolverParameter::set_has_net() {
16861   _has_bits_[0] |= 0x00000008u;
16862 }
clear_has_net()16863 inline void SolverParameter::clear_has_net() {
16864   _has_bits_[0] &= ~0x00000008u;
16865 }
clear_net()16866 inline void SolverParameter::clear_net() {
16867   net_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16868   clear_has_net();
16869 }
net()16870 inline const ::std::string& SolverParameter::net() const {
16871   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.net)
16872   return net_.GetNoArena();
16873 }
set_net(const::std::string & value)16874 inline void SolverParameter::set_net(const ::std::string& value) {
16875   set_has_net();
16876   net_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
16877   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.net)
16878 }
16879 #if LANG_CXX11
set_net(::std::string && value)16880 inline void SolverParameter::set_net(::std::string&& value) {
16881   set_has_net();
16882   net_.SetNoArena(
16883     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
16884   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SolverParameter.net)
16885 }
16886 #endif
set_net(const char * value)16887 inline void SolverParameter::set_net(const char* value) {
16888   GOOGLE_DCHECK(value != NULL);
16889   set_has_net();
16890   net_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
16891   // @@protoc_insertion_point(field_set_char:opencv_caffe.SolverParameter.net)
16892 }
set_net(const char * value,size_t size)16893 inline void SolverParameter::set_net(const char* value, size_t size) {
16894   set_has_net();
16895   net_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
16896       ::std::string(reinterpret_cast<const char*>(value), size));
16897   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SolverParameter.net)
16898 }
mutable_net()16899 inline ::std::string* SolverParameter::mutable_net() {
16900   set_has_net();
16901   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.net)
16902   return net_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16903 }
release_net()16904 inline ::std::string* SolverParameter::release_net() {
16905   // @@protoc_insertion_point(field_release:opencv_caffe.SolverParameter.net)
16906   clear_has_net();
16907   return net_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16908 }
set_allocated_net(::std::string * net)16909 inline void SolverParameter::set_allocated_net(::std::string* net) {
16910   if (net != NULL) {
16911     set_has_net();
16912   } else {
16913     clear_has_net();
16914   }
16915   net_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), net);
16916   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SolverParameter.net)
16917 }
16918 
16919 // optional .opencv_caffe.NetParameter net_param = 25;
has_net_param()16920 inline bool SolverParameter::has_net_param() const {
16921   return (_has_bits_[0] & 0x00000080u) != 0;
16922 }
set_has_net_param()16923 inline void SolverParameter::set_has_net_param() {
16924   _has_bits_[0] |= 0x00000080u;
16925 }
clear_has_net_param()16926 inline void SolverParameter::clear_has_net_param() {
16927   _has_bits_[0] &= ~0x00000080u;
16928 }
clear_net_param()16929 inline void SolverParameter::clear_net_param() {
16930   if (net_param_ != NULL) net_param_->Clear();
16931   clear_has_net_param();
16932 }
net_param()16933 inline const ::opencv_caffe::NetParameter& SolverParameter::net_param() const {
16934   const ::opencv_caffe::NetParameter* p = net_param_;
16935   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.net_param)
16936   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::NetParameter*>(
16937       &::opencv_caffe::_NetParameter_default_instance_);
16938 }
release_net_param()16939 inline ::opencv_caffe::NetParameter* SolverParameter::release_net_param() {
16940   // @@protoc_insertion_point(field_release:opencv_caffe.SolverParameter.net_param)
16941   clear_has_net_param();
16942   ::opencv_caffe::NetParameter* temp = net_param_;
16943   net_param_ = NULL;
16944   return temp;
16945 }
mutable_net_param()16946 inline ::opencv_caffe::NetParameter* SolverParameter::mutable_net_param() {
16947   set_has_net_param();
16948   if (net_param_ == NULL) {
16949     net_param_ = new ::opencv_caffe::NetParameter;
16950   }
16951   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.net_param)
16952   return net_param_;
16953 }
set_allocated_net_param(::opencv_caffe::NetParameter * net_param)16954 inline void SolverParameter::set_allocated_net_param(::opencv_caffe::NetParameter* net_param) {
16955   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
16956   if (message_arena == NULL) {
16957     delete net_param_;
16958   }
16959   if (net_param) {
16960     ::google::protobuf::Arena* submessage_arena = NULL;
16961     if (message_arena != submessage_arena) {
16962       net_param = ::google::protobuf::internal::GetOwnedMessage(
16963           message_arena, net_param, submessage_arena);
16964     }
16965     set_has_net_param();
16966   } else {
16967     clear_has_net_param();
16968   }
16969   net_param_ = net_param;
16970   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SolverParameter.net_param)
16971 }
16972 
16973 // optional string train_net = 1;
has_train_net()16974 inline bool SolverParameter::has_train_net() const {
16975   return (_has_bits_[0] & 0x00000001u) != 0;
16976 }
set_has_train_net()16977 inline void SolverParameter::set_has_train_net() {
16978   _has_bits_[0] |= 0x00000001u;
16979 }
clear_has_train_net()16980 inline void SolverParameter::clear_has_train_net() {
16981   _has_bits_[0] &= ~0x00000001u;
16982 }
clear_train_net()16983 inline void SolverParameter::clear_train_net() {
16984   train_net_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
16985   clear_has_train_net();
16986 }
train_net()16987 inline const ::std::string& SolverParameter::train_net() const {
16988   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.train_net)
16989   return train_net_.GetNoArena();
16990 }
set_train_net(const::std::string & value)16991 inline void SolverParameter::set_train_net(const ::std::string& value) {
16992   set_has_train_net();
16993   train_net_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
16994   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.train_net)
16995 }
16996 #if LANG_CXX11
set_train_net(::std::string && value)16997 inline void SolverParameter::set_train_net(::std::string&& value) {
16998   set_has_train_net();
16999   train_net_.SetNoArena(
17000     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
17001   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SolverParameter.train_net)
17002 }
17003 #endif
set_train_net(const char * value)17004 inline void SolverParameter::set_train_net(const char* value) {
17005   GOOGLE_DCHECK(value != NULL);
17006   set_has_train_net();
17007   train_net_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
17008   // @@protoc_insertion_point(field_set_char:opencv_caffe.SolverParameter.train_net)
17009 }
set_train_net(const char * value,size_t size)17010 inline void SolverParameter::set_train_net(const char* value, size_t size) {
17011   set_has_train_net();
17012   train_net_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
17013       ::std::string(reinterpret_cast<const char*>(value), size));
17014   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SolverParameter.train_net)
17015 }
mutable_train_net()17016 inline ::std::string* SolverParameter::mutable_train_net() {
17017   set_has_train_net();
17018   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.train_net)
17019   return train_net_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17020 }
release_train_net()17021 inline ::std::string* SolverParameter::release_train_net() {
17022   // @@protoc_insertion_point(field_release:opencv_caffe.SolverParameter.train_net)
17023   clear_has_train_net();
17024   return train_net_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17025 }
set_allocated_train_net(::std::string * train_net)17026 inline void SolverParameter::set_allocated_train_net(::std::string* train_net) {
17027   if (train_net != NULL) {
17028     set_has_train_net();
17029   } else {
17030     clear_has_train_net();
17031   }
17032   train_net_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), train_net);
17033   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SolverParameter.train_net)
17034 }
17035 
17036 // repeated string test_net = 2;
test_net_size()17037 inline int SolverParameter::test_net_size() const {
17038   return test_net_.size();
17039 }
clear_test_net()17040 inline void SolverParameter::clear_test_net() {
17041   test_net_.Clear();
17042 }
test_net(int index)17043 inline const ::std::string& SolverParameter::test_net(int index) const {
17044   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.test_net)
17045   return test_net_.Get(index);
17046 }
mutable_test_net(int index)17047 inline ::std::string* SolverParameter::mutable_test_net(int index) {
17048   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.test_net)
17049   return test_net_.Mutable(index);
17050 }
set_test_net(int index,const::std::string & value)17051 inline void SolverParameter::set_test_net(int index, const ::std::string& value) {
17052   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.test_net)
17053   test_net_.Mutable(index)->assign(value);
17054 }
17055 #if LANG_CXX11
set_test_net(int index,::std::string && value)17056 inline void SolverParameter::set_test_net(int index, ::std::string&& value) {
17057   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.test_net)
17058   test_net_.Mutable(index)->assign(std::move(value));
17059 }
17060 #endif
set_test_net(int index,const char * value)17061 inline void SolverParameter::set_test_net(int index, const char* value) {
17062   GOOGLE_DCHECK(value != NULL);
17063   test_net_.Mutable(index)->assign(value);
17064   // @@protoc_insertion_point(field_set_char:opencv_caffe.SolverParameter.test_net)
17065 }
set_test_net(int index,const char * value,size_t size)17066 inline void SolverParameter::set_test_net(int index, const char* value, size_t size) {
17067   test_net_.Mutable(index)->assign(
17068     reinterpret_cast<const char*>(value), size);
17069   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SolverParameter.test_net)
17070 }
add_test_net()17071 inline ::std::string* SolverParameter::add_test_net() {
17072   // @@protoc_insertion_point(field_add_mutable:opencv_caffe.SolverParameter.test_net)
17073   return test_net_.Add();
17074 }
add_test_net(const::std::string & value)17075 inline void SolverParameter::add_test_net(const ::std::string& value) {
17076   test_net_.Add()->assign(value);
17077   // @@protoc_insertion_point(field_add:opencv_caffe.SolverParameter.test_net)
17078 }
17079 #if LANG_CXX11
add_test_net(::std::string && value)17080 inline void SolverParameter::add_test_net(::std::string&& value) {
17081   test_net_.Add(std::move(value));
17082   // @@protoc_insertion_point(field_add:opencv_caffe.SolverParameter.test_net)
17083 }
17084 #endif
add_test_net(const char * value)17085 inline void SolverParameter::add_test_net(const char* value) {
17086   GOOGLE_DCHECK(value != NULL);
17087   test_net_.Add()->assign(value);
17088   // @@protoc_insertion_point(field_add_char:opencv_caffe.SolverParameter.test_net)
17089 }
add_test_net(const char * value,size_t size)17090 inline void SolverParameter::add_test_net(const char* value, size_t size) {
17091   test_net_.Add()->assign(reinterpret_cast<const char*>(value), size);
17092   // @@protoc_insertion_point(field_add_pointer:opencv_caffe.SolverParameter.test_net)
17093 }
17094 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
test_net()17095 SolverParameter::test_net() const {
17096   // @@protoc_insertion_point(field_list:opencv_caffe.SolverParameter.test_net)
17097   return test_net_;
17098 }
17099 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_test_net()17100 SolverParameter::mutable_test_net() {
17101   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.SolverParameter.test_net)
17102   return &test_net_;
17103 }
17104 
17105 // optional .opencv_caffe.NetParameter train_net_param = 21;
has_train_net_param()17106 inline bool SolverParameter::has_train_net_param() const {
17107   return (_has_bits_[0] & 0x00000040u) != 0;
17108 }
set_has_train_net_param()17109 inline void SolverParameter::set_has_train_net_param() {
17110   _has_bits_[0] |= 0x00000040u;
17111 }
clear_has_train_net_param()17112 inline void SolverParameter::clear_has_train_net_param() {
17113   _has_bits_[0] &= ~0x00000040u;
17114 }
clear_train_net_param()17115 inline void SolverParameter::clear_train_net_param() {
17116   if (train_net_param_ != NULL) train_net_param_->Clear();
17117   clear_has_train_net_param();
17118 }
train_net_param()17119 inline const ::opencv_caffe::NetParameter& SolverParameter::train_net_param() const {
17120   const ::opencv_caffe::NetParameter* p = train_net_param_;
17121   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.train_net_param)
17122   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::NetParameter*>(
17123       &::opencv_caffe::_NetParameter_default_instance_);
17124 }
release_train_net_param()17125 inline ::opencv_caffe::NetParameter* SolverParameter::release_train_net_param() {
17126   // @@protoc_insertion_point(field_release:opencv_caffe.SolverParameter.train_net_param)
17127   clear_has_train_net_param();
17128   ::opencv_caffe::NetParameter* temp = train_net_param_;
17129   train_net_param_ = NULL;
17130   return temp;
17131 }
mutable_train_net_param()17132 inline ::opencv_caffe::NetParameter* SolverParameter::mutable_train_net_param() {
17133   set_has_train_net_param();
17134   if (train_net_param_ == NULL) {
17135     train_net_param_ = new ::opencv_caffe::NetParameter;
17136   }
17137   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.train_net_param)
17138   return train_net_param_;
17139 }
set_allocated_train_net_param(::opencv_caffe::NetParameter * train_net_param)17140 inline void SolverParameter::set_allocated_train_net_param(::opencv_caffe::NetParameter* train_net_param) {
17141   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
17142   if (message_arena == NULL) {
17143     delete train_net_param_;
17144   }
17145   if (train_net_param) {
17146     ::google::protobuf::Arena* submessage_arena = NULL;
17147     if (message_arena != submessage_arena) {
17148       train_net_param = ::google::protobuf::internal::GetOwnedMessage(
17149           message_arena, train_net_param, submessage_arena);
17150     }
17151     set_has_train_net_param();
17152   } else {
17153     clear_has_train_net_param();
17154   }
17155   train_net_param_ = train_net_param;
17156   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SolverParameter.train_net_param)
17157 }
17158 
17159 // repeated .opencv_caffe.NetParameter test_net_param = 22;
test_net_param_size()17160 inline int SolverParameter::test_net_param_size() const {
17161   return test_net_param_.size();
17162 }
clear_test_net_param()17163 inline void SolverParameter::clear_test_net_param() {
17164   test_net_param_.Clear();
17165 }
test_net_param(int index)17166 inline const ::opencv_caffe::NetParameter& SolverParameter::test_net_param(int index) const {
17167   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.test_net_param)
17168   return test_net_param_.Get(index);
17169 }
mutable_test_net_param(int index)17170 inline ::opencv_caffe::NetParameter* SolverParameter::mutable_test_net_param(int index) {
17171   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.test_net_param)
17172   return test_net_param_.Mutable(index);
17173 }
add_test_net_param()17174 inline ::opencv_caffe::NetParameter* SolverParameter::add_test_net_param() {
17175   // @@protoc_insertion_point(field_add:opencv_caffe.SolverParameter.test_net_param)
17176   return test_net_param_.Add();
17177 }
17178 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetParameter >*
mutable_test_net_param()17179 SolverParameter::mutable_test_net_param() {
17180   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.SolverParameter.test_net_param)
17181   return &test_net_param_;
17182 }
17183 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetParameter >&
test_net_param()17184 SolverParameter::test_net_param() const {
17185   // @@protoc_insertion_point(field_list:opencv_caffe.SolverParameter.test_net_param)
17186   return test_net_param_;
17187 }
17188 
17189 // optional .opencv_caffe.NetState train_state = 26;
has_train_state()17190 inline bool SolverParameter::has_train_state() const {
17191   return (_has_bits_[0] & 0x00000100u) != 0;
17192 }
set_has_train_state()17193 inline void SolverParameter::set_has_train_state() {
17194   _has_bits_[0] |= 0x00000100u;
17195 }
clear_has_train_state()17196 inline void SolverParameter::clear_has_train_state() {
17197   _has_bits_[0] &= ~0x00000100u;
17198 }
clear_train_state()17199 inline void SolverParameter::clear_train_state() {
17200   if (train_state_ != NULL) train_state_->Clear();
17201   clear_has_train_state();
17202 }
train_state()17203 inline const ::opencv_caffe::NetState& SolverParameter::train_state() const {
17204   const ::opencv_caffe::NetState* p = train_state_;
17205   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.train_state)
17206   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::NetState*>(
17207       &::opencv_caffe::_NetState_default_instance_);
17208 }
release_train_state()17209 inline ::opencv_caffe::NetState* SolverParameter::release_train_state() {
17210   // @@protoc_insertion_point(field_release:opencv_caffe.SolverParameter.train_state)
17211   clear_has_train_state();
17212   ::opencv_caffe::NetState* temp = train_state_;
17213   train_state_ = NULL;
17214   return temp;
17215 }
mutable_train_state()17216 inline ::opencv_caffe::NetState* SolverParameter::mutable_train_state() {
17217   set_has_train_state();
17218   if (train_state_ == NULL) {
17219     train_state_ = new ::opencv_caffe::NetState;
17220   }
17221   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.train_state)
17222   return train_state_;
17223 }
set_allocated_train_state(::opencv_caffe::NetState * train_state)17224 inline void SolverParameter::set_allocated_train_state(::opencv_caffe::NetState* train_state) {
17225   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
17226   if (message_arena == NULL) {
17227     delete train_state_;
17228   }
17229   if (train_state) {
17230     ::google::protobuf::Arena* submessage_arena = NULL;
17231     if (message_arena != submessage_arena) {
17232       train_state = ::google::protobuf::internal::GetOwnedMessage(
17233           message_arena, train_state, submessage_arena);
17234     }
17235     set_has_train_state();
17236   } else {
17237     clear_has_train_state();
17238   }
17239   train_state_ = train_state;
17240   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SolverParameter.train_state)
17241 }
17242 
17243 // repeated .opencv_caffe.NetState test_state = 27;
test_state_size()17244 inline int SolverParameter::test_state_size() const {
17245   return test_state_.size();
17246 }
clear_test_state()17247 inline void SolverParameter::clear_test_state() {
17248   test_state_.Clear();
17249 }
test_state(int index)17250 inline const ::opencv_caffe::NetState& SolverParameter::test_state(int index) const {
17251   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.test_state)
17252   return test_state_.Get(index);
17253 }
mutable_test_state(int index)17254 inline ::opencv_caffe::NetState* SolverParameter::mutable_test_state(int index) {
17255   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.test_state)
17256   return test_state_.Mutable(index);
17257 }
add_test_state()17258 inline ::opencv_caffe::NetState* SolverParameter::add_test_state() {
17259   // @@protoc_insertion_point(field_add:opencv_caffe.SolverParameter.test_state)
17260   return test_state_.Add();
17261 }
17262 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetState >*
mutable_test_state()17263 SolverParameter::mutable_test_state() {
17264   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.SolverParameter.test_state)
17265   return &test_state_;
17266 }
17267 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetState >&
test_state()17268 SolverParameter::test_state() const {
17269   // @@protoc_insertion_point(field_list:opencv_caffe.SolverParameter.test_state)
17270   return test_state_;
17271 }
17272 
17273 // repeated int32 test_iter = 3;
test_iter_size()17274 inline int SolverParameter::test_iter_size() const {
17275   return test_iter_.size();
17276 }
clear_test_iter()17277 inline void SolverParameter::clear_test_iter() {
17278   test_iter_.Clear();
17279 }
test_iter(int index)17280 inline ::google::protobuf::int32 SolverParameter::test_iter(int index) const {
17281   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.test_iter)
17282   return test_iter_.Get(index);
17283 }
set_test_iter(int index,::google::protobuf::int32 value)17284 inline void SolverParameter::set_test_iter(int index, ::google::protobuf::int32 value) {
17285   test_iter_.Set(index, value);
17286   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.test_iter)
17287 }
add_test_iter(::google::protobuf::int32 value)17288 inline void SolverParameter::add_test_iter(::google::protobuf::int32 value) {
17289   test_iter_.Add(value);
17290   // @@protoc_insertion_point(field_add:opencv_caffe.SolverParameter.test_iter)
17291 }
17292 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
test_iter()17293 SolverParameter::test_iter() const {
17294   // @@protoc_insertion_point(field_list:opencv_caffe.SolverParameter.test_iter)
17295   return test_iter_;
17296 }
17297 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
mutable_test_iter()17298 SolverParameter::mutable_test_iter() {
17299   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.SolverParameter.test_iter)
17300   return &test_iter_;
17301 }
17302 
17303 // optional int32 test_interval = 4 [default = 0];
has_test_interval()17304 inline bool SolverParameter::has_test_interval() const {
17305   return (_has_bits_[0] & 0x00000200u) != 0;
17306 }
set_has_test_interval()17307 inline void SolverParameter::set_has_test_interval() {
17308   _has_bits_[0] |= 0x00000200u;
17309 }
clear_has_test_interval()17310 inline void SolverParameter::clear_has_test_interval() {
17311   _has_bits_[0] &= ~0x00000200u;
17312 }
clear_test_interval()17313 inline void SolverParameter::clear_test_interval() {
17314   test_interval_ = 0;
17315   clear_has_test_interval();
17316 }
test_interval()17317 inline ::google::protobuf::int32 SolverParameter::test_interval() const {
17318   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.test_interval)
17319   return test_interval_;
17320 }
set_test_interval(::google::protobuf::int32 value)17321 inline void SolverParameter::set_test_interval(::google::protobuf::int32 value) {
17322   set_has_test_interval();
17323   test_interval_ = value;
17324   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.test_interval)
17325 }
17326 
17327 // optional bool test_compute_loss = 19 [default = false];
has_test_compute_loss()17328 inline bool SolverParameter::has_test_compute_loss() const {
17329   return (_has_bits_[0] & 0x00100000u) != 0;
17330 }
set_has_test_compute_loss()17331 inline void SolverParameter::set_has_test_compute_loss() {
17332   _has_bits_[0] |= 0x00100000u;
17333 }
clear_has_test_compute_loss()17334 inline void SolverParameter::clear_has_test_compute_loss() {
17335   _has_bits_[0] &= ~0x00100000u;
17336 }
clear_test_compute_loss()17337 inline void SolverParameter::clear_test_compute_loss() {
17338   test_compute_loss_ = false;
17339   clear_has_test_compute_loss();
17340 }
test_compute_loss()17341 inline bool SolverParameter::test_compute_loss() const {
17342   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.test_compute_loss)
17343   return test_compute_loss_;
17344 }
set_test_compute_loss(bool value)17345 inline void SolverParameter::set_test_compute_loss(bool value) {
17346   set_has_test_compute_loss();
17347   test_compute_loss_ = value;
17348   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.test_compute_loss)
17349 }
17350 
17351 // optional bool test_initialization = 32 [default = true];
has_test_initialization()17352 inline bool SolverParameter::has_test_initialization() const {
17353   return (_has_bits_[0] & 0x08000000u) != 0;
17354 }
set_has_test_initialization()17355 inline void SolverParameter::set_has_test_initialization() {
17356   _has_bits_[0] |= 0x08000000u;
17357 }
clear_has_test_initialization()17358 inline void SolverParameter::clear_has_test_initialization() {
17359   _has_bits_[0] &= ~0x08000000u;
17360 }
clear_test_initialization()17361 inline void SolverParameter::clear_test_initialization() {
17362   test_initialization_ = true;
17363   clear_has_test_initialization();
17364 }
test_initialization()17365 inline bool SolverParameter::test_initialization() const {
17366   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.test_initialization)
17367   return test_initialization_;
17368 }
set_test_initialization(bool value)17369 inline void SolverParameter::set_test_initialization(bool value) {
17370   set_has_test_initialization();
17371   test_initialization_ = value;
17372   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.test_initialization)
17373 }
17374 
17375 // optional float base_lr = 5;
has_base_lr()17376 inline bool SolverParameter::has_base_lr() const {
17377   return (_has_bits_[0] & 0x00000400u) != 0;
17378 }
set_has_base_lr()17379 inline void SolverParameter::set_has_base_lr() {
17380   _has_bits_[0] |= 0x00000400u;
17381 }
clear_has_base_lr()17382 inline void SolverParameter::clear_has_base_lr() {
17383   _has_bits_[0] &= ~0x00000400u;
17384 }
clear_base_lr()17385 inline void SolverParameter::clear_base_lr() {
17386   base_lr_ = 0;
17387   clear_has_base_lr();
17388 }
base_lr()17389 inline float SolverParameter::base_lr() const {
17390   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.base_lr)
17391   return base_lr_;
17392 }
set_base_lr(float value)17393 inline void SolverParameter::set_base_lr(float value) {
17394   set_has_base_lr();
17395   base_lr_ = value;
17396   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.base_lr)
17397 }
17398 
17399 // optional int32 display = 6;
has_display()17400 inline bool SolverParameter::has_display() const {
17401   return (_has_bits_[0] & 0x00000800u) != 0;
17402 }
set_has_display()17403 inline void SolverParameter::set_has_display() {
17404   _has_bits_[0] |= 0x00000800u;
17405 }
clear_has_display()17406 inline void SolverParameter::clear_has_display() {
17407   _has_bits_[0] &= ~0x00000800u;
17408 }
clear_display()17409 inline void SolverParameter::clear_display() {
17410   display_ = 0;
17411   clear_has_display();
17412 }
display()17413 inline ::google::protobuf::int32 SolverParameter::display() const {
17414   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.display)
17415   return display_;
17416 }
set_display(::google::protobuf::int32 value)17417 inline void SolverParameter::set_display(::google::protobuf::int32 value) {
17418   set_has_display();
17419   display_ = value;
17420   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.display)
17421 }
17422 
17423 // optional int32 average_loss = 33 [default = 1];
has_average_loss()17424 inline bool SolverParameter::has_average_loss() const {
17425   return (_has_bits_[0] & 0x40000000u) != 0;
17426 }
set_has_average_loss()17427 inline void SolverParameter::set_has_average_loss() {
17428   _has_bits_[0] |= 0x40000000u;
17429 }
clear_has_average_loss()17430 inline void SolverParameter::clear_has_average_loss() {
17431   _has_bits_[0] &= ~0x40000000u;
17432 }
clear_average_loss()17433 inline void SolverParameter::clear_average_loss() {
17434   average_loss_ = 1;
17435   clear_has_average_loss();
17436 }
average_loss()17437 inline ::google::protobuf::int32 SolverParameter::average_loss() const {
17438   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.average_loss)
17439   return average_loss_;
17440 }
set_average_loss(::google::protobuf::int32 value)17441 inline void SolverParameter::set_average_loss(::google::protobuf::int32 value) {
17442   set_has_average_loss();
17443   average_loss_ = value;
17444   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.average_loss)
17445 }
17446 
17447 // optional int32 max_iter = 7;
has_max_iter()17448 inline bool SolverParameter::has_max_iter() const {
17449   return (_has_bits_[0] & 0x00001000u) != 0;
17450 }
set_has_max_iter()17451 inline void SolverParameter::set_has_max_iter() {
17452   _has_bits_[0] |= 0x00001000u;
17453 }
clear_has_max_iter()17454 inline void SolverParameter::clear_has_max_iter() {
17455   _has_bits_[0] &= ~0x00001000u;
17456 }
clear_max_iter()17457 inline void SolverParameter::clear_max_iter() {
17458   max_iter_ = 0;
17459   clear_has_max_iter();
17460 }
max_iter()17461 inline ::google::protobuf::int32 SolverParameter::max_iter() const {
17462   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.max_iter)
17463   return max_iter_;
17464 }
set_max_iter(::google::protobuf::int32 value)17465 inline void SolverParameter::set_max_iter(::google::protobuf::int32 value) {
17466   set_has_max_iter();
17467   max_iter_ = value;
17468   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.max_iter)
17469 }
17470 
17471 // optional int32 iter_size = 36 [default = 1];
has_iter_size()17472 inline bool SolverParameter::has_iter_size() const {
17473   return (_has_bits_[1] & 0x00000001u) != 0;
17474 }
set_has_iter_size()17475 inline void SolverParameter::set_has_iter_size() {
17476   _has_bits_[1] |= 0x00000001u;
17477 }
clear_has_iter_size()17478 inline void SolverParameter::clear_has_iter_size() {
17479   _has_bits_[1] &= ~0x00000001u;
17480 }
clear_iter_size()17481 inline void SolverParameter::clear_iter_size() {
17482   iter_size_ = 1;
17483   clear_has_iter_size();
17484 }
iter_size()17485 inline ::google::protobuf::int32 SolverParameter::iter_size() const {
17486   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.iter_size)
17487   return iter_size_;
17488 }
set_iter_size(::google::protobuf::int32 value)17489 inline void SolverParameter::set_iter_size(::google::protobuf::int32 value) {
17490   set_has_iter_size();
17491   iter_size_ = value;
17492   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.iter_size)
17493 }
17494 
17495 // optional string lr_policy = 8;
has_lr_policy()17496 inline bool SolverParameter::has_lr_policy() const {
17497   return (_has_bits_[0] & 0x00000002u) != 0;
17498 }
set_has_lr_policy()17499 inline void SolverParameter::set_has_lr_policy() {
17500   _has_bits_[0] |= 0x00000002u;
17501 }
clear_has_lr_policy()17502 inline void SolverParameter::clear_has_lr_policy() {
17503   _has_bits_[0] &= ~0x00000002u;
17504 }
clear_lr_policy()17505 inline void SolverParameter::clear_lr_policy() {
17506   lr_policy_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17507   clear_has_lr_policy();
17508 }
lr_policy()17509 inline const ::std::string& SolverParameter::lr_policy() const {
17510   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.lr_policy)
17511   return lr_policy_.GetNoArena();
17512 }
set_lr_policy(const::std::string & value)17513 inline void SolverParameter::set_lr_policy(const ::std::string& value) {
17514   set_has_lr_policy();
17515   lr_policy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
17516   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.lr_policy)
17517 }
17518 #if LANG_CXX11
set_lr_policy(::std::string && value)17519 inline void SolverParameter::set_lr_policy(::std::string&& value) {
17520   set_has_lr_policy();
17521   lr_policy_.SetNoArena(
17522     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
17523   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SolverParameter.lr_policy)
17524 }
17525 #endif
set_lr_policy(const char * value)17526 inline void SolverParameter::set_lr_policy(const char* value) {
17527   GOOGLE_DCHECK(value != NULL);
17528   set_has_lr_policy();
17529   lr_policy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
17530   // @@protoc_insertion_point(field_set_char:opencv_caffe.SolverParameter.lr_policy)
17531 }
set_lr_policy(const char * value,size_t size)17532 inline void SolverParameter::set_lr_policy(const char* value, size_t size) {
17533   set_has_lr_policy();
17534   lr_policy_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
17535       ::std::string(reinterpret_cast<const char*>(value), size));
17536   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SolverParameter.lr_policy)
17537 }
mutable_lr_policy()17538 inline ::std::string* SolverParameter::mutable_lr_policy() {
17539   set_has_lr_policy();
17540   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.lr_policy)
17541   return lr_policy_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17542 }
release_lr_policy()17543 inline ::std::string* SolverParameter::release_lr_policy() {
17544   // @@protoc_insertion_point(field_release:opencv_caffe.SolverParameter.lr_policy)
17545   clear_has_lr_policy();
17546   return lr_policy_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17547 }
set_allocated_lr_policy(::std::string * lr_policy)17548 inline void SolverParameter::set_allocated_lr_policy(::std::string* lr_policy) {
17549   if (lr_policy != NULL) {
17550     set_has_lr_policy();
17551   } else {
17552     clear_has_lr_policy();
17553   }
17554   lr_policy_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), lr_policy);
17555   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SolverParameter.lr_policy)
17556 }
17557 
17558 // optional float gamma = 9;
has_gamma()17559 inline bool SolverParameter::has_gamma() const {
17560   return (_has_bits_[0] & 0x00002000u) != 0;
17561 }
set_has_gamma()17562 inline void SolverParameter::set_has_gamma() {
17563   _has_bits_[0] |= 0x00002000u;
17564 }
clear_has_gamma()17565 inline void SolverParameter::clear_has_gamma() {
17566   _has_bits_[0] &= ~0x00002000u;
17567 }
clear_gamma()17568 inline void SolverParameter::clear_gamma() {
17569   gamma_ = 0;
17570   clear_has_gamma();
17571 }
gamma()17572 inline float SolverParameter::gamma() const {
17573   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.gamma)
17574   return gamma_;
17575 }
set_gamma(float value)17576 inline void SolverParameter::set_gamma(float value) {
17577   set_has_gamma();
17578   gamma_ = value;
17579   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.gamma)
17580 }
17581 
17582 // optional float power = 10;
has_power()17583 inline bool SolverParameter::has_power() const {
17584   return (_has_bits_[0] & 0x00004000u) != 0;
17585 }
set_has_power()17586 inline void SolverParameter::set_has_power() {
17587   _has_bits_[0] |= 0x00004000u;
17588 }
clear_has_power()17589 inline void SolverParameter::clear_has_power() {
17590   _has_bits_[0] &= ~0x00004000u;
17591 }
clear_power()17592 inline void SolverParameter::clear_power() {
17593   power_ = 0;
17594   clear_has_power();
17595 }
power()17596 inline float SolverParameter::power() const {
17597   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.power)
17598   return power_;
17599 }
set_power(float value)17600 inline void SolverParameter::set_power(float value) {
17601   set_has_power();
17602   power_ = value;
17603   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.power)
17604 }
17605 
17606 // optional float momentum = 11;
has_momentum()17607 inline bool SolverParameter::has_momentum() const {
17608   return (_has_bits_[0] & 0x00008000u) != 0;
17609 }
set_has_momentum()17610 inline void SolverParameter::set_has_momentum() {
17611   _has_bits_[0] |= 0x00008000u;
17612 }
clear_has_momentum()17613 inline void SolverParameter::clear_has_momentum() {
17614   _has_bits_[0] &= ~0x00008000u;
17615 }
clear_momentum()17616 inline void SolverParameter::clear_momentum() {
17617   momentum_ = 0;
17618   clear_has_momentum();
17619 }
momentum()17620 inline float SolverParameter::momentum() const {
17621   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.momentum)
17622   return momentum_;
17623 }
set_momentum(float value)17624 inline void SolverParameter::set_momentum(float value) {
17625   set_has_momentum();
17626   momentum_ = value;
17627   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.momentum)
17628 }
17629 
17630 // optional float weight_decay = 12;
has_weight_decay()17631 inline bool SolverParameter::has_weight_decay() const {
17632   return (_has_bits_[0] & 0x00010000u) != 0;
17633 }
set_has_weight_decay()17634 inline void SolverParameter::set_has_weight_decay() {
17635   _has_bits_[0] |= 0x00010000u;
17636 }
clear_has_weight_decay()17637 inline void SolverParameter::clear_has_weight_decay() {
17638   _has_bits_[0] &= ~0x00010000u;
17639 }
clear_weight_decay()17640 inline void SolverParameter::clear_weight_decay() {
17641   weight_decay_ = 0;
17642   clear_has_weight_decay();
17643 }
weight_decay()17644 inline float SolverParameter::weight_decay() const {
17645   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.weight_decay)
17646   return weight_decay_;
17647 }
set_weight_decay(float value)17648 inline void SolverParameter::set_weight_decay(float value) {
17649   set_has_weight_decay();
17650   weight_decay_ = value;
17651   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.weight_decay)
17652 }
17653 
17654 // optional string regularization_type = 29 [default = "L2"];
has_regularization_type()17655 inline bool SolverParameter::has_regularization_type() const {
17656   return (_has_bits_[0] & 0x00000010u) != 0;
17657 }
set_has_regularization_type()17658 inline void SolverParameter::set_has_regularization_type() {
17659   _has_bits_[0] |= 0x00000010u;
17660 }
clear_has_regularization_type()17661 inline void SolverParameter::clear_has_regularization_type() {
17662   _has_bits_[0] &= ~0x00000010u;
17663 }
clear_regularization_type()17664 inline void SolverParameter::clear_regularization_type() {
17665   regularization_type_.ClearToDefaultNoArena(&::opencv_caffe::SolverParameter::_default_regularization_type_.get());
17666   clear_has_regularization_type();
17667 }
regularization_type()17668 inline const ::std::string& SolverParameter::regularization_type() const {
17669   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.regularization_type)
17670   return regularization_type_.GetNoArena();
17671 }
set_regularization_type(const::std::string & value)17672 inline void SolverParameter::set_regularization_type(const ::std::string& value) {
17673   set_has_regularization_type();
17674   regularization_type_.SetNoArena(&::opencv_caffe::SolverParameter::_default_regularization_type_.get(), value);
17675   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.regularization_type)
17676 }
17677 #if LANG_CXX11
set_regularization_type(::std::string && value)17678 inline void SolverParameter::set_regularization_type(::std::string&& value) {
17679   set_has_regularization_type();
17680   regularization_type_.SetNoArena(
17681     &::opencv_caffe::SolverParameter::_default_regularization_type_.get(), ::std::move(value));
17682   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SolverParameter.regularization_type)
17683 }
17684 #endif
set_regularization_type(const char * value)17685 inline void SolverParameter::set_regularization_type(const char* value) {
17686   GOOGLE_DCHECK(value != NULL);
17687   set_has_regularization_type();
17688   regularization_type_.SetNoArena(&::opencv_caffe::SolverParameter::_default_regularization_type_.get(), ::std::string(value));
17689   // @@protoc_insertion_point(field_set_char:opencv_caffe.SolverParameter.regularization_type)
17690 }
set_regularization_type(const char * value,size_t size)17691 inline void SolverParameter::set_regularization_type(const char* value, size_t size) {
17692   set_has_regularization_type();
17693   regularization_type_.SetNoArena(&::opencv_caffe::SolverParameter::_default_regularization_type_.get(),
17694       ::std::string(reinterpret_cast<const char*>(value), size));
17695   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SolverParameter.regularization_type)
17696 }
mutable_regularization_type()17697 inline ::std::string* SolverParameter::mutable_regularization_type() {
17698   set_has_regularization_type();
17699   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.regularization_type)
17700   return regularization_type_.MutableNoArena(&::opencv_caffe::SolverParameter::_default_regularization_type_.get());
17701 }
release_regularization_type()17702 inline ::std::string* SolverParameter::release_regularization_type() {
17703   // @@protoc_insertion_point(field_release:opencv_caffe.SolverParameter.regularization_type)
17704   clear_has_regularization_type();
17705   return regularization_type_.ReleaseNoArena(&::opencv_caffe::SolverParameter::_default_regularization_type_.get());
17706 }
set_allocated_regularization_type(::std::string * regularization_type)17707 inline void SolverParameter::set_allocated_regularization_type(::std::string* regularization_type) {
17708   if (regularization_type != NULL) {
17709     set_has_regularization_type();
17710   } else {
17711     clear_has_regularization_type();
17712   }
17713   regularization_type_.SetAllocatedNoArena(&::opencv_caffe::SolverParameter::_default_regularization_type_.get(), regularization_type);
17714   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SolverParameter.regularization_type)
17715 }
17716 
17717 // optional int32 stepsize = 13;
has_stepsize()17718 inline bool SolverParameter::has_stepsize() const {
17719   return (_has_bits_[0] & 0x00020000u) != 0;
17720 }
set_has_stepsize()17721 inline void SolverParameter::set_has_stepsize() {
17722   _has_bits_[0] |= 0x00020000u;
17723 }
clear_has_stepsize()17724 inline void SolverParameter::clear_has_stepsize() {
17725   _has_bits_[0] &= ~0x00020000u;
17726 }
clear_stepsize()17727 inline void SolverParameter::clear_stepsize() {
17728   stepsize_ = 0;
17729   clear_has_stepsize();
17730 }
stepsize()17731 inline ::google::protobuf::int32 SolverParameter::stepsize() const {
17732   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.stepsize)
17733   return stepsize_;
17734 }
set_stepsize(::google::protobuf::int32 value)17735 inline void SolverParameter::set_stepsize(::google::protobuf::int32 value) {
17736   set_has_stepsize();
17737   stepsize_ = value;
17738   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.stepsize)
17739 }
17740 
17741 // repeated int32 stepvalue = 34;
stepvalue_size()17742 inline int SolverParameter::stepvalue_size() const {
17743   return stepvalue_.size();
17744 }
clear_stepvalue()17745 inline void SolverParameter::clear_stepvalue() {
17746   stepvalue_.Clear();
17747 }
stepvalue(int index)17748 inline ::google::protobuf::int32 SolverParameter::stepvalue(int index) const {
17749   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.stepvalue)
17750   return stepvalue_.Get(index);
17751 }
set_stepvalue(int index,::google::protobuf::int32 value)17752 inline void SolverParameter::set_stepvalue(int index, ::google::protobuf::int32 value) {
17753   stepvalue_.Set(index, value);
17754   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.stepvalue)
17755 }
add_stepvalue(::google::protobuf::int32 value)17756 inline void SolverParameter::add_stepvalue(::google::protobuf::int32 value) {
17757   stepvalue_.Add(value);
17758   // @@protoc_insertion_point(field_add:opencv_caffe.SolverParameter.stepvalue)
17759 }
17760 inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&
stepvalue()17761 SolverParameter::stepvalue() const {
17762   // @@protoc_insertion_point(field_list:opencv_caffe.SolverParameter.stepvalue)
17763   return stepvalue_;
17764 }
17765 inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*
mutable_stepvalue()17766 SolverParameter::mutable_stepvalue() {
17767   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.SolverParameter.stepvalue)
17768   return &stepvalue_;
17769 }
17770 
17771 // optional float clip_gradients = 35 [default = -1];
has_clip_gradients()17772 inline bool SolverParameter::has_clip_gradients() const {
17773   return (_has_bits_[0] & 0x80000000u) != 0;
17774 }
set_has_clip_gradients()17775 inline void SolverParameter::set_has_clip_gradients() {
17776   _has_bits_[0] |= 0x80000000u;
17777 }
clear_has_clip_gradients()17778 inline void SolverParameter::clear_has_clip_gradients() {
17779   _has_bits_[0] &= ~0x80000000u;
17780 }
clear_clip_gradients()17781 inline void SolverParameter::clear_clip_gradients() {
17782   clip_gradients_ = -1;
17783   clear_has_clip_gradients();
17784 }
clip_gradients()17785 inline float SolverParameter::clip_gradients() const {
17786   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.clip_gradients)
17787   return clip_gradients_;
17788 }
set_clip_gradients(float value)17789 inline void SolverParameter::set_clip_gradients(float value) {
17790   set_has_clip_gradients();
17791   clip_gradients_ = value;
17792   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.clip_gradients)
17793 }
17794 
17795 // optional int32 snapshot = 14 [default = 0];
has_snapshot()17796 inline bool SolverParameter::has_snapshot() const {
17797   return (_has_bits_[0] & 0x00040000u) != 0;
17798 }
set_has_snapshot()17799 inline void SolverParameter::set_has_snapshot() {
17800   _has_bits_[0] |= 0x00040000u;
17801 }
clear_has_snapshot()17802 inline void SolverParameter::clear_has_snapshot() {
17803   _has_bits_[0] &= ~0x00040000u;
17804 }
clear_snapshot()17805 inline void SolverParameter::clear_snapshot() {
17806   snapshot_ = 0;
17807   clear_has_snapshot();
17808 }
snapshot()17809 inline ::google::protobuf::int32 SolverParameter::snapshot() const {
17810   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.snapshot)
17811   return snapshot_;
17812 }
set_snapshot(::google::protobuf::int32 value)17813 inline void SolverParameter::set_snapshot(::google::protobuf::int32 value) {
17814   set_has_snapshot();
17815   snapshot_ = value;
17816   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.snapshot)
17817 }
17818 
17819 // optional string snapshot_prefix = 15;
has_snapshot_prefix()17820 inline bool SolverParameter::has_snapshot_prefix() const {
17821   return (_has_bits_[0] & 0x00000004u) != 0;
17822 }
set_has_snapshot_prefix()17823 inline void SolverParameter::set_has_snapshot_prefix() {
17824   _has_bits_[0] |= 0x00000004u;
17825 }
clear_has_snapshot_prefix()17826 inline void SolverParameter::clear_has_snapshot_prefix() {
17827   _has_bits_[0] &= ~0x00000004u;
17828 }
clear_snapshot_prefix()17829 inline void SolverParameter::clear_snapshot_prefix() {
17830   snapshot_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17831   clear_has_snapshot_prefix();
17832 }
snapshot_prefix()17833 inline const ::std::string& SolverParameter::snapshot_prefix() const {
17834   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.snapshot_prefix)
17835   return snapshot_prefix_.GetNoArena();
17836 }
set_snapshot_prefix(const::std::string & value)17837 inline void SolverParameter::set_snapshot_prefix(const ::std::string& value) {
17838   set_has_snapshot_prefix();
17839   snapshot_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
17840   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.snapshot_prefix)
17841 }
17842 #if LANG_CXX11
set_snapshot_prefix(::std::string && value)17843 inline void SolverParameter::set_snapshot_prefix(::std::string&& value) {
17844   set_has_snapshot_prefix();
17845   snapshot_prefix_.SetNoArena(
17846     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
17847   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SolverParameter.snapshot_prefix)
17848 }
17849 #endif
set_snapshot_prefix(const char * value)17850 inline void SolverParameter::set_snapshot_prefix(const char* value) {
17851   GOOGLE_DCHECK(value != NULL);
17852   set_has_snapshot_prefix();
17853   snapshot_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
17854   // @@protoc_insertion_point(field_set_char:opencv_caffe.SolverParameter.snapshot_prefix)
17855 }
set_snapshot_prefix(const char * value,size_t size)17856 inline void SolverParameter::set_snapshot_prefix(const char* value, size_t size) {
17857   set_has_snapshot_prefix();
17858   snapshot_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
17859       ::std::string(reinterpret_cast<const char*>(value), size));
17860   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SolverParameter.snapshot_prefix)
17861 }
mutable_snapshot_prefix()17862 inline ::std::string* SolverParameter::mutable_snapshot_prefix() {
17863   set_has_snapshot_prefix();
17864   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.snapshot_prefix)
17865   return snapshot_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17866 }
release_snapshot_prefix()17867 inline ::std::string* SolverParameter::release_snapshot_prefix() {
17868   // @@protoc_insertion_point(field_release:opencv_caffe.SolverParameter.snapshot_prefix)
17869   clear_has_snapshot_prefix();
17870   return snapshot_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
17871 }
set_allocated_snapshot_prefix(::std::string * snapshot_prefix)17872 inline void SolverParameter::set_allocated_snapshot_prefix(::std::string* snapshot_prefix) {
17873   if (snapshot_prefix != NULL) {
17874     set_has_snapshot_prefix();
17875   } else {
17876     clear_has_snapshot_prefix();
17877   }
17878   snapshot_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), snapshot_prefix);
17879   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SolverParameter.snapshot_prefix)
17880 }
17881 
17882 // optional bool snapshot_diff = 16 [default = false];
has_snapshot_diff()17883 inline bool SolverParameter::has_snapshot_diff() const {
17884   return (_has_bits_[0] & 0x00200000u) != 0;
17885 }
set_has_snapshot_diff()17886 inline void SolverParameter::set_has_snapshot_diff() {
17887   _has_bits_[0] |= 0x00200000u;
17888 }
clear_has_snapshot_diff()17889 inline void SolverParameter::clear_has_snapshot_diff() {
17890   _has_bits_[0] &= ~0x00200000u;
17891 }
clear_snapshot_diff()17892 inline void SolverParameter::clear_snapshot_diff() {
17893   snapshot_diff_ = false;
17894   clear_has_snapshot_diff();
17895 }
snapshot_diff()17896 inline bool SolverParameter::snapshot_diff() const {
17897   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.snapshot_diff)
17898   return snapshot_diff_;
17899 }
set_snapshot_diff(bool value)17900 inline void SolverParameter::set_snapshot_diff(bool value) {
17901   set_has_snapshot_diff();
17902   snapshot_diff_ = value;
17903   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.snapshot_diff)
17904 }
17905 
17906 // optional .opencv_caffe.SolverParameter.SnapshotFormat snapshot_format = 37 [default = BINARYPROTO];
has_snapshot_format()17907 inline bool SolverParameter::has_snapshot_format() const {
17908   return (_has_bits_[1] & 0x00000002u) != 0;
17909 }
set_has_snapshot_format()17910 inline void SolverParameter::set_has_snapshot_format() {
17911   _has_bits_[1] |= 0x00000002u;
17912 }
clear_has_snapshot_format()17913 inline void SolverParameter::clear_has_snapshot_format() {
17914   _has_bits_[1] &= ~0x00000002u;
17915 }
clear_snapshot_format()17916 inline void SolverParameter::clear_snapshot_format() {
17917   snapshot_format_ = 1;
17918   clear_has_snapshot_format();
17919 }
snapshot_format()17920 inline ::opencv_caffe::SolverParameter_SnapshotFormat SolverParameter::snapshot_format() const {
17921   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.snapshot_format)
17922   return static_cast< ::opencv_caffe::SolverParameter_SnapshotFormat >(snapshot_format_);
17923 }
set_snapshot_format(::opencv_caffe::SolverParameter_SnapshotFormat value)17924 inline void SolverParameter::set_snapshot_format(::opencv_caffe::SolverParameter_SnapshotFormat value) {
17925   assert(::opencv_caffe::SolverParameter_SnapshotFormat_IsValid(value));
17926   set_has_snapshot_format();
17927   snapshot_format_ = value;
17928   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.snapshot_format)
17929 }
17930 
17931 // optional .opencv_caffe.SolverParameter.SolverMode solver_mode = 17 [default = GPU];
has_solver_mode()17932 inline bool SolverParameter::has_solver_mode() const {
17933   return (_has_bits_[0] & 0x04000000u) != 0;
17934 }
set_has_solver_mode()17935 inline void SolverParameter::set_has_solver_mode() {
17936   _has_bits_[0] |= 0x04000000u;
17937 }
clear_has_solver_mode()17938 inline void SolverParameter::clear_has_solver_mode() {
17939   _has_bits_[0] &= ~0x04000000u;
17940 }
clear_solver_mode()17941 inline void SolverParameter::clear_solver_mode() {
17942   solver_mode_ = 1;
17943   clear_has_solver_mode();
17944 }
solver_mode()17945 inline ::opencv_caffe::SolverParameter_SolverMode SolverParameter::solver_mode() const {
17946   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.solver_mode)
17947   return static_cast< ::opencv_caffe::SolverParameter_SolverMode >(solver_mode_);
17948 }
set_solver_mode(::opencv_caffe::SolverParameter_SolverMode value)17949 inline void SolverParameter::set_solver_mode(::opencv_caffe::SolverParameter_SolverMode value) {
17950   assert(::opencv_caffe::SolverParameter_SolverMode_IsValid(value));
17951   set_has_solver_mode();
17952   solver_mode_ = value;
17953   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.solver_mode)
17954 }
17955 
17956 // optional int32 device_id = 18 [default = 0];
has_device_id()17957 inline bool SolverParameter::has_device_id() const {
17958   return (_has_bits_[0] & 0x00080000u) != 0;
17959 }
set_has_device_id()17960 inline void SolverParameter::set_has_device_id() {
17961   _has_bits_[0] |= 0x00080000u;
17962 }
clear_has_device_id()17963 inline void SolverParameter::clear_has_device_id() {
17964   _has_bits_[0] &= ~0x00080000u;
17965 }
clear_device_id()17966 inline void SolverParameter::clear_device_id() {
17967   device_id_ = 0;
17968   clear_has_device_id();
17969 }
device_id()17970 inline ::google::protobuf::int32 SolverParameter::device_id() const {
17971   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.device_id)
17972   return device_id_;
17973 }
set_device_id(::google::protobuf::int32 value)17974 inline void SolverParameter::set_device_id(::google::protobuf::int32 value) {
17975   set_has_device_id();
17976   device_id_ = value;
17977   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.device_id)
17978 }
17979 
17980 // optional int64 random_seed = 20 [default = -1];
has_random_seed()17981 inline bool SolverParameter::has_random_seed() const {
17982   return (_has_bits_[0] & 0x02000000u) != 0;
17983 }
set_has_random_seed()17984 inline void SolverParameter::set_has_random_seed() {
17985   _has_bits_[0] |= 0x02000000u;
17986 }
clear_has_random_seed()17987 inline void SolverParameter::clear_has_random_seed() {
17988   _has_bits_[0] &= ~0x02000000u;
17989 }
clear_random_seed()17990 inline void SolverParameter::clear_random_seed() {
17991   random_seed_ = GOOGLE_LONGLONG(-1);
17992   clear_has_random_seed();
17993 }
random_seed()17994 inline ::google::protobuf::int64 SolverParameter::random_seed() const {
17995   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.random_seed)
17996   return random_seed_;
17997 }
set_random_seed(::google::protobuf::int64 value)17998 inline void SolverParameter::set_random_seed(::google::protobuf::int64 value) {
17999   set_has_random_seed();
18000   random_seed_ = value;
18001   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.random_seed)
18002 }
18003 
18004 // optional string type = 40 [default = "SGD"];
has_type()18005 inline bool SolverParameter::has_type() const {
18006   return (_has_bits_[0] & 0x00000020u) != 0;
18007 }
set_has_type()18008 inline void SolverParameter::set_has_type() {
18009   _has_bits_[0] |= 0x00000020u;
18010 }
clear_has_type()18011 inline void SolverParameter::clear_has_type() {
18012   _has_bits_[0] &= ~0x00000020u;
18013 }
clear_type()18014 inline void SolverParameter::clear_type() {
18015   type_.ClearToDefaultNoArena(&::opencv_caffe::SolverParameter::_default_type_.get());
18016   clear_has_type();
18017 }
type()18018 inline const ::std::string& SolverParameter::type() const {
18019   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.type)
18020   return type_.GetNoArena();
18021 }
set_type(const::std::string & value)18022 inline void SolverParameter::set_type(const ::std::string& value) {
18023   set_has_type();
18024   type_.SetNoArena(&::opencv_caffe::SolverParameter::_default_type_.get(), value);
18025   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.type)
18026 }
18027 #if LANG_CXX11
set_type(::std::string && value)18028 inline void SolverParameter::set_type(::std::string&& value) {
18029   set_has_type();
18030   type_.SetNoArena(
18031     &::opencv_caffe::SolverParameter::_default_type_.get(), ::std::move(value));
18032   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SolverParameter.type)
18033 }
18034 #endif
set_type(const char * value)18035 inline void SolverParameter::set_type(const char* value) {
18036   GOOGLE_DCHECK(value != NULL);
18037   set_has_type();
18038   type_.SetNoArena(&::opencv_caffe::SolverParameter::_default_type_.get(), ::std::string(value));
18039   // @@protoc_insertion_point(field_set_char:opencv_caffe.SolverParameter.type)
18040 }
set_type(const char * value,size_t size)18041 inline void SolverParameter::set_type(const char* value, size_t size) {
18042   set_has_type();
18043   type_.SetNoArena(&::opencv_caffe::SolverParameter::_default_type_.get(),
18044       ::std::string(reinterpret_cast<const char*>(value), size));
18045   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SolverParameter.type)
18046 }
mutable_type()18047 inline ::std::string* SolverParameter::mutable_type() {
18048   set_has_type();
18049   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverParameter.type)
18050   return type_.MutableNoArena(&::opencv_caffe::SolverParameter::_default_type_.get());
18051 }
release_type()18052 inline ::std::string* SolverParameter::release_type() {
18053   // @@protoc_insertion_point(field_release:opencv_caffe.SolverParameter.type)
18054   clear_has_type();
18055   return type_.ReleaseNoArena(&::opencv_caffe::SolverParameter::_default_type_.get());
18056 }
set_allocated_type(::std::string * type)18057 inline void SolverParameter::set_allocated_type(::std::string* type) {
18058   if (type != NULL) {
18059     set_has_type();
18060   } else {
18061     clear_has_type();
18062   }
18063   type_.SetAllocatedNoArena(&::opencv_caffe::SolverParameter::_default_type_.get(), type);
18064   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SolverParameter.type)
18065 }
18066 
18067 // optional float delta = 31 [default = 1e-08];
has_delta()18068 inline bool SolverParameter::has_delta() const {
18069   return (_has_bits_[0] & 0x20000000u) != 0;
18070 }
set_has_delta()18071 inline void SolverParameter::set_has_delta() {
18072   _has_bits_[0] |= 0x20000000u;
18073 }
clear_has_delta()18074 inline void SolverParameter::clear_has_delta() {
18075   _has_bits_[0] &= ~0x20000000u;
18076 }
clear_delta()18077 inline void SolverParameter::clear_delta() {
18078   delta_ = 1e-08f;
18079   clear_has_delta();
18080 }
delta()18081 inline float SolverParameter::delta() const {
18082   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.delta)
18083   return delta_;
18084 }
set_delta(float value)18085 inline void SolverParameter::set_delta(float value) {
18086   set_has_delta();
18087   delta_ = value;
18088   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.delta)
18089 }
18090 
18091 // optional float momentum2 = 39 [default = 0.999];
has_momentum2()18092 inline bool SolverParameter::has_momentum2() const {
18093   return (_has_bits_[0] & 0x01000000u) != 0;
18094 }
set_has_momentum2()18095 inline void SolverParameter::set_has_momentum2() {
18096   _has_bits_[0] |= 0x01000000u;
18097 }
clear_has_momentum2()18098 inline void SolverParameter::clear_has_momentum2() {
18099   _has_bits_[0] &= ~0x01000000u;
18100 }
clear_momentum2()18101 inline void SolverParameter::clear_momentum2() {
18102   momentum2_ = 0.999f;
18103   clear_has_momentum2();
18104 }
momentum2()18105 inline float SolverParameter::momentum2() const {
18106   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.momentum2)
18107   return momentum2_;
18108 }
set_momentum2(float value)18109 inline void SolverParameter::set_momentum2(float value) {
18110   set_has_momentum2();
18111   momentum2_ = value;
18112   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.momentum2)
18113 }
18114 
18115 // optional float rms_decay = 38 [default = 0.99];
has_rms_decay()18116 inline bool SolverParameter::has_rms_decay() const {
18117   return (_has_bits_[1] & 0x00000004u) != 0;
18118 }
set_has_rms_decay()18119 inline void SolverParameter::set_has_rms_decay() {
18120   _has_bits_[1] |= 0x00000004u;
18121 }
clear_has_rms_decay()18122 inline void SolverParameter::clear_has_rms_decay() {
18123   _has_bits_[1] &= ~0x00000004u;
18124 }
clear_rms_decay()18125 inline void SolverParameter::clear_rms_decay() {
18126   rms_decay_ = 0.99f;
18127   clear_has_rms_decay();
18128 }
rms_decay()18129 inline float SolverParameter::rms_decay() const {
18130   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.rms_decay)
18131   return rms_decay_;
18132 }
set_rms_decay(float value)18133 inline void SolverParameter::set_rms_decay(float value) {
18134   set_has_rms_decay();
18135   rms_decay_ = value;
18136   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.rms_decay)
18137 }
18138 
18139 // optional bool debug_info = 23 [default = false];
has_debug_info()18140 inline bool SolverParameter::has_debug_info() const {
18141   return (_has_bits_[0] & 0x00400000u) != 0;
18142 }
set_has_debug_info()18143 inline void SolverParameter::set_has_debug_info() {
18144   _has_bits_[0] |= 0x00400000u;
18145 }
clear_has_debug_info()18146 inline void SolverParameter::clear_has_debug_info() {
18147   _has_bits_[0] &= ~0x00400000u;
18148 }
clear_debug_info()18149 inline void SolverParameter::clear_debug_info() {
18150   debug_info_ = false;
18151   clear_has_debug_info();
18152 }
debug_info()18153 inline bool SolverParameter::debug_info() const {
18154   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.debug_info)
18155   return debug_info_;
18156 }
set_debug_info(bool value)18157 inline void SolverParameter::set_debug_info(bool value) {
18158   set_has_debug_info();
18159   debug_info_ = value;
18160   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.debug_info)
18161 }
18162 
18163 // optional bool snapshot_after_train = 28 [default = true];
has_snapshot_after_train()18164 inline bool SolverParameter::has_snapshot_after_train() const {
18165   return (_has_bits_[0] & 0x10000000u) != 0;
18166 }
set_has_snapshot_after_train()18167 inline void SolverParameter::set_has_snapshot_after_train() {
18168   _has_bits_[0] |= 0x10000000u;
18169 }
clear_has_snapshot_after_train()18170 inline void SolverParameter::clear_has_snapshot_after_train() {
18171   _has_bits_[0] &= ~0x10000000u;
18172 }
clear_snapshot_after_train()18173 inline void SolverParameter::clear_snapshot_after_train() {
18174   snapshot_after_train_ = true;
18175   clear_has_snapshot_after_train();
18176 }
snapshot_after_train()18177 inline bool SolverParameter::snapshot_after_train() const {
18178   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.snapshot_after_train)
18179   return snapshot_after_train_;
18180 }
set_snapshot_after_train(bool value)18181 inline void SolverParameter::set_snapshot_after_train(bool value) {
18182   set_has_snapshot_after_train();
18183   snapshot_after_train_ = value;
18184   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.snapshot_after_train)
18185 }
18186 
18187 // optional .opencv_caffe.SolverParameter.SolverType solver_type = 30 [default = SGD];
has_solver_type()18188 inline bool SolverParameter::has_solver_type() const {
18189   return (_has_bits_[0] & 0x00800000u) != 0;
18190 }
set_has_solver_type()18191 inline void SolverParameter::set_has_solver_type() {
18192   _has_bits_[0] |= 0x00800000u;
18193 }
clear_has_solver_type()18194 inline void SolverParameter::clear_has_solver_type() {
18195   _has_bits_[0] &= ~0x00800000u;
18196 }
clear_solver_type()18197 inline void SolverParameter::clear_solver_type() {
18198   solver_type_ = 0;
18199   clear_has_solver_type();
18200 }
solver_type()18201 inline ::opencv_caffe::SolverParameter_SolverType SolverParameter::solver_type() const {
18202   // @@protoc_insertion_point(field_get:opencv_caffe.SolverParameter.solver_type)
18203   return static_cast< ::opencv_caffe::SolverParameter_SolverType >(solver_type_);
18204 }
set_solver_type(::opencv_caffe::SolverParameter_SolverType value)18205 inline void SolverParameter::set_solver_type(::opencv_caffe::SolverParameter_SolverType value) {
18206   assert(::opencv_caffe::SolverParameter_SolverType_IsValid(value));
18207   set_has_solver_type();
18208   solver_type_ = value;
18209   // @@protoc_insertion_point(field_set:opencv_caffe.SolverParameter.solver_type)
18210 }
18211 
18212 // -------------------------------------------------------------------
18213 
18214 // SolverState
18215 
18216 // optional int32 iter = 1;
has_iter()18217 inline bool SolverState::has_iter() const {
18218   return (_has_bits_[0] & 0x00000002u) != 0;
18219 }
set_has_iter()18220 inline void SolverState::set_has_iter() {
18221   _has_bits_[0] |= 0x00000002u;
18222 }
clear_has_iter()18223 inline void SolverState::clear_has_iter() {
18224   _has_bits_[0] &= ~0x00000002u;
18225 }
clear_iter()18226 inline void SolverState::clear_iter() {
18227   iter_ = 0;
18228   clear_has_iter();
18229 }
iter()18230 inline ::google::protobuf::int32 SolverState::iter() const {
18231   // @@protoc_insertion_point(field_get:opencv_caffe.SolverState.iter)
18232   return iter_;
18233 }
set_iter(::google::protobuf::int32 value)18234 inline void SolverState::set_iter(::google::protobuf::int32 value) {
18235   set_has_iter();
18236   iter_ = value;
18237   // @@protoc_insertion_point(field_set:opencv_caffe.SolverState.iter)
18238 }
18239 
18240 // optional string learned_net = 2;
has_learned_net()18241 inline bool SolverState::has_learned_net() const {
18242   return (_has_bits_[0] & 0x00000001u) != 0;
18243 }
set_has_learned_net()18244 inline void SolverState::set_has_learned_net() {
18245   _has_bits_[0] |= 0x00000001u;
18246 }
clear_has_learned_net()18247 inline void SolverState::clear_has_learned_net() {
18248   _has_bits_[0] &= ~0x00000001u;
18249 }
clear_learned_net()18250 inline void SolverState::clear_learned_net() {
18251   learned_net_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18252   clear_has_learned_net();
18253 }
learned_net()18254 inline const ::std::string& SolverState::learned_net() const {
18255   // @@protoc_insertion_point(field_get:opencv_caffe.SolverState.learned_net)
18256   return learned_net_.GetNoArena();
18257 }
set_learned_net(const::std::string & value)18258 inline void SolverState::set_learned_net(const ::std::string& value) {
18259   set_has_learned_net();
18260   learned_net_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
18261   // @@protoc_insertion_point(field_set:opencv_caffe.SolverState.learned_net)
18262 }
18263 #if LANG_CXX11
set_learned_net(::std::string && value)18264 inline void SolverState::set_learned_net(::std::string&& value) {
18265   set_has_learned_net();
18266   learned_net_.SetNoArena(
18267     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
18268   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SolverState.learned_net)
18269 }
18270 #endif
set_learned_net(const char * value)18271 inline void SolverState::set_learned_net(const char* value) {
18272   GOOGLE_DCHECK(value != NULL);
18273   set_has_learned_net();
18274   learned_net_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
18275   // @@protoc_insertion_point(field_set_char:opencv_caffe.SolverState.learned_net)
18276 }
set_learned_net(const char * value,size_t size)18277 inline void SolverState::set_learned_net(const char* value, size_t size) {
18278   set_has_learned_net();
18279   learned_net_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
18280       ::std::string(reinterpret_cast<const char*>(value), size));
18281   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SolverState.learned_net)
18282 }
mutable_learned_net()18283 inline ::std::string* SolverState::mutable_learned_net() {
18284   set_has_learned_net();
18285   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverState.learned_net)
18286   return learned_net_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18287 }
release_learned_net()18288 inline ::std::string* SolverState::release_learned_net() {
18289   // @@protoc_insertion_point(field_release:opencv_caffe.SolverState.learned_net)
18290   clear_has_learned_net();
18291   return learned_net_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18292 }
set_allocated_learned_net(::std::string * learned_net)18293 inline void SolverState::set_allocated_learned_net(::std::string* learned_net) {
18294   if (learned_net != NULL) {
18295     set_has_learned_net();
18296   } else {
18297     clear_has_learned_net();
18298   }
18299   learned_net_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), learned_net);
18300   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SolverState.learned_net)
18301 }
18302 
18303 // repeated .opencv_caffe.BlobProto history = 3;
history_size()18304 inline int SolverState::history_size() const {
18305   return history_.size();
18306 }
clear_history()18307 inline void SolverState::clear_history() {
18308   history_.Clear();
18309 }
history(int index)18310 inline const ::opencv_caffe::BlobProto& SolverState::history(int index) const {
18311   // @@protoc_insertion_point(field_get:opencv_caffe.SolverState.history)
18312   return history_.Get(index);
18313 }
mutable_history(int index)18314 inline ::opencv_caffe::BlobProto* SolverState::mutable_history(int index) {
18315   // @@protoc_insertion_point(field_mutable:opencv_caffe.SolverState.history)
18316   return history_.Mutable(index);
18317 }
add_history()18318 inline ::opencv_caffe::BlobProto* SolverState::add_history() {
18319   // @@protoc_insertion_point(field_add:opencv_caffe.SolverState.history)
18320   return history_.Add();
18321 }
18322 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >*
mutable_history()18323 SolverState::mutable_history() {
18324   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.SolverState.history)
18325   return &history_;
18326 }
18327 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >&
history()18328 SolverState::history() const {
18329   // @@protoc_insertion_point(field_list:opencv_caffe.SolverState.history)
18330   return history_;
18331 }
18332 
18333 // optional int32 current_step = 4 [default = 0];
has_current_step()18334 inline bool SolverState::has_current_step() const {
18335   return (_has_bits_[0] & 0x00000004u) != 0;
18336 }
set_has_current_step()18337 inline void SolverState::set_has_current_step() {
18338   _has_bits_[0] |= 0x00000004u;
18339 }
clear_has_current_step()18340 inline void SolverState::clear_has_current_step() {
18341   _has_bits_[0] &= ~0x00000004u;
18342 }
clear_current_step()18343 inline void SolverState::clear_current_step() {
18344   current_step_ = 0;
18345   clear_has_current_step();
18346 }
current_step()18347 inline ::google::protobuf::int32 SolverState::current_step() const {
18348   // @@protoc_insertion_point(field_get:opencv_caffe.SolverState.current_step)
18349   return current_step_;
18350 }
set_current_step(::google::protobuf::int32 value)18351 inline void SolverState::set_current_step(::google::protobuf::int32 value) {
18352   set_has_current_step();
18353   current_step_ = value;
18354   // @@protoc_insertion_point(field_set:opencv_caffe.SolverState.current_step)
18355 }
18356 
18357 // -------------------------------------------------------------------
18358 
18359 // NetState
18360 
18361 // optional .opencv_caffe.Phase phase = 1 [default = TEST];
has_phase()18362 inline bool NetState::has_phase() const {
18363   return (_has_bits_[0] & 0x00000002u) != 0;
18364 }
set_has_phase()18365 inline void NetState::set_has_phase() {
18366   _has_bits_[0] |= 0x00000002u;
18367 }
clear_has_phase()18368 inline void NetState::clear_has_phase() {
18369   _has_bits_[0] &= ~0x00000002u;
18370 }
clear_phase()18371 inline void NetState::clear_phase() {
18372   phase_ = 1;
18373   clear_has_phase();
18374 }
phase()18375 inline ::opencv_caffe::Phase NetState::phase() const {
18376   // @@protoc_insertion_point(field_get:opencv_caffe.NetState.phase)
18377   return static_cast< ::opencv_caffe::Phase >(phase_);
18378 }
set_phase(::opencv_caffe::Phase value)18379 inline void NetState::set_phase(::opencv_caffe::Phase value) {
18380   assert(::opencv_caffe::Phase_IsValid(value));
18381   set_has_phase();
18382   phase_ = value;
18383   // @@protoc_insertion_point(field_set:opencv_caffe.NetState.phase)
18384 }
18385 
18386 // optional int32 level = 2 [default = 0];
has_level()18387 inline bool NetState::has_level() const {
18388   return (_has_bits_[0] & 0x00000001u) != 0;
18389 }
set_has_level()18390 inline void NetState::set_has_level() {
18391   _has_bits_[0] |= 0x00000001u;
18392 }
clear_has_level()18393 inline void NetState::clear_has_level() {
18394   _has_bits_[0] &= ~0x00000001u;
18395 }
clear_level()18396 inline void NetState::clear_level() {
18397   level_ = 0;
18398   clear_has_level();
18399 }
level()18400 inline ::google::protobuf::int32 NetState::level() const {
18401   // @@protoc_insertion_point(field_get:opencv_caffe.NetState.level)
18402   return level_;
18403 }
set_level(::google::protobuf::int32 value)18404 inline void NetState::set_level(::google::protobuf::int32 value) {
18405   set_has_level();
18406   level_ = value;
18407   // @@protoc_insertion_point(field_set:opencv_caffe.NetState.level)
18408 }
18409 
18410 // repeated string stage = 3;
stage_size()18411 inline int NetState::stage_size() const {
18412   return stage_.size();
18413 }
clear_stage()18414 inline void NetState::clear_stage() {
18415   stage_.Clear();
18416 }
stage(int index)18417 inline const ::std::string& NetState::stage(int index) const {
18418   // @@protoc_insertion_point(field_get:opencv_caffe.NetState.stage)
18419   return stage_.Get(index);
18420 }
mutable_stage(int index)18421 inline ::std::string* NetState::mutable_stage(int index) {
18422   // @@protoc_insertion_point(field_mutable:opencv_caffe.NetState.stage)
18423   return stage_.Mutable(index);
18424 }
set_stage(int index,const::std::string & value)18425 inline void NetState::set_stage(int index, const ::std::string& value) {
18426   // @@protoc_insertion_point(field_set:opencv_caffe.NetState.stage)
18427   stage_.Mutable(index)->assign(value);
18428 }
18429 #if LANG_CXX11
set_stage(int index,::std::string && value)18430 inline void NetState::set_stage(int index, ::std::string&& value) {
18431   // @@protoc_insertion_point(field_set:opencv_caffe.NetState.stage)
18432   stage_.Mutable(index)->assign(std::move(value));
18433 }
18434 #endif
set_stage(int index,const char * value)18435 inline void NetState::set_stage(int index, const char* value) {
18436   GOOGLE_DCHECK(value != NULL);
18437   stage_.Mutable(index)->assign(value);
18438   // @@protoc_insertion_point(field_set_char:opencv_caffe.NetState.stage)
18439 }
set_stage(int index,const char * value,size_t size)18440 inline void NetState::set_stage(int index, const char* value, size_t size) {
18441   stage_.Mutable(index)->assign(
18442     reinterpret_cast<const char*>(value), size);
18443   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.NetState.stage)
18444 }
add_stage()18445 inline ::std::string* NetState::add_stage() {
18446   // @@protoc_insertion_point(field_add_mutable:opencv_caffe.NetState.stage)
18447   return stage_.Add();
18448 }
add_stage(const::std::string & value)18449 inline void NetState::add_stage(const ::std::string& value) {
18450   stage_.Add()->assign(value);
18451   // @@protoc_insertion_point(field_add:opencv_caffe.NetState.stage)
18452 }
18453 #if LANG_CXX11
add_stage(::std::string && value)18454 inline void NetState::add_stage(::std::string&& value) {
18455   stage_.Add(std::move(value));
18456   // @@protoc_insertion_point(field_add:opencv_caffe.NetState.stage)
18457 }
18458 #endif
add_stage(const char * value)18459 inline void NetState::add_stage(const char* value) {
18460   GOOGLE_DCHECK(value != NULL);
18461   stage_.Add()->assign(value);
18462   // @@protoc_insertion_point(field_add_char:opencv_caffe.NetState.stage)
18463 }
add_stage(const char * value,size_t size)18464 inline void NetState::add_stage(const char* value, size_t size) {
18465   stage_.Add()->assign(reinterpret_cast<const char*>(value), size);
18466   // @@protoc_insertion_point(field_add_pointer:opencv_caffe.NetState.stage)
18467 }
18468 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
stage()18469 NetState::stage() const {
18470   // @@protoc_insertion_point(field_list:opencv_caffe.NetState.stage)
18471   return stage_;
18472 }
18473 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_stage()18474 NetState::mutable_stage() {
18475   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.NetState.stage)
18476   return &stage_;
18477 }
18478 
18479 // -------------------------------------------------------------------
18480 
18481 // NetStateRule
18482 
18483 // optional .opencv_caffe.Phase phase = 1;
has_phase()18484 inline bool NetStateRule::has_phase() const {
18485   return (_has_bits_[0] & 0x00000001u) != 0;
18486 }
set_has_phase()18487 inline void NetStateRule::set_has_phase() {
18488   _has_bits_[0] |= 0x00000001u;
18489 }
clear_has_phase()18490 inline void NetStateRule::clear_has_phase() {
18491   _has_bits_[0] &= ~0x00000001u;
18492 }
clear_phase()18493 inline void NetStateRule::clear_phase() {
18494   phase_ = 0;
18495   clear_has_phase();
18496 }
phase()18497 inline ::opencv_caffe::Phase NetStateRule::phase() const {
18498   // @@protoc_insertion_point(field_get:opencv_caffe.NetStateRule.phase)
18499   return static_cast< ::opencv_caffe::Phase >(phase_);
18500 }
set_phase(::opencv_caffe::Phase value)18501 inline void NetStateRule::set_phase(::opencv_caffe::Phase value) {
18502   assert(::opencv_caffe::Phase_IsValid(value));
18503   set_has_phase();
18504   phase_ = value;
18505   // @@protoc_insertion_point(field_set:opencv_caffe.NetStateRule.phase)
18506 }
18507 
18508 // optional int32 min_level = 2;
has_min_level()18509 inline bool NetStateRule::has_min_level() const {
18510   return (_has_bits_[0] & 0x00000002u) != 0;
18511 }
set_has_min_level()18512 inline void NetStateRule::set_has_min_level() {
18513   _has_bits_[0] |= 0x00000002u;
18514 }
clear_has_min_level()18515 inline void NetStateRule::clear_has_min_level() {
18516   _has_bits_[0] &= ~0x00000002u;
18517 }
clear_min_level()18518 inline void NetStateRule::clear_min_level() {
18519   min_level_ = 0;
18520   clear_has_min_level();
18521 }
min_level()18522 inline ::google::protobuf::int32 NetStateRule::min_level() const {
18523   // @@protoc_insertion_point(field_get:opencv_caffe.NetStateRule.min_level)
18524   return min_level_;
18525 }
set_min_level(::google::protobuf::int32 value)18526 inline void NetStateRule::set_min_level(::google::protobuf::int32 value) {
18527   set_has_min_level();
18528   min_level_ = value;
18529   // @@protoc_insertion_point(field_set:opencv_caffe.NetStateRule.min_level)
18530 }
18531 
18532 // optional int32 max_level = 3;
has_max_level()18533 inline bool NetStateRule::has_max_level() const {
18534   return (_has_bits_[0] & 0x00000004u) != 0;
18535 }
set_has_max_level()18536 inline void NetStateRule::set_has_max_level() {
18537   _has_bits_[0] |= 0x00000004u;
18538 }
clear_has_max_level()18539 inline void NetStateRule::clear_has_max_level() {
18540   _has_bits_[0] &= ~0x00000004u;
18541 }
clear_max_level()18542 inline void NetStateRule::clear_max_level() {
18543   max_level_ = 0;
18544   clear_has_max_level();
18545 }
max_level()18546 inline ::google::protobuf::int32 NetStateRule::max_level() const {
18547   // @@protoc_insertion_point(field_get:opencv_caffe.NetStateRule.max_level)
18548   return max_level_;
18549 }
set_max_level(::google::protobuf::int32 value)18550 inline void NetStateRule::set_max_level(::google::protobuf::int32 value) {
18551   set_has_max_level();
18552   max_level_ = value;
18553   // @@protoc_insertion_point(field_set:opencv_caffe.NetStateRule.max_level)
18554 }
18555 
18556 // repeated string stage = 4;
stage_size()18557 inline int NetStateRule::stage_size() const {
18558   return stage_.size();
18559 }
clear_stage()18560 inline void NetStateRule::clear_stage() {
18561   stage_.Clear();
18562 }
stage(int index)18563 inline const ::std::string& NetStateRule::stage(int index) const {
18564   // @@protoc_insertion_point(field_get:opencv_caffe.NetStateRule.stage)
18565   return stage_.Get(index);
18566 }
mutable_stage(int index)18567 inline ::std::string* NetStateRule::mutable_stage(int index) {
18568   // @@protoc_insertion_point(field_mutable:opencv_caffe.NetStateRule.stage)
18569   return stage_.Mutable(index);
18570 }
set_stage(int index,const::std::string & value)18571 inline void NetStateRule::set_stage(int index, const ::std::string& value) {
18572   // @@protoc_insertion_point(field_set:opencv_caffe.NetStateRule.stage)
18573   stage_.Mutable(index)->assign(value);
18574 }
18575 #if LANG_CXX11
set_stage(int index,::std::string && value)18576 inline void NetStateRule::set_stage(int index, ::std::string&& value) {
18577   // @@protoc_insertion_point(field_set:opencv_caffe.NetStateRule.stage)
18578   stage_.Mutable(index)->assign(std::move(value));
18579 }
18580 #endif
set_stage(int index,const char * value)18581 inline void NetStateRule::set_stage(int index, const char* value) {
18582   GOOGLE_DCHECK(value != NULL);
18583   stage_.Mutable(index)->assign(value);
18584   // @@protoc_insertion_point(field_set_char:opencv_caffe.NetStateRule.stage)
18585 }
set_stage(int index,const char * value,size_t size)18586 inline void NetStateRule::set_stage(int index, const char* value, size_t size) {
18587   stage_.Mutable(index)->assign(
18588     reinterpret_cast<const char*>(value), size);
18589   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.NetStateRule.stage)
18590 }
add_stage()18591 inline ::std::string* NetStateRule::add_stage() {
18592   // @@protoc_insertion_point(field_add_mutable:opencv_caffe.NetStateRule.stage)
18593   return stage_.Add();
18594 }
add_stage(const::std::string & value)18595 inline void NetStateRule::add_stage(const ::std::string& value) {
18596   stage_.Add()->assign(value);
18597   // @@protoc_insertion_point(field_add:opencv_caffe.NetStateRule.stage)
18598 }
18599 #if LANG_CXX11
add_stage(::std::string && value)18600 inline void NetStateRule::add_stage(::std::string&& value) {
18601   stage_.Add(std::move(value));
18602   // @@protoc_insertion_point(field_add:opencv_caffe.NetStateRule.stage)
18603 }
18604 #endif
add_stage(const char * value)18605 inline void NetStateRule::add_stage(const char* value) {
18606   GOOGLE_DCHECK(value != NULL);
18607   stage_.Add()->assign(value);
18608   // @@protoc_insertion_point(field_add_char:opencv_caffe.NetStateRule.stage)
18609 }
add_stage(const char * value,size_t size)18610 inline void NetStateRule::add_stage(const char* value, size_t size) {
18611   stage_.Add()->assign(reinterpret_cast<const char*>(value), size);
18612   // @@protoc_insertion_point(field_add_pointer:opencv_caffe.NetStateRule.stage)
18613 }
18614 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
stage()18615 NetStateRule::stage() const {
18616   // @@protoc_insertion_point(field_list:opencv_caffe.NetStateRule.stage)
18617   return stage_;
18618 }
18619 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_stage()18620 NetStateRule::mutable_stage() {
18621   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.NetStateRule.stage)
18622   return &stage_;
18623 }
18624 
18625 // repeated string not_stage = 5;
not_stage_size()18626 inline int NetStateRule::not_stage_size() const {
18627   return not_stage_.size();
18628 }
clear_not_stage()18629 inline void NetStateRule::clear_not_stage() {
18630   not_stage_.Clear();
18631 }
not_stage(int index)18632 inline const ::std::string& NetStateRule::not_stage(int index) const {
18633   // @@protoc_insertion_point(field_get:opencv_caffe.NetStateRule.not_stage)
18634   return not_stage_.Get(index);
18635 }
mutable_not_stage(int index)18636 inline ::std::string* NetStateRule::mutable_not_stage(int index) {
18637   // @@protoc_insertion_point(field_mutable:opencv_caffe.NetStateRule.not_stage)
18638   return not_stage_.Mutable(index);
18639 }
set_not_stage(int index,const::std::string & value)18640 inline void NetStateRule::set_not_stage(int index, const ::std::string& value) {
18641   // @@protoc_insertion_point(field_set:opencv_caffe.NetStateRule.not_stage)
18642   not_stage_.Mutable(index)->assign(value);
18643 }
18644 #if LANG_CXX11
set_not_stage(int index,::std::string && value)18645 inline void NetStateRule::set_not_stage(int index, ::std::string&& value) {
18646   // @@protoc_insertion_point(field_set:opencv_caffe.NetStateRule.not_stage)
18647   not_stage_.Mutable(index)->assign(std::move(value));
18648 }
18649 #endif
set_not_stage(int index,const char * value)18650 inline void NetStateRule::set_not_stage(int index, const char* value) {
18651   GOOGLE_DCHECK(value != NULL);
18652   not_stage_.Mutable(index)->assign(value);
18653   // @@protoc_insertion_point(field_set_char:opencv_caffe.NetStateRule.not_stage)
18654 }
set_not_stage(int index,const char * value,size_t size)18655 inline void NetStateRule::set_not_stage(int index, const char* value, size_t size) {
18656   not_stage_.Mutable(index)->assign(
18657     reinterpret_cast<const char*>(value), size);
18658   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.NetStateRule.not_stage)
18659 }
add_not_stage()18660 inline ::std::string* NetStateRule::add_not_stage() {
18661   // @@protoc_insertion_point(field_add_mutable:opencv_caffe.NetStateRule.not_stage)
18662   return not_stage_.Add();
18663 }
add_not_stage(const::std::string & value)18664 inline void NetStateRule::add_not_stage(const ::std::string& value) {
18665   not_stage_.Add()->assign(value);
18666   // @@protoc_insertion_point(field_add:opencv_caffe.NetStateRule.not_stage)
18667 }
18668 #if LANG_CXX11
add_not_stage(::std::string && value)18669 inline void NetStateRule::add_not_stage(::std::string&& value) {
18670   not_stage_.Add(std::move(value));
18671   // @@protoc_insertion_point(field_add:opencv_caffe.NetStateRule.not_stage)
18672 }
18673 #endif
add_not_stage(const char * value)18674 inline void NetStateRule::add_not_stage(const char* value) {
18675   GOOGLE_DCHECK(value != NULL);
18676   not_stage_.Add()->assign(value);
18677   // @@protoc_insertion_point(field_add_char:opencv_caffe.NetStateRule.not_stage)
18678 }
add_not_stage(const char * value,size_t size)18679 inline void NetStateRule::add_not_stage(const char* value, size_t size) {
18680   not_stage_.Add()->assign(reinterpret_cast<const char*>(value), size);
18681   // @@protoc_insertion_point(field_add_pointer:opencv_caffe.NetStateRule.not_stage)
18682 }
18683 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
not_stage()18684 NetStateRule::not_stage() const {
18685   // @@protoc_insertion_point(field_list:opencv_caffe.NetStateRule.not_stage)
18686   return not_stage_;
18687 }
18688 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_not_stage()18689 NetStateRule::mutable_not_stage() {
18690   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.NetStateRule.not_stage)
18691   return &not_stage_;
18692 }
18693 
18694 // -------------------------------------------------------------------
18695 
18696 // ParamSpec
18697 
18698 // optional string name = 1;
has_name()18699 inline bool ParamSpec::has_name() const {
18700   return (_has_bits_[0] & 0x00000001u) != 0;
18701 }
set_has_name()18702 inline void ParamSpec::set_has_name() {
18703   _has_bits_[0] |= 0x00000001u;
18704 }
clear_has_name()18705 inline void ParamSpec::clear_has_name() {
18706   _has_bits_[0] &= ~0x00000001u;
18707 }
clear_name()18708 inline void ParamSpec::clear_name() {
18709   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18710   clear_has_name();
18711 }
name()18712 inline const ::std::string& ParamSpec::name() const {
18713   // @@protoc_insertion_point(field_get:opencv_caffe.ParamSpec.name)
18714   return name_.GetNoArena();
18715 }
set_name(const::std::string & value)18716 inline void ParamSpec::set_name(const ::std::string& value) {
18717   set_has_name();
18718   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
18719   // @@protoc_insertion_point(field_set:opencv_caffe.ParamSpec.name)
18720 }
18721 #if LANG_CXX11
set_name(::std::string && value)18722 inline void ParamSpec::set_name(::std::string&& value) {
18723   set_has_name();
18724   name_.SetNoArena(
18725     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
18726   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.ParamSpec.name)
18727 }
18728 #endif
set_name(const char * value)18729 inline void ParamSpec::set_name(const char* value) {
18730   GOOGLE_DCHECK(value != NULL);
18731   set_has_name();
18732   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
18733   // @@protoc_insertion_point(field_set_char:opencv_caffe.ParamSpec.name)
18734 }
set_name(const char * value,size_t size)18735 inline void ParamSpec::set_name(const char* value, size_t size) {
18736   set_has_name();
18737   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
18738       ::std::string(reinterpret_cast<const char*>(value), size));
18739   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.ParamSpec.name)
18740 }
mutable_name()18741 inline ::std::string* ParamSpec::mutable_name() {
18742   set_has_name();
18743   // @@protoc_insertion_point(field_mutable:opencv_caffe.ParamSpec.name)
18744   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18745 }
release_name()18746 inline ::std::string* ParamSpec::release_name() {
18747   // @@protoc_insertion_point(field_release:opencv_caffe.ParamSpec.name)
18748   clear_has_name();
18749   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18750 }
set_allocated_name(::std::string * name)18751 inline void ParamSpec::set_allocated_name(::std::string* name) {
18752   if (name != NULL) {
18753     set_has_name();
18754   } else {
18755     clear_has_name();
18756   }
18757   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
18758   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.ParamSpec.name)
18759 }
18760 
18761 // optional .opencv_caffe.ParamSpec.DimCheckMode share_mode = 2;
has_share_mode()18762 inline bool ParamSpec::has_share_mode() const {
18763   return (_has_bits_[0] & 0x00000002u) != 0;
18764 }
set_has_share_mode()18765 inline void ParamSpec::set_has_share_mode() {
18766   _has_bits_[0] |= 0x00000002u;
18767 }
clear_has_share_mode()18768 inline void ParamSpec::clear_has_share_mode() {
18769   _has_bits_[0] &= ~0x00000002u;
18770 }
clear_share_mode()18771 inline void ParamSpec::clear_share_mode() {
18772   share_mode_ = 0;
18773   clear_has_share_mode();
18774 }
share_mode()18775 inline ::opencv_caffe::ParamSpec_DimCheckMode ParamSpec::share_mode() const {
18776   // @@protoc_insertion_point(field_get:opencv_caffe.ParamSpec.share_mode)
18777   return static_cast< ::opencv_caffe::ParamSpec_DimCheckMode >(share_mode_);
18778 }
set_share_mode(::opencv_caffe::ParamSpec_DimCheckMode value)18779 inline void ParamSpec::set_share_mode(::opencv_caffe::ParamSpec_DimCheckMode value) {
18780   assert(::opencv_caffe::ParamSpec_DimCheckMode_IsValid(value));
18781   set_has_share_mode();
18782   share_mode_ = value;
18783   // @@protoc_insertion_point(field_set:opencv_caffe.ParamSpec.share_mode)
18784 }
18785 
18786 // optional float lr_mult = 3 [default = 1];
has_lr_mult()18787 inline bool ParamSpec::has_lr_mult() const {
18788   return (_has_bits_[0] & 0x00000004u) != 0;
18789 }
set_has_lr_mult()18790 inline void ParamSpec::set_has_lr_mult() {
18791   _has_bits_[0] |= 0x00000004u;
18792 }
clear_has_lr_mult()18793 inline void ParamSpec::clear_has_lr_mult() {
18794   _has_bits_[0] &= ~0x00000004u;
18795 }
clear_lr_mult()18796 inline void ParamSpec::clear_lr_mult() {
18797   lr_mult_ = 1;
18798   clear_has_lr_mult();
18799 }
lr_mult()18800 inline float ParamSpec::lr_mult() const {
18801   // @@protoc_insertion_point(field_get:opencv_caffe.ParamSpec.lr_mult)
18802   return lr_mult_;
18803 }
set_lr_mult(float value)18804 inline void ParamSpec::set_lr_mult(float value) {
18805   set_has_lr_mult();
18806   lr_mult_ = value;
18807   // @@protoc_insertion_point(field_set:opencv_caffe.ParamSpec.lr_mult)
18808 }
18809 
18810 // optional float decay_mult = 4 [default = 1];
has_decay_mult()18811 inline bool ParamSpec::has_decay_mult() const {
18812   return (_has_bits_[0] & 0x00000008u) != 0;
18813 }
set_has_decay_mult()18814 inline void ParamSpec::set_has_decay_mult() {
18815   _has_bits_[0] |= 0x00000008u;
18816 }
clear_has_decay_mult()18817 inline void ParamSpec::clear_has_decay_mult() {
18818   _has_bits_[0] &= ~0x00000008u;
18819 }
clear_decay_mult()18820 inline void ParamSpec::clear_decay_mult() {
18821   decay_mult_ = 1;
18822   clear_has_decay_mult();
18823 }
decay_mult()18824 inline float ParamSpec::decay_mult() const {
18825   // @@protoc_insertion_point(field_get:opencv_caffe.ParamSpec.decay_mult)
18826   return decay_mult_;
18827 }
set_decay_mult(float value)18828 inline void ParamSpec::set_decay_mult(float value) {
18829   set_has_decay_mult();
18830   decay_mult_ = value;
18831   // @@protoc_insertion_point(field_set:opencv_caffe.ParamSpec.decay_mult)
18832 }
18833 
18834 // -------------------------------------------------------------------
18835 
18836 // LayerParameter
18837 
18838 // optional string name = 1;
has_name()18839 inline bool LayerParameter::has_name() const {
18840   return (_has_bits_[0] & 0x00000001u) != 0;
18841 }
set_has_name()18842 inline void LayerParameter::set_has_name() {
18843   _has_bits_[0] |= 0x00000001u;
18844 }
clear_has_name()18845 inline void LayerParameter::clear_has_name() {
18846   _has_bits_[0] &= ~0x00000001u;
18847 }
clear_name()18848 inline void LayerParameter::clear_name() {
18849   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18850   clear_has_name();
18851 }
name()18852 inline const ::std::string& LayerParameter::name() const {
18853   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.name)
18854   return name_.GetNoArena();
18855 }
set_name(const::std::string & value)18856 inline void LayerParameter::set_name(const ::std::string& value) {
18857   set_has_name();
18858   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
18859   // @@protoc_insertion_point(field_set:opencv_caffe.LayerParameter.name)
18860 }
18861 #if LANG_CXX11
set_name(::std::string && value)18862 inline void LayerParameter::set_name(::std::string&& value) {
18863   set_has_name();
18864   name_.SetNoArena(
18865     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
18866   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.LayerParameter.name)
18867 }
18868 #endif
set_name(const char * value)18869 inline void LayerParameter::set_name(const char* value) {
18870   GOOGLE_DCHECK(value != NULL);
18871   set_has_name();
18872   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
18873   // @@protoc_insertion_point(field_set_char:opencv_caffe.LayerParameter.name)
18874 }
set_name(const char * value,size_t size)18875 inline void LayerParameter::set_name(const char* value, size_t size) {
18876   set_has_name();
18877   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
18878       ::std::string(reinterpret_cast<const char*>(value), size));
18879   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.LayerParameter.name)
18880 }
mutable_name()18881 inline ::std::string* LayerParameter::mutable_name() {
18882   set_has_name();
18883   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.name)
18884   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18885 }
release_name()18886 inline ::std::string* LayerParameter::release_name() {
18887   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.name)
18888   clear_has_name();
18889   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18890 }
set_allocated_name(::std::string * name)18891 inline void LayerParameter::set_allocated_name(::std::string* name) {
18892   if (name != NULL) {
18893     set_has_name();
18894   } else {
18895     clear_has_name();
18896   }
18897   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
18898   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.name)
18899 }
18900 
18901 // optional string type = 2;
has_type()18902 inline bool LayerParameter::has_type() const {
18903   return (_has_bits_[0] & 0x00000002u) != 0;
18904 }
set_has_type()18905 inline void LayerParameter::set_has_type() {
18906   _has_bits_[0] |= 0x00000002u;
18907 }
clear_has_type()18908 inline void LayerParameter::clear_has_type() {
18909   _has_bits_[0] &= ~0x00000002u;
18910 }
clear_type()18911 inline void LayerParameter::clear_type() {
18912   type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18913   clear_has_type();
18914 }
type()18915 inline const ::std::string& LayerParameter::type() const {
18916   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.type)
18917   return type_.GetNoArena();
18918 }
set_type(const::std::string & value)18919 inline void LayerParameter::set_type(const ::std::string& value) {
18920   set_has_type();
18921   type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
18922   // @@protoc_insertion_point(field_set:opencv_caffe.LayerParameter.type)
18923 }
18924 #if LANG_CXX11
set_type(::std::string && value)18925 inline void LayerParameter::set_type(::std::string&& value) {
18926   set_has_type();
18927   type_.SetNoArena(
18928     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
18929   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.LayerParameter.type)
18930 }
18931 #endif
set_type(const char * value)18932 inline void LayerParameter::set_type(const char* value) {
18933   GOOGLE_DCHECK(value != NULL);
18934   set_has_type();
18935   type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
18936   // @@protoc_insertion_point(field_set_char:opencv_caffe.LayerParameter.type)
18937 }
set_type(const char * value,size_t size)18938 inline void LayerParameter::set_type(const char* value, size_t size) {
18939   set_has_type();
18940   type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
18941       ::std::string(reinterpret_cast<const char*>(value), size));
18942   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.LayerParameter.type)
18943 }
mutable_type()18944 inline ::std::string* LayerParameter::mutable_type() {
18945   set_has_type();
18946   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.type)
18947   return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18948 }
release_type()18949 inline ::std::string* LayerParameter::release_type() {
18950   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.type)
18951   clear_has_type();
18952   return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
18953 }
set_allocated_type(::std::string * type)18954 inline void LayerParameter::set_allocated_type(::std::string* type) {
18955   if (type != NULL) {
18956     set_has_type();
18957   } else {
18958     clear_has_type();
18959   }
18960   type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type);
18961   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.type)
18962 }
18963 
18964 // repeated string bottom = 3;
bottom_size()18965 inline int LayerParameter::bottom_size() const {
18966   return bottom_.size();
18967 }
clear_bottom()18968 inline void LayerParameter::clear_bottom() {
18969   bottom_.Clear();
18970 }
bottom(int index)18971 inline const ::std::string& LayerParameter::bottom(int index) const {
18972   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.bottom)
18973   return bottom_.Get(index);
18974 }
mutable_bottom(int index)18975 inline ::std::string* LayerParameter::mutable_bottom(int index) {
18976   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.bottom)
18977   return bottom_.Mutable(index);
18978 }
set_bottom(int index,const::std::string & value)18979 inline void LayerParameter::set_bottom(int index, const ::std::string& value) {
18980   // @@protoc_insertion_point(field_set:opencv_caffe.LayerParameter.bottom)
18981   bottom_.Mutable(index)->assign(value);
18982 }
18983 #if LANG_CXX11
set_bottom(int index,::std::string && value)18984 inline void LayerParameter::set_bottom(int index, ::std::string&& value) {
18985   // @@protoc_insertion_point(field_set:opencv_caffe.LayerParameter.bottom)
18986   bottom_.Mutable(index)->assign(std::move(value));
18987 }
18988 #endif
set_bottom(int index,const char * value)18989 inline void LayerParameter::set_bottom(int index, const char* value) {
18990   GOOGLE_DCHECK(value != NULL);
18991   bottom_.Mutable(index)->assign(value);
18992   // @@protoc_insertion_point(field_set_char:opencv_caffe.LayerParameter.bottom)
18993 }
set_bottom(int index,const char * value,size_t size)18994 inline void LayerParameter::set_bottom(int index, const char* value, size_t size) {
18995   bottom_.Mutable(index)->assign(
18996     reinterpret_cast<const char*>(value), size);
18997   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.LayerParameter.bottom)
18998 }
add_bottom()18999 inline ::std::string* LayerParameter::add_bottom() {
19000   // @@protoc_insertion_point(field_add_mutable:opencv_caffe.LayerParameter.bottom)
19001   return bottom_.Add();
19002 }
add_bottom(const::std::string & value)19003 inline void LayerParameter::add_bottom(const ::std::string& value) {
19004   bottom_.Add()->assign(value);
19005   // @@protoc_insertion_point(field_add:opencv_caffe.LayerParameter.bottom)
19006 }
19007 #if LANG_CXX11
add_bottom(::std::string && value)19008 inline void LayerParameter::add_bottom(::std::string&& value) {
19009   bottom_.Add(std::move(value));
19010   // @@protoc_insertion_point(field_add:opencv_caffe.LayerParameter.bottom)
19011 }
19012 #endif
add_bottom(const char * value)19013 inline void LayerParameter::add_bottom(const char* value) {
19014   GOOGLE_DCHECK(value != NULL);
19015   bottom_.Add()->assign(value);
19016   // @@protoc_insertion_point(field_add_char:opencv_caffe.LayerParameter.bottom)
19017 }
add_bottom(const char * value,size_t size)19018 inline void LayerParameter::add_bottom(const char* value, size_t size) {
19019   bottom_.Add()->assign(reinterpret_cast<const char*>(value), size);
19020   // @@protoc_insertion_point(field_add_pointer:opencv_caffe.LayerParameter.bottom)
19021 }
19022 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
bottom()19023 LayerParameter::bottom() const {
19024   // @@protoc_insertion_point(field_list:opencv_caffe.LayerParameter.bottom)
19025   return bottom_;
19026 }
19027 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_bottom()19028 LayerParameter::mutable_bottom() {
19029   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.LayerParameter.bottom)
19030   return &bottom_;
19031 }
19032 
19033 // repeated string top = 4;
top_size()19034 inline int LayerParameter::top_size() const {
19035   return top_.size();
19036 }
clear_top()19037 inline void LayerParameter::clear_top() {
19038   top_.Clear();
19039 }
top(int index)19040 inline const ::std::string& LayerParameter::top(int index) const {
19041   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.top)
19042   return top_.Get(index);
19043 }
mutable_top(int index)19044 inline ::std::string* LayerParameter::mutable_top(int index) {
19045   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.top)
19046   return top_.Mutable(index);
19047 }
set_top(int index,const::std::string & value)19048 inline void LayerParameter::set_top(int index, const ::std::string& value) {
19049   // @@protoc_insertion_point(field_set:opencv_caffe.LayerParameter.top)
19050   top_.Mutable(index)->assign(value);
19051 }
19052 #if LANG_CXX11
set_top(int index,::std::string && value)19053 inline void LayerParameter::set_top(int index, ::std::string&& value) {
19054   // @@protoc_insertion_point(field_set:opencv_caffe.LayerParameter.top)
19055   top_.Mutable(index)->assign(std::move(value));
19056 }
19057 #endif
set_top(int index,const char * value)19058 inline void LayerParameter::set_top(int index, const char* value) {
19059   GOOGLE_DCHECK(value != NULL);
19060   top_.Mutable(index)->assign(value);
19061   // @@protoc_insertion_point(field_set_char:opencv_caffe.LayerParameter.top)
19062 }
set_top(int index,const char * value,size_t size)19063 inline void LayerParameter::set_top(int index, const char* value, size_t size) {
19064   top_.Mutable(index)->assign(
19065     reinterpret_cast<const char*>(value), size);
19066   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.LayerParameter.top)
19067 }
add_top()19068 inline ::std::string* LayerParameter::add_top() {
19069   // @@protoc_insertion_point(field_add_mutable:opencv_caffe.LayerParameter.top)
19070   return top_.Add();
19071 }
add_top(const::std::string & value)19072 inline void LayerParameter::add_top(const ::std::string& value) {
19073   top_.Add()->assign(value);
19074   // @@protoc_insertion_point(field_add:opencv_caffe.LayerParameter.top)
19075 }
19076 #if LANG_CXX11
add_top(::std::string && value)19077 inline void LayerParameter::add_top(::std::string&& value) {
19078   top_.Add(std::move(value));
19079   // @@protoc_insertion_point(field_add:opencv_caffe.LayerParameter.top)
19080 }
19081 #endif
add_top(const char * value)19082 inline void LayerParameter::add_top(const char* value) {
19083   GOOGLE_DCHECK(value != NULL);
19084   top_.Add()->assign(value);
19085   // @@protoc_insertion_point(field_add_char:opencv_caffe.LayerParameter.top)
19086 }
add_top(const char * value,size_t size)19087 inline void LayerParameter::add_top(const char* value, size_t size) {
19088   top_.Add()->assign(reinterpret_cast<const char*>(value), size);
19089   // @@protoc_insertion_point(field_add_pointer:opencv_caffe.LayerParameter.top)
19090 }
19091 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
top()19092 LayerParameter::top() const {
19093   // @@protoc_insertion_point(field_list:opencv_caffe.LayerParameter.top)
19094   return top_;
19095 }
19096 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_top()19097 LayerParameter::mutable_top() {
19098   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.LayerParameter.top)
19099   return &top_;
19100 }
19101 
19102 // optional .opencv_caffe.Phase phase = 10;
has_phase()19103 inline bool LayerParameter::has_phase() const {
19104   return (_has_bits_[1] & 0x01000000u) != 0;
19105 }
set_has_phase()19106 inline void LayerParameter::set_has_phase() {
19107   _has_bits_[1] |= 0x01000000u;
19108 }
clear_has_phase()19109 inline void LayerParameter::clear_has_phase() {
19110   _has_bits_[1] &= ~0x01000000u;
19111 }
clear_phase()19112 inline void LayerParameter::clear_phase() {
19113   phase_ = 0;
19114   clear_has_phase();
19115 }
phase()19116 inline ::opencv_caffe::Phase LayerParameter::phase() const {
19117   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.phase)
19118   return static_cast< ::opencv_caffe::Phase >(phase_);
19119 }
set_phase(::opencv_caffe::Phase value)19120 inline void LayerParameter::set_phase(::opencv_caffe::Phase value) {
19121   assert(::opencv_caffe::Phase_IsValid(value));
19122   set_has_phase();
19123   phase_ = value;
19124   // @@protoc_insertion_point(field_set:opencv_caffe.LayerParameter.phase)
19125 }
19126 
19127 // repeated float loss_weight = 5;
loss_weight_size()19128 inline int LayerParameter::loss_weight_size() const {
19129   return loss_weight_.size();
19130 }
clear_loss_weight()19131 inline void LayerParameter::clear_loss_weight() {
19132   loss_weight_.Clear();
19133 }
loss_weight(int index)19134 inline float LayerParameter::loss_weight(int index) const {
19135   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.loss_weight)
19136   return loss_weight_.Get(index);
19137 }
set_loss_weight(int index,float value)19138 inline void LayerParameter::set_loss_weight(int index, float value) {
19139   loss_weight_.Set(index, value);
19140   // @@protoc_insertion_point(field_set:opencv_caffe.LayerParameter.loss_weight)
19141 }
add_loss_weight(float value)19142 inline void LayerParameter::add_loss_weight(float value) {
19143   loss_weight_.Add(value);
19144   // @@protoc_insertion_point(field_add:opencv_caffe.LayerParameter.loss_weight)
19145 }
19146 inline const ::google::protobuf::RepeatedField< float >&
loss_weight()19147 LayerParameter::loss_weight() const {
19148   // @@protoc_insertion_point(field_list:opencv_caffe.LayerParameter.loss_weight)
19149   return loss_weight_;
19150 }
19151 inline ::google::protobuf::RepeatedField< float >*
mutable_loss_weight()19152 LayerParameter::mutable_loss_weight() {
19153   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.LayerParameter.loss_weight)
19154   return &loss_weight_;
19155 }
19156 
19157 // repeated .opencv_caffe.ParamSpec param = 6;
param_size()19158 inline int LayerParameter::param_size() const {
19159   return param_.size();
19160 }
clear_param()19161 inline void LayerParameter::clear_param() {
19162   param_.Clear();
19163 }
param(int index)19164 inline const ::opencv_caffe::ParamSpec& LayerParameter::param(int index) const {
19165   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.param)
19166   return param_.Get(index);
19167 }
mutable_param(int index)19168 inline ::opencv_caffe::ParamSpec* LayerParameter::mutable_param(int index) {
19169   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.param)
19170   return param_.Mutable(index);
19171 }
add_param()19172 inline ::opencv_caffe::ParamSpec* LayerParameter::add_param() {
19173   // @@protoc_insertion_point(field_add:opencv_caffe.LayerParameter.param)
19174   return param_.Add();
19175 }
19176 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::ParamSpec >*
mutable_param()19177 LayerParameter::mutable_param() {
19178   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.LayerParameter.param)
19179   return &param_;
19180 }
19181 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::ParamSpec >&
param()19182 LayerParameter::param() const {
19183   // @@protoc_insertion_point(field_list:opencv_caffe.LayerParameter.param)
19184   return param_;
19185 }
19186 
19187 // repeated .opencv_caffe.BlobProto blobs = 7;
blobs_size()19188 inline int LayerParameter::blobs_size() const {
19189   return blobs_.size();
19190 }
clear_blobs()19191 inline void LayerParameter::clear_blobs() {
19192   blobs_.Clear();
19193 }
blobs(int index)19194 inline const ::opencv_caffe::BlobProto& LayerParameter::blobs(int index) const {
19195   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.blobs)
19196   return blobs_.Get(index);
19197 }
mutable_blobs(int index)19198 inline ::opencv_caffe::BlobProto* LayerParameter::mutable_blobs(int index) {
19199   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.blobs)
19200   return blobs_.Mutable(index);
19201 }
add_blobs()19202 inline ::opencv_caffe::BlobProto* LayerParameter::add_blobs() {
19203   // @@protoc_insertion_point(field_add:opencv_caffe.LayerParameter.blobs)
19204   return blobs_.Add();
19205 }
19206 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >*
mutable_blobs()19207 LayerParameter::mutable_blobs() {
19208   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.LayerParameter.blobs)
19209   return &blobs_;
19210 }
19211 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >&
blobs()19212 LayerParameter::blobs() const {
19213   // @@protoc_insertion_point(field_list:opencv_caffe.LayerParameter.blobs)
19214   return blobs_;
19215 }
19216 
19217 // repeated bool propagate_down = 11;
propagate_down_size()19218 inline int LayerParameter::propagate_down_size() const {
19219   return propagate_down_.size();
19220 }
clear_propagate_down()19221 inline void LayerParameter::clear_propagate_down() {
19222   propagate_down_.Clear();
19223 }
propagate_down(int index)19224 inline bool LayerParameter::propagate_down(int index) const {
19225   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.propagate_down)
19226   return propagate_down_.Get(index);
19227 }
set_propagate_down(int index,bool value)19228 inline void LayerParameter::set_propagate_down(int index, bool value) {
19229   propagate_down_.Set(index, value);
19230   // @@protoc_insertion_point(field_set:opencv_caffe.LayerParameter.propagate_down)
19231 }
add_propagate_down(bool value)19232 inline void LayerParameter::add_propagate_down(bool value) {
19233   propagate_down_.Add(value);
19234   // @@protoc_insertion_point(field_add:opencv_caffe.LayerParameter.propagate_down)
19235 }
19236 inline const ::google::protobuf::RepeatedField< bool >&
propagate_down()19237 LayerParameter::propagate_down() const {
19238   // @@protoc_insertion_point(field_list:opencv_caffe.LayerParameter.propagate_down)
19239   return propagate_down_;
19240 }
19241 inline ::google::protobuf::RepeatedField< bool >*
mutable_propagate_down()19242 LayerParameter::mutable_propagate_down() {
19243   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.LayerParameter.propagate_down)
19244   return &propagate_down_;
19245 }
19246 
19247 // repeated .opencv_caffe.NetStateRule include = 8;
include_size()19248 inline int LayerParameter::include_size() const {
19249   return include_.size();
19250 }
clear_include()19251 inline void LayerParameter::clear_include() {
19252   include_.Clear();
19253 }
include(int index)19254 inline const ::opencv_caffe::NetStateRule& LayerParameter::include(int index) const {
19255   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.include)
19256   return include_.Get(index);
19257 }
mutable_include(int index)19258 inline ::opencv_caffe::NetStateRule* LayerParameter::mutable_include(int index) {
19259   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.include)
19260   return include_.Mutable(index);
19261 }
add_include()19262 inline ::opencv_caffe::NetStateRule* LayerParameter::add_include() {
19263   // @@protoc_insertion_point(field_add:opencv_caffe.LayerParameter.include)
19264   return include_.Add();
19265 }
19266 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >*
mutable_include()19267 LayerParameter::mutable_include() {
19268   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.LayerParameter.include)
19269   return &include_;
19270 }
19271 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >&
include()19272 LayerParameter::include() const {
19273   // @@protoc_insertion_point(field_list:opencv_caffe.LayerParameter.include)
19274   return include_;
19275 }
19276 
19277 // repeated .opencv_caffe.NetStateRule exclude = 9;
exclude_size()19278 inline int LayerParameter::exclude_size() const {
19279   return exclude_.size();
19280 }
clear_exclude()19281 inline void LayerParameter::clear_exclude() {
19282   exclude_.Clear();
19283 }
exclude(int index)19284 inline const ::opencv_caffe::NetStateRule& LayerParameter::exclude(int index) const {
19285   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.exclude)
19286   return exclude_.Get(index);
19287 }
mutable_exclude(int index)19288 inline ::opencv_caffe::NetStateRule* LayerParameter::mutable_exclude(int index) {
19289   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.exclude)
19290   return exclude_.Mutable(index);
19291 }
add_exclude()19292 inline ::opencv_caffe::NetStateRule* LayerParameter::add_exclude() {
19293   // @@protoc_insertion_point(field_add:opencv_caffe.LayerParameter.exclude)
19294   return exclude_.Add();
19295 }
19296 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >*
mutable_exclude()19297 LayerParameter::mutable_exclude() {
19298   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.LayerParameter.exclude)
19299   return &exclude_;
19300 }
19301 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >&
exclude()19302 LayerParameter::exclude() const {
19303   // @@protoc_insertion_point(field_list:opencv_caffe.LayerParameter.exclude)
19304   return exclude_;
19305 }
19306 
19307 // optional .opencv_caffe.TransformationParameter transform_param = 100;
has_transform_param()19308 inline bool LayerParameter::has_transform_param() const {
19309   return (_has_bits_[0] & 0x00000004u) != 0;
19310 }
set_has_transform_param()19311 inline void LayerParameter::set_has_transform_param() {
19312   _has_bits_[0] |= 0x00000004u;
19313 }
clear_has_transform_param()19314 inline void LayerParameter::clear_has_transform_param() {
19315   _has_bits_[0] &= ~0x00000004u;
19316 }
clear_transform_param()19317 inline void LayerParameter::clear_transform_param() {
19318   if (transform_param_ != NULL) transform_param_->Clear();
19319   clear_has_transform_param();
19320 }
transform_param()19321 inline const ::opencv_caffe::TransformationParameter& LayerParameter::transform_param() const {
19322   const ::opencv_caffe::TransformationParameter* p = transform_param_;
19323   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.transform_param)
19324   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::TransformationParameter*>(
19325       &::opencv_caffe::_TransformationParameter_default_instance_);
19326 }
release_transform_param()19327 inline ::opencv_caffe::TransformationParameter* LayerParameter::release_transform_param() {
19328   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.transform_param)
19329   clear_has_transform_param();
19330   ::opencv_caffe::TransformationParameter* temp = transform_param_;
19331   transform_param_ = NULL;
19332   return temp;
19333 }
mutable_transform_param()19334 inline ::opencv_caffe::TransformationParameter* LayerParameter::mutable_transform_param() {
19335   set_has_transform_param();
19336   if (transform_param_ == NULL) {
19337     transform_param_ = new ::opencv_caffe::TransformationParameter;
19338   }
19339   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.transform_param)
19340   return transform_param_;
19341 }
set_allocated_transform_param(::opencv_caffe::TransformationParameter * transform_param)19342 inline void LayerParameter::set_allocated_transform_param(::opencv_caffe::TransformationParameter* transform_param) {
19343   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19344   if (message_arena == NULL) {
19345     delete transform_param_;
19346   }
19347   if (transform_param) {
19348     ::google::protobuf::Arena* submessage_arena = NULL;
19349     if (message_arena != submessage_arena) {
19350       transform_param = ::google::protobuf::internal::GetOwnedMessage(
19351           message_arena, transform_param, submessage_arena);
19352     }
19353     set_has_transform_param();
19354   } else {
19355     clear_has_transform_param();
19356   }
19357   transform_param_ = transform_param;
19358   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.transform_param)
19359 }
19360 
19361 // optional .opencv_caffe.LossParameter loss_param = 101;
has_loss_param()19362 inline bool LayerParameter::has_loss_param() const {
19363   return (_has_bits_[0] & 0x00000008u) != 0;
19364 }
set_has_loss_param()19365 inline void LayerParameter::set_has_loss_param() {
19366   _has_bits_[0] |= 0x00000008u;
19367 }
clear_has_loss_param()19368 inline void LayerParameter::clear_has_loss_param() {
19369   _has_bits_[0] &= ~0x00000008u;
19370 }
clear_loss_param()19371 inline void LayerParameter::clear_loss_param() {
19372   if (loss_param_ != NULL) loss_param_->Clear();
19373   clear_has_loss_param();
19374 }
loss_param()19375 inline const ::opencv_caffe::LossParameter& LayerParameter::loss_param() const {
19376   const ::opencv_caffe::LossParameter* p = loss_param_;
19377   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.loss_param)
19378   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::LossParameter*>(
19379       &::opencv_caffe::_LossParameter_default_instance_);
19380 }
release_loss_param()19381 inline ::opencv_caffe::LossParameter* LayerParameter::release_loss_param() {
19382   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.loss_param)
19383   clear_has_loss_param();
19384   ::opencv_caffe::LossParameter* temp = loss_param_;
19385   loss_param_ = NULL;
19386   return temp;
19387 }
mutable_loss_param()19388 inline ::opencv_caffe::LossParameter* LayerParameter::mutable_loss_param() {
19389   set_has_loss_param();
19390   if (loss_param_ == NULL) {
19391     loss_param_ = new ::opencv_caffe::LossParameter;
19392   }
19393   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.loss_param)
19394   return loss_param_;
19395 }
set_allocated_loss_param(::opencv_caffe::LossParameter * loss_param)19396 inline void LayerParameter::set_allocated_loss_param(::opencv_caffe::LossParameter* loss_param) {
19397   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19398   if (message_arena == NULL) {
19399     delete loss_param_;
19400   }
19401   if (loss_param) {
19402     ::google::protobuf::Arena* submessage_arena = NULL;
19403     if (message_arena != submessage_arena) {
19404       loss_param = ::google::protobuf::internal::GetOwnedMessage(
19405           message_arena, loss_param, submessage_arena);
19406     }
19407     set_has_loss_param();
19408   } else {
19409     clear_has_loss_param();
19410   }
19411   loss_param_ = loss_param;
19412   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.loss_param)
19413 }
19414 
19415 // optional .opencv_caffe.AccuracyParameter accuracy_param = 102;
has_accuracy_param()19416 inline bool LayerParameter::has_accuracy_param() const {
19417   return (_has_bits_[0] & 0x00000010u) != 0;
19418 }
set_has_accuracy_param()19419 inline void LayerParameter::set_has_accuracy_param() {
19420   _has_bits_[0] |= 0x00000010u;
19421 }
clear_has_accuracy_param()19422 inline void LayerParameter::clear_has_accuracy_param() {
19423   _has_bits_[0] &= ~0x00000010u;
19424 }
clear_accuracy_param()19425 inline void LayerParameter::clear_accuracy_param() {
19426   if (accuracy_param_ != NULL) accuracy_param_->Clear();
19427   clear_has_accuracy_param();
19428 }
accuracy_param()19429 inline const ::opencv_caffe::AccuracyParameter& LayerParameter::accuracy_param() const {
19430   const ::opencv_caffe::AccuracyParameter* p = accuracy_param_;
19431   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.accuracy_param)
19432   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::AccuracyParameter*>(
19433       &::opencv_caffe::_AccuracyParameter_default_instance_);
19434 }
release_accuracy_param()19435 inline ::opencv_caffe::AccuracyParameter* LayerParameter::release_accuracy_param() {
19436   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.accuracy_param)
19437   clear_has_accuracy_param();
19438   ::opencv_caffe::AccuracyParameter* temp = accuracy_param_;
19439   accuracy_param_ = NULL;
19440   return temp;
19441 }
mutable_accuracy_param()19442 inline ::opencv_caffe::AccuracyParameter* LayerParameter::mutable_accuracy_param() {
19443   set_has_accuracy_param();
19444   if (accuracy_param_ == NULL) {
19445     accuracy_param_ = new ::opencv_caffe::AccuracyParameter;
19446   }
19447   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.accuracy_param)
19448   return accuracy_param_;
19449 }
set_allocated_accuracy_param(::opencv_caffe::AccuracyParameter * accuracy_param)19450 inline void LayerParameter::set_allocated_accuracy_param(::opencv_caffe::AccuracyParameter* accuracy_param) {
19451   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19452   if (message_arena == NULL) {
19453     delete accuracy_param_;
19454   }
19455   if (accuracy_param) {
19456     ::google::protobuf::Arena* submessage_arena = NULL;
19457     if (message_arena != submessage_arena) {
19458       accuracy_param = ::google::protobuf::internal::GetOwnedMessage(
19459           message_arena, accuracy_param, submessage_arena);
19460     }
19461     set_has_accuracy_param();
19462   } else {
19463     clear_has_accuracy_param();
19464   }
19465   accuracy_param_ = accuracy_param;
19466   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.accuracy_param)
19467 }
19468 
19469 // optional .opencv_caffe.ArgMaxParameter argmax_param = 103;
has_argmax_param()19470 inline bool LayerParameter::has_argmax_param() const {
19471   return (_has_bits_[0] & 0x00000020u) != 0;
19472 }
set_has_argmax_param()19473 inline void LayerParameter::set_has_argmax_param() {
19474   _has_bits_[0] |= 0x00000020u;
19475 }
clear_has_argmax_param()19476 inline void LayerParameter::clear_has_argmax_param() {
19477   _has_bits_[0] &= ~0x00000020u;
19478 }
clear_argmax_param()19479 inline void LayerParameter::clear_argmax_param() {
19480   if (argmax_param_ != NULL) argmax_param_->Clear();
19481   clear_has_argmax_param();
19482 }
argmax_param()19483 inline const ::opencv_caffe::ArgMaxParameter& LayerParameter::argmax_param() const {
19484   const ::opencv_caffe::ArgMaxParameter* p = argmax_param_;
19485   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.argmax_param)
19486   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ArgMaxParameter*>(
19487       &::opencv_caffe::_ArgMaxParameter_default_instance_);
19488 }
release_argmax_param()19489 inline ::opencv_caffe::ArgMaxParameter* LayerParameter::release_argmax_param() {
19490   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.argmax_param)
19491   clear_has_argmax_param();
19492   ::opencv_caffe::ArgMaxParameter* temp = argmax_param_;
19493   argmax_param_ = NULL;
19494   return temp;
19495 }
mutable_argmax_param()19496 inline ::opencv_caffe::ArgMaxParameter* LayerParameter::mutable_argmax_param() {
19497   set_has_argmax_param();
19498   if (argmax_param_ == NULL) {
19499     argmax_param_ = new ::opencv_caffe::ArgMaxParameter;
19500   }
19501   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.argmax_param)
19502   return argmax_param_;
19503 }
set_allocated_argmax_param(::opencv_caffe::ArgMaxParameter * argmax_param)19504 inline void LayerParameter::set_allocated_argmax_param(::opencv_caffe::ArgMaxParameter* argmax_param) {
19505   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19506   if (message_arena == NULL) {
19507     delete argmax_param_;
19508   }
19509   if (argmax_param) {
19510     ::google::protobuf::Arena* submessage_arena = NULL;
19511     if (message_arena != submessage_arena) {
19512       argmax_param = ::google::protobuf::internal::GetOwnedMessage(
19513           message_arena, argmax_param, submessage_arena);
19514     }
19515     set_has_argmax_param();
19516   } else {
19517     clear_has_argmax_param();
19518   }
19519   argmax_param_ = argmax_param;
19520   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.argmax_param)
19521 }
19522 
19523 // optional .opencv_caffe.BatchNormParameter batch_norm_param = 139;
has_batch_norm_param()19524 inline bool LayerParameter::has_batch_norm_param() const {
19525   return (_has_bits_[1] & 0x00000200u) != 0;
19526 }
set_has_batch_norm_param()19527 inline void LayerParameter::set_has_batch_norm_param() {
19528   _has_bits_[1] |= 0x00000200u;
19529 }
clear_has_batch_norm_param()19530 inline void LayerParameter::clear_has_batch_norm_param() {
19531   _has_bits_[1] &= ~0x00000200u;
19532 }
clear_batch_norm_param()19533 inline void LayerParameter::clear_batch_norm_param() {
19534   if (batch_norm_param_ != NULL) batch_norm_param_->Clear();
19535   clear_has_batch_norm_param();
19536 }
batch_norm_param()19537 inline const ::opencv_caffe::BatchNormParameter& LayerParameter::batch_norm_param() const {
19538   const ::opencv_caffe::BatchNormParameter* p = batch_norm_param_;
19539   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.batch_norm_param)
19540   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::BatchNormParameter*>(
19541       &::opencv_caffe::_BatchNormParameter_default_instance_);
19542 }
release_batch_norm_param()19543 inline ::opencv_caffe::BatchNormParameter* LayerParameter::release_batch_norm_param() {
19544   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.batch_norm_param)
19545   clear_has_batch_norm_param();
19546   ::opencv_caffe::BatchNormParameter* temp = batch_norm_param_;
19547   batch_norm_param_ = NULL;
19548   return temp;
19549 }
mutable_batch_norm_param()19550 inline ::opencv_caffe::BatchNormParameter* LayerParameter::mutable_batch_norm_param() {
19551   set_has_batch_norm_param();
19552   if (batch_norm_param_ == NULL) {
19553     batch_norm_param_ = new ::opencv_caffe::BatchNormParameter;
19554   }
19555   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.batch_norm_param)
19556   return batch_norm_param_;
19557 }
set_allocated_batch_norm_param(::opencv_caffe::BatchNormParameter * batch_norm_param)19558 inline void LayerParameter::set_allocated_batch_norm_param(::opencv_caffe::BatchNormParameter* batch_norm_param) {
19559   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19560   if (message_arena == NULL) {
19561     delete batch_norm_param_;
19562   }
19563   if (batch_norm_param) {
19564     ::google::protobuf::Arena* submessage_arena = NULL;
19565     if (message_arena != submessage_arena) {
19566       batch_norm_param = ::google::protobuf::internal::GetOwnedMessage(
19567           message_arena, batch_norm_param, submessage_arena);
19568     }
19569     set_has_batch_norm_param();
19570   } else {
19571     clear_has_batch_norm_param();
19572   }
19573   batch_norm_param_ = batch_norm_param;
19574   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.batch_norm_param)
19575 }
19576 
19577 // optional .opencv_caffe.BiasParameter bias_param = 141;
has_bias_param()19578 inline bool LayerParameter::has_bias_param() const {
19579   return (_has_bits_[1] & 0x00000800u) != 0;
19580 }
set_has_bias_param()19581 inline void LayerParameter::set_has_bias_param() {
19582   _has_bits_[1] |= 0x00000800u;
19583 }
clear_has_bias_param()19584 inline void LayerParameter::clear_has_bias_param() {
19585   _has_bits_[1] &= ~0x00000800u;
19586 }
clear_bias_param()19587 inline void LayerParameter::clear_bias_param() {
19588   if (bias_param_ != NULL) bias_param_->Clear();
19589   clear_has_bias_param();
19590 }
bias_param()19591 inline const ::opencv_caffe::BiasParameter& LayerParameter::bias_param() const {
19592   const ::opencv_caffe::BiasParameter* p = bias_param_;
19593   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.bias_param)
19594   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::BiasParameter*>(
19595       &::opencv_caffe::_BiasParameter_default_instance_);
19596 }
release_bias_param()19597 inline ::opencv_caffe::BiasParameter* LayerParameter::release_bias_param() {
19598   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.bias_param)
19599   clear_has_bias_param();
19600   ::opencv_caffe::BiasParameter* temp = bias_param_;
19601   bias_param_ = NULL;
19602   return temp;
19603 }
mutable_bias_param()19604 inline ::opencv_caffe::BiasParameter* LayerParameter::mutable_bias_param() {
19605   set_has_bias_param();
19606   if (bias_param_ == NULL) {
19607     bias_param_ = new ::opencv_caffe::BiasParameter;
19608   }
19609   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.bias_param)
19610   return bias_param_;
19611 }
set_allocated_bias_param(::opencv_caffe::BiasParameter * bias_param)19612 inline void LayerParameter::set_allocated_bias_param(::opencv_caffe::BiasParameter* bias_param) {
19613   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19614   if (message_arena == NULL) {
19615     delete bias_param_;
19616   }
19617   if (bias_param) {
19618     ::google::protobuf::Arena* submessage_arena = NULL;
19619     if (message_arena != submessage_arena) {
19620       bias_param = ::google::protobuf::internal::GetOwnedMessage(
19621           message_arena, bias_param, submessage_arena);
19622     }
19623     set_has_bias_param();
19624   } else {
19625     clear_has_bias_param();
19626   }
19627   bias_param_ = bias_param;
19628   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.bias_param)
19629 }
19630 
19631 // optional .opencv_caffe.ConcatParameter concat_param = 104;
has_concat_param()19632 inline bool LayerParameter::has_concat_param() const {
19633   return (_has_bits_[0] & 0x00000040u) != 0;
19634 }
set_has_concat_param()19635 inline void LayerParameter::set_has_concat_param() {
19636   _has_bits_[0] |= 0x00000040u;
19637 }
clear_has_concat_param()19638 inline void LayerParameter::clear_has_concat_param() {
19639   _has_bits_[0] &= ~0x00000040u;
19640 }
clear_concat_param()19641 inline void LayerParameter::clear_concat_param() {
19642   if (concat_param_ != NULL) concat_param_->Clear();
19643   clear_has_concat_param();
19644 }
concat_param()19645 inline const ::opencv_caffe::ConcatParameter& LayerParameter::concat_param() const {
19646   const ::opencv_caffe::ConcatParameter* p = concat_param_;
19647   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.concat_param)
19648   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ConcatParameter*>(
19649       &::opencv_caffe::_ConcatParameter_default_instance_);
19650 }
release_concat_param()19651 inline ::opencv_caffe::ConcatParameter* LayerParameter::release_concat_param() {
19652   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.concat_param)
19653   clear_has_concat_param();
19654   ::opencv_caffe::ConcatParameter* temp = concat_param_;
19655   concat_param_ = NULL;
19656   return temp;
19657 }
mutable_concat_param()19658 inline ::opencv_caffe::ConcatParameter* LayerParameter::mutable_concat_param() {
19659   set_has_concat_param();
19660   if (concat_param_ == NULL) {
19661     concat_param_ = new ::opencv_caffe::ConcatParameter;
19662   }
19663   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.concat_param)
19664   return concat_param_;
19665 }
set_allocated_concat_param(::opencv_caffe::ConcatParameter * concat_param)19666 inline void LayerParameter::set_allocated_concat_param(::opencv_caffe::ConcatParameter* concat_param) {
19667   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19668   if (message_arena == NULL) {
19669     delete concat_param_;
19670   }
19671   if (concat_param) {
19672     ::google::protobuf::Arena* submessage_arena = NULL;
19673     if (message_arena != submessage_arena) {
19674       concat_param = ::google::protobuf::internal::GetOwnedMessage(
19675           message_arena, concat_param, submessage_arena);
19676     }
19677     set_has_concat_param();
19678   } else {
19679     clear_has_concat_param();
19680   }
19681   concat_param_ = concat_param;
19682   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.concat_param)
19683 }
19684 
19685 // optional .opencv_caffe.ContrastiveLossParameter contrastive_loss_param = 105;
has_contrastive_loss_param()19686 inline bool LayerParameter::has_contrastive_loss_param() const {
19687   return (_has_bits_[0] & 0x00000080u) != 0;
19688 }
set_has_contrastive_loss_param()19689 inline void LayerParameter::set_has_contrastive_loss_param() {
19690   _has_bits_[0] |= 0x00000080u;
19691 }
clear_has_contrastive_loss_param()19692 inline void LayerParameter::clear_has_contrastive_loss_param() {
19693   _has_bits_[0] &= ~0x00000080u;
19694 }
clear_contrastive_loss_param()19695 inline void LayerParameter::clear_contrastive_loss_param() {
19696   if (contrastive_loss_param_ != NULL) contrastive_loss_param_->Clear();
19697   clear_has_contrastive_loss_param();
19698 }
contrastive_loss_param()19699 inline const ::opencv_caffe::ContrastiveLossParameter& LayerParameter::contrastive_loss_param() const {
19700   const ::opencv_caffe::ContrastiveLossParameter* p = contrastive_loss_param_;
19701   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.contrastive_loss_param)
19702   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ContrastiveLossParameter*>(
19703       &::opencv_caffe::_ContrastiveLossParameter_default_instance_);
19704 }
release_contrastive_loss_param()19705 inline ::opencv_caffe::ContrastiveLossParameter* LayerParameter::release_contrastive_loss_param() {
19706   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.contrastive_loss_param)
19707   clear_has_contrastive_loss_param();
19708   ::opencv_caffe::ContrastiveLossParameter* temp = contrastive_loss_param_;
19709   contrastive_loss_param_ = NULL;
19710   return temp;
19711 }
mutable_contrastive_loss_param()19712 inline ::opencv_caffe::ContrastiveLossParameter* LayerParameter::mutable_contrastive_loss_param() {
19713   set_has_contrastive_loss_param();
19714   if (contrastive_loss_param_ == NULL) {
19715     contrastive_loss_param_ = new ::opencv_caffe::ContrastiveLossParameter;
19716   }
19717   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.contrastive_loss_param)
19718   return contrastive_loss_param_;
19719 }
set_allocated_contrastive_loss_param(::opencv_caffe::ContrastiveLossParameter * contrastive_loss_param)19720 inline void LayerParameter::set_allocated_contrastive_loss_param(::opencv_caffe::ContrastiveLossParameter* contrastive_loss_param) {
19721   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19722   if (message_arena == NULL) {
19723     delete contrastive_loss_param_;
19724   }
19725   if (contrastive_loss_param) {
19726     ::google::protobuf::Arena* submessage_arena = NULL;
19727     if (message_arena != submessage_arena) {
19728       contrastive_loss_param = ::google::protobuf::internal::GetOwnedMessage(
19729           message_arena, contrastive_loss_param, submessage_arena);
19730     }
19731     set_has_contrastive_loss_param();
19732   } else {
19733     clear_has_contrastive_loss_param();
19734   }
19735   contrastive_loss_param_ = contrastive_loss_param;
19736   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.contrastive_loss_param)
19737 }
19738 
19739 // optional .opencv_caffe.ConvolutionParameter convolution_param = 106;
has_convolution_param()19740 inline bool LayerParameter::has_convolution_param() const {
19741   return (_has_bits_[0] & 0x00000100u) != 0;
19742 }
set_has_convolution_param()19743 inline void LayerParameter::set_has_convolution_param() {
19744   _has_bits_[0] |= 0x00000100u;
19745 }
clear_has_convolution_param()19746 inline void LayerParameter::clear_has_convolution_param() {
19747   _has_bits_[0] &= ~0x00000100u;
19748 }
clear_convolution_param()19749 inline void LayerParameter::clear_convolution_param() {
19750   if (convolution_param_ != NULL) convolution_param_->Clear();
19751   clear_has_convolution_param();
19752 }
convolution_param()19753 inline const ::opencv_caffe::ConvolutionParameter& LayerParameter::convolution_param() const {
19754   const ::opencv_caffe::ConvolutionParameter* p = convolution_param_;
19755   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.convolution_param)
19756   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ConvolutionParameter*>(
19757       &::opencv_caffe::_ConvolutionParameter_default_instance_);
19758 }
release_convolution_param()19759 inline ::opencv_caffe::ConvolutionParameter* LayerParameter::release_convolution_param() {
19760   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.convolution_param)
19761   clear_has_convolution_param();
19762   ::opencv_caffe::ConvolutionParameter* temp = convolution_param_;
19763   convolution_param_ = NULL;
19764   return temp;
19765 }
mutable_convolution_param()19766 inline ::opencv_caffe::ConvolutionParameter* LayerParameter::mutable_convolution_param() {
19767   set_has_convolution_param();
19768   if (convolution_param_ == NULL) {
19769     convolution_param_ = new ::opencv_caffe::ConvolutionParameter;
19770   }
19771   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.convolution_param)
19772   return convolution_param_;
19773 }
set_allocated_convolution_param(::opencv_caffe::ConvolutionParameter * convolution_param)19774 inline void LayerParameter::set_allocated_convolution_param(::opencv_caffe::ConvolutionParameter* convolution_param) {
19775   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19776   if (message_arena == NULL) {
19777     delete convolution_param_;
19778   }
19779   if (convolution_param) {
19780     ::google::protobuf::Arena* submessage_arena = NULL;
19781     if (message_arena != submessage_arena) {
19782       convolution_param = ::google::protobuf::internal::GetOwnedMessage(
19783           message_arena, convolution_param, submessage_arena);
19784     }
19785     set_has_convolution_param();
19786   } else {
19787     clear_has_convolution_param();
19788   }
19789   convolution_param_ = convolution_param;
19790   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.convolution_param)
19791 }
19792 
19793 // optional .opencv_caffe.CropParameter crop_param = 144;
has_crop_param()19794 inline bool LayerParameter::has_crop_param() const {
19795   return (_has_bits_[1] & 0x00004000u) != 0;
19796 }
set_has_crop_param()19797 inline void LayerParameter::set_has_crop_param() {
19798   _has_bits_[1] |= 0x00004000u;
19799 }
clear_has_crop_param()19800 inline void LayerParameter::clear_has_crop_param() {
19801   _has_bits_[1] &= ~0x00004000u;
19802 }
clear_crop_param()19803 inline void LayerParameter::clear_crop_param() {
19804   if (crop_param_ != NULL) crop_param_->Clear();
19805   clear_has_crop_param();
19806 }
crop_param()19807 inline const ::opencv_caffe::CropParameter& LayerParameter::crop_param() const {
19808   const ::opencv_caffe::CropParameter* p = crop_param_;
19809   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.crop_param)
19810   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::CropParameter*>(
19811       &::opencv_caffe::_CropParameter_default_instance_);
19812 }
release_crop_param()19813 inline ::opencv_caffe::CropParameter* LayerParameter::release_crop_param() {
19814   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.crop_param)
19815   clear_has_crop_param();
19816   ::opencv_caffe::CropParameter* temp = crop_param_;
19817   crop_param_ = NULL;
19818   return temp;
19819 }
mutable_crop_param()19820 inline ::opencv_caffe::CropParameter* LayerParameter::mutable_crop_param() {
19821   set_has_crop_param();
19822   if (crop_param_ == NULL) {
19823     crop_param_ = new ::opencv_caffe::CropParameter;
19824   }
19825   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.crop_param)
19826   return crop_param_;
19827 }
set_allocated_crop_param(::opencv_caffe::CropParameter * crop_param)19828 inline void LayerParameter::set_allocated_crop_param(::opencv_caffe::CropParameter* crop_param) {
19829   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19830   if (message_arena == NULL) {
19831     delete crop_param_;
19832   }
19833   if (crop_param) {
19834     ::google::protobuf::Arena* submessage_arena = NULL;
19835     if (message_arena != submessage_arena) {
19836       crop_param = ::google::protobuf::internal::GetOwnedMessage(
19837           message_arena, crop_param, submessage_arena);
19838     }
19839     set_has_crop_param();
19840   } else {
19841     clear_has_crop_param();
19842   }
19843   crop_param_ = crop_param;
19844   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.crop_param)
19845 }
19846 
19847 // optional .opencv_caffe.DataParameter data_param = 107;
has_data_param()19848 inline bool LayerParameter::has_data_param() const {
19849   return (_has_bits_[0] & 0x00000200u) != 0;
19850 }
set_has_data_param()19851 inline void LayerParameter::set_has_data_param() {
19852   _has_bits_[0] |= 0x00000200u;
19853 }
clear_has_data_param()19854 inline void LayerParameter::clear_has_data_param() {
19855   _has_bits_[0] &= ~0x00000200u;
19856 }
clear_data_param()19857 inline void LayerParameter::clear_data_param() {
19858   if (data_param_ != NULL) data_param_->Clear();
19859   clear_has_data_param();
19860 }
data_param()19861 inline const ::opencv_caffe::DataParameter& LayerParameter::data_param() const {
19862   const ::opencv_caffe::DataParameter* p = data_param_;
19863   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.data_param)
19864   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::DataParameter*>(
19865       &::opencv_caffe::_DataParameter_default_instance_);
19866 }
release_data_param()19867 inline ::opencv_caffe::DataParameter* LayerParameter::release_data_param() {
19868   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.data_param)
19869   clear_has_data_param();
19870   ::opencv_caffe::DataParameter* temp = data_param_;
19871   data_param_ = NULL;
19872   return temp;
19873 }
mutable_data_param()19874 inline ::opencv_caffe::DataParameter* LayerParameter::mutable_data_param() {
19875   set_has_data_param();
19876   if (data_param_ == NULL) {
19877     data_param_ = new ::opencv_caffe::DataParameter;
19878   }
19879   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.data_param)
19880   return data_param_;
19881 }
set_allocated_data_param(::opencv_caffe::DataParameter * data_param)19882 inline void LayerParameter::set_allocated_data_param(::opencv_caffe::DataParameter* data_param) {
19883   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19884   if (message_arena == NULL) {
19885     delete data_param_;
19886   }
19887   if (data_param) {
19888     ::google::protobuf::Arena* submessage_arena = NULL;
19889     if (message_arena != submessage_arena) {
19890       data_param = ::google::protobuf::internal::GetOwnedMessage(
19891           message_arena, data_param, submessage_arena);
19892     }
19893     set_has_data_param();
19894   } else {
19895     clear_has_data_param();
19896   }
19897   data_param_ = data_param;
19898   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.data_param)
19899 }
19900 
19901 // optional .opencv_caffe.DetectionOutputParameter detection_output_param = 147;
has_detection_output_param()19902 inline bool LayerParameter::has_detection_output_param() const {
19903   return (_has_bits_[1] & 0x00020000u) != 0;
19904 }
set_has_detection_output_param()19905 inline void LayerParameter::set_has_detection_output_param() {
19906   _has_bits_[1] |= 0x00020000u;
19907 }
clear_has_detection_output_param()19908 inline void LayerParameter::clear_has_detection_output_param() {
19909   _has_bits_[1] &= ~0x00020000u;
19910 }
clear_detection_output_param()19911 inline void LayerParameter::clear_detection_output_param() {
19912   if (detection_output_param_ != NULL) detection_output_param_->Clear();
19913   clear_has_detection_output_param();
19914 }
detection_output_param()19915 inline const ::opencv_caffe::DetectionOutputParameter& LayerParameter::detection_output_param() const {
19916   const ::opencv_caffe::DetectionOutputParameter* p = detection_output_param_;
19917   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.detection_output_param)
19918   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::DetectionOutputParameter*>(
19919       &::opencv_caffe::_DetectionOutputParameter_default_instance_);
19920 }
release_detection_output_param()19921 inline ::opencv_caffe::DetectionOutputParameter* LayerParameter::release_detection_output_param() {
19922   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.detection_output_param)
19923   clear_has_detection_output_param();
19924   ::opencv_caffe::DetectionOutputParameter* temp = detection_output_param_;
19925   detection_output_param_ = NULL;
19926   return temp;
19927 }
mutable_detection_output_param()19928 inline ::opencv_caffe::DetectionOutputParameter* LayerParameter::mutable_detection_output_param() {
19929   set_has_detection_output_param();
19930   if (detection_output_param_ == NULL) {
19931     detection_output_param_ = new ::opencv_caffe::DetectionOutputParameter;
19932   }
19933   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.detection_output_param)
19934   return detection_output_param_;
19935 }
set_allocated_detection_output_param(::opencv_caffe::DetectionOutputParameter * detection_output_param)19936 inline void LayerParameter::set_allocated_detection_output_param(::opencv_caffe::DetectionOutputParameter* detection_output_param) {
19937   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19938   if (message_arena == NULL) {
19939     delete detection_output_param_;
19940   }
19941   if (detection_output_param) {
19942     ::google::protobuf::Arena* submessage_arena = NULL;
19943     if (message_arena != submessage_arena) {
19944       detection_output_param = ::google::protobuf::internal::GetOwnedMessage(
19945           message_arena, detection_output_param, submessage_arena);
19946     }
19947     set_has_detection_output_param();
19948   } else {
19949     clear_has_detection_output_param();
19950   }
19951   detection_output_param_ = detection_output_param;
19952   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.detection_output_param)
19953 }
19954 
19955 // optional .opencv_caffe.DropoutParameter dropout_param = 108;
has_dropout_param()19956 inline bool LayerParameter::has_dropout_param() const {
19957   return (_has_bits_[0] & 0x00000400u) != 0;
19958 }
set_has_dropout_param()19959 inline void LayerParameter::set_has_dropout_param() {
19960   _has_bits_[0] |= 0x00000400u;
19961 }
clear_has_dropout_param()19962 inline void LayerParameter::clear_has_dropout_param() {
19963   _has_bits_[0] &= ~0x00000400u;
19964 }
clear_dropout_param()19965 inline void LayerParameter::clear_dropout_param() {
19966   if (dropout_param_ != NULL) dropout_param_->Clear();
19967   clear_has_dropout_param();
19968 }
dropout_param()19969 inline const ::opencv_caffe::DropoutParameter& LayerParameter::dropout_param() const {
19970   const ::opencv_caffe::DropoutParameter* p = dropout_param_;
19971   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.dropout_param)
19972   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::DropoutParameter*>(
19973       &::opencv_caffe::_DropoutParameter_default_instance_);
19974 }
release_dropout_param()19975 inline ::opencv_caffe::DropoutParameter* LayerParameter::release_dropout_param() {
19976   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.dropout_param)
19977   clear_has_dropout_param();
19978   ::opencv_caffe::DropoutParameter* temp = dropout_param_;
19979   dropout_param_ = NULL;
19980   return temp;
19981 }
mutable_dropout_param()19982 inline ::opencv_caffe::DropoutParameter* LayerParameter::mutable_dropout_param() {
19983   set_has_dropout_param();
19984   if (dropout_param_ == NULL) {
19985     dropout_param_ = new ::opencv_caffe::DropoutParameter;
19986   }
19987   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.dropout_param)
19988   return dropout_param_;
19989 }
set_allocated_dropout_param(::opencv_caffe::DropoutParameter * dropout_param)19990 inline void LayerParameter::set_allocated_dropout_param(::opencv_caffe::DropoutParameter* dropout_param) {
19991   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
19992   if (message_arena == NULL) {
19993     delete dropout_param_;
19994   }
19995   if (dropout_param) {
19996     ::google::protobuf::Arena* submessage_arena = NULL;
19997     if (message_arena != submessage_arena) {
19998       dropout_param = ::google::protobuf::internal::GetOwnedMessage(
19999           message_arena, dropout_param, submessage_arena);
20000     }
20001     set_has_dropout_param();
20002   } else {
20003     clear_has_dropout_param();
20004   }
20005   dropout_param_ = dropout_param;
20006   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.dropout_param)
20007 }
20008 
20009 // optional .opencv_caffe.DummyDataParameter dummy_data_param = 109;
has_dummy_data_param()20010 inline bool LayerParameter::has_dummy_data_param() const {
20011   return (_has_bits_[0] & 0x00000800u) != 0;
20012 }
set_has_dummy_data_param()20013 inline void LayerParameter::set_has_dummy_data_param() {
20014   _has_bits_[0] |= 0x00000800u;
20015 }
clear_has_dummy_data_param()20016 inline void LayerParameter::clear_has_dummy_data_param() {
20017   _has_bits_[0] &= ~0x00000800u;
20018 }
clear_dummy_data_param()20019 inline void LayerParameter::clear_dummy_data_param() {
20020   if (dummy_data_param_ != NULL) dummy_data_param_->Clear();
20021   clear_has_dummy_data_param();
20022 }
dummy_data_param()20023 inline const ::opencv_caffe::DummyDataParameter& LayerParameter::dummy_data_param() const {
20024   const ::opencv_caffe::DummyDataParameter* p = dummy_data_param_;
20025   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.dummy_data_param)
20026   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::DummyDataParameter*>(
20027       &::opencv_caffe::_DummyDataParameter_default_instance_);
20028 }
release_dummy_data_param()20029 inline ::opencv_caffe::DummyDataParameter* LayerParameter::release_dummy_data_param() {
20030   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.dummy_data_param)
20031   clear_has_dummy_data_param();
20032   ::opencv_caffe::DummyDataParameter* temp = dummy_data_param_;
20033   dummy_data_param_ = NULL;
20034   return temp;
20035 }
mutable_dummy_data_param()20036 inline ::opencv_caffe::DummyDataParameter* LayerParameter::mutable_dummy_data_param() {
20037   set_has_dummy_data_param();
20038   if (dummy_data_param_ == NULL) {
20039     dummy_data_param_ = new ::opencv_caffe::DummyDataParameter;
20040   }
20041   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.dummy_data_param)
20042   return dummy_data_param_;
20043 }
set_allocated_dummy_data_param(::opencv_caffe::DummyDataParameter * dummy_data_param)20044 inline void LayerParameter::set_allocated_dummy_data_param(::opencv_caffe::DummyDataParameter* dummy_data_param) {
20045   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20046   if (message_arena == NULL) {
20047     delete dummy_data_param_;
20048   }
20049   if (dummy_data_param) {
20050     ::google::protobuf::Arena* submessage_arena = NULL;
20051     if (message_arena != submessage_arena) {
20052       dummy_data_param = ::google::protobuf::internal::GetOwnedMessage(
20053           message_arena, dummy_data_param, submessage_arena);
20054     }
20055     set_has_dummy_data_param();
20056   } else {
20057     clear_has_dummy_data_param();
20058   }
20059   dummy_data_param_ = dummy_data_param;
20060   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.dummy_data_param)
20061 }
20062 
20063 // optional .opencv_caffe.EltwiseParameter eltwise_param = 110;
has_eltwise_param()20064 inline bool LayerParameter::has_eltwise_param() const {
20065   return (_has_bits_[0] & 0x00001000u) != 0;
20066 }
set_has_eltwise_param()20067 inline void LayerParameter::set_has_eltwise_param() {
20068   _has_bits_[0] |= 0x00001000u;
20069 }
clear_has_eltwise_param()20070 inline void LayerParameter::clear_has_eltwise_param() {
20071   _has_bits_[0] &= ~0x00001000u;
20072 }
clear_eltwise_param()20073 inline void LayerParameter::clear_eltwise_param() {
20074   if (eltwise_param_ != NULL) eltwise_param_->Clear();
20075   clear_has_eltwise_param();
20076 }
eltwise_param()20077 inline const ::opencv_caffe::EltwiseParameter& LayerParameter::eltwise_param() const {
20078   const ::opencv_caffe::EltwiseParameter* p = eltwise_param_;
20079   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.eltwise_param)
20080   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::EltwiseParameter*>(
20081       &::opencv_caffe::_EltwiseParameter_default_instance_);
20082 }
release_eltwise_param()20083 inline ::opencv_caffe::EltwiseParameter* LayerParameter::release_eltwise_param() {
20084   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.eltwise_param)
20085   clear_has_eltwise_param();
20086   ::opencv_caffe::EltwiseParameter* temp = eltwise_param_;
20087   eltwise_param_ = NULL;
20088   return temp;
20089 }
mutable_eltwise_param()20090 inline ::opencv_caffe::EltwiseParameter* LayerParameter::mutable_eltwise_param() {
20091   set_has_eltwise_param();
20092   if (eltwise_param_ == NULL) {
20093     eltwise_param_ = new ::opencv_caffe::EltwiseParameter;
20094   }
20095   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.eltwise_param)
20096   return eltwise_param_;
20097 }
set_allocated_eltwise_param(::opencv_caffe::EltwiseParameter * eltwise_param)20098 inline void LayerParameter::set_allocated_eltwise_param(::opencv_caffe::EltwiseParameter* eltwise_param) {
20099   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20100   if (message_arena == NULL) {
20101     delete eltwise_param_;
20102   }
20103   if (eltwise_param) {
20104     ::google::protobuf::Arena* submessage_arena = NULL;
20105     if (message_arena != submessage_arena) {
20106       eltwise_param = ::google::protobuf::internal::GetOwnedMessage(
20107           message_arena, eltwise_param, submessage_arena);
20108     }
20109     set_has_eltwise_param();
20110   } else {
20111     clear_has_eltwise_param();
20112   }
20113   eltwise_param_ = eltwise_param;
20114   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.eltwise_param)
20115 }
20116 
20117 // optional .opencv_caffe.ELUParameter elu_param = 140;
has_elu_param()20118 inline bool LayerParameter::has_elu_param() const {
20119   return (_has_bits_[1] & 0x00000400u) != 0;
20120 }
set_has_elu_param()20121 inline void LayerParameter::set_has_elu_param() {
20122   _has_bits_[1] |= 0x00000400u;
20123 }
clear_has_elu_param()20124 inline void LayerParameter::clear_has_elu_param() {
20125   _has_bits_[1] &= ~0x00000400u;
20126 }
clear_elu_param()20127 inline void LayerParameter::clear_elu_param() {
20128   if (elu_param_ != NULL) elu_param_->Clear();
20129   clear_has_elu_param();
20130 }
elu_param()20131 inline const ::opencv_caffe::ELUParameter& LayerParameter::elu_param() const {
20132   const ::opencv_caffe::ELUParameter* p = elu_param_;
20133   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.elu_param)
20134   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ELUParameter*>(
20135       &::opencv_caffe::_ELUParameter_default_instance_);
20136 }
release_elu_param()20137 inline ::opencv_caffe::ELUParameter* LayerParameter::release_elu_param() {
20138   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.elu_param)
20139   clear_has_elu_param();
20140   ::opencv_caffe::ELUParameter* temp = elu_param_;
20141   elu_param_ = NULL;
20142   return temp;
20143 }
mutable_elu_param()20144 inline ::opencv_caffe::ELUParameter* LayerParameter::mutable_elu_param() {
20145   set_has_elu_param();
20146   if (elu_param_ == NULL) {
20147     elu_param_ = new ::opencv_caffe::ELUParameter;
20148   }
20149   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.elu_param)
20150   return elu_param_;
20151 }
set_allocated_elu_param(::opencv_caffe::ELUParameter * elu_param)20152 inline void LayerParameter::set_allocated_elu_param(::opencv_caffe::ELUParameter* elu_param) {
20153   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20154   if (message_arena == NULL) {
20155     delete elu_param_;
20156   }
20157   if (elu_param) {
20158     ::google::protobuf::Arena* submessage_arena = NULL;
20159     if (message_arena != submessage_arena) {
20160       elu_param = ::google::protobuf::internal::GetOwnedMessage(
20161           message_arena, elu_param, submessage_arena);
20162     }
20163     set_has_elu_param();
20164   } else {
20165     clear_has_elu_param();
20166   }
20167   elu_param_ = elu_param;
20168   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.elu_param)
20169 }
20170 
20171 // optional .opencv_caffe.EmbedParameter embed_param = 137;
has_embed_param()20172 inline bool LayerParameter::has_embed_param() const {
20173   return (_has_bits_[1] & 0x00000080u) != 0;
20174 }
set_has_embed_param()20175 inline void LayerParameter::set_has_embed_param() {
20176   _has_bits_[1] |= 0x00000080u;
20177 }
clear_has_embed_param()20178 inline void LayerParameter::clear_has_embed_param() {
20179   _has_bits_[1] &= ~0x00000080u;
20180 }
clear_embed_param()20181 inline void LayerParameter::clear_embed_param() {
20182   if (embed_param_ != NULL) embed_param_->Clear();
20183   clear_has_embed_param();
20184 }
embed_param()20185 inline const ::opencv_caffe::EmbedParameter& LayerParameter::embed_param() const {
20186   const ::opencv_caffe::EmbedParameter* p = embed_param_;
20187   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.embed_param)
20188   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::EmbedParameter*>(
20189       &::opencv_caffe::_EmbedParameter_default_instance_);
20190 }
release_embed_param()20191 inline ::opencv_caffe::EmbedParameter* LayerParameter::release_embed_param() {
20192   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.embed_param)
20193   clear_has_embed_param();
20194   ::opencv_caffe::EmbedParameter* temp = embed_param_;
20195   embed_param_ = NULL;
20196   return temp;
20197 }
mutable_embed_param()20198 inline ::opencv_caffe::EmbedParameter* LayerParameter::mutable_embed_param() {
20199   set_has_embed_param();
20200   if (embed_param_ == NULL) {
20201     embed_param_ = new ::opencv_caffe::EmbedParameter;
20202   }
20203   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.embed_param)
20204   return embed_param_;
20205 }
set_allocated_embed_param(::opencv_caffe::EmbedParameter * embed_param)20206 inline void LayerParameter::set_allocated_embed_param(::opencv_caffe::EmbedParameter* embed_param) {
20207   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20208   if (message_arena == NULL) {
20209     delete embed_param_;
20210   }
20211   if (embed_param) {
20212     ::google::protobuf::Arena* submessage_arena = NULL;
20213     if (message_arena != submessage_arena) {
20214       embed_param = ::google::protobuf::internal::GetOwnedMessage(
20215           message_arena, embed_param, submessage_arena);
20216     }
20217     set_has_embed_param();
20218   } else {
20219     clear_has_embed_param();
20220   }
20221   embed_param_ = embed_param;
20222   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.embed_param)
20223 }
20224 
20225 // optional .opencv_caffe.ExpParameter exp_param = 111;
has_exp_param()20226 inline bool LayerParameter::has_exp_param() const {
20227   return (_has_bits_[0] & 0x00002000u) != 0;
20228 }
set_has_exp_param()20229 inline void LayerParameter::set_has_exp_param() {
20230   _has_bits_[0] |= 0x00002000u;
20231 }
clear_has_exp_param()20232 inline void LayerParameter::clear_has_exp_param() {
20233   _has_bits_[0] &= ~0x00002000u;
20234 }
clear_exp_param()20235 inline void LayerParameter::clear_exp_param() {
20236   if (exp_param_ != NULL) exp_param_->Clear();
20237   clear_has_exp_param();
20238 }
exp_param()20239 inline const ::opencv_caffe::ExpParameter& LayerParameter::exp_param() const {
20240   const ::opencv_caffe::ExpParameter* p = exp_param_;
20241   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.exp_param)
20242   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ExpParameter*>(
20243       &::opencv_caffe::_ExpParameter_default_instance_);
20244 }
release_exp_param()20245 inline ::opencv_caffe::ExpParameter* LayerParameter::release_exp_param() {
20246   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.exp_param)
20247   clear_has_exp_param();
20248   ::opencv_caffe::ExpParameter* temp = exp_param_;
20249   exp_param_ = NULL;
20250   return temp;
20251 }
mutable_exp_param()20252 inline ::opencv_caffe::ExpParameter* LayerParameter::mutable_exp_param() {
20253   set_has_exp_param();
20254   if (exp_param_ == NULL) {
20255     exp_param_ = new ::opencv_caffe::ExpParameter;
20256   }
20257   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.exp_param)
20258   return exp_param_;
20259 }
set_allocated_exp_param(::opencv_caffe::ExpParameter * exp_param)20260 inline void LayerParameter::set_allocated_exp_param(::opencv_caffe::ExpParameter* exp_param) {
20261   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20262   if (message_arena == NULL) {
20263     delete exp_param_;
20264   }
20265   if (exp_param) {
20266     ::google::protobuf::Arena* submessage_arena = NULL;
20267     if (message_arena != submessage_arena) {
20268       exp_param = ::google::protobuf::internal::GetOwnedMessage(
20269           message_arena, exp_param, submessage_arena);
20270     }
20271     set_has_exp_param();
20272   } else {
20273     clear_has_exp_param();
20274   }
20275   exp_param_ = exp_param;
20276   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.exp_param)
20277 }
20278 
20279 // optional .opencv_caffe.FlattenParameter flatten_param = 135;
has_flatten_param()20280 inline bool LayerParameter::has_flatten_param() const {
20281   return (_has_bits_[1] & 0x00000020u) != 0;
20282 }
set_has_flatten_param()20283 inline void LayerParameter::set_has_flatten_param() {
20284   _has_bits_[1] |= 0x00000020u;
20285 }
clear_has_flatten_param()20286 inline void LayerParameter::clear_has_flatten_param() {
20287   _has_bits_[1] &= ~0x00000020u;
20288 }
clear_flatten_param()20289 inline void LayerParameter::clear_flatten_param() {
20290   if (flatten_param_ != NULL) flatten_param_->Clear();
20291   clear_has_flatten_param();
20292 }
flatten_param()20293 inline const ::opencv_caffe::FlattenParameter& LayerParameter::flatten_param() const {
20294   const ::opencv_caffe::FlattenParameter* p = flatten_param_;
20295   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.flatten_param)
20296   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FlattenParameter*>(
20297       &::opencv_caffe::_FlattenParameter_default_instance_);
20298 }
release_flatten_param()20299 inline ::opencv_caffe::FlattenParameter* LayerParameter::release_flatten_param() {
20300   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.flatten_param)
20301   clear_has_flatten_param();
20302   ::opencv_caffe::FlattenParameter* temp = flatten_param_;
20303   flatten_param_ = NULL;
20304   return temp;
20305 }
mutable_flatten_param()20306 inline ::opencv_caffe::FlattenParameter* LayerParameter::mutable_flatten_param() {
20307   set_has_flatten_param();
20308   if (flatten_param_ == NULL) {
20309     flatten_param_ = new ::opencv_caffe::FlattenParameter;
20310   }
20311   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.flatten_param)
20312   return flatten_param_;
20313 }
set_allocated_flatten_param(::opencv_caffe::FlattenParameter * flatten_param)20314 inline void LayerParameter::set_allocated_flatten_param(::opencv_caffe::FlattenParameter* flatten_param) {
20315   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20316   if (message_arena == NULL) {
20317     delete flatten_param_;
20318   }
20319   if (flatten_param) {
20320     ::google::protobuf::Arena* submessage_arena = NULL;
20321     if (message_arena != submessage_arena) {
20322       flatten_param = ::google::protobuf::internal::GetOwnedMessage(
20323           message_arena, flatten_param, submessage_arena);
20324     }
20325     set_has_flatten_param();
20326   } else {
20327     clear_has_flatten_param();
20328   }
20329   flatten_param_ = flatten_param;
20330   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.flatten_param)
20331 }
20332 
20333 // optional .opencv_caffe.HDF5DataParameter hdf5_data_param = 112;
has_hdf5_data_param()20334 inline bool LayerParameter::has_hdf5_data_param() const {
20335   return (_has_bits_[0] & 0x00004000u) != 0;
20336 }
set_has_hdf5_data_param()20337 inline void LayerParameter::set_has_hdf5_data_param() {
20338   _has_bits_[0] |= 0x00004000u;
20339 }
clear_has_hdf5_data_param()20340 inline void LayerParameter::clear_has_hdf5_data_param() {
20341   _has_bits_[0] &= ~0x00004000u;
20342 }
clear_hdf5_data_param()20343 inline void LayerParameter::clear_hdf5_data_param() {
20344   if (hdf5_data_param_ != NULL) hdf5_data_param_->Clear();
20345   clear_has_hdf5_data_param();
20346 }
hdf5_data_param()20347 inline const ::opencv_caffe::HDF5DataParameter& LayerParameter::hdf5_data_param() const {
20348   const ::opencv_caffe::HDF5DataParameter* p = hdf5_data_param_;
20349   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.hdf5_data_param)
20350   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::HDF5DataParameter*>(
20351       &::opencv_caffe::_HDF5DataParameter_default_instance_);
20352 }
release_hdf5_data_param()20353 inline ::opencv_caffe::HDF5DataParameter* LayerParameter::release_hdf5_data_param() {
20354   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.hdf5_data_param)
20355   clear_has_hdf5_data_param();
20356   ::opencv_caffe::HDF5DataParameter* temp = hdf5_data_param_;
20357   hdf5_data_param_ = NULL;
20358   return temp;
20359 }
mutable_hdf5_data_param()20360 inline ::opencv_caffe::HDF5DataParameter* LayerParameter::mutable_hdf5_data_param() {
20361   set_has_hdf5_data_param();
20362   if (hdf5_data_param_ == NULL) {
20363     hdf5_data_param_ = new ::opencv_caffe::HDF5DataParameter;
20364   }
20365   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.hdf5_data_param)
20366   return hdf5_data_param_;
20367 }
set_allocated_hdf5_data_param(::opencv_caffe::HDF5DataParameter * hdf5_data_param)20368 inline void LayerParameter::set_allocated_hdf5_data_param(::opencv_caffe::HDF5DataParameter* hdf5_data_param) {
20369   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20370   if (message_arena == NULL) {
20371     delete hdf5_data_param_;
20372   }
20373   if (hdf5_data_param) {
20374     ::google::protobuf::Arena* submessage_arena = NULL;
20375     if (message_arena != submessage_arena) {
20376       hdf5_data_param = ::google::protobuf::internal::GetOwnedMessage(
20377           message_arena, hdf5_data_param, submessage_arena);
20378     }
20379     set_has_hdf5_data_param();
20380   } else {
20381     clear_has_hdf5_data_param();
20382   }
20383   hdf5_data_param_ = hdf5_data_param;
20384   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.hdf5_data_param)
20385 }
20386 
20387 // optional .opencv_caffe.HDF5OutputParameter hdf5_output_param = 113;
has_hdf5_output_param()20388 inline bool LayerParameter::has_hdf5_output_param() const {
20389   return (_has_bits_[0] & 0x00008000u) != 0;
20390 }
set_has_hdf5_output_param()20391 inline void LayerParameter::set_has_hdf5_output_param() {
20392   _has_bits_[0] |= 0x00008000u;
20393 }
clear_has_hdf5_output_param()20394 inline void LayerParameter::clear_has_hdf5_output_param() {
20395   _has_bits_[0] &= ~0x00008000u;
20396 }
clear_hdf5_output_param()20397 inline void LayerParameter::clear_hdf5_output_param() {
20398   if (hdf5_output_param_ != NULL) hdf5_output_param_->Clear();
20399   clear_has_hdf5_output_param();
20400 }
hdf5_output_param()20401 inline const ::opencv_caffe::HDF5OutputParameter& LayerParameter::hdf5_output_param() const {
20402   const ::opencv_caffe::HDF5OutputParameter* p = hdf5_output_param_;
20403   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.hdf5_output_param)
20404   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::HDF5OutputParameter*>(
20405       &::opencv_caffe::_HDF5OutputParameter_default_instance_);
20406 }
release_hdf5_output_param()20407 inline ::opencv_caffe::HDF5OutputParameter* LayerParameter::release_hdf5_output_param() {
20408   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.hdf5_output_param)
20409   clear_has_hdf5_output_param();
20410   ::opencv_caffe::HDF5OutputParameter* temp = hdf5_output_param_;
20411   hdf5_output_param_ = NULL;
20412   return temp;
20413 }
mutable_hdf5_output_param()20414 inline ::opencv_caffe::HDF5OutputParameter* LayerParameter::mutable_hdf5_output_param() {
20415   set_has_hdf5_output_param();
20416   if (hdf5_output_param_ == NULL) {
20417     hdf5_output_param_ = new ::opencv_caffe::HDF5OutputParameter;
20418   }
20419   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.hdf5_output_param)
20420   return hdf5_output_param_;
20421 }
set_allocated_hdf5_output_param(::opencv_caffe::HDF5OutputParameter * hdf5_output_param)20422 inline void LayerParameter::set_allocated_hdf5_output_param(::opencv_caffe::HDF5OutputParameter* hdf5_output_param) {
20423   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20424   if (message_arena == NULL) {
20425     delete hdf5_output_param_;
20426   }
20427   if (hdf5_output_param) {
20428     ::google::protobuf::Arena* submessage_arena = NULL;
20429     if (message_arena != submessage_arena) {
20430       hdf5_output_param = ::google::protobuf::internal::GetOwnedMessage(
20431           message_arena, hdf5_output_param, submessage_arena);
20432     }
20433     set_has_hdf5_output_param();
20434   } else {
20435     clear_has_hdf5_output_param();
20436   }
20437   hdf5_output_param_ = hdf5_output_param;
20438   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.hdf5_output_param)
20439 }
20440 
20441 // optional .opencv_caffe.HingeLossParameter hinge_loss_param = 114;
has_hinge_loss_param()20442 inline bool LayerParameter::has_hinge_loss_param() const {
20443   return (_has_bits_[0] & 0x00010000u) != 0;
20444 }
set_has_hinge_loss_param()20445 inline void LayerParameter::set_has_hinge_loss_param() {
20446   _has_bits_[0] |= 0x00010000u;
20447 }
clear_has_hinge_loss_param()20448 inline void LayerParameter::clear_has_hinge_loss_param() {
20449   _has_bits_[0] &= ~0x00010000u;
20450 }
clear_hinge_loss_param()20451 inline void LayerParameter::clear_hinge_loss_param() {
20452   if (hinge_loss_param_ != NULL) hinge_loss_param_->Clear();
20453   clear_has_hinge_loss_param();
20454 }
hinge_loss_param()20455 inline const ::opencv_caffe::HingeLossParameter& LayerParameter::hinge_loss_param() const {
20456   const ::opencv_caffe::HingeLossParameter* p = hinge_loss_param_;
20457   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.hinge_loss_param)
20458   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::HingeLossParameter*>(
20459       &::opencv_caffe::_HingeLossParameter_default_instance_);
20460 }
release_hinge_loss_param()20461 inline ::opencv_caffe::HingeLossParameter* LayerParameter::release_hinge_loss_param() {
20462   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.hinge_loss_param)
20463   clear_has_hinge_loss_param();
20464   ::opencv_caffe::HingeLossParameter* temp = hinge_loss_param_;
20465   hinge_loss_param_ = NULL;
20466   return temp;
20467 }
mutable_hinge_loss_param()20468 inline ::opencv_caffe::HingeLossParameter* LayerParameter::mutable_hinge_loss_param() {
20469   set_has_hinge_loss_param();
20470   if (hinge_loss_param_ == NULL) {
20471     hinge_loss_param_ = new ::opencv_caffe::HingeLossParameter;
20472   }
20473   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.hinge_loss_param)
20474   return hinge_loss_param_;
20475 }
set_allocated_hinge_loss_param(::opencv_caffe::HingeLossParameter * hinge_loss_param)20476 inline void LayerParameter::set_allocated_hinge_loss_param(::opencv_caffe::HingeLossParameter* hinge_loss_param) {
20477   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20478   if (message_arena == NULL) {
20479     delete hinge_loss_param_;
20480   }
20481   if (hinge_loss_param) {
20482     ::google::protobuf::Arena* submessage_arena = NULL;
20483     if (message_arena != submessage_arena) {
20484       hinge_loss_param = ::google::protobuf::internal::GetOwnedMessage(
20485           message_arena, hinge_loss_param, submessage_arena);
20486     }
20487     set_has_hinge_loss_param();
20488   } else {
20489     clear_has_hinge_loss_param();
20490   }
20491   hinge_loss_param_ = hinge_loss_param;
20492   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.hinge_loss_param)
20493 }
20494 
20495 // optional .opencv_caffe.ImageDataParameter image_data_param = 115;
has_image_data_param()20496 inline bool LayerParameter::has_image_data_param() const {
20497   return (_has_bits_[0] & 0x00020000u) != 0;
20498 }
set_has_image_data_param()20499 inline void LayerParameter::set_has_image_data_param() {
20500   _has_bits_[0] |= 0x00020000u;
20501 }
clear_has_image_data_param()20502 inline void LayerParameter::clear_has_image_data_param() {
20503   _has_bits_[0] &= ~0x00020000u;
20504 }
clear_image_data_param()20505 inline void LayerParameter::clear_image_data_param() {
20506   if (image_data_param_ != NULL) image_data_param_->Clear();
20507   clear_has_image_data_param();
20508 }
image_data_param()20509 inline const ::opencv_caffe::ImageDataParameter& LayerParameter::image_data_param() const {
20510   const ::opencv_caffe::ImageDataParameter* p = image_data_param_;
20511   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.image_data_param)
20512   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ImageDataParameter*>(
20513       &::opencv_caffe::_ImageDataParameter_default_instance_);
20514 }
release_image_data_param()20515 inline ::opencv_caffe::ImageDataParameter* LayerParameter::release_image_data_param() {
20516   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.image_data_param)
20517   clear_has_image_data_param();
20518   ::opencv_caffe::ImageDataParameter* temp = image_data_param_;
20519   image_data_param_ = NULL;
20520   return temp;
20521 }
mutable_image_data_param()20522 inline ::opencv_caffe::ImageDataParameter* LayerParameter::mutable_image_data_param() {
20523   set_has_image_data_param();
20524   if (image_data_param_ == NULL) {
20525     image_data_param_ = new ::opencv_caffe::ImageDataParameter;
20526   }
20527   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.image_data_param)
20528   return image_data_param_;
20529 }
set_allocated_image_data_param(::opencv_caffe::ImageDataParameter * image_data_param)20530 inline void LayerParameter::set_allocated_image_data_param(::opencv_caffe::ImageDataParameter* image_data_param) {
20531   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20532   if (message_arena == NULL) {
20533     delete image_data_param_;
20534   }
20535   if (image_data_param) {
20536     ::google::protobuf::Arena* submessage_arena = NULL;
20537     if (message_arena != submessage_arena) {
20538       image_data_param = ::google::protobuf::internal::GetOwnedMessage(
20539           message_arena, image_data_param, submessage_arena);
20540     }
20541     set_has_image_data_param();
20542   } else {
20543     clear_has_image_data_param();
20544   }
20545   image_data_param_ = image_data_param;
20546   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.image_data_param)
20547 }
20548 
20549 // optional .opencv_caffe.InfogainLossParameter infogain_loss_param = 116;
has_infogain_loss_param()20550 inline bool LayerParameter::has_infogain_loss_param() const {
20551   return (_has_bits_[0] & 0x00040000u) != 0;
20552 }
set_has_infogain_loss_param()20553 inline void LayerParameter::set_has_infogain_loss_param() {
20554   _has_bits_[0] |= 0x00040000u;
20555 }
clear_has_infogain_loss_param()20556 inline void LayerParameter::clear_has_infogain_loss_param() {
20557   _has_bits_[0] &= ~0x00040000u;
20558 }
clear_infogain_loss_param()20559 inline void LayerParameter::clear_infogain_loss_param() {
20560   if (infogain_loss_param_ != NULL) infogain_loss_param_->Clear();
20561   clear_has_infogain_loss_param();
20562 }
infogain_loss_param()20563 inline const ::opencv_caffe::InfogainLossParameter& LayerParameter::infogain_loss_param() const {
20564   const ::opencv_caffe::InfogainLossParameter* p = infogain_loss_param_;
20565   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.infogain_loss_param)
20566   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::InfogainLossParameter*>(
20567       &::opencv_caffe::_InfogainLossParameter_default_instance_);
20568 }
release_infogain_loss_param()20569 inline ::opencv_caffe::InfogainLossParameter* LayerParameter::release_infogain_loss_param() {
20570   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.infogain_loss_param)
20571   clear_has_infogain_loss_param();
20572   ::opencv_caffe::InfogainLossParameter* temp = infogain_loss_param_;
20573   infogain_loss_param_ = NULL;
20574   return temp;
20575 }
mutable_infogain_loss_param()20576 inline ::opencv_caffe::InfogainLossParameter* LayerParameter::mutable_infogain_loss_param() {
20577   set_has_infogain_loss_param();
20578   if (infogain_loss_param_ == NULL) {
20579     infogain_loss_param_ = new ::opencv_caffe::InfogainLossParameter;
20580   }
20581   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.infogain_loss_param)
20582   return infogain_loss_param_;
20583 }
set_allocated_infogain_loss_param(::opencv_caffe::InfogainLossParameter * infogain_loss_param)20584 inline void LayerParameter::set_allocated_infogain_loss_param(::opencv_caffe::InfogainLossParameter* infogain_loss_param) {
20585   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20586   if (message_arena == NULL) {
20587     delete infogain_loss_param_;
20588   }
20589   if (infogain_loss_param) {
20590     ::google::protobuf::Arena* submessage_arena = NULL;
20591     if (message_arena != submessage_arena) {
20592       infogain_loss_param = ::google::protobuf::internal::GetOwnedMessage(
20593           message_arena, infogain_loss_param, submessage_arena);
20594     }
20595     set_has_infogain_loss_param();
20596   } else {
20597     clear_has_infogain_loss_param();
20598   }
20599   infogain_loss_param_ = infogain_loss_param;
20600   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.infogain_loss_param)
20601 }
20602 
20603 // optional .opencv_caffe.InnerProductParameter inner_product_param = 117;
has_inner_product_param()20604 inline bool LayerParameter::has_inner_product_param() const {
20605   return (_has_bits_[0] & 0x00080000u) != 0;
20606 }
set_has_inner_product_param()20607 inline void LayerParameter::set_has_inner_product_param() {
20608   _has_bits_[0] |= 0x00080000u;
20609 }
clear_has_inner_product_param()20610 inline void LayerParameter::clear_has_inner_product_param() {
20611   _has_bits_[0] &= ~0x00080000u;
20612 }
clear_inner_product_param()20613 inline void LayerParameter::clear_inner_product_param() {
20614   if (inner_product_param_ != NULL) inner_product_param_->Clear();
20615   clear_has_inner_product_param();
20616 }
inner_product_param()20617 inline const ::opencv_caffe::InnerProductParameter& LayerParameter::inner_product_param() const {
20618   const ::opencv_caffe::InnerProductParameter* p = inner_product_param_;
20619   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.inner_product_param)
20620   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::InnerProductParameter*>(
20621       &::opencv_caffe::_InnerProductParameter_default_instance_);
20622 }
release_inner_product_param()20623 inline ::opencv_caffe::InnerProductParameter* LayerParameter::release_inner_product_param() {
20624   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.inner_product_param)
20625   clear_has_inner_product_param();
20626   ::opencv_caffe::InnerProductParameter* temp = inner_product_param_;
20627   inner_product_param_ = NULL;
20628   return temp;
20629 }
mutable_inner_product_param()20630 inline ::opencv_caffe::InnerProductParameter* LayerParameter::mutable_inner_product_param() {
20631   set_has_inner_product_param();
20632   if (inner_product_param_ == NULL) {
20633     inner_product_param_ = new ::opencv_caffe::InnerProductParameter;
20634   }
20635   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.inner_product_param)
20636   return inner_product_param_;
20637 }
set_allocated_inner_product_param(::opencv_caffe::InnerProductParameter * inner_product_param)20638 inline void LayerParameter::set_allocated_inner_product_param(::opencv_caffe::InnerProductParameter* inner_product_param) {
20639   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20640   if (message_arena == NULL) {
20641     delete inner_product_param_;
20642   }
20643   if (inner_product_param) {
20644     ::google::protobuf::Arena* submessage_arena = NULL;
20645     if (message_arena != submessage_arena) {
20646       inner_product_param = ::google::protobuf::internal::GetOwnedMessage(
20647           message_arena, inner_product_param, submessage_arena);
20648     }
20649     set_has_inner_product_param();
20650   } else {
20651     clear_has_inner_product_param();
20652   }
20653   inner_product_param_ = inner_product_param;
20654   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.inner_product_param)
20655 }
20656 
20657 // optional .opencv_caffe.InputParameter input_param = 143;
has_input_param()20658 inline bool LayerParameter::has_input_param() const {
20659   return (_has_bits_[1] & 0x00002000u) != 0;
20660 }
set_has_input_param()20661 inline void LayerParameter::set_has_input_param() {
20662   _has_bits_[1] |= 0x00002000u;
20663 }
clear_has_input_param()20664 inline void LayerParameter::clear_has_input_param() {
20665   _has_bits_[1] &= ~0x00002000u;
20666 }
clear_input_param()20667 inline void LayerParameter::clear_input_param() {
20668   if (input_param_ != NULL) input_param_->Clear();
20669   clear_has_input_param();
20670 }
input_param()20671 inline const ::opencv_caffe::InputParameter& LayerParameter::input_param() const {
20672   const ::opencv_caffe::InputParameter* p = input_param_;
20673   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.input_param)
20674   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::InputParameter*>(
20675       &::opencv_caffe::_InputParameter_default_instance_);
20676 }
release_input_param()20677 inline ::opencv_caffe::InputParameter* LayerParameter::release_input_param() {
20678   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.input_param)
20679   clear_has_input_param();
20680   ::opencv_caffe::InputParameter* temp = input_param_;
20681   input_param_ = NULL;
20682   return temp;
20683 }
mutable_input_param()20684 inline ::opencv_caffe::InputParameter* LayerParameter::mutable_input_param() {
20685   set_has_input_param();
20686   if (input_param_ == NULL) {
20687     input_param_ = new ::opencv_caffe::InputParameter;
20688   }
20689   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.input_param)
20690   return input_param_;
20691 }
set_allocated_input_param(::opencv_caffe::InputParameter * input_param)20692 inline void LayerParameter::set_allocated_input_param(::opencv_caffe::InputParameter* input_param) {
20693   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20694   if (message_arena == NULL) {
20695     delete input_param_;
20696   }
20697   if (input_param) {
20698     ::google::protobuf::Arena* submessage_arena = NULL;
20699     if (message_arena != submessage_arena) {
20700       input_param = ::google::protobuf::internal::GetOwnedMessage(
20701           message_arena, input_param, submessage_arena);
20702     }
20703     set_has_input_param();
20704   } else {
20705     clear_has_input_param();
20706   }
20707   input_param_ = input_param;
20708   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.input_param)
20709 }
20710 
20711 // optional .opencv_caffe.LogParameter log_param = 134;
has_log_param()20712 inline bool LayerParameter::has_log_param() const {
20713   return (_has_bits_[1] & 0x00000010u) != 0;
20714 }
set_has_log_param()20715 inline void LayerParameter::set_has_log_param() {
20716   _has_bits_[1] |= 0x00000010u;
20717 }
clear_has_log_param()20718 inline void LayerParameter::clear_has_log_param() {
20719   _has_bits_[1] &= ~0x00000010u;
20720 }
clear_log_param()20721 inline void LayerParameter::clear_log_param() {
20722   if (log_param_ != NULL) log_param_->Clear();
20723   clear_has_log_param();
20724 }
log_param()20725 inline const ::opencv_caffe::LogParameter& LayerParameter::log_param() const {
20726   const ::opencv_caffe::LogParameter* p = log_param_;
20727   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.log_param)
20728   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::LogParameter*>(
20729       &::opencv_caffe::_LogParameter_default_instance_);
20730 }
release_log_param()20731 inline ::opencv_caffe::LogParameter* LayerParameter::release_log_param() {
20732   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.log_param)
20733   clear_has_log_param();
20734   ::opencv_caffe::LogParameter* temp = log_param_;
20735   log_param_ = NULL;
20736   return temp;
20737 }
mutable_log_param()20738 inline ::opencv_caffe::LogParameter* LayerParameter::mutable_log_param() {
20739   set_has_log_param();
20740   if (log_param_ == NULL) {
20741     log_param_ = new ::opencv_caffe::LogParameter;
20742   }
20743   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.log_param)
20744   return log_param_;
20745 }
set_allocated_log_param(::opencv_caffe::LogParameter * log_param)20746 inline void LayerParameter::set_allocated_log_param(::opencv_caffe::LogParameter* log_param) {
20747   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20748   if (message_arena == NULL) {
20749     delete log_param_;
20750   }
20751   if (log_param) {
20752     ::google::protobuf::Arena* submessage_arena = NULL;
20753     if (message_arena != submessage_arena) {
20754       log_param = ::google::protobuf::internal::GetOwnedMessage(
20755           message_arena, log_param, submessage_arena);
20756     }
20757     set_has_log_param();
20758   } else {
20759     clear_has_log_param();
20760   }
20761   log_param_ = log_param;
20762   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.log_param)
20763 }
20764 
20765 // optional .opencv_caffe.LRNParameter lrn_param = 118;
has_lrn_param()20766 inline bool LayerParameter::has_lrn_param() const {
20767   return (_has_bits_[0] & 0x00100000u) != 0;
20768 }
set_has_lrn_param()20769 inline void LayerParameter::set_has_lrn_param() {
20770   _has_bits_[0] |= 0x00100000u;
20771 }
clear_has_lrn_param()20772 inline void LayerParameter::clear_has_lrn_param() {
20773   _has_bits_[0] &= ~0x00100000u;
20774 }
clear_lrn_param()20775 inline void LayerParameter::clear_lrn_param() {
20776   if (lrn_param_ != NULL) lrn_param_->Clear();
20777   clear_has_lrn_param();
20778 }
lrn_param()20779 inline const ::opencv_caffe::LRNParameter& LayerParameter::lrn_param() const {
20780   const ::opencv_caffe::LRNParameter* p = lrn_param_;
20781   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.lrn_param)
20782   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::LRNParameter*>(
20783       &::opencv_caffe::_LRNParameter_default_instance_);
20784 }
release_lrn_param()20785 inline ::opencv_caffe::LRNParameter* LayerParameter::release_lrn_param() {
20786   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.lrn_param)
20787   clear_has_lrn_param();
20788   ::opencv_caffe::LRNParameter* temp = lrn_param_;
20789   lrn_param_ = NULL;
20790   return temp;
20791 }
mutable_lrn_param()20792 inline ::opencv_caffe::LRNParameter* LayerParameter::mutable_lrn_param() {
20793   set_has_lrn_param();
20794   if (lrn_param_ == NULL) {
20795     lrn_param_ = new ::opencv_caffe::LRNParameter;
20796   }
20797   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.lrn_param)
20798   return lrn_param_;
20799 }
set_allocated_lrn_param(::opencv_caffe::LRNParameter * lrn_param)20800 inline void LayerParameter::set_allocated_lrn_param(::opencv_caffe::LRNParameter* lrn_param) {
20801   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20802   if (message_arena == NULL) {
20803     delete lrn_param_;
20804   }
20805   if (lrn_param) {
20806     ::google::protobuf::Arena* submessage_arena = NULL;
20807     if (message_arena != submessage_arena) {
20808       lrn_param = ::google::protobuf::internal::GetOwnedMessage(
20809           message_arena, lrn_param, submessage_arena);
20810     }
20811     set_has_lrn_param();
20812   } else {
20813     clear_has_lrn_param();
20814   }
20815   lrn_param_ = lrn_param;
20816   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.lrn_param)
20817 }
20818 
20819 // optional .opencv_caffe.MemoryDataParameter memory_data_param = 119;
has_memory_data_param()20820 inline bool LayerParameter::has_memory_data_param() const {
20821   return (_has_bits_[0] & 0x00200000u) != 0;
20822 }
set_has_memory_data_param()20823 inline void LayerParameter::set_has_memory_data_param() {
20824   _has_bits_[0] |= 0x00200000u;
20825 }
clear_has_memory_data_param()20826 inline void LayerParameter::clear_has_memory_data_param() {
20827   _has_bits_[0] &= ~0x00200000u;
20828 }
clear_memory_data_param()20829 inline void LayerParameter::clear_memory_data_param() {
20830   if (memory_data_param_ != NULL) memory_data_param_->Clear();
20831   clear_has_memory_data_param();
20832 }
memory_data_param()20833 inline const ::opencv_caffe::MemoryDataParameter& LayerParameter::memory_data_param() const {
20834   const ::opencv_caffe::MemoryDataParameter* p = memory_data_param_;
20835   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.memory_data_param)
20836   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::MemoryDataParameter*>(
20837       &::opencv_caffe::_MemoryDataParameter_default_instance_);
20838 }
release_memory_data_param()20839 inline ::opencv_caffe::MemoryDataParameter* LayerParameter::release_memory_data_param() {
20840   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.memory_data_param)
20841   clear_has_memory_data_param();
20842   ::opencv_caffe::MemoryDataParameter* temp = memory_data_param_;
20843   memory_data_param_ = NULL;
20844   return temp;
20845 }
mutable_memory_data_param()20846 inline ::opencv_caffe::MemoryDataParameter* LayerParameter::mutable_memory_data_param() {
20847   set_has_memory_data_param();
20848   if (memory_data_param_ == NULL) {
20849     memory_data_param_ = new ::opencv_caffe::MemoryDataParameter;
20850   }
20851   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.memory_data_param)
20852   return memory_data_param_;
20853 }
set_allocated_memory_data_param(::opencv_caffe::MemoryDataParameter * memory_data_param)20854 inline void LayerParameter::set_allocated_memory_data_param(::opencv_caffe::MemoryDataParameter* memory_data_param) {
20855   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20856   if (message_arena == NULL) {
20857     delete memory_data_param_;
20858   }
20859   if (memory_data_param) {
20860     ::google::protobuf::Arena* submessage_arena = NULL;
20861     if (message_arena != submessage_arena) {
20862       memory_data_param = ::google::protobuf::internal::GetOwnedMessage(
20863           message_arena, memory_data_param, submessage_arena);
20864     }
20865     set_has_memory_data_param();
20866   } else {
20867     clear_has_memory_data_param();
20868   }
20869   memory_data_param_ = memory_data_param;
20870   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.memory_data_param)
20871 }
20872 
20873 // optional .opencv_caffe.MVNParameter mvn_param = 120;
has_mvn_param()20874 inline bool LayerParameter::has_mvn_param() const {
20875   return (_has_bits_[0] & 0x00400000u) != 0;
20876 }
set_has_mvn_param()20877 inline void LayerParameter::set_has_mvn_param() {
20878   _has_bits_[0] |= 0x00400000u;
20879 }
clear_has_mvn_param()20880 inline void LayerParameter::clear_has_mvn_param() {
20881   _has_bits_[0] &= ~0x00400000u;
20882 }
clear_mvn_param()20883 inline void LayerParameter::clear_mvn_param() {
20884   if (mvn_param_ != NULL) mvn_param_->Clear();
20885   clear_has_mvn_param();
20886 }
mvn_param()20887 inline const ::opencv_caffe::MVNParameter& LayerParameter::mvn_param() const {
20888   const ::opencv_caffe::MVNParameter* p = mvn_param_;
20889   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.mvn_param)
20890   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::MVNParameter*>(
20891       &::opencv_caffe::_MVNParameter_default_instance_);
20892 }
release_mvn_param()20893 inline ::opencv_caffe::MVNParameter* LayerParameter::release_mvn_param() {
20894   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.mvn_param)
20895   clear_has_mvn_param();
20896   ::opencv_caffe::MVNParameter* temp = mvn_param_;
20897   mvn_param_ = NULL;
20898   return temp;
20899 }
mutable_mvn_param()20900 inline ::opencv_caffe::MVNParameter* LayerParameter::mutable_mvn_param() {
20901   set_has_mvn_param();
20902   if (mvn_param_ == NULL) {
20903     mvn_param_ = new ::opencv_caffe::MVNParameter;
20904   }
20905   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.mvn_param)
20906   return mvn_param_;
20907 }
set_allocated_mvn_param(::opencv_caffe::MVNParameter * mvn_param)20908 inline void LayerParameter::set_allocated_mvn_param(::opencv_caffe::MVNParameter* mvn_param) {
20909   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20910   if (message_arena == NULL) {
20911     delete mvn_param_;
20912   }
20913   if (mvn_param) {
20914     ::google::protobuf::Arena* submessage_arena = NULL;
20915     if (message_arena != submessage_arena) {
20916       mvn_param = ::google::protobuf::internal::GetOwnedMessage(
20917           message_arena, mvn_param, submessage_arena);
20918     }
20919     set_has_mvn_param();
20920   } else {
20921     clear_has_mvn_param();
20922   }
20923   mvn_param_ = mvn_param;
20924   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.mvn_param)
20925 }
20926 
20927 // optional .opencv_caffe.NormalizeBBoxParameter norm_param = 149;
has_norm_param()20928 inline bool LayerParameter::has_norm_param() const {
20929   return (_has_bits_[1] & 0x00080000u) != 0;
20930 }
set_has_norm_param()20931 inline void LayerParameter::set_has_norm_param() {
20932   _has_bits_[1] |= 0x00080000u;
20933 }
clear_has_norm_param()20934 inline void LayerParameter::clear_has_norm_param() {
20935   _has_bits_[1] &= ~0x00080000u;
20936 }
clear_norm_param()20937 inline void LayerParameter::clear_norm_param() {
20938   if (norm_param_ != NULL) norm_param_->Clear();
20939   clear_has_norm_param();
20940 }
norm_param()20941 inline const ::opencv_caffe::NormalizeBBoxParameter& LayerParameter::norm_param() const {
20942   const ::opencv_caffe::NormalizeBBoxParameter* p = norm_param_;
20943   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.norm_param)
20944   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::NormalizeBBoxParameter*>(
20945       &::opencv_caffe::_NormalizeBBoxParameter_default_instance_);
20946 }
release_norm_param()20947 inline ::opencv_caffe::NormalizeBBoxParameter* LayerParameter::release_norm_param() {
20948   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.norm_param)
20949   clear_has_norm_param();
20950   ::opencv_caffe::NormalizeBBoxParameter* temp = norm_param_;
20951   norm_param_ = NULL;
20952   return temp;
20953 }
mutable_norm_param()20954 inline ::opencv_caffe::NormalizeBBoxParameter* LayerParameter::mutable_norm_param() {
20955   set_has_norm_param();
20956   if (norm_param_ == NULL) {
20957     norm_param_ = new ::opencv_caffe::NormalizeBBoxParameter;
20958   }
20959   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.norm_param)
20960   return norm_param_;
20961 }
set_allocated_norm_param(::opencv_caffe::NormalizeBBoxParameter * norm_param)20962 inline void LayerParameter::set_allocated_norm_param(::opencv_caffe::NormalizeBBoxParameter* norm_param) {
20963   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
20964   if (message_arena == NULL) {
20965     delete norm_param_;
20966   }
20967   if (norm_param) {
20968     ::google::protobuf::Arena* submessage_arena = NULL;
20969     if (message_arena != submessage_arena) {
20970       norm_param = ::google::protobuf::internal::GetOwnedMessage(
20971           message_arena, norm_param, submessage_arena);
20972     }
20973     set_has_norm_param();
20974   } else {
20975     clear_has_norm_param();
20976   }
20977   norm_param_ = norm_param;
20978   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.norm_param)
20979 }
20980 
20981 // optional .opencv_caffe.PermuteParameter permute_param = 148;
has_permute_param()20982 inline bool LayerParameter::has_permute_param() const {
20983   return (_has_bits_[1] & 0x00040000u) != 0;
20984 }
set_has_permute_param()20985 inline void LayerParameter::set_has_permute_param() {
20986   _has_bits_[1] |= 0x00040000u;
20987 }
clear_has_permute_param()20988 inline void LayerParameter::clear_has_permute_param() {
20989   _has_bits_[1] &= ~0x00040000u;
20990 }
clear_permute_param()20991 inline void LayerParameter::clear_permute_param() {
20992   if (permute_param_ != NULL) permute_param_->Clear();
20993   clear_has_permute_param();
20994 }
permute_param()20995 inline const ::opencv_caffe::PermuteParameter& LayerParameter::permute_param() const {
20996   const ::opencv_caffe::PermuteParameter* p = permute_param_;
20997   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.permute_param)
20998   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::PermuteParameter*>(
20999       &::opencv_caffe::_PermuteParameter_default_instance_);
21000 }
release_permute_param()21001 inline ::opencv_caffe::PermuteParameter* LayerParameter::release_permute_param() {
21002   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.permute_param)
21003   clear_has_permute_param();
21004   ::opencv_caffe::PermuteParameter* temp = permute_param_;
21005   permute_param_ = NULL;
21006   return temp;
21007 }
mutable_permute_param()21008 inline ::opencv_caffe::PermuteParameter* LayerParameter::mutable_permute_param() {
21009   set_has_permute_param();
21010   if (permute_param_ == NULL) {
21011     permute_param_ = new ::opencv_caffe::PermuteParameter;
21012   }
21013   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.permute_param)
21014   return permute_param_;
21015 }
set_allocated_permute_param(::opencv_caffe::PermuteParameter * permute_param)21016 inline void LayerParameter::set_allocated_permute_param(::opencv_caffe::PermuteParameter* permute_param) {
21017   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21018   if (message_arena == NULL) {
21019     delete permute_param_;
21020   }
21021   if (permute_param) {
21022     ::google::protobuf::Arena* submessage_arena = NULL;
21023     if (message_arena != submessage_arena) {
21024       permute_param = ::google::protobuf::internal::GetOwnedMessage(
21025           message_arena, permute_param, submessage_arena);
21026     }
21027     set_has_permute_param();
21028   } else {
21029     clear_has_permute_param();
21030   }
21031   permute_param_ = permute_param;
21032   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.permute_param)
21033 }
21034 
21035 // optional .opencv_caffe.ParameterParameter parameter_param = 145;
has_parameter_param()21036 inline bool LayerParameter::has_parameter_param() const {
21037   return (_has_bits_[1] & 0x00008000u) != 0;
21038 }
set_has_parameter_param()21039 inline void LayerParameter::set_has_parameter_param() {
21040   _has_bits_[1] |= 0x00008000u;
21041 }
clear_has_parameter_param()21042 inline void LayerParameter::clear_has_parameter_param() {
21043   _has_bits_[1] &= ~0x00008000u;
21044 }
clear_parameter_param()21045 inline void LayerParameter::clear_parameter_param() {
21046   if (parameter_param_ != NULL) parameter_param_->Clear();
21047   clear_has_parameter_param();
21048 }
parameter_param()21049 inline const ::opencv_caffe::ParameterParameter& LayerParameter::parameter_param() const {
21050   const ::opencv_caffe::ParameterParameter* p = parameter_param_;
21051   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.parameter_param)
21052   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ParameterParameter*>(
21053       &::opencv_caffe::_ParameterParameter_default_instance_);
21054 }
release_parameter_param()21055 inline ::opencv_caffe::ParameterParameter* LayerParameter::release_parameter_param() {
21056   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.parameter_param)
21057   clear_has_parameter_param();
21058   ::opencv_caffe::ParameterParameter* temp = parameter_param_;
21059   parameter_param_ = NULL;
21060   return temp;
21061 }
mutable_parameter_param()21062 inline ::opencv_caffe::ParameterParameter* LayerParameter::mutable_parameter_param() {
21063   set_has_parameter_param();
21064   if (parameter_param_ == NULL) {
21065     parameter_param_ = new ::opencv_caffe::ParameterParameter;
21066   }
21067   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.parameter_param)
21068   return parameter_param_;
21069 }
set_allocated_parameter_param(::opencv_caffe::ParameterParameter * parameter_param)21070 inline void LayerParameter::set_allocated_parameter_param(::opencv_caffe::ParameterParameter* parameter_param) {
21071   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21072   if (message_arena == NULL) {
21073     delete parameter_param_;
21074   }
21075   if (parameter_param) {
21076     ::google::protobuf::Arena* submessage_arena = NULL;
21077     if (message_arena != submessage_arena) {
21078       parameter_param = ::google::protobuf::internal::GetOwnedMessage(
21079           message_arena, parameter_param, submessage_arena);
21080     }
21081     set_has_parameter_param();
21082   } else {
21083     clear_has_parameter_param();
21084   }
21085   parameter_param_ = parameter_param;
21086   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.parameter_param)
21087 }
21088 
21089 // optional .opencv_caffe.PoolingParameter pooling_param = 121;
has_pooling_param()21090 inline bool LayerParameter::has_pooling_param() const {
21091   return (_has_bits_[0] & 0x00800000u) != 0;
21092 }
set_has_pooling_param()21093 inline void LayerParameter::set_has_pooling_param() {
21094   _has_bits_[0] |= 0x00800000u;
21095 }
clear_has_pooling_param()21096 inline void LayerParameter::clear_has_pooling_param() {
21097   _has_bits_[0] &= ~0x00800000u;
21098 }
clear_pooling_param()21099 inline void LayerParameter::clear_pooling_param() {
21100   if (pooling_param_ != NULL) pooling_param_->Clear();
21101   clear_has_pooling_param();
21102 }
pooling_param()21103 inline const ::opencv_caffe::PoolingParameter& LayerParameter::pooling_param() const {
21104   const ::opencv_caffe::PoolingParameter* p = pooling_param_;
21105   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.pooling_param)
21106   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::PoolingParameter*>(
21107       &::opencv_caffe::_PoolingParameter_default_instance_);
21108 }
release_pooling_param()21109 inline ::opencv_caffe::PoolingParameter* LayerParameter::release_pooling_param() {
21110   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.pooling_param)
21111   clear_has_pooling_param();
21112   ::opencv_caffe::PoolingParameter* temp = pooling_param_;
21113   pooling_param_ = NULL;
21114   return temp;
21115 }
mutable_pooling_param()21116 inline ::opencv_caffe::PoolingParameter* LayerParameter::mutable_pooling_param() {
21117   set_has_pooling_param();
21118   if (pooling_param_ == NULL) {
21119     pooling_param_ = new ::opencv_caffe::PoolingParameter;
21120   }
21121   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.pooling_param)
21122   return pooling_param_;
21123 }
set_allocated_pooling_param(::opencv_caffe::PoolingParameter * pooling_param)21124 inline void LayerParameter::set_allocated_pooling_param(::opencv_caffe::PoolingParameter* pooling_param) {
21125   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21126   if (message_arena == NULL) {
21127     delete pooling_param_;
21128   }
21129   if (pooling_param) {
21130     ::google::protobuf::Arena* submessage_arena = NULL;
21131     if (message_arena != submessage_arena) {
21132       pooling_param = ::google::protobuf::internal::GetOwnedMessage(
21133           message_arena, pooling_param, submessage_arena);
21134     }
21135     set_has_pooling_param();
21136   } else {
21137     clear_has_pooling_param();
21138   }
21139   pooling_param_ = pooling_param;
21140   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.pooling_param)
21141 }
21142 
21143 // optional .opencv_caffe.PowerParameter power_param = 122;
has_power_param()21144 inline bool LayerParameter::has_power_param() const {
21145   return (_has_bits_[0] & 0x01000000u) != 0;
21146 }
set_has_power_param()21147 inline void LayerParameter::set_has_power_param() {
21148   _has_bits_[0] |= 0x01000000u;
21149 }
clear_has_power_param()21150 inline void LayerParameter::clear_has_power_param() {
21151   _has_bits_[0] &= ~0x01000000u;
21152 }
clear_power_param()21153 inline void LayerParameter::clear_power_param() {
21154   if (power_param_ != NULL) power_param_->Clear();
21155   clear_has_power_param();
21156 }
power_param()21157 inline const ::opencv_caffe::PowerParameter& LayerParameter::power_param() const {
21158   const ::opencv_caffe::PowerParameter* p = power_param_;
21159   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.power_param)
21160   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::PowerParameter*>(
21161       &::opencv_caffe::_PowerParameter_default_instance_);
21162 }
release_power_param()21163 inline ::opencv_caffe::PowerParameter* LayerParameter::release_power_param() {
21164   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.power_param)
21165   clear_has_power_param();
21166   ::opencv_caffe::PowerParameter* temp = power_param_;
21167   power_param_ = NULL;
21168   return temp;
21169 }
mutable_power_param()21170 inline ::opencv_caffe::PowerParameter* LayerParameter::mutable_power_param() {
21171   set_has_power_param();
21172   if (power_param_ == NULL) {
21173     power_param_ = new ::opencv_caffe::PowerParameter;
21174   }
21175   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.power_param)
21176   return power_param_;
21177 }
set_allocated_power_param(::opencv_caffe::PowerParameter * power_param)21178 inline void LayerParameter::set_allocated_power_param(::opencv_caffe::PowerParameter* power_param) {
21179   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21180   if (message_arena == NULL) {
21181     delete power_param_;
21182   }
21183   if (power_param) {
21184     ::google::protobuf::Arena* submessage_arena = NULL;
21185     if (message_arena != submessage_arena) {
21186       power_param = ::google::protobuf::internal::GetOwnedMessage(
21187           message_arena, power_param, submessage_arena);
21188     }
21189     set_has_power_param();
21190   } else {
21191     clear_has_power_param();
21192   }
21193   power_param_ = power_param;
21194   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.power_param)
21195 }
21196 
21197 // optional .opencv_caffe.PReLUParameter prelu_param = 131;
has_prelu_param()21198 inline bool LayerParameter::has_prelu_param() const {
21199   return (_has_bits_[1] & 0x00000002u) != 0;
21200 }
set_has_prelu_param()21201 inline void LayerParameter::set_has_prelu_param() {
21202   _has_bits_[1] |= 0x00000002u;
21203 }
clear_has_prelu_param()21204 inline void LayerParameter::clear_has_prelu_param() {
21205   _has_bits_[1] &= ~0x00000002u;
21206 }
clear_prelu_param()21207 inline void LayerParameter::clear_prelu_param() {
21208   if (prelu_param_ != NULL) prelu_param_->Clear();
21209   clear_has_prelu_param();
21210 }
prelu_param()21211 inline const ::opencv_caffe::PReLUParameter& LayerParameter::prelu_param() const {
21212   const ::opencv_caffe::PReLUParameter* p = prelu_param_;
21213   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.prelu_param)
21214   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::PReLUParameter*>(
21215       &::opencv_caffe::_PReLUParameter_default_instance_);
21216 }
release_prelu_param()21217 inline ::opencv_caffe::PReLUParameter* LayerParameter::release_prelu_param() {
21218   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.prelu_param)
21219   clear_has_prelu_param();
21220   ::opencv_caffe::PReLUParameter* temp = prelu_param_;
21221   prelu_param_ = NULL;
21222   return temp;
21223 }
mutable_prelu_param()21224 inline ::opencv_caffe::PReLUParameter* LayerParameter::mutable_prelu_param() {
21225   set_has_prelu_param();
21226   if (prelu_param_ == NULL) {
21227     prelu_param_ = new ::opencv_caffe::PReLUParameter;
21228   }
21229   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.prelu_param)
21230   return prelu_param_;
21231 }
set_allocated_prelu_param(::opencv_caffe::PReLUParameter * prelu_param)21232 inline void LayerParameter::set_allocated_prelu_param(::opencv_caffe::PReLUParameter* prelu_param) {
21233   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21234   if (message_arena == NULL) {
21235     delete prelu_param_;
21236   }
21237   if (prelu_param) {
21238     ::google::protobuf::Arena* submessage_arena = NULL;
21239     if (message_arena != submessage_arena) {
21240       prelu_param = ::google::protobuf::internal::GetOwnedMessage(
21241           message_arena, prelu_param, submessage_arena);
21242     }
21243     set_has_prelu_param();
21244   } else {
21245     clear_has_prelu_param();
21246   }
21247   prelu_param_ = prelu_param;
21248   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.prelu_param)
21249 }
21250 
21251 // optional .opencv_caffe.PriorBoxParameter prior_box_param = 150;
has_prior_box_param()21252 inline bool LayerParameter::has_prior_box_param() const {
21253   return (_has_bits_[1] & 0x00100000u) != 0;
21254 }
set_has_prior_box_param()21255 inline void LayerParameter::set_has_prior_box_param() {
21256   _has_bits_[1] |= 0x00100000u;
21257 }
clear_has_prior_box_param()21258 inline void LayerParameter::clear_has_prior_box_param() {
21259   _has_bits_[1] &= ~0x00100000u;
21260 }
clear_prior_box_param()21261 inline void LayerParameter::clear_prior_box_param() {
21262   if (prior_box_param_ != NULL) prior_box_param_->Clear();
21263   clear_has_prior_box_param();
21264 }
prior_box_param()21265 inline const ::opencv_caffe::PriorBoxParameter& LayerParameter::prior_box_param() const {
21266   const ::opencv_caffe::PriorBoxParameter* p = prior_box_param_;
21267   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.prior_box_param)
21268   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::PriorBoxParameter*>(
21269       &::opencv_caffe::_PriorBoxParameter_default_instance_);
21270 }
release_prior_box_param()21271 inline ::opencv_caffe::PriorBoxParameter* LayerParameter::release_prior_box_param() {
21272   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.prior_box_param)
21273   clear_has_prior_box_param();
21274   ::opencv_caffe::PriorBoxParameter* temp = prior_box_param_;
21275   prior_box_param_ = NULL;
21276   return temp;
21277 }
mutable_prior_box_param()21278 inline ::opencv_caffe::PriorBoxParameter* LayerParameter::mutable_prior_box_param() {
21279   set_has_prior_box_param();
21280   if (prior_box_param_ == NULL) {
21281     prior_box_param_ = new ::opencv_caffe::PriorBoxParameter;
21282   }
21283   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.prior_box_param)
21284   return prior_box_param_;
21285 }
set_allocated_prior_box_param(::opencv_caffe::PriorBoxParameter * prior_box_param)21286 inline void LayerParameter::set_allocated_prior_box_param(::opencv_caffe::PriorBoxParameter* prior_box_param) {
21287   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21288   if (message_arena == NULL) {
21289     delete prior_box_param_;
21290   }
21291   if (prior_box_param) {
21292     ::google::protobuf::Arena* submessage_arena = NULL;
21293     if (message_arena != submessage_arena) {
21294       prior_box_param = ::google::protobuf::internal::GetOwnedMessage(
21295           message_arena, prior_box_param, submessage_arena);
21296     }
21297     set_has_prior_box_param();
21298   } else {
21299     clear_has_prior_box_param();
21300   }
21301   prior_box_param_ = prior_box_param;
21302   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.prior_box_param)
21303 }
21304 
21305 // optional .opencv_caffe.ProposalParameter proposal_param = 201;
has_proposal_param()21306 inline bool LayerParameter::has_proposal_param() const {
21307   return (_has_bits_[1] & 0x00200000u) != 0;
21308 }
set_has_proposal_param()21309 inline void LayerParameter::set_has_proposal_param() {
21310   _has_bits_[1] |= 0x00200000u;
21311 }
clear_has_proposal_param()21312 inline void LayerParameter::clear_has_proposal_param() {
21313   _has_bits_[1] &= ~0x00200000u;
21314 }
clear_proposal_param()21315 inline void LayerParameter::clear_proposal_param() {
21316   if (proposal_param_ != NULL) proposal_param_->Clear();
21317   clear_has_proposal_param();
21318 }
proposal_param()21319 inline const ::opencv_caffe::ProposalParameter& LayerParameter::proposal_param() const {
21320   const ::opencv_caffe::ProposalParameter* p = proposal_param_;
21321   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.proposal_param)
21322   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ProposalParameter*>(
21323       &::opencv_caffe::_ProposalParameter_default_instance_);
21324 }
release_proposal_param()21325 inline ::opencv_caffe::ProposalParameter* LayerParameter::release_proposal_param() {
21326   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.proposal_param)
21327   clear_has_proposal_param();
21328   ::opencv_caffe::ProposalParameter* temp = proposal_param_;
21329   proposal_param_ = NULL;
21330   return temp;
21331 }
mutable_proposal_param()21332 inline ::opencv_caffe::ProposalParameter* LayerParameter::mutable_proposal_param() {
21333   set_has_proposal_param();
21334   if (proposal_param_ == NULL) {
21335     proposal_param_ = new ::opencv_caffe::ProposalParameter;
21336   }
21337   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.proposal_param)
21338   return proposal_param_;
21339 }
set_allocated_proposal_param(::opencv_caffe::ProposalParameter * proposal_param)21340 inline void LayerParameter::set_allocated_proposal_param(::opencv_caffe::ProposalParameter* proposal_param) {
21341   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21342   if (message_arena == NULL) {
21343     delete proposal_param_;
21344   }
21345   if (proposal_param) {
21346     ::google::protobuf::Arena* submessage_arena = NULL;
21347     if (message_arena != submessage_arena) {
21348       proposal_param = ::google::protobuf::internal::GetOwnedMessage(
21349           message_arena, proposal_param, submessage_arena);
21350     }
21351     set_has_proposal_param();
21352   } else {
21353     clear_has_proposal_param();
21354   }
21355   proposal_param_ = proposal_param;
21356   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.proposal_param)
21357 }
21358 
21359 // optional .opencv_caffe.PSROIPoolingParameter psroi_pooling_param = 10002;
has_psroi_pooling_param()21360 inline bool LayerParameter::has_psroi_pooling_param() const {
21361   return (_has_bits_[1] & 0x00400000u) != 0;
21362 }
set_has_psroi_pooling_param()21363 inline void LayerParameter::set_has_psroi_pooling_param() {
21364   _has_bits_[1] |= 0x00400000u;
21365 }
clear_has_psroi_pooling_param()21366 inline void LayerParameter::clear_has_psroi_pooling_param() {
21367   _has_bits_[1] &= ~0x00400000u;
21368 }
clear_psroi_pooling_param()21369 inline void LayerParameter::clear_psroi_pooling_param() {
21370   if (psroi_pooling_param_ != NULL) psroi_pooling_param_->Clear();
21371   clear_has_psroi_pooling_param();
21372 }
psroi_pooling_param()21373 inline const ::opencv_caffe::PSROIPoolingParameter& LayerParameter::psroi_pooling_param() const {
21374   const ::opencv_caffe::PSROIPoolingParameter* p = psroi_pooling_param_;
21375   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.psroi_pooling_param)
21376   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::PSROIPoolingParameter*>(
21377       &::opencv_caffe::_PSROIPoolingParameter_default_instance_);
21378 }
release_psroi_pooling_param()21379 inline ::opencv_caffe::PSROIPoolingParameter* LayerParameter::release_psroi_pooling_param() {
21380   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.psroi_pooling_param)
21381   clear_has_psroi_pooling_param();
21382   ::opencv_caffe::PSROIPoolingParameter* temp = psroi_pooling_param_;
21383   psroi_pooling_param_ = NULL;
21384   return temp;
21385 }
mutable_psroi_pooling_param()21386 inline ::opencv_caffe::PSROIPoolingParameter* LayerParameter::mutable_psroi_pooling_param() {
21387   set_has_psroi_pooling_param();
21388   if (psroi_pooling_param_ == NULL) {
21389     psroi_pooling_param_ = new ::opencv_caffe::PSROIPoolingParameter;
21390   }
21391   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.psroi_pooling_param)
21392   return psroi_pooling_param_;
21393 }
set_allocated_psroi_pooling_param(::opencv_caffe::PSROIPoolingParameter * psroi_pooling_param)21394 inline void LayerParameter::set_allocated_psroi_pooling_param(::opencv_caffe::PSROIPoolingParameter* psroi_pooling_param) {
21395   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21396   if (message_arena == NULL) {
21397     delete psroi_pooling_param_;
21398   }
21399   if (psroi_pooling_param) {
21400     ::google::protobuf::Arena* submessage_arena = NULL;
21401     if (message_arena != submessage_arena) {
21402       psroi_pooling_param = ::google::protobuf::internal::GetOwnedMessage(
21403           message_arena, psroi_pooling_param, submessage_arena);
21404     }
21405     set_has_psroi_pooling_param();
21406   } else {
21407     clear_has_psroi_pooling_param();
21408   }
21409   psroi_pooling_param_ = psroi_pooling_param;
21410   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.psroi_pooling_param)
21411 }
21412 
21413 // optional .opencv_caffe.PythonParameter python_param = 130;
has_python_param()21414 inline bool LayerParameter::has_python_param() const {
21415   return (_has_bits_[1] & 0x00000001u) != 0;
21416 }
set_has_python_param()21417 inline void LayerParameter::set_has_python_param() {
21418   _has_bits_[1] |= 0x00000001u;
21419 }
clear_has_python_param()21420 inline void LayerParameter::clear_has_python_param() {
21421   _has_bits_[1] &= ~0x00000001u;
21422 }
clear_python_param()21423 inline void LayerParameter::clear_python_param() {
21424   if (python_param_ != NULL) python_param_->Clear();
21425   clear_has_python_param();
21426 }
python_param()21427 inline const ::opencv_caffe::PythonParameter& LayerParameter::python_param() const {
21428   const ::opencv_caffe::PythonParameter* p = python_param_;
21429   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.python_param)
21430   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::PythonParameter*>(
21431       &::opencv_caffe::_PythonParameter_default_instance_);
21432 }
release_python_param()21433 inline ::opencv_caffe::PythonParameter* LayerParameter::release_python_param() {
21434   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.python_param)
21435   clear_has_python_param();
21436   ::opencv_caffe::PythonParameter* temp = python_param_;
21437   python_param_ = NULL;
21438   return temp;
21439 }
mutable_python_param()21440 inline ::opencv_caffe::PythonParameter* LayerParameter::mutable_python_param() {
21441   set_has_python_param();
21442   if (python_param_ == NULL) {
21443     python_param_ = new ::opencv_caffe::PythonParameter;
21444   }
21445   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.python_param)
21446   return python_param_;
21447 }
set_allocated_python_param(::opencv_caffe::PythonParameter * python_param)21448 inline void LayerParameter::set_allocated_python_param(::opencv_caffe::PythonParameter* python_param) {
21449   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21450   if (message_arena == NULL) {
21451     delete python_param_;
21452   }
21453   if (python_param) {
21454     ::google::protobuf::Arena* submessage_arena = NULL;
21455     if (message_arena != submessage_arena) {
21456       python_param = ::google::protobuf::internal::GetOwnedMessage(
21457           message_arena, python_param, submessage_arena);
21458     }
21459     set_has_python_param();
21460   } else {
21461     clear_has_python_param();
21462   }
21463   python_param_ = python_param;
21464   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.python_param)
21465 }
21466 
21467 // optional .opencv_caffe.RecurrentParameter recurrent_param = 146;
has_recurrent_param()21468 inline bool LayerParameter::has_recurrent_param() const {
21469   return (_has_bits_[1] & 0x00010000u) != 0;
21470 }
set_has_recurrent_param()21471 inline void LayerParameter::set_has_recurrent_param() {
21472   _has_bits_[1] |= 0x00010000u;
21473 }
clear_has_recurrent_param()21474 inline void LayerParameter::clear_has_recurrent_param() {
21475   _has_bits_[1] &= ~0x00010000u;
21476 }
clear_recurrent_param()21477 inline void LayerParameter::clear_recurrent_param() {
21478   if (recurrent_param_ != NULL) recurrent_param_->Clear();
21479   clear_has_recurrent_param();
21480 }
recurrent_param()21481 inline const ::opencv_caffe::RecurrentParameter& LayerParameter::recurrent_param() const {
21482   const ::opencv_caffe::RecurrentParameter* p = recurrent_param_;
21483   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.recurrent_param)
21484   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::RecurrentParameter*>(
21485       &::opencv_caffe::_RecurrentParameter_default_instance_);
21486 }
release_recurrent_param()21487 inline ::opencv_caffe::RecurrentParameter* LayerParameter::release_recurrent_param() {
21488   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.recurrent_param)
21489   clear_has_recurrent_param();
21490   ::opencv_caffe::RecurrentParameter* temp = recurrent_param_;
21491   recurrent_param_ = NULL;
21492   return temp;
21493 }
mutable_recurrent_param()21494 inline ::opencv_caffe::RecurrentParameter* LayerParameter::mutable_recurrent_param() {
21495   set_has_recurrent_param();
21496   if (recurrent_param_ == NULL) {
21497     recurrent_param_ = new ::opencv_caffe::RecurrentParameter;
21498   }
21499   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.recurrent_param)
21500   return recurrent_param_;
21501 }
set_allocated_recurrent_param(::opencv_caffe::RecurrentParameter * recurrent_param)21502 inline void LayerParameter::set_allocated_recurrent_param(::opencv_caffe::RecurrentParameter* recurrent_param) {
21503   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21504   if (message_arena == NULL) {
21505     delete recurrent_param_;
21506   }
21507   if (recurrent_param) {
21508     ::google::protobuf::Arena* submessage_arena = NULL;
21509     if (message_arena != submessage_arena) {
21510       recurrent_param = ::google::protobuf::internal::GetOwnedMessage(
21511           message_arena, recurrent_param, submessage_arena);
21512     }
21513     set_has_recurrent_param();
21514   } else {
21515     clear_has_recurrent_param();
21516   }
21517   recurrent_param_ = recurrent_param;
21518   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.recurrent_param)
21519 }
21520 
21521 // optional .opencv_caffe.ReductionParameter reduction_param = 136;
has_reduction_param()21522 inline bool LayerParameter::has_reduction_param() const {
21523   return (_has_bits_[1] & 0x00000040u) != 0;
21524 }
set_has_reduction_param()21525 inline void LayerParameter::set_has_reduction_param() {
21526   _has_bits_[1] |= 0x00000040u;
21527 }
clear_has_reduction_param()21528 inline void LayerParameter::clear_has_reduction_param() {
21529   _has_bits_[1] &= ~0x00000040u;
21530 }
clear_reduction_param()21531 inline void LayerParameter::clear_reduction_param() {
21532   if (reduction_param_ != NULL) reduction_param_->Clear();
21533   clear_has_reduction_param();
21534 }
reduction_param()21535 inline const ::opencv_caffe::ReductionParameter& LayerParameter::reduction_param() const {
21536   const ::opencv_caffe::ReductionParameter* p = reduction_param_;
21537   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.reduction_param)
21538   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ReductionParameter*>(
21539       &::opencv_caffe::_ReductionParameter_default_instance_);
21540 }
release_reduction_param()21541 inline ::opencv_caffe::ReductionParameter* LayerParameter::release_reduction_param() {
21542   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.reduction_param)
21543   clear_has_reduction_param();
21544   ::opencv_caffe::ReductionParameter* temp = reduction_param_;
21545   reduction_param_ = NULL;
21546   return temp;
21547 }
mutable_reduction_param()21548 inline ::opencv_caffe::ReductionParameter* LayerParameter::mutable_reduction_param() {
21549   set_has_reduction_param();
21550   if (reduction_param_ == NULL) {
21551     reduction_param_ = new ::opencv_caffe::ReductionParameter;
21552   }
21553   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.reduction_param)
21554   return reduction_param_;
21555 }
set_allocated_reduction_param(::opencv_caffe::ReductionParameter * reduction_param)21556 inline void LayerParameter::set_allocated_reduction_param(::opencv_caffe::ReductionParameter* reduction_param) {
21557   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21558   if (message_arena == NULL) {
21559     delete reduction_param_;
21560   }
21561   if (reduction_param) {
21562     ::google::protobuf::Arena* submessage_arena = NULL;
21563     if (message_arena != submessage_arena) {
21564       reduction_param = ::google::protobuf::internal::GetOwnedMessage(
21565           message_arena, reduction_param, submessage_arena);
21566     }
21567     set_has_reduction_param();
21568   } else {
21569     clear_has_reduction_param();
21570   }
21571   reduction_param_ = reduction_param;
21572   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.reduction_param)
21573 }
21574 
21575 // optional .opencv_caffe.ReLUParameter relu_param = 123;
has_relu_param()21576 inline bool LayerParameter::has_relu_param() const {
21577   return (_has_bits_[0] & 0x02000000u) != 0;
21578 }
set_has_relu_param()21579 inline void LayerParameter::set_has_relu_param() {
21580   _has_bits_[0] |= 0x02000000u;
21581 }
clear_has_relu_param()21582 inline void LayerParameter::clear_has_relu_param() {
21583   _has_bits_[0] &= ~0x02000000u;
21584 }
clear_relu_param()21585 inline void LayerParameter::clear_relu_param() {
21586   if (relu_param_ != NULL) relu_param_->Clear();
21587   clear_has_relu_param();
21588 }
relu_param()21589 inline const ::opencv_caffe::ReLUParameter& LayerParameter::relu_param() const {
21590   const ::opencv_caffe::ReLUParameter* p = relu_param_;
21591   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.relu_param)
21592   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ReLUParameter*>(
21593       &::opencv_caffe::_ReLUParameter_default_instance_);
21594 }
release_relu_param()21595 inline ::opencv_caffe::ReLUParameter* LayerParameter::release_relu_param() {
21596   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.relu_param)
21597   clear_has_relu_param();
21598   ::opencv_caffe::ReLUParameter* temp = relu_param_;
21599   relu_param_ = NULL;
21600   return temp;
21601 }
mutable_relu_param()21602 inline ::opencv_caffe::ReLUParameter* LayerParameter::mutable_relu_param() {
21603   set_has_relu_param();
21604   if (relu_param_ == NULL) {
21605     relu_param_ = new ::opencv_caffe::ReLUParameter;
21606   }
21607   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.relu_param)
21608   return relu_param_;
21609 }
set_allocated_relu_param(::opencv_caffe::ReLUParameter * relu_param)21610 inline void LayerParameter::set_allocated_relu_param(::opencv_caffe::ReLUParameter* relu_param) {
21611   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21612   if (message_arena == NULL) {
21613     delete relu_param_;
21614   }
21615   if (relu_param) {
21616     ::google::protobuf::Arena* submessage_arena = NULL;
21617     if (message_arena != submessage_arena) {
21618       relu_param = ::google::protobuf::internal::GetOwnedMessage(
21619           message_arena, relu_param, submessage_arena);
21620     }
21621     set_has_relu_param();
21622   } else {
21623     clear_has_relu_param();
21624   }
21625   relu_param_ = relu_param;
21626   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.relu_param)
21627 }
21628 
21629 // optional .opencv_caffe.ReshapeParameter reshape_param = 133;
has_reshape_param()21630 inline bool LayerParameter::has_reshape_param() const {
21631   return (_has_bits_[1] & 0x00000008u) != 0;
21632 }
set_has_reshape_param()21633 inline void LayerParameter::set_has_reshape_param() {
21634   _has_bits_[1] |= 0x00000008u;
21635 }
clear_has_reshape_param()21636 inline void LayerParameter::clear_has_reshape_param() {
21637   _has_bits_[1] &= ~0x00000008u;
21638 }
clear_reshape_param()21639 inline void LayerParameter::clear_reshape_param() {
21640   if (reshape_param_ != NULL) reshape_param_->Clear();
21641   clear_has_reshape_param();
21642 }
reshape_param()21643 inline const ::opencv_caffe::ReshapeParameter& LayerParameter::reshape_param() const {
21644   const ::opencv_caffe::ReshapeParameter* p = reshape_param_;
21645   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.reshape_param)
21646   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ReshapeParameter*>(
21647       &::opencv_caffe::_ReshapeParameter_default_instance_);
21648 }
release_reshape_param()21649 inline ::opencv_caffe::ReshapeParameter* LayerParameter::release_reshape_param() {
21650   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.reshape_param)
21651   clear_has_reshape_param();
21652   ::opencv_caffe::ReshapeParameter* temp = reshape_param_;
21653   reshape_param_ = NULL;
21654   return temp;
21655 }
mutable_reshape_param()21656 inline ::opencv_caffe::ReshapeParameter* LayerParameter::mutable_reshape_param() {
21657   set_has_reshape_param();
21658   if (reshape_param_ == NULL) {
21659     reshape_param_ = new ::opencv_caffe::ReshapeParameter;
21660   }
21661   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.reshape_param)
21662   return reshape_param_;
21663 }
set_allocated_reshape_param(::opencv_caffe::ReshapeParameter * reshape_param)21664 inline void LayerParameter::set_allocated_reshape_param(::opencv_caffe::ReshapeParameter* reshape_param) {
21665   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21666   if (message_arena == NULL) {
21667     delete reshape_param_;
21668   }
21669   if (reshape_param) {
21670     ::google::protobuf::Arena* submessage_arena = NULL;
21671     if (message_arena != submessage_arena) {
21672       reshape_param = ::google::protobuf::internal::GetOwnedMessage(
21673           message_arena, reshape_param, submessage_arena);
21674     }
21675     set_has_reshape_param();
21676   } else {
21677     clear_has_reshape_param();
21678   }
21679   reshape_param_ = reshape_param;
21680   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.reshape_param)
21681 }
21682 
21683 // optional .opencv_caffe.ROIPoolingParameter roi_pooling_param = 8266711;
has_roi_pooling_param()21684 inline bool LayerParameter::has_roi_pooling_param() const {
21685   return (_has_bits_[1] & 0x00800000u) != 0;
21686 }
set_has_roi_pooling_param()21687 inline void LayerParameter::set_has_roi_pooling_param() {
21688   _has_bits_[1] |= 0x00800000u;
21689 }
clear_has_roi_pooling_param()21690 inline void LayerParameter::clear_has_roi_pooling_param() {
21691   _has_bits_[1] &= ~0x00800000u;
21692 }
clear_roi_pooling_param()21693 inline void LayerParameter::clear_roi_pooling_param() {
21694   if (roi_pooling_param_ != NULL) roi_pooling_param_->Clear();
21695   clear_has_roi_pooling_param();
21696 }
roi_pooling_param()21697 inline const ::opencv_caffe::ROIPoolingParameter& LayerParameter::roi_pooling_param() const {
21698   const ::opencv_caffe::ROIPoolingParameter* p = roi_pooling_param_;
21699   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.roi_pooling_param)
21700   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ROIPoolingParameter*>(
21701       &::opencv_caffe::_ROIPoolingParameter_default_instance_);
21702 }
release_roi_pooling_param()21703 inline ::opencv_caffe::ROIPoolingParameter* LayerParameter::release_roi_pooling_param() {
21704   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.roi_pooling_param)
21705   clear_has_roi_pooling_param();
21706   ::opencv_caffe::ROIPoolingParameter* temp = roi_pooling_param_;
21707   roi_pooling_param_ = NULL;
21708   return temp;
21709 }
mutable_roi_pooling_param()21710 inline ::opencv_caffe::ROIPoolingParameter* LayerParameter::mutable_roi_pooling_param() {
21711   set_has_roi_pooling_param();
21712   if (roi_pooling_param_ == NULL) {
21713     roi_pooling_param_ = new ::opencv_caffe::ROIPoolingParameter;
21714   }
21715   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.roi_pooling_param)
21716   return roi_pooling_param_;
21717 }
set_allocated_roi_pooling_param(::opencv_caffe::ROIPoolingParameter * roi_pooling_param)21718 inline void LayerParameter::set_allocated_roi_pooling_param(::opencv_caffe::ROIPoolingParameter* roi_pooling_param) {
21719   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21720   if (message_arena == NULL) {
21721     delete roi_pooling_param_;
21722   }
21723   if (roi_pooling_param) {
21724     ::google::protobuf::Arena* submessage_arena = NULL;
21725     if (message_arena != submessage_arena) {
21726       roi_pooling_param = ::google::protobuf::internal::GetOwnedMessage(
21727           message_arena, roi_pooling_param, submessage_arena);
21728     }
21729     set_has_roi_pooling_param();
21730   } else {
21731     clear_has_roi_pooling_param();
21732   }
21733   roi_pooling_param_ = roi_pooling_param;
21734   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.roi_pooling_param)
21735 }
21736 
21737 // optional .opencv_caffe.ScaleParameter scale_param = 142;
has_scale_param()21738 inline bool LayerParameter::has_scale_param() const {
21739   return (_has_bits_[1] & 0x00001000u) != 0;
21740 }
set_has_scale_param()21741 inline void LayerParameter::set_has_scale_param() {
21742   _has_bits_[1] |= 0x00001000u;
21743 }
clear_has_scale_param()21744 inline void LayerParameter::clear_has_scale_param() {
21745   _has_bits_[1] &= ~0x00001000u;
21746 }
clear_scale_param()21747 inline void LayerParameter::clear_scale_param() {
21748   if (scale_param_ != NULL) scale_param_->Clear();
21749   clear_has_scale_param();
21750 }
scale_param()21751 inline const ::opencv_caffe::ScaleParameter& LayerParameter::scale_param() const {
21752   const ::opencv_caffe::ScaleParameter* p = scale_param_;
21753   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.scale_param)
21754   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ScaleParameter*>(
21755       &::opencv_caffe::_ScaleParameter_default_instance_);
21756 }
release_scale_param()21757 inline ::opencv_caffe::ScaleParameter* LayerParameter::release_scale_param() {
21758   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.scale_param)
21759   clear_has_scale_param();
21760   ::opencv_caffe::ScaleParameter* temp = scale_param_;
21761   scale_param_ = NULL;
21762   return temp;
21763 }
mutable_scale_param()21764 inline ::opencv_caffe::ScaleParameter* LayerParameter::mutable_scale_param() {
21765   set_has_scale_param();
21766   if (scale_param_ == NULL) {
21767     scale_param_ = new ::opencv_caffe::ScaleParameter;
21768   }
21769   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.scale_param)
21770   return scale_param_;
21771 }
set_allocated_scale_param(::opencv_caffe::ScaleParameter * scale_param)21772 inline void LayerParameter::set_allocated_scale_param(::opencv_caffe::ScaleParameter* scale_param) {
21773   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21774   if (message_arena == NULL) {
21775     delete scale_param_;
21776   }
21777   if (scale_param) {
21778     ::google::protobuf::Arena* submessage_arena = NULL;
21779     if (message_arena != submessage_arena) {
21780       scale_param = ::google::protobuf::internal::GetOwnedMessage(
21781           message_arena, scale_param, submessage_arena);
21782     }
21783     set_has_scale_param();
21784   } else {
21785     clear_has_scale_param();
21786   }
21787   scale_param_ = scale_param;
21788   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.scale_param)
21789 }
21790 
21791 // optional .opencv_caffe.SigmoidParameter sigmoid_param = 124;
has_sigmoid_param()21792 inline bool LayerParameter::has_sigmoid_param() const {
21793   return (_has_bits_[0] & 0x04000000u) != 0;
21794 }
set_has_sigmoid_param()21795 inline void LayerParameter::set_has_sigmoid_param() {
21796   _has_bits_[0] |= 0x04000000u;
21797 }
clear_has_sigmoid_param()21798 inline void LayerParameter::clear_has_sigmoid_param() {
21799   _has_bits_[0] &= ~0x04000000u;
21800 }
clear_sigmoid_param()21801 inline void LayerParameter::clear_sigmoid_param() {
21802   if (sigmoid_param_ != NULL) sigmoid_param_->Clear();
21803   clear_has_sigmoid_param();
21804 }
sigmoid_param()21805 inline const ::opencv_caffe::SigmoidParameter& LayerParameter::sigmoid_param() const {
21806   const ::opencv_caffe::SigmoidParameter* p = sigmoid_param_;
21807   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.sigmoid_param)
21808   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::SigmoidParameter*>(
21809       &::opencv_caffe::_SigmoidParameter_default_instance_);
21810 }
release_sigmoid_param()21811 inline ::opencv_caffe::SigmoidParameter* LayerParameter::release_sigmoid_param() {
21812   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.sigmoid_param)
21813   clear_has_sigmoid_param();
21814   ::opencv_caffe::SigmoidParameter* temp = sigmoid_param_;
21815   sigmoid_param_ = NULL;
21816   return temp;
21817 }
mutable_sigmoid_param()21818 inline ::opencv_caffe::SigmoidParameter* LayerParameter::mutable_sigmoid_param() {
21819   set_has_sigmoid_param();
21820   if (sigmoid_param_ == NULL) {
21821     sigmoid_param_ = new ::opencv_caffe::SigmoidParameter;
21822   }
21823   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.sigmoid_param)
21824   return sigmoid_param_;
21825 }
set_allocated_sigmoid_param(::opencv_caffe::SigmoidParameter * sigmoid_param)21826 inline void LayerParameter::set_allocated_sigmoid_param(::opencv_caffe::SigmoidParameter* sigmoid_param) {
21827   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21828   if (message_arena == NULL) {
21829     delete sigmoid_param_;
21830   }
21831   if (sigmoid_param) {
21832     ::google::protobuf::Arena* submessage_arena = NULL;
21833     if (message_arena != submessage_arena) {
21834       sigmoid_param = ::google::protobuf::internal::GetOwnedMessage(
21835           message_arena, sigmoid_param, submessage_arena);
21836     }
21837     set_has_sigmoid_param();
21838   } else {
21839     clear_has_sigmoid_param();
21840   }
21841   sigmoid_param_ = sigmoid_param;
21842   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.sigmoid_param)
21843 }
21844 
21845 // optional .opencv_caffe.SoftmaxParameter softmax_param = 125;
has_softmax_param()21846 inline bool LayerParameter::has_softmax_param() const {
21847   return (_has_bits_[0] & 0x08000000u) != 0;
21848 }
set_has_softmax_param()21849 inline void LayerParameter::set_has_softmax_param() {
21850   _has_bits_[0] |= 0x08000000u;
21851 }
clear_has_softmax_param()21852 inline void LayerParameter::clear_has_softmax_param() {
21853   _has_bits_[0] &= ~0x08000000u;
21854 }
clear_softmax_param()21855 inline void LayerParameter::clear_softmax_param() {
21856   if (softmax_param_ != NULL) softmax_param_->Clear();
21857   clear_has_softmax_param();
21858 }
softmax_param()21859 inline const ::opencv_caffe::SoftmaxParameter& LayerParameter::softmax_param() const {
21860   const ::opencv_caffe::SoftmaxParameter* p = softmax_param_;
21861   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.softmax_param)
21862   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::SoftmaxParameter*>(
21863       &::opencv_caffe::_SoftmaxParameter_default_instance_);
21864 }
release_softmax_param()21865 inline ::opencv_caffe::SoftmaxParameter* LayerParameter::release_softmax_param() {
21866   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.softmax_param)
21867   clear_has_softmax_param();
21868   ::opencv_caffe::SoftmaxParameter* temp = softmax_param_;
21869   softmax_param_ = NULL;
21870   return temp;
21871 }
mutable_softmax_param()21872 inline ::opencv_caffe::SoftmaxParameter* LayerParameter::mutable_softmax_param() {
21873   set_has_softmax_param();
21874   if (softmax_param_ == NULL) {
21875     softmax_param_ = new ::opencv_caffe::SoftmaxParameter;
21876   }
21877   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.softmax_param)
21878   return softmax_param_;
21879 }
set_allocated_softmax_param(::opencv_caffe::SoftmaxParameter * softmax_param)21880 inline void LayerParameter::set_allocated_softmax_param(::opencv_caffe::SoftmaxParameter* softmax_param) {
21881   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21882   if (message_arena == NULL) {
21883     delete softmax_param_;
21884   }
21885   if (softmax_param) {
21886     ::google::protobuf::Arena* submessage_arena = NULL;
21887     if (message_arena != submessage_arena) {
21888       softmax_param = ::google::protobuf::internal::GetOwnedMessage(
21889           message_arena, softmax_param, submessage_arena);
21890     }
21891     set_has_softmax_param();
21892   } else {
21893     clear_has_softmax_param();
21894   }
21895   softmax_param_ = softmax_param;
21896   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.softmax_param)
21897 }
21898 
21899 // optional .opencv_caffe.SPPParameter spp_param = 132;
has_spp_param()21900 inline bool LayerParameter::has_spp_param() const {
21901   return (_has_bits_[1] & 0x00000004u) != 0;
21902 }
set_has_spp_param()21903 inline void LayerParameter::set_has_spp_param() {
21904   _has_bits_[1] |= 0x00000004u;
21905 }
clear_has_spp_param()21906 inline void LayerParameter::clear_has_spp_param() {
21907   _has_bits_[1] &= ~0x00000004u;
21908 }
clear_spp_param()21909 inline void LayerParameter::clear_spp_param() {
21910   if (spp_param_ != NULL) spp_param_->Clear();
21911   clear_has_spp_param();
21912 }
spp_param()21913 inline const ::opencv_caffe::SPPParameter& LayerParameter::spp_param() const {
21914   const ::opencv_caffe::SPPParameter* p = spp_param_;
21915   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.spp_param)
21916   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::SPPParameter*>(
21917       &::opencv_caffe::_SPPParameter_default_instance_);
21918 }
release_spp_param()21919 inline ::opencv_caffe::SPPParameter* LayerParameter::release_spp_param() {
21920   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.spp_param)
21921   clear_has_spp_param();
21922   ::opencv_caffe::SPPParameter* temp = spp_param_;
21923   spp_param_ = NULL;
21924   return temp;
21925 }
mutable_spp_param()21926 inline ::opencv_caffe::SPPParameter* LayerParameter::mutable_spp_param() {
21927   set_has_spp_param();
21928   if (spp_param_ == NULL) {
21929     spp_param_ = new ::opencv_caffe::SPPParameter;
21930   }
21931   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.spp_param)
21932   return spp_param_;
21933 }
set_allocated_spp_param(::opencv_caffe::SPPParameter * spp_param)21934 inline void LayerParameter::set_allocated_spp_param(::opencv_caffe::SPPParameter* spp_param) {
21935   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21936   if (message_arena == NULL) {
21937     delete spp_param_;
21938   }
21939   if (spp_param) {
21940     ::google::protobuf::Arena* submessage_arena = NULL;
21941     if (message_arena != submessage_arena) {
21942       spp_param = ::google::protobuf::internal::GetOwnedMessage(
21943           message_arena, spp_param, submessage_arena);
21944     }
21945     set_has_spp_param();
21946   } else {
21947     clear_has_spp_param();
21948   }
21949   spp_param_ = spp_param;
21950   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.spp_param)
21951 }
21952 
21953 // optional .opencv_caffe.SliceParameter slice_param = 126;
has_slice_param()21954 inline bool LayerParameter::has_slice_param() const {
21955   return (_has_bits_[0] & 0x10000000u) != 0;
21956 }
set_has_slice_param()21957 inline void LayerParameter::set_has_slice_param() {
21958   _has_bits_[0] |= 0x10000000u;
21959 }
clear_has_slice_param()21960 inline void LayerParameter::clear_has_slice_param() {
21961   _has_bits_[0] &= ~0x10000000u;
21962 }
clear_slice_param()21963 inline void LayerParameter::clear_slice_param() {
21964   if (slice_param_ != NULL) slice_param_->Clear();
21965   clear_has_slice_param();
21966 }
slice_param()21967 inline const ::opencv_caffe::SliceParameter& LayerParameter::slice_param() const {
21968   const ::opencv_caffe::SliceParameter* p = slice_param_;
21969   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.slice_param)
21970   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::SliceParameter*>(
21971       &::opencv_caffe::_SliceParameter_default_instance_);
21972 }
release_slice_param()21973 inline ::opencv_caffe::SliceParameter* LayerParameter::release_slice_param() {
21974   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.slice_param)
21975   clear_has_slice_param();
21976   ::opencv_caffe::SliceParameter* temp = slice_param_;
21977   slice_param_ = NULL;
21978   return temp;
21979 }
mutable_slice_param()21980 inline ::opencv_caffe::SliceParameter* LayerParameter::mutable_slice_param() {
21981   set_has_slice_param();
21982   if (slice_param_ == NULL) {
21983     slice_param_ = new ::opencv_caffe::SliceParameter;
21984   }
21985   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.slice_param)
21986   return slice_param_;
21987 }
set_allocated_slice_param(::opencv_caffe::SliceParameter * slice_param)21988 inline void LayerParameter::set_allocated_slice_param(::opencv_caffe::SliceParameter* slice_param) {
21989   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
21990   if (message_arena == NULL) {
21991     delete slice_param_;
21992   }
21993   if (slice_param) {
21994     ::google::protobuf::Arena* submessage_arena = NULL;
21995     if (message_arena != submessage_arena) {
21996       slice_param = ::google::protobuf::internal::GetOwnedMessage(
21997           message_arena, slice_param, submessage_arena);
21998     }
21999     set_has_slice_param();
22000   } else {
22001     clear_has_slice_param();
22002   }
22003   slice_param_ = slice_param;
22004   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.slice_param)
22005 }
22006 
22007 // optional .opencv_caffe.TanHParameter tanh_param = 127;
has_tanh_param()22008 inline bool LayerParameter::has_tanh_param() const {
22009   return (_has_bits_[0] & 0x20000000u) != 0;
22010 }
set_has_tanh_param()22011 inline void LayerParameter::set_has_tanh_param() {
22012   _has_bits_[0] |= 0x20000000u;
22013 }
clear_has_tanh_param()22014 inline void LayerParameter::clear_has_tanh_param() {
22015   _has_bits_[0] &= ~0x20000000u;
22016 }
clear_tanh_param()22017 inline void LayerParameter::clear_tanh_param() {
22018   if (tanh_param_ != NULL) tanh_param_->Clear();
22019   clear_has_tanh_param();
22020 }
tanh_param()22021 inline const ::opencv_caffe::TanHParameter& LayerParameter::tanh_param() const {
22022   const ::opencv_caffe::TanHParameter* p = tanh_param_;
22023   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.tanh_param)
22024   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::TanHParameter*>(
22025       &::opencv_caffe::_TanHParameter_default_instance_);
22026 }
release_tanh_param()22027 inline ::opencv_caffe::TanHParameter* LayerParameter::release_tanh_param() {
22028   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.tanh_param)
22029   clear_has_tanh_param();
22030   ::opencv_caffe::TanHParameter* temp = tanh_param_;
22031   tanh_param_ = NULL;
22032   return temp;
22033 }
mutable_tanh_param()22034 inline ::opencv_caffe::TanHParameter* LayerParameter::mutable_tanh_param() {
22035   set_has_tanh_param();
22036   if (tanh_param_ == NULL) {
22037     tanh_param_ = new ::opencv_caffe::TanHParameter;
22038   }
22039   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.tanh_param)
22040   return tanh_param_;
22041 }
set_allocated_tanh_param(::opencv_caffe::TanHParameter * tanh_param)22042 inline void LayerParameter::set_allocated_tanh_param(::opencv_caffe::TanHParameter* tanh_param) {
22043   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
22044   if (message_arena == NULL) {
22045     delete tanh_param_;
22046   }
22047   if (tanh_param) {
22048     ::google::protobuf::Arena* submessage_arena = NULL;
22049     if (message_arena != submessage_arena) {
22050       tanh_param = ::google::protobuf::internal::GetOwnedMessage(
22051           message_arena, tanh_param, submessage_arena);
22052     }
22053     set_has_tanh_param();
22054   } else {
22055     clear_has_tanh_param();
22056   }
22057   tanh_param_ = tanh_param;
22058   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.tanh_param)
22059 }
22060 
22061 // optional .opencv_caffe.ThresholdParameter threshold_param = 128;
has_threshold_param()22062 inline bool LayerParameter::has_threshold_param() const {
22063   return (_has_bits_[0] & 0x40000000u) != 0;
22064 }
set_has_threshold_param()22065 inline void LayerParameter::set_has_threshold_param() {
22066   _has_bits_[0] |= 0x40000000u;
22067 }
clear_has_threshold_param()22068 inline void LayerParameter::clear_has_threshold_param() {
22069   _has_bits_[0] &= ~0x40000000u;
22070 }
clear_threshold_param()22071 inline void LayerParameter::clear_threshold_param() {
22072   if (threshold_param_ != NULL) threshold_param_->Clear();
22073   clear_has_threshold_param();
22074 }
threshold_param()22075 inline const ::opencv_caffe::ThresholdParameter& LayerParameter::threshold_param() const {
22076   const ::opencv_caffe::ThresholdParameter* p = threshold_param_;
22077   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.threshold_param)
22078   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ThresholdParameter*>(
22079       &::opencv_caffe::_ThresholdParameter_default_instance_);
22080 }
release_threshold_param()22081 inline ::opencv_caffe::ThresholdParameter* LayerParameter::release_threshold_param() {
22082   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.threshold_param)
22083   clear_has_threshold_param();
22084   ::opencv_caffe::ThresholdParameter* temp = threshold_param_;
22085   threshold_param_ = NULL;
22086   return temp;
22087 }
mutable_threshold_param()22088 inline ::opencv_caffe::ThresholdParameter* LayerParameter::mutable_threshold_param() {
22089   set_has_threshold_param();
22090   if (threshold_param_ == NULL) {
22091     threshold_param_ = new ::opencv_caffe::ThresholdParameter;
22092   }
22093   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.threshold_param)
22094   return threshold_param_;
22095 }
set_allocated_threshold_param(::opencv_caffe::ThresholdParameter * threshold_param)22096 inline void LayerParameter::set_allocated_threshold_param(::opencv_caffe::ThresholdParameter* threshold_param) {
22097   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
22098   if (message_arena == NULL) {
22099     delete threshold_param_;
22100   }
22101   if (threshold_param) {
22102     ::google::protobuf::Arena* submessage_arena = NULL;
22103     if (message_arena != submessage_arena) {
22104       threshold_param = ::google::protobuf::internal::GetOwnedMessage(
22105           message_arena, threshold_param, submessage_arena);
22106     }
22107     set_has_threshold_param();
22108   } else {
22109     clear_has_threshold_param();
22110   }
22111   threshold_param_ = threshold_param;
22112   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.threshold_param)
22113 }
22114 
22115 // optional .opencv_caffe.TileParameter tile_param = 138;
has_tile_param()22116 inline bool LayerParameter::has_tile_param() const {
22117   return (_has_bits_[1] & 0x00000100u) != 0;
22118 }
set_has_tile_param()22119 inline void LayerParameter::set_has_tile_param() {
22120   _has_bits_[1] |= 0x00000100u;
22121 }
clear_has_tile_param()22122 inline void LayerParameter::clear_has_tile_param() {
22123   _has_bits_[1] &= ~0x00000100u;
22124 }
clear_tile_param()22125 inline void LayerParameter::clear_tile_param() {
22126   if (tile_param_ != NULL) tile_param_->Clear();
22127   clear_has_tile_param();
22128 }
tile_param()22129 inline const ::opencv_caffe::TileParameter& LayerParameter::tile_param() const {
22130   const ::opencv_caffe::TileParameter* p = tile_param_;
22131   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.tile_param)
22132   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::TileParameter*>(
22133       &::opencv_caffe::_TileParameter_default_instance_);
22134 }
release_tile_param()22135 inline ::opencv_caffe::TileParameter* LayerParameter::release_tile_param() {
22136   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.tile_param)
22137   clear_has_tile_param();
22138   ::opencv_caffe::TileParameter* temp = tile_param_;
22139   tile_param_ = NULL;
22140   return temp;
22141 }
mutable_tile_param()22142 inline ::opencv_caffe::TileParameter* LayerParameter::mutable_tile_param() {
22143   set_has_tile_param();
22144   if (tile_param_ == NULL) {
22145     tile_param_ = new ::opencv_caffe::TileParameter;
22146   }
22147   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.tile_param)
22148   return tile_param_;
22149 }
set_allocated_tile_param(::opencv_caffe::TileParameter * tile_param)22150 inline void LayerParameter::set_allocated_tile_param(::opencv_caffe::TileParameter* tile_param) {
22151   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
22152   if (message_arena == NULL) {
22153     delete tile_param_;
22154   }
22155   if (tile_param) {
22156     ::google::protobuf::Arena* submessage_arena = NULL;
22157     if (message_arena != submessage_arena) {
22158       tile_param = ::google::protobuf::internal::GetOwnedMessage(
22159           message_arena, tile_param, submessage_arena);
22160     }
22161     set_has_tile_param();
22162   } else {
22163     clear_has_tile_param();
22164   }
22165   tile_param_ = tile_param;
22166   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.tile_param)
22167 }
22168 
22169 // optional .opencv_caffe.WindowDataParameter window_data_param = 129;
has_window_data_param()22170 inline bool LayerParameter::has_window_data_param() const {
22171   return (_has_bits_[0] & 0x80000000u) != 0;
22172 }
set_has_window_data_param()22173 inline void LayerParameter::set_has_window_data_param() {
22174   _has_bits_[0] |= 0x80000000u;
22175 }
clear_has_window_data_param()22176 inline void LayerParameter::clear_has_window_data_param() {
22177   _has_bits_[0] &= ~0x80000000u;
22178 }
clear_window_data_param()22179 inline void LayerParameter::clear_window_data_param() {
22180   if (window_data_param_ != NULL) window_data_param_->Clear();
22181   clear_has_window_data_param();
22182 }
window_data_param()22183 inline const ::opencv_caffe::WindowDataParameter& LayerParameter::window_data_param() const {
22184   const ::opencv_caffe::WindowDataParameter* p = window_data_param_;
22185   // @@protoc_insertion_point(field_get:opencv_caffe.LayerParameter.window_data_param)
22186   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::WindowDataParameter*>(
22187       &::opencv_caffe::_WindowDataParameter_default_instance_);
22188 }
release_window_data_param()22189 inline ::opencv_caffe::WindowDataParameter* LayerParameter::release_window_data_param() {
22190   // @@protoc_insertion_point(field_release:opencv_caffe.LayerParameter.window_data_param)
22191   clear_has_window_data_param();
22192   ::opencv_caffe::WindowDataParameter* temp = window_data_param_;
22193   window_data_param_ = NULL;
22194   return temp;
22195 }
mutable_window_data_param()22196 inline ::opencv_caffe::WindowDataParameter* LayerParameter::mutable_window_data_param() {
22197   set_has_window_data_param();
22198   if (window_data_param_ == NULL) {
22199     window_data_param_ = new ::opencv_caffe::WindowDataParameter;
22200   }
22201   // @@protoc_insertion_point(field_mutable:opencv_caffe.LayerParameter.window_data_param)
22202   return window_data_param_;
22203 }
set_allocated_window_data_param(::opencv_caffe::WindowDataParameter * window_data_param)22204 inline void LayerParameter::set_allocated_window_data_param(::opencv_caffe::WindowDataParameter* window_data_param) {
22205   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
22206   if (message_arena == NULL) {
22207     delete window_data_param_;
22208   }
22209   if (window_data_param) {
22210     ::google::protobuf::Arena* submessage_arena = NULL;
22211     if (message_arena != submessage_arena) {
22212       window_data_param = ::google::protobuf::internal::GetOwnedMessage(
22213           message_arena, window_data_param, submessage_arena);
22214     }
22215     set_has_window_data_param();
22216   } else {
22217     clear_has_window_data_param();
22218   }
22219   window_data_param_ = window_data_param;
22220   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.LayerParameter.window_data_param)
22221 }
22222 
22223 // -------------------------------------------------------------------
22224 
22225 // TransformationParameter
22226 
22227 // optional float scale = 1 [default = 1];
has_scale()22228 inline bool TransformationParameter::has_scale() const {
22229   return (_has_bits_[0] & 0x00000020u) != 0;
22230 }
set_has_scale()22231 inline void TransformationParameter::set_has_scale() {
22232   _has_bits_[0] |= 0x00000020u;
22233 }
clear_has_scale()22234 inline void TransformationParameter::clear_has_scale() {
22235   _has_bits_[0] &= ~0x00000020u;
22236 }
clear_scale()22237 inline void TransformationParameter::clear_scale() {
22238   scale_ = 1;
22239   clear_has_scale();
22240 }
scale()22241 inline float TransformationParameter::scale() const {
22242   // @@protoc_insertion_point(field_get:opencv_caffe.TransformationParameter.scale)
22243   return scale_;
22244 }
set_scale(float value)22245 inline void TransformationParameter::set_scale(float value) {
22246   set_has_scale();
22247   scale_ = value;
22248   // @@protoc_insertion_point(field_set:opencv_caffe.TransformationParameter.scale)
22249 }
22250 
22251 // optional bool mirror = 2 [default = false];
has_mirror()22252 inline bool TransformationParameter::has_mirror() const {
22253   return (_has_bits_[0] & 0x00000004u) != 0;
22254 }
set_has_mirror()22255 inline void TransformationParameter::set_has_mirror() {
22256   _has_bits_[0] |= 0x00000004u;
22257 }
clear_has_mirror()22258 inline void TransformationParameter::clear_has_mirror() {
22259   _has_bits_[0] &= ~0x00000004u;
22260 }
clear_mirror()22261 inline void TransformationParameter::clear_mirror() {
22262   mirror_ = false;
22263   clear_has_mirror();
22264 }
mirror()22265 inline bool TransformationParameter::mirror() const {
22266   // @@protoc_insertion_point(field_get:opencv_caffe.TransformationParameter.mirror)
22267   return mirror_;
22268 }
set_mirror(bool value)22269 inline void TransformationParameter::set_mirror(bool value) {
22270   set_has_mirror();
22271   mirror_ = value;
22272   // @@protoc_insertion_point(field_set:opencv_caffe.TransformationParameter.mirror)
22273 }
22274 
22275 // optional uint32 crop_size = 3 [default = 0];
has_crop_size()22276 inline bool TransformationParameter::has_crop_size() const {
22277   return (_has_bits_[0] & 0x00000002u) != 0;
22278 }
set_has_crop_size()22279 inline void TransformationParameter::set_has_crop_size() {
22280   _has_bits_[0] |= 0x00000002u;
22281 }
clear_has_crop_size()22282 inline void TransformationParameter::clear_has_crop_size() {
22283   _has_bits_[0] &= ~0x00000002u;
22284 }
clear_crop_size()22285 inline void TransformationParameter::clear_crop_size() {
22286   crop_size_ = 0u;
22287   clear_has_crop_size();
22288 }
crop_size()22289 inline ::google::protobuf::uint32 TransformationParameter::crop_size() const {
22290   // @@protoc_insertion_point(field_get:opencv_caffe.TransformationParameter.crop_size)
22291   return crop_size_;
22292 }
set_crop_size(::google::protobuf::uint32 value)22293 inline void TransformationParameter::set_crop_size(::google::protobuf::uint32 value) {
22294   set_has_crop_size();
22295   crop_size_ = value;
22296   // @@protoc_insertion_point(field_set:opencv_caffe.TransformationParameter.crop_size)
22297 }
22298 
22299 // optional string mean_file = 4;
has_mean_file()22300 inline bool TransformationParameter::has_mean_file() const {
22301   return (_has_bits_[0] & 0x00000001u) != 0;
22302 }
set_has_mean_file()22303 inline void TransformationParameter::set_has_mean_file() {
22304   _has_bits_[0] |= 0x00000001u;
22305 }
clear_has_mean_file()22306 inline void TransformationParameter::clear_has_mean_file() {
22307   _has_bits_[0] &= ~0x00000001u;
22308 }
clear_mean_file()22309 inline void TransformationParameter::clear_mean_file() {
22310   mean_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22311   clear_has_mean_file();
22312 }
mean_file()22313 inline const ::std::string& TransformationParameter::mean_file() const {
22314   // @@protoc_insertion_point(field_get:opencv_caffe.TransformationParameter.mean_file)
22315   return mean_file_.GetNoArena();
22316 }
set_mean_file(const::std::string & value)22317 inline void TransformationParameter::set_mean_file(const ::std::string& value) {
22318   set_has_mean_file();
22319   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
22320   // @@protoc_insertion_point(field_set:opencv_caffe.TransformationParameter.mean_file)
22321 }
22322 #if LANG_CXX11
set_mean_file(::std::string && value)22323 inline void TransformationParameter::set_mean_file(::std::string&& value) {
22324   set_has_mean_file();
22325   mean_file_.SetNoArena(
22326     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
22327   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.TransformationParameter.mean_file)
22328 }
22329 #endif
set_mean_file(const char * value)22330 inline void TransformationParameter::set_mean_file(const char* value) {
22331   GOOGLE_DCHECK(value != NULL);
22332   set_has_mean_file();
22333   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
22334   // @@protoc_insertion_point(field_set_char:opencv_caffe.TransformationParameter.mean_file)
22335 }
set_mean_file(const char * value,size_t size)22336 inline void TransformationParameter::set_mean_file(const char* value, size_t size) {
22337   set_has_mean_file();
22338   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
22339       ::std::string(reinterpret_cast<const char*>(value), size));
22340   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.TransformationParameter.mean_file)
22341 }
mutable_mean_file()22342 inline ::std::string* TransformationParameter::mutable_mean_file() {
22343   set_has_mean_file();
22344   // @@protoc_insertion_point(field_mutable:opencv_caffe.TransformationParameter.mean_file)
22345   return mean_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22346 }
release_mean_file()22347 inline ::std::string* TransformationParameter::release_mean_file() {
22348   // @@protoc_insertion_point(field_release:opencv_caffe.TransformationParameter.mean_file)
22349   clear_has_mean_file();
22350   return mean_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
22351 }
set_allocated_mean_file(::std::string * mean_file)22352 inline void TransformationParameter::set_allocated_mean_file(::std::string* mean_file) {
22353   if (mean_file != NULL) {
22354     set_has_mean_file();
22355   } else {
22356     clear_has_mean_file();
22357   }
22358   mean_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), mean_file);
22359   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.TransformationParameter.mean_file)
22360 }
22361 
22362 // repeated float mean_value = 5;
mean_value_size()22363 inline int TransformationParameter::mean_value_size() const {
22364   return mean_value_.size();
22365 }
clear_mean_value()22366 inline void TransformationParameter::clear_mean_value() {
22367   mean_value_.Clear();
22368 }
mean_value(int index)22369 inline float TransformationParameter::mean_value(int index) const {
22370   // @@protoc_insertion_point(field_get:opencv_caffe.TransformationParameter.mean_value)
22371   return mean_value_.Get(index);
22372 }
set_mean_value(int index,float value)22373 inline void TransformationParameter::set_mean_value(int index, float value) {
22374   mean_value_.Set(index, value);
22375   // @@protoc_insertion_point(field_set:opencv_caffe.TransformationParameter.mean_value)
22376 }
add_mean_value(float value)22377 inline void TransformationParameter::add_mean_value(float value) {
22378   mean_value_.Add(value);
22379   // @@protoc_insertion_point(field_add:opencv_caffe.TransformationParameter.mean_value)
22380 }
22381 inline const ::google::protobuf::RepeatedField< float >&
mean_value()22382 TransformationParameter::mean_value() const {
22383   // @@protoc_insertion_point(field_list:opencv_caffe.TransformationParameter.mean_value)
22384   return mean_value_;
22385 }
22386 inline ::google::protobuf::RepeatedField< float >*
mutable_mean_value()22387 TransformationParameter::mutable_mean_value() {
22388   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.TransformationParameter.mean_value)
22389   return &mean_value_;
22390 }
22391 
22392 // optional bool force_color = 6 [default = false];
has_force_color()22393 inline bool TransformationParameter::has_force_color() const {
22394   return (_has_bits_[0] & 0x00000008u) != 0;
22395 }
set_has_force_color()22396 inline void TransformationParameter::set_has_force_color() {
22397   _has_bits_[0] |= 0x00000008u;
22398 }
clear_has_force_color()22399 inline void TransformationParameter::clear_has_force_color() {
22400   _has_bits_[0] &= ~0x00000008u;
22401 }
clear_force_color()22402 inline void TransformationParameter::clear_force_color() {
22403   force_color_ = false;
22404   clear_has_force_color();
22405 }
force_color()22406 inline bool TransformationParameter::force_color() const {
22407   // @@protoc_insertion_point(field_get:opencv_caffe.TransformationParameter.force_color)
22408   return force_color_;
22409 }
set_force_color(bool value)22410 inline void TransformationParameter::set_force_color(bool value) {
22411   set_has_force_color();
22412   force_color_ = value;
22413   // @@protoc_insertion_point(field_set:opencv_caffe.TransformationParameter.force_color)
22414 }
22415 
22416 // optional bool force_gray = 7 [default = false];
has_force_gray()22417 inline bool TransformationParameter::has_force_gray() const {
22418   return (_has_bits_[0] & 0x00000010u) != 0;
22419 }
set_has_force_gray()22420 inline void TransformationParameter::set_has_force_gray() {
22421   _has_bits_[0] |= 0x00000010u;
22422 }
clear_has_force_gray()22423 inline void TransformationParameter::clear_has_force_gray() {
22424   _has_bits_[0] &= ~0x00000010u;
22425 }
clear_force_gray()22426 inline void TransformationParameter::clear_force_gray() {
22427   force_gray_ = false;
22428   clear_has_force_gray();
22429 }
force_gray()22430 inline bool TransformationParameter::force_gray() const {
22431   // @@protoc_insertion_point(field_get:opencv_caffe.TransformationParameter.force_gray)
22432   return force_gray_;
22433 }
set_force_gray(bool value)22434 inline void TransformationParameter::set_force_gray(bool value) {
22435   set_has_force_gray();
22436   force_gray_ = value;
22437   // @@protoc_insertion_point(field_set:opencv_caffe.TransformationParameter.force_gray)
22438 }
22439 
22440 // -------------------------------------------------------------------
22441 
22442 // LossParameter
22443 
22444 // optional int32 ignore_label = 1;
has_ignore_label()22445 inline bool LossParameter::has_ignore_label() const {
22446   return (_has_bits_[0] & 0x00000001u) != 0;
22447 }
set_has_ignore_label()22448 inline void LossParameter::set_has_ignore_label() {
22449   _has_bits_[0] |= 0x00000001u;
22450 }
clear_has_ignore_label()22451 inline void LossParameter::clear_has_ignore_label() {
22452   _has_bits_[0] &= ~0x00000001u;
22453 }
clear_ignore_label()22454 inline void LossParameter::clear_ignore_label() {
22455   ignore_label_ = 0;
22456   clear_has_ignore_label();
22457 }
ignore_label()22458 inline ::google::protobuf::int32 LossParameter::ignore_label() const {
22459   // @@protoc_insertion_point(field_get:opencv_caffe.LossParameter.ignore_label)
22460   return ignore_label_;
22461 }
set_ignore_label(::google::protobuf::int32 value)22462 inline void LossParameter::set_ignore_label(::google::protobuf::int32 value) {
22463   set_has_ignore_label();
22464   ignore_label_ = value;
22465   // @@protoc_insertion_point(field_set:opencv_caffe.LossParameter.ignore_label)
22466 }
22467 
22468 // optional .opencv_caffe.LossParameter.NormalizationMode normalization = 3 [default = VALID];
has_normalization()22469 inline bool LossParameter::has_normalization() const {
22470   return (_has_bits_[0] & 0x00000004u) != 0;
22471 }
set_has_normalization()22472 inline void LossParameter::set_has_normalization() {
22473   _has_bits_[0] |= 0x00000004u;
22474 }
clear_has_normalization()22475 inline void LossParameter::clear_has_normalization() {
22476   _has_bits_[0] &= ~0x00000004u;
22477 }
clear_normalization()22478 inline void LossParameter::clear_normalization() {
22479   normalization_ = 1;
22480   clear_has_normalization();
22481 }
normalization()22482 inline ::opencv_caffe::LossParameter_NormalizationMode LossParameter::normalization() const {
22483   // @@protoc_insertion_point(field_get:opencv_caffe.LossParameter.normalization)
22484   return static_cast< ::opencv_caffe::LossParameter_NormalizationMode >(normalization_);
22485 }
set_normalization(::opencv_caffe::LossParameter_NormalizationMode value)22486 inline void LossParameter::set_normalization(::opencv_caffe::LossParameter_NormalizationMode value) {
22487   assert(::opencv_caffe::LossParameter_NormalizationMode_IsValid(value));
22488   set_has_normalization();
22489   normalization_ = value;
22490   // @@protoc_insertion_point(field_set:opencv_caffe.LossParameter.normalization)
22491 }
22492 
22493 // optional bool normalize = 2;
has_normalize()22494 inline bool LossParameter::has_normalize() const {
22495   return (_has_bits_[0] & 0x00000002u) != 0;
22496 }
set_has_normalize()22497 inline void LossParameter::set_has_normalize() {
22498   _has_bits_[0] |= 0x00000002u;
22499 }
clear_has_normalize()22500 inline void LossParameter::clear_has_normalize() {
22501   _has_bits_[0] &= ~0x00000002u;
22502 }
clear_normalize()22503 inline void LossParameter::clear_normalize() {
22504   normalize_ = false;
22505   clear_has_normalize();
22506 }
normalize()22507 inline bool LossParameter::normalize() const {
22508   // @@protoc_insertion_point(field_get:opencv_caffe.LossParameter.normalize)
22509   return normalize_;
22510 }
set_normalize(bool value)22511 inline void LossParameter::set_normalize(bool value) {
22512   set_has_normalize();
22513   normalize_ = value;
22514   // @@protoc_insertion_point(field_set:opencv_caffe.LossParameter.normalize)
22515 }
22516 
22517 // -------------------------------------------------------------------
22518 
22519 // AccuracyParameter
22520 
22521 // optional uint32 top_k = 1 [default = 1];
has_top_k()22522 inline bool AccuracyParameter::has_top_k() const {
22523   return (_has_bits_[0] & 0x00000002u) != 0;
22524 }
set_has_top_k()22525 inline void AccuracyParameter::set_has_top_k() {
22526   _has_bits_[0] |= 0x00000002u;
22527 }
clear_has_top_k()22528 inline void AccuracyParameter::clear_has_top_k() {
22529   _has_bits_[0] &= ~0x00000002u;
22530 }
clear_top_k()22531 inline void AccuracyParameter::clear_top_k() {
22532   top_k_ = 1u;
22533   clear_has_top_k();
22534 }
top_k()22535 inline ::google::protobuf::uint32 AccuracyParameter::top_k() const {
22536   // @@protoc_insertion_point(field_get:opencv_caffe.AccuracyParameter.top_k)
22537   return top_k_;
22538 }
set_top_k(::google::protobuf::uint32 value)22539 inline void AccuracyParameter::set_top_k(::google::protobuf::uint32 value) {
22540   set_has_top_k();
22541   top_k_ = value;
22542   // @@protoc_insertion_point(field_set:opencv_caffe.AccuracyParameter.top_k)
22543 }
22544 
22545 // optional int32 axis = 2 [default = 1];
has_axis()22546 inline bool AccuracyParameter::has_axis() const {
22547   return (_has_bits_[0] & 0x00000004u) != 0;
22548 }
set_has_axis()22549 inline void AccuracyParameter::set_has_axis() {
22550   _has_bits_[0] |= 0x00000004u;
22551 }
clear_has_axis()22552 inline void AccuracyParameter::clear_has_axis() {
22553   _has_bits_[0] &= ~0x00000004u;
22554 }
clear_axis()22555 inline void AccuracyParameter::clear_axis() {
22556   axis_ = 1;
22557   clear_has_axis();
22558 }
axis()22559 inline ::google::protobuf::int32 AccuracyParameter::axis() const {
22560   // @@protoc_insertion_point(field_get:opencv_caffe.AccuracyParameter.axis)
22561   return axis_;
22562 }
set_axis(::google::protobuf::int32 value)22563 inline void AccuracyParameter::set_axis(::google::protobuf::int32 value) {
22564   set_has_axis();
22565   axis_ = value;
22566   // @@protoc_insertion_point(field_set:opencv_caffe.AccuracyParameter.axis)
22567 }
22568 
22569 // optional int32 ignore_label = 3;
has_ignore_label()22570 inline bool AccuracyParameter::has_ignore_label() const {
22571   return (_has_bits_[0] & 0x00000001u) != 0;
22572 }
set_has_ignore_label()22573 inline void AccuracyParameter::set_has_ignore_label() {
22574   _has_bits_[0] |= 0x00000001u;
22575 }
clear_has_ignore_label()22576 inline void AccuracyParameter::clear_has_ignore_label() {
22577   _has_bits_[0] &= ~0x00000001u;
22578 }
clear_ignore_label()22579 inline void AccuracyParameter::clear_ignore_label() {
22580   ignore_label_ = 0;
22581   clear_has_ignore_label();
22582 }
ignore_label()22583 inline ::google::protobuf::int32 AccuracyParameter::ignore_label() const {
22584   // @@protoc_insertion_point(field_get:opencv_caffe.AccuracyParameter.ignore_label)
22585   return ignore_label_;
22586 }
set_ignore_label(::google::protobuf::int32 value)22587 inline void AccuracyParameter::set_ignore_label(::google::protobuf::int32 value) {
22588   set_has_ignore_label();
22589   ignore_label_ = value;
22590   // @@protoc_insertion_point(field_set:opencv_caffe.AccuracyParameter.ignore_label)
22591 }
22592 
22593 // -------------------------------------------------------------------
22594 
22595 // ArgMaxParameter
22596 
22597 // optional bool out_max_val = 1 [default = false];
has_out_max_val()22598 inline bool ArgMaxParameter::has_out_max_val() const {
22599   return (_has_bits_[0] & 0x00000001u) != 0;
22600 }
set_has_out_max_val()22601 inline void ArgMaxParameter::set_has_out_max_val() {
22602   _has_bits_[0] |= 0x00000001u;
22603 }
clear_has_out_max_val()22604 inline void ArgMaxParameter::clear_has_out_max_val() {
22605   _has_bits_[0] &= ~0x00000001u;
22606 }
clear_out_max_val()22607 inline void ArgMaxParameter::clear_out_max_val() {
22608   out_max_val_ = false;
22609   clear_has_out_max_val();
22610 }
out_max_val()22611 inline bool ArgMaxParameter::out_max_val() const {
22612   // @@protoc_insertion_point(field_get:opencv_caffe.ArgMaxParameter.out_max_val)
22613   return out_max_val_;
22614 }
set_out_max_val(bool value)22615 inline void ArgMaxParameter::set_out_max_val(bool value) {
22616   set_has_out_max_val();
22617   out_max_val_ = value;
22618   // @@protoc_insertion_point(field_set:opencv_caffe.ArgMaxParameter.out_max_val)
22619 }
22620 
22621 // optional uint32 top_k = 2 [default = 1];
has_top_k()22622 inline bool ArgMaxParameter::has_top_k() const {
22623   return (_has_bits_[0] & 0x00000004u) != 0;
22624 }
set_has_top_k()22625 inline void ArgMaxParameter::set_has_top_k() {
22626   _has_bits_[0] |= 0x00000004u;
22627 }
clear_has_top_k()22628 inline void ArgMaxParameter::clear_has_top_k() {
22629   _has_bits_[0] &= ~0x00000004u;
22630 }
clear_top_k()22631 inline void ArgMaxParameter::clear_top_k() {
22632   top_k_ = 1u;
22633   clear_has_top_k();
22634 }
top_k()22635 inline ::google::protobuf::uint32 ArgMaxParameter::top_k() const {
22636   // @@protoc_insertion_point(field_get:opencv_caffe.ArgMaxParameter.top_k)
22637   return top_k_;
22638 }
set_top_k(::google::protobuf::uint32 value)22639 inline void ArgMaxParameter::set_top_k(::google::protobuf::uint32 value) {
22640   set_has_top_k();
22641   top_k_ = value;
22642   // @@protoc_insertion_point(field_set:opencv_caffe.ArgMaxParameter.top_k)
22643 }
22644 
22645 // optional int32 axis = 3;
has_axis()22646 inline bool ArgMaxParameter::has_axis() const {
22647   return (_has_bits_[0] & 0x00000002u) != 0;
22648 }
set_has_axis()22649 inline void ArgMaxParameter::set_has_axis() {
22650   _has_bits_[0] |= 0x00000002u;
22651 }
clear_has_axis()22652 inline void ArgMaxParameter::clear_has_axis() {
22653   _has_bits_[0] &= ~0x00000002u;
22654 }
clear_axis()22655 inline void ArgMaxParameter::clear_axis() {
22656   axis_ = 0;
22657   clear_has_axis();
22658 }
axis()22659 inline ::google::protobuf::int32 ArgMaxParameter::axis() const {
22660   // @@protoc_insertion_point(field_get:opencv_caffe.ArgMaxParameter.axis)
22661   return axis_;
22662 }
set_axis(::google::protobuf::int32 value)22663 inline void ArgMaxParameter::set_axis(::google::protobuf::int32 value) {
22664   set_has_axis();
22665   axis_ = value;
22666   // @@protoc_insertion_point(field_set:opencv_caffe.ArgMaxParameter.axis)
22667 }
22668 
22669 // -------------------------------------------------------------------
22670 
22671 // ConcatParameter
22672 
22673 // optional int32 axis = 2 [default = 1];
has_axis()22674 inline bool ConcatParameter::has_axis() const {
22675   return (_has_bits_[0] & 0x00000002u) != 0;
22676 }
set_has_axis()22677 inline void ConcatParameter::set_has_axis() {
22678   _has_bits_[0] |= 0x00000002u;
22679 }
clear_has_axis()22680 inline void ConcatParameter::clear_has_axis() {
22681   _has_bits_[0] &= ~0x00000002u;
22682 }
clear_axis()22683 inline void ConcatParameter::clear_axis() {
22684   axis_ = 1;
22685   clear_has_axis();
22686 }
axis()22687 inline ::google::protobuf::int32 ConcatParameter::axis() const {
22688   // @@protoc_insertion_point(field_get:opencv_caffe.ConcatParameter.axis)
22689   return axis_;
22690 }
set_axis(::google::protobuf::int32 value)22691 inline void ConcatParameter::set_axis(::google::protobuf::int32 value) {
22692   set_has_axis();
22693   axis_ = value;
22694   // @@protoc_insertion_point(field_set:opencv_caffe.ConcatParameter.axis)
22695 }
22696 
22697 // optional uint32 concat_dim = 1 [default = 1];
has_concat_dim()22698 inline bool ConcatParameter::has_concat_dim() const {
22699   return (_has_bits_[0] & 0x00000001u) != 0;
22700 }
set_has_concat_dim()22701 inline void ConcatParameter::set_has_concat_dim() {
22702   _has_bits_[0] |= 0x00000001u;
22703 }
clear_has_concat_dim()22704 inline void ConcatParameter::clear_has_concat_dim() {
22705   _has_bits_[0] &= ~0x00000001u;
22706 }
clear_concat_dim()22707 inline void ConcatParameter::clear_concat_dim() {
22708   concat_dim_ = 1u;
22709   clear_has_concat_dim();
22710 }
concat_dim()22711 inline ::google::protobuf::uint32 ConcatParameter::concat_dim() const {
22712   // @@protoc_insertion_point(field_get:opencv_caffe.ConcatParameter.concat_dim)
22713   return concat_dim_;
22714 }
set_concat_dim(::google::protobuf::uint32 value)22715 inline void ConcatParameter::set_concat_dim(::google::protobuf::uint32 value) {
22716   set_has_concat_dim();
22717   concat_dim_ = value;
22718   // @@protoc_insertion_point(field_set:opencv_caffe.ConcatParameter.concat_dim)
22719 }
22720 
22721 // -------------------------------------------------------------------
22722 
22723 // BatchNormParameter
22724 
22725 // optional bool use_global_stats = 1;
has_use_global_stats()22726 inline bool BatchNormParameter::has_use_global_stats() const {
22727   return (_has_bits_[0] & 0x00000001u) != 0;
22728 }
set_has_use_global_stats()22729 inline void BatchNormParameter::set_has_use_global_stats() {
22730   _has_bits_[0] |= 0x00000001u;
22731 }
clear_has_use_global_stats()22732 inline void BatchNormParameter::clear_has_use_global_stats() {
22733   _has_bits_[0] &= ~0x00000001u;
22734 }
clear_use_global_stats()22735 inline void BatchNormParameter::clear_use_global_stats() {
22736   use_global_stats_ = false;
22737   clear_has_use_global_stats();
22738 }
use_global_stats()22739 inline bool BatchNormParameter::use_global_stats() const {
22740   // @@protoc_insertion_point(field_get:opencv_caffe.BatchNormParameter.use_global_stats)
22741   return use_global_stats_;
22742 }
set_use_global_stats(bool value)22743 inline void BatchNormParameter::set_use_global_stats(bool value) {
22744   set_has_use_global_stats();
22745   use_global_stats_ = value;
22746   // @@protoc_insertion_point(field_set:opencv_caffe.BatchNormParameter.use_global_stats)
22747 }
22748 
22749 // optional float moving_average_fraction = 2 [default = 0.999];
has_moving_average_fraction()22750 inline bool BatchNormParameter::has_moving_average_fraction() const {
22751   return (_has_bits_[0] & 0x00000004u) != 0;
22752 }
set_has_moving_average_fraction()22753 inline void BatchNormParameter::set_has_moving_average_fraction() {
22754   _has_bits_[0] |= 0x00000004u;
22755 }
clear_has_moving_average_fraction()22756 inline void BatchNormParameter::clear_has_moving_average_fraction() {
22757   _has_bits_[0] &= ~0x00000004u;
22758 }
clear_moving_average_fraction()22759 inline void BatchNormParameter::clear_moving_average_fraction() {
22760   moving_average_fraction_ = 0.999f;
22761   clear_has_moving_average_fraction();
22762 }
moving_average_fraction()22763 inline float BatchNormParameter::moving_average_fraction() const {
22764   // @@protoc_insertion_point(field_get:opencv_caffe.BatchNormParameter.moving_average_fraction)
22765   return moving_average_fraction_;
22766 }
set_moving_average_fraction(float value)22767 inline void BatchNormParameter::set_moving_average_fraction(float value) {
22768   set_has_moving_average_fraction();
22769   moving_average_fraction_ = value;
22770   // @@protoc_insertion_point(field_set:opencv_caffe.BatchNormParameter.moving_average_fraction)
22771 }
22772 
22773 // optional float eps = 3 [default = 1e-05];
has_eps()22774 inline bool BatchNormParameter::has_eps() const {
22775   return (_has_bits_[0] & 0x00000008u) != 0;
22776 }
set_has_eps()22777 inline void BatchNormParameter::set_has_eps() {
22778   _has_bits_[0] |= 0x00000008u;
22779 }
clear_has_eps()22780 inline void BatchNormParameter::clear_has_eps() {
22781   _has_bits_[0] &= ~0x00000008u;
22782 }
clear_eps()22783 inline void BatchNormParameter::clear_eps() {
22784   eps_ = 1e-05f;
22785   clear_has_eps();
22786 }
eps()22787 inline float BatchNormParameter::eps() const {
22788   // @@protoc_insertion_point(field_get:opencv_caffe.BatchNormParameter.eps)
22789   return eps_;
22790 }
set_eps(float value)22791 inline void BatchNormParameter::set_eps(float value) {
22792   set_has_eps();
22793   eps_ = value;
22794   // @@protoc_insertion_point(field_set:opencv_caffe.BatchNormParameter.eps)
22795 }
22796 
22797 // optional bool scale_bias = 7 [default = false];
has_scale_bias()22798 inline bool BatchNormParameter::has_scale_bias() const {
22799   return (_has_bits_[0] & 0x00000002u) != 0;
22800 }
set_has_scale_bias()22801 inline void BatchNormParameter::set_has_scale_bias() {
22802   _has_bits_[0] |= 0x00000002u;
22803 }
clear_has_scale_bias()22804 inline void BatchNormParameter::clear_has_scale_bias() {
22805   _has_bits_[0] &= ~0x00000002u;
22806 }
clear_scale_bias()22807 inline void BatchNormParameter::clear_scale_bias() {
22808   scale_bias_ = false;
22809   clear_has_scale_bias();
22810 }
scale_bias()22811 inline bool BatchNormParameter::scale_bias() const {
22812   // @@protoc_insertion_point(field_get:opencv_caffe.BatchNormParameter.scale_bias)
22813   return scale_bias_;
22814 }
set_scale_bias(bool value)22815 inline void BatchNormParameter::set_scale_bias(bool value) {
22816   set_has_scale_bias();
22817   scale_bias_ = value;
22818   // @@protoc_insertion_point(field_set:opencv_caffe.BatchNormParameter.scale_bias)
22819 }
22820 
22821 // -------------------------------------------------------------------
22822 
22823 // BiasParameter
22824 
22825 // optional int32 axis = 1 [default = 1];
has_axis()22826 inline bool BiasParameter::has_axis() const {
22827   return (_has_bits_[0] & 0x00000002u) != 0;
22828 }
set_has_axis()22829 inline void BiasParameter::set_has_axis() {
22830   _has_bits_[0] |= 0x00000002u;
22831 }
clear_has_axis()22832 inline void BiasParameter::clear_has_axis() {
22833   _has_bits_[0] &= ~0x00000002u;
22834 }
clear_axis()22835 inline void BiasParameter::clear_axis() {
22836   axis_ = 1;
22837   clear_has_axis();
22838 }
axis()22839 inline ::google::protobuf::int32 BiasParameter::axis() const {
22840   // @@protoc_insertion_point(field_get:opencv_caffe.BiasParameter.axis)
22841   return axis_;
22842 }
set_axis(::google::protobuf::int32 value)22843 inline void BiasParameter::set_axis(::google::protobuf::int32 value) {
22844   set_has_axis();
22845   axis_ = value;
22846   // @@protoc_insertion_point(field_set:opencv_caffe.BiasParameter.axis)
22847 }
22848 
22849 // optional int32 num_axes = 2 [default = 1];
has_num_axes()22850 inline bool BiasParameter::has_num_axes() const {
22851   return (_has_bits_[0] & 0x00000004u) != 0;
22852 }
set_has_num_axes()22853 inline void BiasParameter::set_has_num_axes() {
22854   _has_bits_[0] |= 0x00000004u;
22855 }
clear_has_num_axes()22856 inline void BiasParameter::clear_has_num_axes() {
22857   _has_bits_[0] &= ~0x00000004u;
22858 }
clear_num_axes()22859 inline void BiasParameter::clear_num_axes() {
22860   num_axes_ = 1;
22861   clear_has_num_axes();
22862 }
num_axes()22863 inline ::google::protobuf::int32 BiasParameter::num_axes() const {
22864   // @@protoc_insertion_point(field_get:opencv_caffe.BiasParameter.num_axes)
22865   return num_axes_;
22866 }
set_num_axes(::google::protobuf::int32 value)22867 inline void BiasParameter::set_num_axes(::google::protobuf::int32 value) {
22868   set_has_num_axes();
22869   num_axes_ = value;
22870   // @@protoc_insertion_point(field_set:opencv_caffe.BiasParameter.num_axes)
22871 }
22872 
22873 // optional .opencv_caffe.FillerParameter filler = 3;
has_filler()22874 inline bool BiasParameter::has_filler() const {
22875   return (_has_bits_[0] & 0x00000001u) != 0;
22876 }
set_has_filler()22877 inline void BiasParameter::set_has_filler() {
22878   _has_bits_[0] |= 0x00000001u;
22879 }
clear_has_filler()22880 inline void BiasParameter::clear_has_filler() {
22881   _has_bits_[0] &= ~0x00000001u;
22882 }
clear_filler()22883 inline void BiasParameter::clear_filler() {
22884   if (filler_ != NULL) filler_->Clear();
22885   clear_has_filler();
22886 }
filler()22887 inline const ::opencv_caffe::FillerParameter& BiasParameter::filler() const {
22888   const ::opencv_caffe::FillerParameter* p = filler_;
22889   // @@protoc_insertion_point(field_get:opencv_caffe.BiasParameter.filler)
22890   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
22891       &::opencv_caffe::_FillerParameter_default_instance_);
22892 }
release_filler()22893 inline ::opencv_caffe::FillerParameter* BiasParameter::release_filler() {
22894   // @@protoc_insertion_point(field_release:opencv_caffe.BiasParameter.filler)
22895   clear_has_filler();
22896   ::opencv_caffe::FillerParameter* temp = filler_;
22897   filler_ = NULL;
22898   return temp;
22899 }
mutable_filler()22900 inline ::opencv_caffe::FillerParameter* BiasParameter::mutable_filler() {
22901   set_has_filler();
22902   if (filler_ == NULL) {
22903     filler_ = new ::opencv_caffe::FillerParameter;
22904   }
22905   // @@protoc_insertion_point(field_mutable:opencv_caffe.BiasParameter.filler)
22906   return filler_;
22907 }
set_allocated_filler(::opencv_caffe::FillerParameter * filler)22908 inline void BiasParameter::set_allocated_filler(::opencv_caffe::FillerParameter* filler) {
22909   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
22910   if (message_arena == NULL) {
22911     delete filler_;
22912   }
22913   if (filler) {
22914     ::google::protobuf::Arena* submessage_arena = NULL;
22915     if (message_arena != submessage_arena) {
22916       filler = ::google::protobuf::internal::GetOwnedMessage(
22917           message_arena, filler, submessage_arena);
22918     }
22919     set_has_filler();
22920   } else {
22921     clear_has_filler();
22922   }
22923   filler_ = filler;
22924   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.BiasParameter.filler)
22925 }
22926 
22927 // -------------------------------------------------------------------
22928 
22929 // ContrastiveLossParameter
22930 
22931 // optional float margin = 1 [default = 1];
has_margin()22932 inline bool ContrastiveLossParameter::has_margin() const {
22933   return (_has_bits_[0] & 0x00000002u) != 0;
22934 }
set_has_margin()22935 inline void ContrastiveLossParameter::set_has_margin() {
22936   _has_bits_[0] |= 0x00000002u;
22937 }
clear_has_margin()22938 inline void ContrastiveLossParameter::clear_has_margin() {
22939   _has_bits_[0] &= ~0x00000002u;
22940 }
clear_margin()22941 inline void ContrastiveLossParameter::clear_margin() {
22942   margin_ = 1;
22943   clear_has_margin();
22944 }
margin()22945 inline float ContrastiveLossParameter::margin() const {
22946   // @@protoc_insertion_point(field_get:opencv_caffe.ContrastiveLossParameter.margin)
22947   return margin_;
22948 }
set_margin(float value)22949 inline void ContrastiveLossParameter::set_margin(float value) {
22950   set_has_margin();
22951   margin_ = value;
22952   // @@protoc_insertion_point(field_set:opencv_caffe.ContrastiveLossParameter.margin)
22953 }
22954 
22955 // optional bool legacy_version = 2 [default = false];
has_legacy_version()22956 inline bool ContrastiveLossParameter::has_legacy_version() const {
22957   return (_has_bits_[0] & 0x00000001u) != 0;
22958 }
set_has_legacy_version()22959 inline void ContrastiveLossParameter::set_has_legacy_version() {
22960   _has_bits_[0] |= 0x00000001u;
22961 }
clear_has_legacy_version()22962 inline void ContrastiveLossParameter::clear_has_legacy_version() {
22963   _has_bits_[0] &= ~0x00000001u;
22964 }
clear_legacy_version()22965 inline void ContrastiveLossParameter::clear_legacy_version() {
22966   legacy_version_ = false;
22967   clear_has_legacy_version();
22968 }
legacy_version()22969 inline bool ContrastiveLossParameter::legacy_version() const {
22970   // @@protoc_insertion_point(field_get:opencv_caffe.ContrastiveLossParameter.legacy_version)
22971   return legacy_version_;
22972 }
set_legacy_version(bool value)22973 inline void ContrastiveLossParameter::set_legacy_version(bool value) {
22974   set_has_legacy_version();
22975   legacy_version_ = value;
22976   // @@protoc_insertion_point(field_set:opencv_caffe.ContrastiveLossParameter.legacy_version)
22977 }
22978 
22979 // -------------------------------------------------------------------
22980 
22981 // ConvolutionParameter
22982 
22983 // optional uint32 num_output = 1;
has_num_output()22984 inline bool ConvolutionParameter::has_num_output() const {
22985   return (_has_bits_[0] & 0x00000004u) != 0;
22986 }
set_has_num_output()22987 inline void ConvolutionParameter::set_has_num_output() {
22988   _has_bits_[0] |= 0x00000004u;
22989 }
clear_has_num_output()22990 inline void ConvolutionParameter::clear_has_num_output() {
22991   _has_bits_[0] &= ~0x00000004u;
22992 }
clear_num_output()22993 inline void ConvolutionParameter::clear_num_output() {
22994   num_output_ = 0u;
22995   clear_has_num_output();
22996 }
num_output()22997 inline ::google::protobuf::uint32 ConvolutionParameter::num_output() const {
22998   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.num_output)
22999   return num_output_;
23000 }
set_num_output(::google::protobuf::uint32 value)23001 inline void ConvolutionParameter::set_num_output(::google::protobuf::uint32 value) {
23002   set_has_num_output();
23003   num_output_ = value;
23004   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.num_output)
23005 }
23006 
23007 // optional bool bias_term = 2 [default = true];
has_bias_term()23008 inline bool ConvolutionParameter::has_bias_term() const {
23009   return (_has_bits_[0] & 0x00001000u) != 0;
23010 }
set_has_bias_term()23011 inline void ConvolutionParameter::set_has_bias_term() {
23012   _has_bits_[0] |= 0x00001000u;
23013 }
clear_has_bias_term()23014 inline void ConvolutionParameter::clear_has_bias_term() {
23015   _has_bits_[0] &= ~0x00001000u;
23016 }
clear_bias_term()23017 inline void ConvolutionParameter::clear_bias_term() {
23018   bias_term_ = true;
23019   clear_has_bias_term();
23020 }
bias_term()23021 inline bool ConvolutionParameter::bias_term() const {
23022   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.bias_term)
23023   return bias_term_;
23024 }
set_bias_term(bool value)23025 inline void ConvolutionParameter::set_bias_term(bool value) {
23026   set_has_bias_term();
23027   bias_term_ = value;
23028   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.bias_term)
23029 }
23030 
23031 // repeated uint32 pad = 3;
pad_size()23032 inline int ConvolutionParameter::pad_size() const {
23033   return pad_.size();
23034 }
clear_pad()23035 inline void ConvolutionParameter::clear_pad() {
23036   pad_.Clear();
23037 }
pad(int index)23038 inline ::google::protobuf::uint32 ConvolutionParameter::pad(int index) const {
23039   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.pad)
23040   return pad_.Get(index);
23041 }
set_pad(int index,::google::protobuf::uint32 value)23042 inline void ConvolutionParameter::set_pad(int index, ::google::protobuf::uint32 value) {
23043   pad_.Set(index, value);
23044   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.pad)
23045 }
add_pad(::google::protobuf::uint32 value)23046 inline void ConvolutionParameter::add_pad(::google::protobuf::uint32 value) {
23047   pad_.Add(value);
23048   // @@protoc_insertion_point(field_add:opencv_caffe.ConvolutionParameter.pad)
23049 }
23050 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
pad()23051 ConvolutionParameter::pad() const {
23052   // @@protoc_insertion_point(field_list:opencv_caffe.ConvolutionParameter.pad)
23053   return pad_;
23054 }
23055 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_pad()23056 ConvolutionParameter::mutable_pad() {
23057   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.ConvolutionParameter.pad)
23058   return &pad_;
23059 }
23060 
23061 // repeated uint32 kernel_size = 4;
kernel_size_size()23062 inline int ConvolutionParameter::kernel_size_size() const {
23063   return kernel_size_.size();
23064 }
clear_kernel_size()23065 inline void ConvolutionParameter::clear_kernel_size() {
23066   kernel_size_.Clear();
23067 }
kernel_size(int index)23068 inline ::google::protobuf::uint32 ConvolutionParameter::kernel_size(int index) const {
23069   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.kernel_size)
23070   return kernel_size_.Get(index);
23071 }
set_kernel_size(int index,::google::protobuf::uint32 value)23072 inline void ConvolutionParameter::set_kernel_size(int index, ::google::protobuf::uint32 value) {
23073   kernel_size_.Set(index, value);
23074   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.kernel_size)
23075 }
add_kernel_size(::google::protobuf::uint32 value)23076 inline void ConvolutionParameter::add_kernel_size(::google::protobuf::uint32 value) {
23077   kernel_size_.Add(value);
23078   // @@protoc_insertion_point(field_add:opencv_caffe.ConvolutionParameter.kernel_size)
23079 }
23080 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
kernel_size()23081 ConvolutionParameter::kernel_size() const {
23082   // @@protoc_insertion_point(field_list:opencv_caffe.ConvolutionParameter.kernel_size)
23083   return kernel_size_;
23084 }
23085 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_kernel_size()23086 ConvolutionParameter::mutable_kernel_size() {
23087   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.ConvolutionParameter.kernel_size)
23088   return &kernel_size_;
23089 }
23090 
23091 // repeated uint32 stride = 6;
stride_size()23092 inline int ConvolutionParameter::stride_size() const {
23093   return stride_.size();
23094 }
clear_stride()23095 inline void ConvolutionParameter::clear_stride() {
23096   stride_.Clear();
23097 }
stride(int index)23098 inline ::google::protobuf::uint32 ConvolutionParameter::stride(int index) const {
23099   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.stride)
23100   return stride_.Get(index);
23101 }
set_stride(int index,::google::protobuf::uint32 value)23102 inline void ConvolutionParameter::set_stride(int index, ::google::protobuf::uint32 value) {
23103   stride_.Set(index, value);
23104   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.stride)
23105 }
add_stride(::google::protobuf::uint32 value)23106 inline void ConvolutionParameter::add_stride(::google::protobuf::uint32 value) {
23107   stride_.Add(value);
23108   // @@protoc_insertion_point(field_add:opencv_caffe.ConvolutionParameter.stride)
23109 }
23110 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
stride()23111 ConvolutionParameter::stride() const {
23112   // @@protoc_insertion_point(field_list:opencv_caffe.ConvolutionParameter.stride)
23113   return stride_;
23114 }
23115 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_stride()23116 ConvolutionParameter::mutable_stride() {
23117   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.ConvolutionParameter.stride)
23118   return &stride_;
23119 }
23120 
23121 // repeated uint32 dilation = 18;
dilation_size()23122 inline int ConvolutionParameter::dilation_size() const {
23123   return dilation_.size();
23124 }
clear_dilation()23125 inline void ConvolutionParameter::clear_dilation() {
23126   dilation_.Clear();
23127 }
dilation(int index)23128 inline ::google::protobuf::uint32 ConvolutionParameter::dilation(int index) const {
23129   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.dilation)
23130   return dilation_.Get(index);
23131 }
set_dilation(int index,::google::protobuf::uint32 value)23132 inline void ConvolutionParameter::set_dilation(int index, ::google::protobuf::uint32 value) {
23133   dilation_.Set(index, value);
23134   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.dilation)
23135 }
add_dilation(::google::protobuf::uint32 value)23136 inline void ConvolutionParameter::add_dilation(::google::protobuf::uint32 value) {
23137   dilation_.Add(value);
23138   // @@protoc_insertion_point(field_add:opencv_caffe.ConvolutionParameter.dilation)
23139 }
23140 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
dilation()23141 ConvolutionParameter::dilation() const {
23142   // @@protoc_insertion_point(field_list:opencv_caffe.ConvolutionParameter.dilation)
23143   return dilation_;
23144 }
23145 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_dilation()23146 ConvolutionParameter::mutable_dilation() {
23147   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.ConvolutionParameter.dilation)
23148   return &dilation_;
23149 }
23150 
23151 // optional uint32 pad_h = 9 [default = 0];
has_pad_h()23152 inline bool ConvolutionParameter::has_pad_h() const {
23153   return (_has_bits_[0] & 0x00000008u) != 0;
23154 }
set_has_pad_h()23155 inline void ConvolutionParameter::set_has_pad_h() {
23156   _has_bits_[0] |= 0x00000008u;
23157 }
clear_has_pad_h()23158 inline void ConvolutionParameter::clear_has_pad_h() {
23159   _has_bits_[0] &= ~0x00000008u;
23160 }
clear_pad_h()23161 inline void ConvolutionParameter::clear_pad_h() {
23162   pad_h_ = 0u;
23163   clear_has_pad_h();
23164 }
pad_h()23165 inline ::google::protobuf::uint32 ConvolutionParameter::pad_h() const {
23166   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.pad_h)
23167   return pad_h_;
23168 }
set_pad_h(::google::protobuf::uint32 value)23169 inline void ConvolutionParameter::set_pad_h(::google::protobuf::uint32 value) {
23170   set_has_pad_h();
23171   pad_h_ = value;
23172   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.pad_h)
23173 }
23174 
23175 // optional uint32 pad_w = 10 [default = 0];
has_pad_w()23176 inline bool ConvolutionParameter::has_pad_w() const {
23177   return (_has_bits_[0] & 0x00000010u) != 0;
23178 }
set_has_pad_w()23179 inline void ConvolutionParameter::set_has_pad_w() {
23180   _has_bits_[0] |= 0x00000010u;
23181 }
clear_has_pad_w()23182 inline void ConvolutionParameter::clear_has_pad_w() {
23183   _has_bits_[0] &= ~0x00000010u;
23184 }
clear_pad_w()23185 inline void ConvolutionParameter::clear_pad_w() {
23186   pad_w_ = 0u;
23187   clear_has_pad_w();
23188 }
pad_w()23189 inline ::google::protobuf::uint32 ConvolutionParameter::pad_w() const {
23190   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.pad_w)
23191   return pad_w_;
23192 }
set_pad_w(::google::protobuf::uint32 value)23193 inline void ConvolutionParameter::set_pad_w(::google::protobuf::uint32 value) {
23194   set_has_pad_w();
23195   pad_w_ = value;
23196   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.pad_w)
23197 }
23198 
23199 // optional uint32 kernel_h = 11;
has_kernel_h()23200 inline bool ConvolutionParameter::has_kernel_h() const {
23201   return (_has_bits_[0] & 0x00000020u) != 0;
23202 }
set_has_kernel_h()23203 inline void ConvolutionParameter::set_has_kernel_h() {
23204   _has_bits_[0] |= 0x00000020u;
23205 }
clear_has_kernel_h()23206 inline void ConvolutionParameter::clear_has_kernel_h() {
23207   _has_bits_[0] &= ~0x00000020u;
23208 }
clear_kernel_h()23209 inline void ConvolutionParameter::clear_kernel_h() {
23210   kernel_h_ = 0u;
23211   clear_has_kernel_h();
23212 }
kernel_h()23213 inline ::google::protobuf::uint32 ConvolutionParameter::kernel_h() const {
23214   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.kernel_h)
23215   return kernel_h_;
23216 }
set_kernel_h(::google::protobuf::uint32 value)23217 inline void ConvolutionParameter::set_kernel_h(::google::protobuf::uint32 value) {
23218   set_has_kernel_h();
23219   kernel_h_ = value;
23220   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.kernel_h)
23221 }
23222 
23223 // optional uint32 kernel_w = 12;
has_kernel_w()23224 inline bool ConvolutionParameter::has_kernel_w() const {
23225   return (_has_bits_[0] & 0x00000040u) != 0;
23226 }
set_has_kernel_w()23227 inline void ConvolutionParameter::set_has_kernel_w() {
23228   _has_bits_[0] |= 0x00000040u;
23229 }
clear_has_kernel_w()23230 inline void ConvolutionParameter::clear_has_kernel_w() {
23231   _has_bits_[0] &= ~0x00000040u;
23232 }
clear_kernel_w()23233 inline void ConvolutionParameter::clear_kernel_w() {
23234   kernel_w_ = 0u;
23235   clear_has_kernel_w();
23236 }
kernel_w()23237 inline ::google::protobuf::uint32 ConvolutionParameter::kernel_w() const {
23238   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.kernel_w)
23239   return kernel_w_;
23240 }
set_kernel_w(::google::protobuf::uint32 value)23241 inline void ConvolutionParameter::set_kernel_w(::google::protobuf::uint32 value) {
23242   set_has_kernel_w();
23243   kernel_w_ = value;
23244   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.kernel_w)
23245 }
23246 
23247 // optional uint32 stride_h = 13;
has_stride_h()23248 inline bool ConvolutionParameter::has_stride_h() const {
23249   return (_has_bits_[0] & 0x00000080u) != 0;
23250 }
set_has_stride_h()23251 inline void ConvolutionParameter::set_has_stride_h() {
23252   _has_bits_[0] |= 0x00000080u;
23253 }
clear_has_stride_h()23254 inline void ConvolutionParameter::clear_has_stride_h() {
23255   _has_bits_[0] &= ~0x00000080u;
23256 }
clear_stride_h()23257 inline void ConvolutionParameter::clear_stride_h() {
23258   stride_h_ = 0u;
23259   clear_has_stride_h();
23260 }
stride_h()23261 inline ::google::protobuf::uint32 ConvolutionParameter::stride_h() const {
23262   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.stride_h)
23263   return stride_h_;
23264 }
set_stride_h(::google::protobuf::uint32 value)23265 inline void ConvolutionParameter::set_stride_h(::google::protobuf::uint32 value) {
23266   set_has_stride_h();
23267   stride_h_ = value;
23268   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.stride_h)
23269 }
23270 
23271 // optional uint32 stride_w = 14;
has_stride_w()23272 inline bool ConvolutionParameter::has_stride_w() const {
23273   return (_has_bits_[0] & 0x00000100u) != 0;
23274 }
set_has_stride_w()23275 inline void ConvolutionParameter::set_has_stride_w() {
23276   _has_bits_[0] |= 0x00000100u;
23277 }
clear_has_stride_w()23278 inline void ConvolutionParameter::clear_has_stride_w() {
23279   _has_bits_[0] &= ~0x00000100u;
23280 }
clear_stride_w()23281 inline void ConvolutionParameter::clear_stride_w() {
23282   stride_w_ = 0u;
23283   clear_has_stride_w();
23284 }
stride_w()23285 inline ::google::protobuf::uint32 ConvolutionParameter::stride_w() const {
23286   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.stride_w)
23287   return stride_w_;
23288 }
set_stride_w(::google::protobuf::uint32 value)23289 inline void ConvolutionParameter::set_stride_w(::google::protobuf::uint32 value) {
23290   set_has_stride_w();
23291   stride_w_ = value;
23292   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.stride_w)
23293 }
23294 
23295 // optional uint32 group = 5 [default = 1];
has_group()23296 inline bool ConvolutionParameter::has_group() const {
23297   return (_has_bits_[0] & 0x00002000u) != 0;
23298 }
set_has_group()23299 inline void ConvolutionParameter::set_has_group() {
23300   _has_bits_[0] |= 0x00002000u;
23301 }
clear_has_group()23302 inline void ConvolutionParameter::clear_has_group() {
23303   _has_bits_[0] &= ~0x00002000u;
23304 }
clear_group()23305 inline void ConvolutionParameter::clear_group() {
23306   group_ = 1u;
23307   clear_has_group();
23308 }
group()23309 inline ::google::protobuf::uint32 ConvolutionParameter::group() const {
23310   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.group)
23311   return group_;
23312 }
set_group(::google::protobuf::uint32 value)23313 inline void ConvolutionParameter::set_group(::google::protobuf::uint32 value) {
23314   set_has_group();
23315   group_ = value;
23316   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.group)
23317 }
23318 
23319 // optional .opencv_caffe.FillerParameter weight_filler = 7;
has_weight_filler()23320 inline bool ConvolutionParameter::has_weight_filler() const {
23321   return (_has_bits_[0] & 0x00000001u) != 0;
23322 }
set_has_weight_filler()23323 inline void ConvolutionParameter::set_has_weight_filler() {
23324   _has_bits_[0] |= 0x00000001u;
23325 }
clear_has_weight_filler()23326 inline void ConvolutionParameter::clear_has_weight_filler() {
23327   _has_bits_[0] &= ~0x00000001u;
23328 }
clear_weight_filler()23329 inline void ConvolutionParameter::clear_weight_filler() {
23330   if (weight_filler_ != NULL) weight_filler_->Clear();
23331   clear_has_weight_filler();
23332 }
weight_filler()23333 inline const ::opencv_caffe::FillerParameter& ConvolutionParameter::weight_filler() const {
23334   const ::opencv_caffe::FillerParameter* p = weight_filler_;
23335   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.weight_filler)
23336   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
23337       &::opencv_caffe::_FillerParameter_default_instance_);
23338 }
release_weight_filler()23339 inline ::opencv_caffe::FillerParameter* ConvolutionParameter::release_weight_filler() {
23340   // @@protoc_insertion_point(field_release:opencv_caffe.ConvolutionParameter.weight_filler)
23341   clear_has_weight_filler();
23342   ::opencv_caffe::FillerParameter* temp = weight_filler_;
23343   weight_filler_ = NULL;
23344   return temp;
23345 }
mutable_weight_filler()23346 inline ::opencv_caffe::FillerParameter* ConvolutionParameter::mutable_weight_filler() {
23347   set_has_weight_filler();
23348   if (weight_filler_ == NULL) {
23349     weight_filler_ = new ::opencv_caffe::FillerParameter;
23350   }
23351   // @@protoc_insertion_point(field_mutable:opencv_caffe.ConvolutionParameter.weight_filler)
23352   return weight_filler_;
23353 }
set_allocated_weight_filler(::opencv_caffe::FillerParameter * weight_filler)23354 inline void ConvolutionParameter::set_allocated_weight_filler(::opencv_caffe::FillerParameter* weight_filler) {
23355   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
23356   if (message_arena == NULL) {
23357     delete weight_filler_;
23358   }
23359   if (weight_filler) {
23360     ::google::protobuf::Arena* submessage_arena = NULL;
23361     if (message_arena != submessage_arena) {
23362       weight_filler = ::google::protobuf::internal::GetOwnedMessage(
23363           message_arena, weight_filler, submessage_arena);
23364     }
23365     set_has_weight_filler();
23366   } else {
23367     clear_has_weight_filler();
23368   }
23369   weight_filler_ = weight_filler;
23370   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.ConvolutionParameter.weight_filler)
23371 }
23372 
23373 // optional .opencv_caffe.FillerParameter bias_filler = 8;
has_bias_filler()23374 inline bool ConvolutionParameter::has_bias_filler() const {
23375   return (_has_bits_[0] & 0x00000002u) != 0;
23376 }
set_has_bias_filler()23377 inline void ConvolutionParameter::set_has_bias_filler() {
23378   _has_bits_[0] |= 0x00000002u;
23379 }
clear_has_bias_filler()23380 inline void ConvolutionParameter::clear_has_bias_filler() {
23381   _has_bits_[0] &= ~0x00000002u;
23382 }
clear_bias_filler()23383 inline void ConvolutionParameter::clear_bias_filler() {
23384   if (bias_filler_ != NULL) bias_filler_->Clear();
23385   clear_has_bias_filler();
23386 }
bias_filler()23387 inline const ::opencv_caffe::FillerParameter& ConvolutionParameter::bias_filler() const {
23388   const ::opencv_caffe::FillerParameter* p = bias_filler_;
23389   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.bias_filler)
23390   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
23391       &::opencv_caffe::_FillerParameter_default_instance_);
23392 }
release_bias_filler()23393 inline ::opencv_caffe::FillerParameter* ConvolutionParameter::release_bias_filler() {
23394   // @@protoc_insertion_point(field_release:opencv_caffe.ConvolutionParameter.bias_filler)
23395   clear_has_bias_filler();
23396   ::opencv_caffe::FillerParameter* temp = bias_filler_;
23397   bias_filler_ = NULL;
23398   return temp;
23399 }
mutable_bias_filler()23400 inline ::opencv_caffe::FillerParameter* ConvolutionParameter::mutable_bias_filler() {
23401   set_has_bias_filler();
23402   if (bias_filler_ == NULL) {
23403     bias_filler_ = new ::opencv_caffe::FillerParameter;
23404   }
23405   // @@protoc_insertion_point(field_mutable:opencv_caffe.ConvolutionParameter.bias_filler)
23406   return bias_filler_;
23407 }
set_allocated_bias_filler(::opencv_caffe::FillerParameter * bias_filler)23408 inline void ConvolutionParameter::set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler) {
23409   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
23410   if (message_arena == NULL) {
23411     delete bias_filler_;
23412   }
23413   if (bias_filler) {
23414     ::google::protobuf::Arena* submessage_arena = NULL;
23415     if (message_arena != submessage_arena) {
23416       bias_filler = ::google::protobuf::internal::GetOwnedMessage(
23417           message_arena, bias_filler, submessage_arena);
23418     }
23419     set_has_bias_filler();
23420   } else {
23421     clear_has_bias_filler();
23422   }
23423   bias_filler_ = bias_filler;
23424   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.ConvolutionParameter.bias_filler)
23425 }
23426 
23427 // optional .opencv_caffe.ConvolutionParameter.Engine engine = 15 [default = DEFAULT];
has_engine()23428 inline bool ConvolutionParameter::has_engine() const {
23429   return (_has_bits_[0] & 0x00000200u) != 0;
23430 }
set_has_engine()23431 inline void ConvolutionParameter::set_has_engine() {
23432   _has_bits_[0] |= 0x00000200u;
23433 }
clear_has_engine()23434 inline void ConvolutionParameter::clear_has_engine() {
23435   _has_bits_[0] &= ~0x00000200u;
23436 }
clear_engine()23437 inline void ConvolutionParameter::clear_engine() {
23438   engine_ = 0;
23439   clear_has_engine();
23440 }
engine()23441 inline ::opencv_caffe::ConvolutionParameter_Engine ConvolutionParameter::engine() const {
23442   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.engine)
23443   return static_cast< ::opencv_caffe::ConvolutionParameter_Engine >(engine_);
23444 }
set_engine(::opencv_caffe::ConvolutionParameter_Engine value)23445 inline void ConvolutionParameter::set_engine(::opencv_caffe::ConvolutionParameter_Engine value) {
23446   assert(::opencv_caffe::ConvolutionParameter_Engine_IsValid(value));
23447   set_has_engine();
23448   engine_ = value;
23449   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.engine)
23450 }
23451 
23452 // optional int32 axis = 16 [default = 1];
has_axis()23453 inline bool ConvolutionParameter::has_axis() const {
23454   return (_has_bits_[0] & 0x00000800u) != 0;
23455 }
set_has_axis()23456 inline void ConvolutionParameter::set_has_axis() {
23457   _has_bits_[0] |= 0x00000800u;
23458 }
clear_has_axis()23459 inline void ConvolutionParameter::clear_has_axis() {
23460   _has_bits_[0] &= ~0x00000800u;
23461 }
clear_axis()23462 inline void ConvolutionParameter::clear_axis() {
23463   axis_ = 1;
23464   clear_has_axis();
23465 }
axis()23466 inline ::google::protobuf::int32 ConvolutionParameter::axis() const {
23467   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.axis)
23468   return axis_;
23469 }
set_axis(::google::protobuf::int32 value)23470 inline void ConvolutionParameter::set_axis(::google::protobuf::int32 value) {
23471   set_has_axis();
23472   axis_ = value;
23473   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.axis)
23474 }
23475 
23476 // optional bool force_nd_im2col = 17 [default = false];
has_force_nd_im2col()23477 inline bool ConvolutionParameter::has_force_nd_im2col() const {
23478   return (_has_bits_[0] & 0x00000400u) != 0;
23479 }
set_has_force_nd_im2col()23480 inline void ConvolutionParameter::set_has_force_nd_im2col() {
23481   _has_bits_[0] |= 0x00000400u;
23482 }
clear_has_force_nd_im2col()23483 inline void ConvolutionParameter::clear_has_force_nd_im2col() {
23484   _has_bits_[0] &= ~0x00000400u;
23485 }
clear_force_nd_im2col()23486 inline void ConvolutionParameter::clear_force_nd_im2col() {
23487   force_nd_im2col_ = false;
23488   clear_has_force_nd_im2col();
23489 }
force_nd_im2col()23490 inline bool ConvolutionParameter::force_nd_im2col() const {
23491   // @@protoc_insertion_point(field_get:opencv_caffe.ConvolutionParameter.force_nd_im2col)
23492   return force_nd_im2col_;
23493 }
set_force_nd_im2col(bool value)23494 inline void ConvolutionParameter::set_force_nd_im2col(bool value) {
23495   set_has_force_nd_im2col();
23496   force_nd_im2col_ = value;
23497   // @@protoc_insertion_point(field_set:opencv_caffe.ConvolutionParameter.force_nd_im2col)
23498 }
23499 
23500 // -------------------------------------------------------------------
23501 
23502 // CropParameter
23503 
23504 // optional int32 axis = 1 [default = 2];
has_axis()23505 inline bool CropParameter::has_axis() const {
23506   return (_has_bits_[0] & 0x00000001u) != 0;
23507 }
set_has_axis()23508 inline void CropParameter::set_has_axis() {
23509   _has_bits_[0] |= 0x00000001u;
23510 }
clear_has_axis()23511 inline void CropParameter::clear_has_axis() {
23512   _has_bits_[0] &= ~0x00000001u;
23513 }
clear_axis()23514 inline void CropParameter::clear_axis() {
23515   axis_ = 2;
23516   clear_has_axis();
23517 }
axis()23518 inline ::google::protobuf::int32 CropParameter::axis() const {
23519   // @@protoc_insertion_point(field_get:opencv_caffe.CropParameter.axis)
23520   return axis_;
23521 }
set_axis(::google::protobuf::int32 value)23522 inline void CropParameter::set_axis(::google::protobuf::int32 value) {
23523   set_has_axis();
23524   axis_ = value;
23525   // @@protoc_insertion_point(field_set:opencv_caffe.CropParameter.axis)
23526 }
23527 
23528 // repeated uint32 offset = 2;
offset_size()23529 inline int CropParameter::offset_size() const {
23530   return offset_.size();
23531 }
clear_offset()23532 inline void CropParameter::clear_offset() {
23533   offset_.Clear();
23534 }
offset(int index)23535 inline ::google::protobuf::uint32 CropParameter::offset(int index) const {
23536   // @@protoc_insertion_point(field_get:opencv_caffe.CropParameter.offset)
23537   return offset_.Get(index);
23538 }
set_offset(int index,::google::protobuf::uint32 value)23539 inline void CropParameter::set_offset(int index, ::google::protobuf::uint32 value) {
23540   offset_.Set(index, value);
23541   // @@protoc_insertion_point(field_set:opencv_caffe.CropParameter.offset)
23542 }
add_offset(::google::protobuf::uint32 value)23543 inline void CropParameter::add_offset(::google::protobuf::uint32 value) {
23544   offset_.Add(value);
23545   // @@protoc_insertion_point(field_add:opencv_caffe.CropParameter.offset)
23546 }
23547 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
offset()23548 CropParameter::offset() const {
23549   // @@protoc_insertion_point(field_list:opencv_caffe.CropParameter.offset)
23550   return offset_;
23551 }
23552 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_offset()23553 CropParameter::mutable_offset() {
23554   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.CropParameter.offset)
23555   return &offset_;
23556 }
23557 
23558 // -------------------------------------------------------------------
23559 
23560 // DataParameter
23561 
23562 // optional string source = 1;
has_source()23563 inline bool DataParameter::has_source() const {
23564   return (_has_bits_[0] & 0x00000001u) != 0;
23565 }
set_has_source()23566 inline void DataParameter::set_has_source() {
23567   _has_bits_[0] |= 0x00000001u;
23568 }
clear_has_source()23569 inline void DataParameter::clear_has_source() {
23570   _has_bits_[0] &= ~0x00000001u;
23571 }
clear_source()23572 inline void DataParameter::clear_source() {
23573   source_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23574   clear_has_source();
23575 }
source()23576 inline const ::std::string& DataParameter::source() const {
23577   // @@protoc_insertion_point(field_get:opencv_caffe.DataParameter.source)
23578   return source_.GetNoArena();
23579 }
set_source(const::std::string & value)23580 inline void DataParameter::set_source(const ::std::string& value) {
23581   set_has_source();
23582   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
23583   // @@protoc_insertion_point(field_set:opencv_caffe.DataParameter.source)
23584 }
23585 #if LANG_CXX11
set_source(::std::string && value)23586 inline void DataParameter::set_source(::std::string&& value) {
23587   set_has_source();
23588   source_.SetNoArena(
23589     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
23590   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.DataParameter.source)
23591 }
23592 #endif
set_source(const char * value)23593 inline void DataParameter::set_source(const char* value) {
23594   GOOGLE_DCHECK(value != NULL);
23595   set_has_source();
23596   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
23597   // @@protoc_insertion_point(field_set_char:opencv_caffe.DataParameter.source)
23598 }
set_source(const char * value,size_t size)23599 inline void DataParameter::set_source(const char* value, size_t size) {
23600   set_has_source();
23601   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
23602       ::std::string(reinterpret_cast<const char*>(value), size));
23603   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.DataParameter.source)
23604 }
mutable_source()23605 inline ::std::string* DataParameter::mutable_source() {
23606   set_has_source();
23607   // @@protoc_insertion_point(field_mutable:opencv_caffe.DataParameter.source)
23608   return source_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23609 }
release_source()23610 inline ::std::string* DataParameter::release_source() {
23611   // @@protoc_insertion_point(field_release:opencv_caffe.DataParameter.source)
23612   clear_has_source();
23613   return source_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23614 }
set_allocated_source(::std::string * source)23615 inline void DataParameter::set_allocated_source(::std::string* source) {
23616   if (source != NULL) {
23617     set_has_source();
23618   } else {
23619     clear_has_source();
23620   }
23621   source_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source);
23622   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.DataParameter.source)
23623 }
23624 
23625 // optional uint32 batch_size = 4;
has_batch_size()23626 inline bool DataParameter::has_batch_size() const {
23627   return (_has_bits_[0] & 0x00000004u) != 0;
23628 }
set_has_batch_size()23629 inline void DataParameter::set_has_batch_size() {
23630   _has_bits_[0] |= 0x00000004u;
23631 }
clear_has_batch_size()23632 inline void DataParameter::clear_has_batch_size() {
23633   _has_bits_[0] &= ~0x00000004u;
23634 }
clear_batch_size()23635 inline void DataParameter::clear_batch_size() {
23636   batch_size_ = 0u;
23637   clear_has_batch_size();
23638 }
batch_size()23639 inline ::google::protobuf::uint32 DataParameter::batch_size() const {
23640   // @@protoc_insertion_point(field_get:opencv_caffe.DataParameter.batch_size)
23641   return batch_size_;
23642 }
set_batch_size(::google::protobuf::uint32 value)23643 inline void DataParameter::set_batch_size(::google::protobuf::uint32 value) {
23644   set_has_batch_size();
23645   batch_size_ = value;
23646   // @@protoc_insertion_point(field_set:opencv_caffe.DataParameter.batch_size)
23647 }
23648 
23649 // optional uint32 rand_skip = 7 [default = 0];
has_rand_skip()23650 inline bool DataParameter::has_rand_skip() const {
23651   return (_has_bits_[0] & 0x00000010u) != 0;
23652 }
set_has_rand_skip()23653 inline void DataParameter::set_has_rand_skip() {
23654   _has_bits_[0] |= 0x00000010u;
23655 }
clear_has_rand_skip()23656 inline void DataParameter::clear_has_rand_skip() {
23657   _has_bits_[0] &= ~0x00000010u;
23658 }
clear_rand_skip()23659 inline void DataParameter::clear_rand_skip() {
23660   rand_skip_ = 0u;
23661   clear_has_rand_skip();
23662 }
rand_skip()23663 inline ::google::protobuf::uint32 DataParameter::rand_skip() const {
23664   // @@protoc_insertion_point(field_get:opencv_caffe.DataParameter.rand_skip)
23665   return rand_skip_;
23666 }
set_rand_skip(::google::protobuf::uint32 value)23667 inline void DataParameter::set_rand_skip(::google::protobuf::uint32 value) {
23668   set_has_rand_skip();
23669   rand_skip_ = value;
23670   // @@protoc_insertion_point(field_set:opencv_caffe.DataParameter.rand_skip)
23671 }
23672 
23673 // optional .opencv_caffe.DataParameter.DB backend = 8 [default = LEVELDB];
has_backend()23674 inline bool DataParameter::has_backend() const {
23675   return (_has_bits_[0] & 0x00000080u) != 0;
23676 }
set_has_backend()23677 inline void DataParameter::set_has_backend() {
23678   _has_bits_[0] |= 0x00000080u;
23679 }
clear_has_backend()23680 inline void DataParameter::clear_has_backend() {
23681   _has_bits_[0] &= ~0x00000080u;
23682 }
clear_backend()23683 inline void DataParameter::clear_backend() {
23684   backend_ = 0;
23685   clear_has_backend();
23686 }
backend()23687 inline ::opencv_caffe::DataParameter_DB DataParameter::backend() const {
23688   // @@protoc_insertion_point(field_get:opencv_caffe.DataParameter.backend)
23689   return static_cast< ::opencv_caffe::DataParameter_DB >(backend_);
23690 }
set_backend(::opencv_caffe::DataParameter_DB value)23691 inline void DataParameter::set_backend(::opencv_caffe::DataParameter_DB value) {
23692   assert(::opencv_caffe::DataParameter_DB_IsValid(value));
23693   set_has_backend();
23694   backend_ = value;
23695   // @@protoc_insertion_point(field_set:opencv_caffe.DataParameter.backend)
23696 }
23697 
23698 // optional float scale = 2 [default = 1];
has_scale()23699 inline bool DataParameter::has_scale() const {
23700   return (_has_bits_[0] & 0x00000100u) != 0;
23701 }
set_has_scale()23702 inline void DataParameter::set_has_scale() {
23703   _has_bits_[0] |= 0x00000100u;
23704 }
clear_has_scale()23705 inline void DataParameter::clear_has_scale() {
23706   _has_bits_[0] &= ~0x00000100u;
23707 }
clear_scale()23708 inline void DataParameter::clear_scale() {
23709   scale_ = 1;
23710   clear_has_scale();
23711 }
scale()23712 inline float DataParameter::scale() const {
23713   // @@protoc_insertion_point(field_get:opencv_caffe.DataParameter.scale)
23714   return scale_;
23715 }
set_scale(float value)23716 inline void DataParameter::set_scale(float value) {
23717   set_has_scale();
23718   scale_ = value;
23719   // @@protoc_insertion_point(field_set:opencv_caffe.DataParameter.scale)
23720 }
23721 
23722 // optional string mean_file = 3;
has_mean_file()23723 inline bool DataParameter::has_mean_file() const {
23724   return (_has_bits_[0] & 0x00000002u) != 0;
23725 }
set_has_mean_file()23726 inline void DataParameter::set_has_mean_file() {
23727   _has_bits_[0] |= 0x00000002u;
23728 }
clear_has_mean_file()23729 inline void DataParameter::clear_has_mean_file() {
23730   _has_bits_[0] &= ~0x00000002u;
23731 }
clear_mean_file()23732 inline void DataParameter::clear_mean_file() {
23733   mean_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23734   clear_has_mean_file();
23735 }
mean_file()23736 inline const ::std::string& DataParameter::mean_file() const {
23737   // @@protoc_insertion_point(field_get:opencv_caffe.DataParameter.mean_file)
23738   return mean_file_.GetNoArena();
23739 }
set_mean_file(const::std::string & value)23740 inline void DataParameter::set_mean_file(const ::std::string& value) {
23741   set_has_mean_file();
23742   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
23743   // @@protoc_insertion_point(field_set:opencv_caffe.DataParameter.mean_file)
23744 }
23745 #if LANG_CXX11
set_mean_file(::std::string && value)23746 inline void DataParameter::set_mean_file(::std::string&& value) {
23747   set_has_mean_file();
23748   mean_file_.SetNoArena(
23749     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
23750   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.DataParameter.mean_file)
23751 }
23752 #endif
set_mean_file(const char * value)23753 inline void DataParameter::set_mean_file(const char* value) {
23754   GOOGLE_DCHECK(value != NULL);
23755   set_has_mean_file();
23756   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
23757   // @@protoc_insertion_point(field_set_char:opencv_caffe.DataParameter.mean_file)
23758 }
set_mean_file(const char * value,size_t size)23759 inline void DataParameter::set_mean_file(const char* value, size_t size) {
23760   set_has_mean_file();
23761   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
23762       ::std::string(reinterpret_cast<const char*>(value), size));
23763   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.DataParameter.mean_file)
23764 }
mutable_mean_file()23765 inline ::std::string* DataParameter::mutable_mean_file() {
23766   set_has_mean_file();
23767   // @@protoc_insertion_point(field_mutable:opencv_caffe.DataParameter.mean_file)
23768   return mean_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23769 }
release_mean_file()23770 inline ::std::string* DataParameter::release_mean_file() {
23771   // @@protoc_insertion_point(field_release:opencv_caffe.DataParameter.mean_file)
23772   clear_has_mean_file();
23773   return mean_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23774 }
set_allocated_mean_file(::std::string * mean_file)23775 inline void DataParameter::set_allocated_mean_file(::std::string* mean_file) {
23776   if (mean_file != NULL) {
23777     set_has_mean_file();
23778   } else {
23779     clear_has_mean_file();
23780   }
23781   mean_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), mean_file);
23782   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.DataParameter.mean_file)
23783 }
23784 
23785 // optional uint32 crop_size = 5 [default = 0];
has_crop_size()23786 inline bool DataParameter::has_crop_size() const {
23787   return (_has_bits_[0] & 0x00000008u) != 0;
23788 }
set_has_crop_size()23789 inline void DataParameter::set_has_crop_size() {
23790   _has_bits_[0] |= 0x00000008u;
23791 }
clear_has_crop_size()23792 inline void DataParameter::clear_has_crop_size() {
23793   _has_bits_[0] &= ~0x00000008u;
23794 }
clear_crop_size()23795 inline void DataParameter::clear_crop_size() {
23796   crop_size_ = 0u;
23797   clear_has_crop_size();
23798 }
crop_size()23799 inline ::google::protobuf::uint32 DataParameter::crop_size() const {
23800   // @@protoc_insertion_point(field_get:opencv_caffe.DataParameter.crop_size)
23801   return crop_size_;
23802 }
set_crop_size(::google::protobuf::uint32 value)23803 inline void DataParameter::set_crop_size(::google::protobuf::uint32 value) {
23804   set_has_crop_size();
23805   crop_size_ = value;
23806   // @@protoc_insertion_point(field_set:opencv_caffe.DataParameter.crop_size)
23807 }
23808 
23809 // optional bool mirror = 6 [default = false];
has_mirror()23810 inline bool DataParameter::has_mirror() const {
23811   return (_has_bits_[0] & 0x00000020u) != 0;
23812 }
set_has_mirror()23813 inline void DataParameter::set_has_mirror() {
23814   _has_bits_[0] |= 0x00000020u;
23815 }
clear_has_mirror()23816 inline void DataParameter::clear_has_mirror() {
23817   _has_bits_[0] &= ~0x00000020u;
23818 }
clear_mirror()23819 inline void DataParameter::clear_mirror() {
23820   mirror_ = false;
23821   clear_has_mirror();
23822 }
mirror()23823 inline bool DataParameter::mirror() const {
23824   // @@protoc_insertion_point(field_get:opencv_caffe.DataParameter.mirror)
23825   return mirror_;
23826 }
set_mirror(bool value)23827 inline void DataParameter::set_mirror(bool value) {
23828   set_has_mirror();
23829   mirror_ = value;
23830   // @@protoc_insertion_point(field_set:opencv_caffe.DataParameter.mirror)
23831 }
23832 
23833 // optional bool force_encoded_color = 9 [default = false];
has_force_encoded_color()23834 inline bool DataParameter::has_force_encoded_color() const {
23835   return (_has_bits_[0] & 0x00000040u) != 0;
23836 }
set_has_force_encoded_color()23837 inline void DataParameter::set_has_force_encoded_color() {
23838   _has_bits_[0] |= 0x00000040u;
23839 }
clear_has_force_encoded_color()23840 inline void DataParameter::clear_has_force_encoded_color() {
23841   _has_bits_[0] &= ~0x00000040u;
23842 }
clear_force_encoded_color()23843 inline void DataParameter::clear_force_encoded_color() {
23844   force_encoded_color_ = false;
23845   clear_has_force_encoded_color();
23846 }
force_encoded_color()23847 inline bool DataParameter::force_encoded_color() const {
23848   // @@protoc_insertion_point(field_get:opencv_caffe.DataParameter.force_encoded_color)
23849   return force_encoded_color_;
23850 }
set_force_encoded_color(bool value)23851 inline void DataParameter::set_force_encoded_color(bool value) {
23852   set_has_force_encoded_color();
23853   force_encoded_color_ = value;
23854   // @@protoc_insertion_point(field_set:opencv_caffe.DataParameter.force_encoded_color)
23855 }
23856 
23857 // optional uint32 prefetch = 10 [default = 4];
has_prefetch()23858 inline bool DataParameter::has_prefetch() const {
23859   return (_has_bits_[0] & 0x00000200u) != 0;
23860 }
set_has_prefetch()23861 inline void DataParameter::set_has_prefetch() {
23862   _has_bits_[0] |= 0x00000200u;
23863 }
clear_has_prefetch()23864 inline void DataParameter::clear_has_prefetch() {
23865   _has_bits_[0] &= ~0x00000200u;
23866 }
clear_prefetch()23867 inline void DataParameter::clear_prefetch() {
23868   prefetch_ = 4u;
23869   clear_has_prefetch();
23870 }
prefetch()23871 inline ::google::protobuf::uint32 DataParameter::prefetch() const {
23872   // @@protoc_insertion_point(field_get:opencv_caffe.DataParameter.prefetch)
23873   return prefetch_;
23874 }
set_prefetch(::google::protobuf::uint32 value)23875 inline void DataParameter::set_prefetch(::google::protobuf::uint32 value) {
23876   set_has_prefetch();
23877   prefetch_ = value;
23878   // @@protoc_insertion_point(field_set:opencv_caffe.DataParameter.prefetch)
23879 }
23880 
23881 // -------------------------------------------------------------------
23882 
23883 // NonMaximumSuppressionParameter
23884 
23885 // optional float nms_threshold = 1 [default = 0.3];
has_nms_threshold()23886 inline bool NonMaximumSuppressionParameter::has_nms_threshold() const {
23887   return (_has_bits_[0] & 0x00000002u) != 0;
23888 }
set_has_nms_threshold()23889 inline void NonMaximumSuppressionParameter::set_has_nms_threshold() {
23890   _has_bits_[0] |= 0x00000002u;
23891 }
clear_has_nms_threshold()23892 inline void NonMaximumSuppressionParameter::clear_has_nms_threshold() {
23893   _has_bits_[0] &= ~0x00000002u;
23894 }
clear_nms_threshold()23895 inline void NonMaximumSuppressionParameter::clear_nms_threshold() {
23896   nms_threshold_ = 0.3f;
23897   clear_has_nms_threshold();
23898 }
nms_threshold()23899 inline float NonMaximumSuppressionParameter::nms_threshold() const {
23900   // @@protoc_insertion_point(field_get:opencv_caffe.NonMaximumSuppressionParameter.nms_threshold)
23901   return nms_threshold_;
23902 }
set_nms_threshold(float value)23903 inline void NonMaximumSuppressionParameter::set_nms_threshold(float value) {
23904   set_has_nms_threshold();
23905   nms_threshold_ = value;
23906   // @@protoc_insertion_point(field_set:opencv_caffe.NonMaximumSuppressionParameter.nms_threshold)
23907 }
23908 
23909 // optional int32 top_k = 2;
has_top_k()23910 inline bool NonMaximumSuppressionParameter::has_top_k() const {
23911   return (_has_bits_[0] & 0x00000001u) != 0;
23912 }
set_has_top_k()23913 inline void NonMaximumSuppressionParameter::set_has_top_k() {
23914   _has_bits_[0] |= 0x00000001u;
23915 }
clear_has_top_k()23916 inline void NonMaximumSuppressionParameter::clear_has_top_k() {
23917   _has_bits_[0] &= ~0x00000001u;
23918 }
clear_top_k()23919 inline void NonMaximumSuppressionParameter::clear_top_k() {
23920   top_k_ = 0;
23921   clear_has_top_k();
23922 }
top_k()23923 inline ::google::protobuf::int32 NonMaximumSuppressionParameter::top_k() const {
23924   // @@protoc_insertion_point(field_get:opencv_caffe.NonMaximumSuppressionParameter.top_k)
23925   return top_k_;
23926 }
set_top_k(::google::protobuf::int32 value)23927 inline void NonMaximumSuppressionParameter::set_top_k(::google::protobuf::int32 value) {
23928   set_has_top_k();
23929   top_k_ = value;
23930   // @@protoc_insertion_point(field_set:opencv_caffe.NonMaximumSuppressionParameter.top_k)
23931 }
23932 
23933 // optional float eta = 3 [default = 1];
has_eta()23934 inline bool NonMaximumSuppressionParameter::has_eta() const {
23935   return (_has_bits_[0] & 0x00000004u) != 0;
23936 }
set_has_eta()23937 inline void NonMaximumSuppressionParameter::set_has_eta() {
23938   _has_bits_[0] |= 0x00000004u;
23939 }
clear_has_eta()23940 inline void NonMaximumSuppressionParameter::clear_has_eta() {
23941   _has_bits_[0] &= ~0x00000004u;
23942 }
clear_eta()23943 inline void NonMaximumSuppressionParameter::clear_eta() {
23944   eta_ = 1;
23945   clear_has_eta();
23946 }
eta()23947 inline float NonMaximumSuppressionParameter::eta() const {
23948   // @@protoc_insertion_point(field_get:opencv_caffe.NonMaximumSuppressionParameter.eta)
23949   return eta_;
23950 }
set_eta(float value)23951 inline void NonMaximumSuppressionParameter::set_eta(float value) {
23952   set_has_eta();
23953   eta_ = value;
23954   // @@protoc_insertion_point(field_set:opencv_caffe.NonMaximumSuppressionParameter.eta)
23955 }
23956 
23957 // -------------------------------------------------------------------
23958 
23959 // SaveOutputParameter
23960 
23961 // optional string output_directory = 1;
has_output_directory()23962 inline bool SaveOutputParameter::has_output_directory() const {
23963   return (_has_bits_[0] & 0x00000001u) != 0;
23964 }
set_has_output_directory()23965 inline void SaveOutputParameter::set_has_output_directory() {
23966   _has_bits_[0] |= 0x00000001u;
23967 }
clear_has_output_directory()23968 inline void SaveOutputParameter::clear_has_output_directory() {
23969   _has_bits_[0] &= ~0x00000001u;
23970 }
clear_output_directory()23971 inline void SaveOutputParameter::clear_output_directory() {
23972   output_directory_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
23973   clear_has_output_directory();
23974 }
output_directory()23975 inline const ::std::string& SaveOutputParameter::output_directory() const {
23976   // @@protoc_insertion_point(field_get:opencv_caffe.SaveOutputParameter.output_directory)
23977   return output_directory_.GetNoArena();
23978 }
set_output_directory(const::std::string & value)23979 inline void SaveOutputParameter::set_output_directory(const ::std::string& value) {
23980   set_has_output_directory();
23981   output_directory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
23982   // @@protoc_insertion_point(field_set:opencv_caffe.SaveOutputParameter.output_directory)
23983 }
23984 #if LANG_CXX11
set_output_directory(::std::string && value)23985 inline void SaveOutputParameter::set_output_directory(::std::string&& value) {
23986   set_has_output_directory();
23987   output_directory_.SetNoArena(
23988     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
23989   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SaveOutputParameter.output_directory)
23990 }
23991 #endif
set_output_directory(const char * value)23992 inline void SaveOutputParameter::set_output_directory(const char* value) {
23993   GOOGLE_DCHECK(value != NULL);
23994   set_has_output_directory();
23995   output_directory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
23996   // @@protoc_insertion_point(field_set_char:opencv_caffe.SaveOutputParameter.output_directory)
23997 }
set_output_directory(const char * value,size_t size)23998 inline void SaveOutputParameter::set_output_directory(const char* value, size_t size) {
23999   set_has_output_directory();
24000   output_directory_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
24001       ::std::string(reinterpret_cast<const char*>(value), size));
24002   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SaveOutputParameter.output_directory)
24003 }
mutable_output_directory()24004 inline ::std::string* SaveOutputParameter::mutable_output_directory() {
24005   set_has_output_directory();
24006   // @@protoc_insertion_point(field_mutable:opencv_caffe.SaveOutputParameter.output_directory)
24007   return output_directory_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24008 }
release_output_directory()24009 inline ::std::string* SaveOutputParameter::release_output_directory() {
24010   // @@protoc_insertion_point(field_release:opencv_caffe.SaveOutputParameter.output_directory)
24011   clear_has_output_directory();
24012   return output_directory_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24013 }
set_allocated_output_directory(::std::string * output_directory)24014 inline void SaveOutputParameter::set_allocated_output_directory(::std::string* output_directory) {
24015   if (output_directory != NULL) {
24016     set_has_output_directory();
24017   } else {
24018     clear_has_output_directory();
24019   }
24020   output_directory_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_directory);
24021   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SaveOutputParameter.output_directory)
24022 }
24023 
24024 // optional string output_name_prefix = 2;
has_output_name_prefix()24025 inline bool SaveOutputParameter::has_output_name_prefix() const {
24026   return (_has_bits_[0] & 0x00000002u) != 0;
24027 }
set_has_output_name_prefix()24028 inline void SaveOutputParameter::set_has_output_name_prefix() {
24029   _has_bits_[0] |= 0x00000002u;
24030 }
clear_has_output_name_prefix()24031 inline void SaveOutputParameter::clear_has_output_name_prefix() {
24032   _has_bits_[0] &= ~0x00000002u;
24033 }
clear_output_name_prefix()24034 inline void SaveOutputParameter::clear_output_name_prefix() {
24035   output_name_prefix_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24036   clear_has_output_name_prefix();
24037 }
output_name_prefix()24038 inline const ::std::string& SaveOutputParameter::output_name_prefix() const {
24039   // @@protoc_insertion_point(field_get:opencv_caffe.SaveOutputParameter.output_name_prefix)
24040   return output_name_prefix_.GetNoArena();
24041 }
set_output_name_prefix(const::std::string & value)24042 inline void SaveOutputParameter::set_output_name_prefix(const ::std::string& value) {
24043   set_has_output_name_prefix();
24044   output_name_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
24045   // @@protoc_insertion_point(field_set:opencv_caffe.SaveOutputParameter.output_name_prefix)
24046 }
24047 #if LANG_CXX11
set_output_name_prefix(::std::string && value)24048 inline void SaveOutputParameter::set_output_name_prefix(::std::string&& value) {
24049   set_has_output_name_prefix();
24050   output_name_prefix_.SetNoArena(
24051     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
24052   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SaveOutputParameter.output_name_prefix)
24053 }
24054 #endif
set_output_name_prefix(const char * value)24055 inline void SaveOutputParameter::set_output_name_prefix(const char* value) {
24056   GOOGLE_DCHECK(value != NULL);
24057   set_has_output_name_prefix();
24058   output_name_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
24059   // @@protoc_insertion_point(field_set_char:opencv_caffe.SaveOutputParameter.output_name_prefix)
24060 }
set_output_name_prefix(const char * value,size_t size)24061 inline void SaveOutputParameter::set_output_name_prefix(const char* value, size_t size) {
24062   set_has_output_name_prefix();
24063   output_name_prefix_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
24064       ::std::string(reinterpret_cast<const char*>(value), size));
24065   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SaveOutputParameter.output_name_prefix)
24066 }
mutable_output_name_prefix()24067 inline ::std::string* SaveOutputParameter::mutable_output_name_prefix() {
24068   set_has_output_name_prefix();
24069   // @@protoc_insertion_point(field_mutable:opencv_caffe.SaveOutputParameter.output_name_prefix)
24070   return output_name_prefix_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24071 }
release_output_name_prefix()24072 inline ::std::string* SaveOutputParameter::release_output_name_prefix() {
24073   // @@protoc_insertion_point(field_release:opencv_caffe.SaveOutputParameter.output_name_prefix)
24074   clear_has_output_name_prefix();
24075   return output_name_prefix_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24076 }
set_allocated_output_name_prefix(::std::string * output_name_prefix)24077 inline void SaveOutputParameter::set_allocated_output_name_prefix(::std::string* output_name_prefix) {
24078   if (output_name_prefix != NULL) {
24079     set_has_output_name_prefix();
24080   } else {
24081     clear_has_output_name_prefix();
24082   }
24083   output_name_prefix_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_name_prefix);
24084   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SaveOutputParameter.output_name_prefix)
24085 }
24086 
24087 // optional string output_format = 3;
has_output_format()24088 inline bool SaveOutputParameter::has_output_format() const {
24089   return (_has_bits_[0] & 0x00000004u) != 0;
24090 }
set_has_output_format()24091 inline void SaveOutputParameter::set_has_output_format() {
24092   _has_bits_[0] |= 0x00000004u;
24093 }
clear_has_output_format()24094 inline void SaveOutputParameter::clear_has_output_format() {
24095   _has_bits_[0] &= ~0x00000004u;
24096 }
clear_output_format()24097 inline void SaveOutputParameter::clear_output_format() {
24098   output_format_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24099   clear_has_output_format();
24100 }
output_format()24101 inline const ::std::string& SaveOutputParameter::output_format() const {
24102   // @@protoc_insertion_point(field_get:opencv_caffe.SaveOutputParameter.output_format)
24103   return output_format_.GetNoArena();
24104 }
set_output_format(const::std::string & value)24105 inline void SaveOutputParameter::set_output_format(const ::std::string& value) {
24106   set_has_output_format();
24107   output_format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
24108   // @@protoc_insertion_point(field_set:opencv_caffe.SaveOutputParameter.output_format)
24109 }
24110 #if LANG_CXX11
set_output_format(::std::string && value)24111 inline void SaveOutputParameter::set_output_format(::std::string&& value) {
24112   set_has_output_format();
24113   output_format_.SetNoArena(
24114     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
24115   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SaveOutputParameter.output_format)
24116 }
24117 #endif
set_output_format(const char * value)24118 inline void SaveOutputParameter::set_output_format(const char* value) {
24119   GOOGLE_DCHECK(value != NULL);
24120   set_has_output_format();
24121   output_format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
24122   // @@protoc_insertion_point(field_set_char:opencv_caffe.SaveOutputParameter.output_format)
24123 }
set_output_format(const char * value,size_t size)24124 inline void SaveOutputParameter::set_output_format(const char* value, size_t size) {
24125   set_has_output_format();
24126   output_format_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
24127       ::std::string(reinterpret_cast<const char*>(value), size));
24128   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SaveOutputParameter.output_format)
24129 }
mutable_output_format()24130 inline ::std::string* SaveOutputParameter::mutable_output_format() {
24131   set_has_output_format();
24132   // @@protoc_insertion_point(field_mutable:opencv_caffe.SaveOutputParameter.output_format)
24133   return output_format_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24134 }
release_output_format()24135 inline ::std::string* SaveOutputParameter::release_output_format() {
24136   // @@protoc_insertion_point(field_release:opencv_caffe.SaveOutputParameter.output_format)
24137   clear_has_output_format();
24138   return output_format_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24139 }
set_allocated_output_format(::std::string * output_format)24140 inline void SaveOutputParameter::set_allocated_output_format(::std::string* output_format) {
24141   if (output_format != NULL) {
24142     set_has_output_format();
24143   } else {
24144     clear_has_output_format();
24145   }
24146   output_format_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), output_format);
24147   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SaveOutputParameter.output_format)
24148 }
24149 
24150 // optional string label_map_file = 4;
has_label_map_file()24151 inline bool SaveOutputParameter::has_label_map_file() const {
24152   return (_has_bits_[0] & 0x00000008u) != 0;
24153 }
set_has_label_map_file()24154 inline void SaveOutputParameter::set_has_label_map_file() {
24155   _has_bits_[0] |= 0x00000008u;
24156 }
clear_has_label_map_file()24157 inline void SaveOutputParameter::clear_has_label_map_file() {
24158   _has_bits_[0] &= ~0x00000008u;
24159 }
clear_label_map_file()24160 inline void SaveOutputParameter::clear_label_map_file() {
24161   label_map_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24162   clear_has_label_map_file();
24163 }
label_map_file()24164 inline const ::std::string& SaveOutputParameter::label_map_file() const {
24165   // @@protoc_insertion_point(field_get:opencv_caffe.SaveOutputParameter.label_map_file)
24166   return label_map_file_.GetNoArena();
24167 }
set_label_map_file(const::std::string & value)24168 inline void SaveOutputParameter::set_label_map_file(const ::std::string& value) {
24169   set_has_label_map_file();
24170   label_map_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
24171   // @@protoc_insertion_point(field_set:opencv_caffe.SaveOutputParameter.label_map_file)
24172 }
24173 #if LANG_CXX11
set_label_map_file(::std::string && value)24174 inline void SaveOutputParameter::set_label_map_file(::std::string&& value) {
24175   set_has_label_map_file();
24176   label_map_file_.SetNoArena(
24177     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
24178   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SaveOutputParameter.label_map_file)
24179 }
24180 #endif
set_label_map_file(const char * value)24181 inline void SaveOutputParameter::set_label_map_file(const char* value) {
24182   GOOGLE_DCHECK(value != NULL);
24183   set_has_label_map_file();
24184   label_map_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
24185   // @@protoc_insertion_point(field_set_char:opencv_caffe.SaveOutputParameter.label_map_file)
24186 }
set_label_map_file(const char * value,size_t size)24187 inline void SaveOutputParameter::set_label_map_file(const char* value, size_t size) {
24188   set_has_label_map_file();
24189   label_map_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
24190       ::std::string(reinterpret_cast<const char*>(value), size));
24191   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SaveOutputParameter.label_map_file)
24192 }
mutable_label_map_file()24193 inline ::std::string* SaveOutputParameter::mutable_label_map_file() {
24194   set_has_label_map_file();
24195   // @@protoc_insertion_point(field_mutable:opencv_caffe.SaveOutputParameter.label_map_file)
24196   return label_map_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24197 }
release_label_map_file()24198 inline ::std::string* SaveOutputParameter::release_label_map_file() {
24199   // @@protoc_insertion_point(field_release:opencv_caffe.SaveOutputParameter.label_map_file)
24200   clear_has_label_map_file();
24201   return label_map_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24202 }
set_allocated_label_map_file(::std::string * label_map_file)24203 inline void SaveOutputParameter::set_allocated_label_map_file(::std::string* label_map_file) {
24204   if (label_map_file != NULL) {
24205     set_has_label_map_file();
24206   } else {
24207     clear_has_label_map_file();
24208   }
24209   label_map_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), label_map_file);
24210   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SaveOutputParameter.label_map_file)
24211 }
24212 
24213 // optional string name_size_file = 5;
has_name_size_file()24214 inline bool SaveOutputParameter::has_name_size_file() const {
24215   return (_has_bits_[0] & 0x00000010u) != 0;
24216 }
set_has_name_size_file()24217 inline void SaveOutputParameter::set_has_name_size_file() {
24218   _has_bits_[0] |= 0x00000010u;
24219 }
clear_has_name_size_file()24220 inline void SaveOutputParameter::clear_has_name_size_file() {
24221   _has_bits_[0] &= ~0x00000010u;
24222 }
clear_name_size_file()24223 inline void SaveOutputParameter::clear_name_size_file() {
24224   name_size_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24225   clear_has_name_size_file();
24226 }
name_size_file()24227 inline const ::std::string& SaveOutputParameter::name_size_file() const {
24228   // @@protoc_insertion_point(field_get:opencv_caffe.SaveOutputParameter.name_size_file)
24229   return name_size_file_.GetNoArena();
24230 }
set_name_size_file(const::std::string & value)24231 inline void SaveOutputParameter::set_name_size_file(const ::std::string& value) {
24232   set_has_name_size_file();
24233   name_size_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
24234   // @@protoc_insertion_point(field_set:opencv_caffe.SaveOutputParameter.name_size_file)
24235 }
24236 #if LANG_CXX11
set_name_size_file(::std::string && value)24237 inline void SaveOutputParameter::set_name_size_file(::std::string&& value) {
24238   set_has_name_size_file();
24239   name_size_file_.SetNoArena(
24240     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
24241   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.SaveOutputParameter.name_size_file)
24242 }
24243 #endif
set_name_size_file(const char * value)24244 inline void SaveOutputParameter::set_name_size_file(const char* value) {
24245   GOOGLE_DCHECK(value != NULL);
24246   set_has_name_size_file();
24247   name_size_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
24248   // @@protoc_insertion_point(field_set_char:opencv_caffe.SaveOutputParameter.name_size_file)
24249 }
set_name_size_file(const char * value,size_t size)24250 inline void SaveOutputParameter::set_name_size_file(const char* value, size_t size) {
24251   set_has_name_size_file();
24252   name_size_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
24253       ::std::string(reinterpret_cast<const char*>(value), size));
24254   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.SaveOutputParameter.name_size_file)
24255 }
mutable_name_size_file()24256 inline ::std::string* SaveOutputParameter::mutable_name_size_file() {
24257   set_has_name_size_file();
24258   // @@protoc_insertion_point(field_mutable:opencv_caffe.SaveOutputParameter.name_size_file)
24259   return name_size_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24260 }
release_name_size_file()24261 inline ::std::string* SaveOutputParameter::release_name_size_file() {
24262   // @@protoc_insertion_point(field_release:opencv_caffe.SaveOutputParameter.name_size_file)
24263   clear_has_name_size_file();
24264   return name_size_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24265 }
set_allocated_name_size_file(::std::string * name_size_file)24266 inline void SaveOutputParameter::set_allocated_name_size_file(::std::string* name_size_file) {
24267   if (name_size_file != NULL) {
24268     set_has_name_size_file();
24269   } else {
24270     clear_has_name_size_file();
24271   }
24272   name_size_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name_size_file);
24273   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.SaveOutputParameter.name_size_file)
24274 }
24275 
24276 // optional uint32 num_test_image = 6;
has_num_test_image()24277 inline bool SaveOutputParameter::has_num_test_image() const {
24278   return (_has_bits_[0] & 0x00000020u) != 0;
24279 }
set_has_num_test_image()24280 inline void SaveOutputParameter::set_has_num_test_image() {
24281   _has_bits_[0] |= 0x00000020u;
24282 }
clear_has_num_test_image()24283 inline void SaveOutputParameter::clear_has_num_test_image() {
24284   _has_bits_[0] &= ~0x00000020u;
24285 }
clear_num_test_image()24286 inline void SaveOutputParameter::clear_num_test_image() {
24287   num_test_image_ = 0u;
24288   clear_has_num_test_image();
24289 }
num_test_image()24290 inline ::google::protobuf::uint32 SaveOutputParameter::num_test_image() const {
24291   // @@protoc_insertion_point(field_get:opencv_caffe.SaveOutputParameter.num_test_image)
24292   return num_test_image_;
24293 }
set_num_test_image(::google::protobuf::uint32 value)24294 inline void SaveOutputParameter::set_num_test_image(::google::protobuf::uint32 value) {
24295   set_has_num_test_image();
24296   num_test_image_ = value;
24297   // @@protoc_insertion_point(field_set:opencv_caffe.SaveOutputParameter.num_test_image)
24298 }
24299 
24300 // -------------------------------------------------------------------
24301 
24302 // DropoutParameter
24303 
24304 // optional float dropout_ratio = 1 [default = 0.5];
has_dropout_ratio()24305 inline bool DropoutParameter::has_dropout_ratio() const {
24306   return (_has_bits_[0] & 0x00000001u) != 0;
24307 }
set_has_dropout_ratio()24308 inline void DropoutParameter::set_has_dropout_ratio() {
24309   _has_bits_[0] |= 0x00000001u;
24310 }
clear_has_dropout_ratio()24311 inline void DropoutParameter::clear_has_dropout_ratio() {
24312   _has_bits_[0] &= ~0x00000001u;
24313 }
clear_dropout_ratio()24314 inline void DropoutParameter::clear_dropout_ratio() {
24315   dropout_ratio_ = 0.5f;
24316   clear_has_dropout_ratio();
24317 }
dropout_ratio()24318 inline float DropoutParameter::dropout_ratio() const {
24319   // @@protoc_insertion_point(field_get:opencv_caffe.DropoutParameter.dropout_ratio)
24320   return dropout_ratio_;
24321 }
set_dropout_ratio(float value)24322 inline void DropoutParameter::set_dropout_ratio(float value) {
24323   set_has_dropout_ratio();
24324   dropout_ratio_ = value;
24325   // @@protoc_insertion_point(field_set:opencv_caffe.DropoutParameter.dropout_ratio)
24326 }
24327 
24328 // optional bool scale_train = 2 [default = true];
has_scale_train()24329 inline bool DropoutParameter::has_scale_train() const {
24330   return (_has_bits_[0] & 0x00000002u) != 0;
24331 }
set_has_scale_train()24332 inline void DropoutParameter::set_has_scale_train() {
24333   _has_bits_[0] |= 0x00000002u;
24334 }
clear_has_scale_train()24335 inline void DropoutParameter::clear_has_scale_train() {
24336   _has_bits_[0] &= ~0x00000002u;
24337 }
clear_scale_train()24338 inline void DropoutParameter::clear_scale_train() {
24339   scale_train_ = true;
24340   clear_has_scale_train();
24341 }
scale_train()24342 inline bool DropoutParameter::scale_train() const {
24343   // @@protoc_insertion_point(field_get:opencv_caffe.DropoutParameter.scale_train)
24344   return scale_train_;
24345 }
set_scale_train(bool value)24346 inline void DropoutParameter::set_scale_train(bool value) {
24347   set_has_scale_train();
24348   scale_train_ = value;
24349   // @@protoc_insertion_point(field_set:opencv_caffe.DropoutParameter.scale_train)
24350 }
24351 
24352 // -------------------------------------------------------------------
24353 
24354 // DummyDataParameter
24355 
24356 // repeated .opencv_caffe.FillerParameter data_filler = 1;
data_filler_size()24357 inline int DummyDataParameter::data_filler_size() const {
24358   return data_filler_.size();
24359 }
clear_data_filler()24360 inline void DummyDataParameter::clear_data_filler() {
24361   data_filler_.Clear();
24362 }
data_filler(int index)24363 inline const ::opencv_caffe::FillerParameter& DummyDataParameter::data_filler(int index) const {
24364   // @@protoc_insertion_point(field_get:opencv_caffe.DummyDataParameter.data_filler)
24365   return data_filler_.Get(index);
24366 }
mutable_data_filler(int index)24367 inline ::opencv_caffe::FillerParameter* DummyDataParameter::mutable_data_filler(int index) {
24368   // @@protoc_insertion_point(field_mutable:opencv_caffe.DummyDataParameter.data_filler)
24369   return data_filler_.Mutable(index);
24370 }
add_data_filler()24371 inline ::opencv_caffe::FillerParameter* DummyDataParameter::add_data_filler() {
24372   // @@protoc_insertion_point(field_add:opencv_caffe.DummyDataParameter.data_filler)
24373   return data_filler_.Add();
24374 }
24375 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::FillerParameter >*
mutable_data_filler()24376 DummyDataParameter::mutable_data_filler() {
24377   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.DummyDataParameter.data_filler)
24378   return &data_filler_;
24379 }
24380 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::FillerParameter >&
data_filler()24381 DummyDataParameter::data_filler() const {
24382   // @@protoc_insertion_point(field_list:opencv_caffe.DummyDataParameter.data_filler)
24383   return data_filler_;
24384 }
24385 
24386 // repeated .opencv_caffe.BlobShape shape = 6;
shape_size()24387 inline int DummyDataParameter::shape_size() const {
24388   return shape_.size();
24389 }
clear_shape()24390 inline void DummyDataParameter::clear_shape() {
24391   shape_.Clear();
24392 }
shape(int index)24393 inline const ::opencv_caffe::BlobShape& DummyDataParameter::shape(int index) const {
24394   // @@protoc_insertion_point(field_get:opencv_caffe.DummyDataParameter.shape)
24395   return shape_.Get(index);
24396 }
mutable_shape(int index)24397 inline ::opencv_caffe::BlobShape* DummyDataParameter::mutable_shape(int index) {
24398   // @@protoc_insertion_point(field_mutable:opencv_caffe.DummyDataParameter.shape)
24399   return shape_.Mutable(index);
24400 }
add_shape()24401 inline ::opencv_caffe::BlobShape* DummyDataParameter::add_shape() {
24402   // @@protoc_insertion_point(field_add:opencv_caffe.DummyDataParameter.shape)
24403   return shape_.Add();
24404 }
24405 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >*
mutable_shape()24406 DummyDataParameter::mutable_shape() {
24407   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.DummyDataParameter.shape)
24408   return &shape_;
24409 }
24410 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >&
shape()24411 DummyDataParameter::shape() const {
24412   // @@protoc_insertion_point(field_list:opencv_caffe.DummyDataParameter.shape)
24413   return shape_;
24414 }
24415 
24416 // repeated uint32 num = 2;
num_size()24417 inline int DummyDataParameter::num_size() const {
24418   return num_.size();
24419 }
clear_num()24420 inline void DummyDataParameter::clear_num() {
24421   num_.Clear();
24422 }
num(int index)24423 inline ::google::protobuf::uint32 DummyDataParameter::num(int index) const {
24424   // @@protoc_insertion_point(field_get:opencv_caffe.DummyDataParameter.num)
24425   return num_.Get(index);
24426 }
set_num(int index,::google::protobuf::uint32 value)24427 inline void DummyDataParameter::set_num(int index, ::google::protobuf::uint32 value) {
24428   num_.Set(index, value);
24429   // @@protoc_insertion_point(field_set:opencv_caffe.DummyDataParameter.num)
24430 }
add_num(::google::protobuf::uint32 value)24431 inline void DummyDataParameter::add_num(::google::protobuf::uint32 value) {
24432   num_.Add(value);
24433   // @@protoc_insertion_point(field_add:opencv_caffe.DummyDataParameter.num)
24434 }
24435 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
num()24436 DummyDataParameter::num() const {
24437   // @@protoc_insertion_point(field_list:opencv_caffe.DummyDataParameter.num)
24438   return num_;
24439 }
24440 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_num()24441 DummyDataParameter::mutable_num() {
24442   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.DummyDataParameter.num)
24443   return &num_;
24444 }
24445 
24446 // repeated uint32 channels = 3;
channels_size()24447 inline int DummyDataParameter::channels_size() const {
24448   return channels_.size();
24449 }
clear_channels()24450 inline void DummyDataParameter::clear_channels() {
24451   channels_.Clear();
24452 }
channels(int index)24453 inline ::google::protobuf::uint32 DummyDataParameter::channels(int index) const {
24454   // @@protoc_insertion_point(field_get:opencv_caffe.DummyDataParameter.channels)
24455   return channels_.Get(index);
24456 }
set_channels(int index,::google::protobuf::uint32 value)24457 inline void DummyDataParameter::set_channels(int index, ::google::protobuf::uint32 value) {
24458   channels_.Set(index, value);
24459   // @@protoc_insertion_point(field_set:opencv_caffe.DummyDataParameter.channels)
24460 }
add_channels(::google::protobuf::uint32 value)24461 inline void DummyDataParameter::add_channels(::google::protobuf::uint32 value) {
24462   channels_.Add(value);
24463   // @@protoc_insertion_point(field_add:opencv_caffe.DummyDataParameter.channels)
24464 }
24465 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
channels()24466 DummyDataParameter::channels() const {
24467   // @@protoc_insertion_point(field_list:opencv_caffe.DummyDataParameter.channels)
24468   return channels_;
24469 }
24470 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_channels()24471 DummyDataParameter::mutable_channels() {
24472   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.DummyDataParameter.channels)
24473   return &channels_;
24474 }
24475 
24476 // repeated uint32 height = 4;
height_size()24477 inline int DummyDataParameter::height_size() const {
24478   return height_.size();
24479 }
clear_height()24480 inline void DummyDataParameter::clear_height() {
24481   height_.Clear();
24482 }
height(int index)24483 inline ::google::protobuf::uint32 DummyDataParameter::height(int index) const {
24484   // @@protoc_insertion_point(field_get:opencv_caffe.DummyDataParameter.height)
24485   return height_.Get(index);
24486 }
set_height(int index,::google::protobuf::uint32 value)24487 inline void DummyDataParameter::set_height(int index, ::google::protobuf::uint32 value) {
24488   height_.Set(index, value);
24489   // @@protoc_insertion_point(field_set:opencv_caffe.DummyDataParameter.height)
24490 }
add_height(::google::protobuf::uint32 value)24491 inline void DummyDataParameter::add_height(::google::protobuf::uint32 value) {
24492   height_.Add(value);
24493   // @@protoc_insertion_point(field_add:opencv_caffe.DummyDataParameter.height)
24494 }
24495 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
height()24496 DummyDataParameter::height() const {
24497   // @@protoc_insertion_point(field_list:opencv_caffe.DummyDataParameter.height)
24498   return height_;
24499 }
24500 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_height()24501 DummyDataParameter::mutable_height() {
24502   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.DummyDataParameter.height)
24503   return &height_;
24504 }
24505 
24506 // repeated uint32 width = 5;
width_size()24507 inline int DummyDataParameter::width_size() const {
24508   return width_.size();
24509 }
clear_width()24510 inline void DummyDataParameter::clear_width() {
24511   width_.Clear();
24512 }
width(int index)24513 inline ::google::protobuf::uint32 DummyDataParameter::width(int index) const {
24514   // @@protoc_insertion_point(field_get:opencv_caffe.DummyDataParameter.width)
24515   return width_.Get(index);
24516 }
set_width(int index,::google::protobuf::uint32 value)24517 inline void DummyDataParameter::set_width(int index, ::google::protobuf::uint32 value) {
24518   width_.Set(index, value);
24519   // @@protoc_insertion_point(field_set:opencv_caffe.DummyDataParameter.width)
24520 }
add_width(::google::protobuf::uint32 value)24521 inline void DummyDataParameter::add_width(::google::protobuf::uint32 value) {
24522   width_.Add(value);
24523   // @@protoc_insertion_point(field_add:opencv_caffe.DummyDataParameter.width)
24524 }
24525 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
width()24526 DummyDataParameter::width() const {
24527   // @@protoc_insertion_point(field_list:opencv_caffe.DummyDataParameter.width)
24528   return width_;
24529 }
24530 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_width()24531 DummyDataParameter::mutable_width() {
24532   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.DummyDataParameter.width)
24533   return &width_;
24534 }
24535 
24536 // -------------------------------------------------------------------
24537 
24538 // EltwiseParameter
24539 
24540 // optional .opencv_caffe.EltwiseParameter.EltwiseOp operation = 1 [default = SUM];
has_operation()24541 inline bool EltwiseParameter::has_operation() const {
24542   return (_has_bits_[0] & 0x00000001u) != 0;
24543 }
set_has_operation()24544 inline void EltwiseParameter::set_has_operation() {
24545   _has_bits_[0] |= 0x00000001u;
24546 }
clear_has_operation()24547 inline void EltwiseParameter::clear_has_operation() {
24548   _has_bits_[0] &= ~0x00000001u;
24549 }
clear_operation()24550 inline void EltwiseParameter::clear_operation() {
24551   operation_ = 1;
24552   clear_has_operation();
24553 }
operation()24554 inline ::opencv_caffe::EltwiseParameter_EltwiseOp EltwiseParameter::operation() const {
24555   // @@protoc_insertion_point(field_get:opencv_caffe.EltwiseParameter.operation)
24556   return static_cast< ::opencv_caffe::EltwiseParameter_EltwiseOp >(operation_);
24557 }
set_operation(::opencv_caffe::EltwiseParameter_EltwiseOp value)24558 inline void EltwiseParameter::set_operation(::opencv_caffe::EltwiseParameter_EltwiseOp value) {
24559   assert(::opencv_caffe::EltwiseParameter_EltwiseOp_IsValid(value));
24560   set_has_operation();
24561   operation_ = value;
24562   // @@protoc_insertion_point(field_set:opencv_caffe.EltwiseParameter.operation)
24563 }
24564 
24565 // repeated float coeff = 2;
coeff_size()24566 inline int EltwiseParameter::coeff_size() const {
24567   return coeff_.size();
24568 }
clear_coeff()24569 inline void EltwiseParameter::clear_coeff() {
24570   coeff_.Clear();
24571 }
coeff(int index)24572 inline float EltwiseParameter::coeff(int index) const {
24573   // @@protoc_insertion_point(field_get:opencv_caffe.EltwiseParameter.coeff)
24574   return coeff_.Get(index);
24575 }
set_coeff(int index,float value)24576 inline void EltwiseParameter::set_coeff(int index, float value) {
24577   coeff_.Set(index, value);
24578   // @@protoc_insertion_point(field_set:opencv_caffe.EltwiseParameter.coeff)
24579 }
add_coeff(float value)24580 inline void EltwiseParameter::add_coeff(float value) {
24581   coeff_.Add(value);
24582   // @@protoc_insertion_point(field_add:opencv_caffe.EltwiseParameter.coeff)
24583 }
24584 inline const ::google::protobuf::RepeatedField< float >&
coeff()24585 EltwiseParameter::coeff() const {
24586   // @@protoc_insertion_point(field_list:opencv_caffe.EltwiseParameter.coeff)
24587   return coeff_;
24588 }
24589 inline ::google::protobuf::RepeatedField< float >*
mutable_coeff()24590 EltwiseParameter::mutable_coeff() {
24591   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.EltwiseParameter.coeff)
24592   return &coeff_;
24593 }
24594 
24595 // optional bool stable_prod_grad = 3 [default = true];
has_stable_prod_grad()24596 inline bool EltwiseParameter::has_stable_prod_grad() const {
24597   return (_has_bits_[0] & 0x00000002u) != 0;
24598 }
set_has_stable_prod_grad()24599 inline void EltwiseParameter::set_has_stable_prod_grad() {
24600   _has_bits_[0] |= 0x00000002u;
24601 }
clear_has_stable_prod_grad()24602 inline void EltwiseParameter::clear_has_stable_prod_grad() {
24603   _has_bits_[0] &= ~0x00000002u;
24604 }
clear_stable_prod_grad()24605 inline void EltwiseParameter::clear_stable_prod_grad() {
24606   stable_prod_grad_ = true;
24607   clear_has_stable_prod_grad();
24608 }
stable_prod_grad()24609 inline bool EltwiseParameter::stable_prod_grad() const {
24610   // @@protoc_insertion_point(field_get:opencv_caffe.EltwiseParameter.stable_prod_grad)
24611   return stable_prod_grad_;
24612 }
set_stable_prod_grad(bool value)24613 inline void EltwiseParameter::set_stable_prod_grad(bool value) {
24614   set_has_stable_prod_grad();
24615   stable_prod_grad_ = value;
24616   // @@protoc_insertion_point(field_set:opencv_caffe.EltwiseParameter.stable_prod_grad)
24617 }
24618 
24619 // -------------------------------------------------------------------
24620 
24621 // ELUParameter
24622 
24623 // optional float alpha = 1 [default = 1];
has_alpha()24624 inline bool ELUParameter::has_alpha() const {
24625   return (_has_bits_[0] & 0x00000001u) != 0;
24626 }
set_has_alpha()24627 inline void ELUParameter::set_has_alpha() {
24628   _has_bits_[0] |= 0x00000001u;
24629 }
clear_has_alpha()24630 inline void ELUParameter::clear_has_alpha() {
24631   _has_bits_[0] &= ~0x00000001u;
24632 }
clear_alpha()24633 inline void ELUParameter::clear_alpha() {
24634   alpha_ = 1;
24635   clear_has_alpha();
24636 }
alpha()24637 inline float ELUParameter::alpha() const {
24638   // @@protoc_insertion_point(field_get:opencv_caffe.ELUParameter.alpha)
24639   return alpha_;
24640 }
set_alpha(float value)24641 inline void ELUParameter::set_alpha(float value) {
24642   set_has_alpha();
24643   alpha_ = value;
24644   // @@protoc_insertion_point(field_set:opencv_caffe.ELUParameter.alpha)
24645 }
24646 
24647 // -------------------------------------------------------------------
24648 
24649 // EmbedParameter
24650 
24651 // optional uint32 num_output = 1;
has_num_output()24652 inline bool EmbedParameter::has_num_output() const {
24653   return (_has_bits_[0] & 0x00000004u) != 0;
24654 }
set_has_num_output()24655 inline void EmbedParameter::set_has_num_output() {
24656   _has_bits_[0] |= 0x00000004u;
24657 }
clear_has_num_output()24658 inline void EmbedParameter::clear_has_num_output() {
24659   _has_bits_[0] &= ~0x00000004u;
24660 }
clear_num_output()24661 inline void EmbedParameter::clear_num_output() {
24662   num_output_ = 0u;
24663   clear_has_num_output();
24664 }
num_output()24665 inline ::google::protobuf::uint32 EmbedParameter::num_output() const {
24666   // @@protoc_insertion_point(field_get:opencv_caffe.EmbedParameter.num_output)
24667   return num_output_;
24668 }
set_num_output(::google::protobuf::uint32 value)24669 inline void EmbedParameter::set_num_output(::google::protobuf::uint32 value) {
24670   set_has_num_output();
24671   num_output_ = value;
24672   // @@protoc_insertion_point(field_set:opencv_caffe.EmbedParameter.num_output)
24673 }
24674 
24675 // optional uint32 input_dim = 2;
has_input_dim()24676 inline bool EmbedParameter::has_input_dim() const {
24677   return (_has_bits_[0] & 0x00000008u) != 0;
24678 }
set_has_input_dim()24679 inline void EmbedParameter::set_has_input_dim() {
24680   _has_bits_[0] |= 0x00000008u;
24681 }
clear_has_input_dim()24682 inline void EmbedParameter::clear_has_input_dim() {
24683   _has_bits_[0] &= ~0x00000008u;
24684 }
clear_input_dim()24685 inline void EmbedParameter::clear_input_dim() {
24686   input_dim_ = 0u;
24687   clear_has_input_dim();
24688 }
input_dim()24689 inline ::google::protobuf::uint32 EmbedParameter::input_dim() const {
24690   // @@protoc_insertion_point(field_get:opencv_caffe.EmbedParameter.input_dim)
24691   return input_dim_;
24692 }
set_input_dim(::google::protobuf::uint32 value)24693 inline void EmbedParameter::set_input_dim(::google::protobuf::uint32 value) {
24694   set_has_input_dim();
24695   input_dim_ = value;
24696   // @@protoc_insertion_point(field_set:opencv_caffe.EmbedParameter.input_dim)
24697 }
24698 
24699 // optional bool bias_term = 3 [default = true];
has_bias_term()24700 inline bool EmbedParameter::has_bias_term() const {
24701   return (_has_bits_[0] & 0x00000010u) != 0;
24702 }
set_has_bias_term()24703 inline void EmbedParameter::set_has_bias_term() {
24704   _has_bits_[0] |= 0x00000010u;
24705 }
clear_has_bias_term()24706 inline void EmbedParameter::clear_has_bias_term() {
24707   _has_bits_[0] &= ~0x00000010u;
24708 }
clear_bias_term()24709 inline void EmbedParameter::clear_bias_term() {
24710   bias_term_ = true;
24711   clear_has_bias_term();
24712 }
bias_term()24713 inline bool EmbedParameter::bias_term() const {
24714   // @@protoc_insertion_point(field_get:opencv_caffe.EmbedParameter.bias_term)
24715   return bias_term_;
24716 }
set_bias_term(bool value)24717 inline void EmbedParameter::set_bias_term(bool value) {
24718   set_has_bias_term();
24719   bias_term_ = value;
24720   // @@protoc_insertion_point(field_set:opencv_caffe.EmbedParameter.bias_term)
24721 }
24722 
24723 // optional .opencv_caffe.FillerParameter weight_filler = 4;
has_weight_filler()24724 inline bool EmbedParameter::has_weight_filler() const {
24725   return (_has_bits_[0] & 0x00000001u) != 0;
24726 }
set_has_weight_filler()24727 inline void EmbedParameter::set_has_weight_filler() {
24728   _has_bits_[0] |= 0x00000001u;
24729 }
clear_has_weight_filler()24730 inline void EmbedParameter::clear_has_weight_filler() {
24731   _has_bits_[0] &= ~0x00000001u;
24732 }
clear_weight_filler()24733 inline void EmbedParameter::clear_weight_filler() {
24734   if (weight_filler_ != NULL) weight_filler_->Clear();
24735   clear_has_weight_filler();
24736 }
weight_filler()24737 inline const ::opencv_caffe::FillerParameter& EmbedParameter::weight_filler() const {
24738   const ::opencv_caffe::FillerParameter* p = weight_filler_;
24739   // @@protoc_insertion_point(field_get:opencv_caffe.EmbedParameter.weight_filler)
24740   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
24741       &::opencv_caffe::_FillerParameter_default_instance_);
24742 }
release_weight_filler()24743 inline ::opencv_caffe::FillerParameter* EmbedParameter::release_weight_filler() {
24744   // @@protoc_insertion_point(field_release:opencv_caffe.EmbedParameter.weight_filler)
24745   clear_has_weight_filler();
24746   ::opencv_caffe::FillerParameter* temp = weight_filler_;
24747   weight_filler_ = NULL;
24748   return temp;
24749 }
mutable_weight_filler()24750 inline ::opencv_caffe::FillerParameter* EmbedParameter::mutable_weight_filler() {
24751   set_has_weight_filler();
24752   if (weight_filler_ == NULL) {
24753     weight_filler_ = new ::opencv_caffe::FillerParameter;
24754   }
24755   // @@protoc_insertion_point(field_mutable:opencv_caffe.EmbedParameter.weight_filler)
24756   return weight_filler_;
24757 }
set_allocated_weight_filler(::opencv_caffe::FillerParameter * weight_filler)24758 inline void EmbedParameter::set_allocated_weight_filler(::opencv_caffe::FillerParameter* weight_filler) {
24759   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
24760   if (message_arena == NULL) {
24761     delete weight_filler_;
24762   }
24763   if (weight_filler) {
24764     ::google::protobuf::Arena* submessage_arena = NULL;
24765     if (message_arena != submessage_arena) {
24766       weight_filler = ::google::protobuf::internal::GetOwnedMessage(
24767           message_arena, weight_filler, submessage_arena);
24768     }
24769     set_has_weight_filler();
24770   } else {
24771     clear_has_weight_filler();
24772   }
24773   weight_filler_ = weight_filler;
24774   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.EmbedParameter.weight_filler)
24775 }
24776 
24777 // optional .opencv_caffe.FillerParameter bias_filler = 5;
has_bias_filler()24778 inline bool EmbedParameter::has_bias_filler() const {
24779   return (_has_bits_[0] & 0x00000002u) != 0;
24780 }
set_has_bias_filler()24781 inline void EmbedParameter::set_has_bias_filler() {
24782   _has_bits_[0] |= 0x00000002u;
24783 }
clear_has_bias_filler()24784 inline void EmbedParameter::clear_has_bias_filler() {
24785   _has_bits_[0] &= ~0x00000002u;
24786 }
clear_bias_filler()24787 inline void EmbedParameter::clear_bias_filler() {
24788   if (bias_filler_ != NULL) bias_filler_->Clear();
24789   clear_has_bias_filler();
24790 }
bias_filler()24791 inline const ::opencv_caffe::FillerParameter& EmbedParameter::bias_filler() const {
24792   const ::opencv_caffe::FillerParameter* p = bias_filler_;
24793   // @@protoc_insertion_point(field_get:opencv_caffe.EmbedParameter.bias_filler)
24794   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
24795       &::opencv_caffe::_FillerParameter_default_instance_);
24796 }
release_bias_filler()24797 inline ::opencv_caffe::FillerParameter* EmbedParameter::release_bias_filler() {
24798   // @@protoc_insertion_point(field_release:opencv_caffe.EmbedParameter.bias_filler)
24799   clear_has_bias_filler();
24800   ::opencv_caffe::FillerParameter* temp = bias_filler_;
24801   bias_filler_ = NULL;
24802   return temp;
24803 }
mutable_bias_filler()24804 inline ::opencv_caffe::FillerParameter* EmbedParameter::mutable_bias_filler() {
24805   set_has_bias_filler();
24806   if (bias_filler_ == NULL) {
24807     bias_filler_ = new ::opencv_caffe::FillerParameter;
24808   }
24809   // @@protoc_insertion_point(field_mutable:opencv_caffe.EmbedParameter.bias_filler)
24810   return bias_filler_;
24811 }
set_allocated_bias_filler(::opencv_caffe::FillerParameter * bias_filler)24812 inline void EmbedParameter::set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler) {
24813   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
24814   if (message_arena == NULL) {
24815     delete bias_filler_;
24816   }
24817   if (bias_filler) {
24818     ::google::protobuf::Arena* submessage_arena = NULL;
24819     if (message_arena != submessage_arena) {
24820       bias_filler = ::google::protobuf::internal::GetOwnedMessage(
24821           message_arena, bias_filler, submessage_arena);
24822     }
24823     set_has_bias_filler();
24824   } else {
24825     clear_has_bias_filler();
24826   }
24827   bias_filler_ = bias_filler;
24828   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.EmbedParameter.bias_filler)
24829 }
24830 
24831 // -------------------------------------------------------------------
24832 
24833 // ExpParameter
24834 
24835 // optional float base = 1 [default = -1];
has_base()24836 inline bool ExpParameter::has_base() const {
24837   return (_has_bits_[0] & 0x00000002u) != 0;
24838 }
set_has_base()24839 inline void ExpParameter::set_has_base() {
24840   _has_bits_[0] |= 0x00000002u;
24841 }
clear_has_base()24842 inline void ExpParameter::clear_has_base() {
24843   _has_bits_[0] &= ~0x00000002u;
24844 }
clear_base()24845 inline void ExpParameter::clear_base() {
24846   base_ = -1;
24847   clear_has_base();
24848 }
base()24849 inline float ExpParameter::base() const {
24850   // @@protoc_insertion_point(field_get:opencv_caffe.ExpParameter.base)
24851   return base_;
24852 }
set_base(float value)24853 inline void ExpParameter::set_base(float value) {
24854   set_has_base();
24855   base_ = value;
24856   // @@protoc_insertion_point(field_set:opencv_caffe.ExpParameter.base)
24857 }
24858 
24859 // optional float scale = 2 [default = 1];
has_scale()24860 inline bool ExpParameter::has_scale() const {
24861   return (_has_bits_[0] & 0x00000004u) != 0;
24862 }
set_has_scale()24863 inline void ExpParameter::set_has_scale() {
24864   _has_bits_[0] |= 0x00000004u;
24865 }
clear_has_scale()24866 inline void ExpParameter::clear_has_scale() {
24867   _has_bits_[0] &= ~0x00000004u;
24868 }
clear_scale()24869 inline void ExpParameter::clear_scale() {
24870   scale_ = 1;
24871   clear_has_scale();
24872 }
scale()24873 inline float ExpParameter::scale() const {
24874   // @@protoc_insertion_point(field_get:opencv_caffe.ExpParameter.scale)
24875   return scale_;
24876 }
set_scale(float value)24877 inline void ExpParameter::set_scale(float value) {
24878   set_has_scale();
24879   scale_ = value;
24880   // @@protoc_insertion_point(field_set:opencv_caffe.ExpParameter.scale)
24881 }
24882 
24883 // optional float shift = 3 [default = 0];
has_shift()24884 inline bool ExpParameter::has_shift() const {
24885   return (_has_bits_[0] & 0x00000001u) != 0;
24886 }
set_has_shift()24887 inline void ExpParameter::set_has_shift() {
24888   _has_bits_[0] |= 0x00000001u;
24889 }
clear_has_shift()24890 inline void ExpParameter::clear_has_shift() {
24891   _has_bits_[0] &= ~0x00000001u;
24892 }
clear_shift()24893 inline void ExpParameter::clear_shift() {
24894   shift_ = 0;
24895   clear_has_shift();
24896 }
shift()24897 inline float ExpParameter::shift() const {
24898   // @@protoc_insertion_point(field_get:opencv_caffe.ExpParameter.shift)
24899   return shift_;
24900 }
set_shift(float value)24901 inline void ExpParameter::set_shift(float value) {
24902   set_has_shift();
24903   shift_ = value;
24904   // @@protoc_insertion_point(field_set:opencv_caffe.ExpParameter.shift)
24905 }
24906 
24907 // -------------------------------------------------------------------
24908 
24909 // FlattenParameter
24910 
24911 // optional int32 axis = 1 [default = 1];
has_axis()24912 inline bool FlattenParameter::has_axis() const {
24913   return (_has_bits_[0] & 0x00000001u) != 0;
24914 }
set_has_axis()24915 inline void FlattenParameter::set_has_axis() {
24916   _has_bits_[0] |= 0x00000001u;
24917 }
clear_has_axis()24918 inline void FlattenParameter::clear_has_axis() {
24919   _has_bits_[0] &= ~0x00000001u;
24920 }
clear_axis()24921 inline void FlattenParameter::clear_axis() {
24922   axis_ = 1;
24923   clear_has_axis();
24924 }
axis()24925 inline ::google::protobuf::int32 FlattenParameter::axis() const {
24926   // @@protoc_insertion_point(field_get:opencv_caffe.FlattenParameter.axis)
24927   return axis_;
24928 }
set_axis(::google::protobuf::int32 value)24929 inline void FlattenParameter::set_axis(::google::protobuf::int32 value) {
24930   set_has_axis();
24931   axis_ = value;
24932   // @@protoc_insertion_point(field_set:opencv_caffe.FlattenParameter.axis)
24933 }
24934 
24935 // optional int32 end_axis = 2 [default = -1];
has_end_axis()24936 inline bool FlattenParameter::has_end_axis() const {
24937   return (_has_bits_[0] & 0x00000002u) != 0;
24938 }
set_has_end_axis()24939 inline void FlattenParameter::set_has_end_axis() {
24940   _has_bits_[0] |= 0x00000002u;
24941 }
clear_has_end_axis()24942 inline void FlattenParameter::clear_has_end_axis() {
24943   _has_bits_[0] &= ~0x00000002u;
24944 }
clear_end_axis()24945 inline void FlattenParameter::clear_end_axis() {
24946   end_axis_ = -1;
24947   clear_has_end_axis();
24948 }
end_axis()24949 inline ::google::protobuf::int32 FlattenParameter::end_axis() const {
24950   // @@protoc_insertion_point(field_get:opencv_caffe.FlattenParameter.end_axis)
24951   return end_axis_;
24952 }
set_end_axis(::google::protobuf::int32 value)24953 inline void FlattenParameter::set_end_axis(::google::protobuf::int32 value) {
24954   set_has_end_axis();
24955   end_axis_ = value;
24956   // @@protoc_insertion_point(field_set:opencv_caffe.FlattenParameter.end_axis)
24957 }
24958 
24959 // -------------------------------------------------------------------
24960 
24961 // HDF5DataParameter
24962 
24963 // optional string source = 1;
has_source()24964 inline bool HDF5DataParameter::has_source() const {
24965   return (_has_bits_[0] & 0x00000001u) != 0;
24966 }
set_has_source()24967 inline void HDF5DataParameter::set_has_source() {
24968   _has_bits_[0] |= 0x00000001u;
24969 }
clear_has_source()24970 inline void HDF5DataParameter::clear_has_source() {
24971   _has_bits_[0] &= ~0x00000001u;
24972 }
clear_source()24973 inline void HDF5DataParameter::clear_source() {
24974   source_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
24975   clear_has_source();
24976 }
source()24977 inline const ::std::string& HDF5DataParameter::source() const {
24978   // @@protoc_insertion_point(field_get:opencv_caffe.HDF5DataParameter.source)
24979   return source_.GetNoArena();
24980 }
set_source(const::std::string & value)24981 inline void HDF5DataParameter::set_source(const ::std::string& value) {
24982   set_has_source();
24983   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
24984   // @@protoc_insertion_point(field_set:opencv_caffe.HDF5DataParameter.source)
24985 }
24986 #if LANG_CXX11
set_source(::std::string && value)24987 inline void HDF5DataParameter::set_source(::std::string&& value) {
24988   set_has_source();
24989   source_.SetNoArena(
24990     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
24991   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.HDF5DataParameter.source)
24992 }
24993 #endif
set_source(const char * value)24994 inline void HDF5DataParameter::set_source(const char* value) {
24995   GOOGLE_DCHECK(value != NULL);
24996   set_has_source();
24997   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
24998   // @@protoc_insertion_point(field_set_char:opencv_caffe.HDF5DataParameter.source)
24999 }
set_source(const char * value,size_t size)25000 inline void HDF5DataParameter::set_source(const char* value, size_t size) {
25001   set_has_source();
25002   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
25003       ::std::string(reinterpret_cast<const char*>(value), size));
25004   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.HDF5DataParameter.source)
25005 }
mutable_source()25006 inline ::std::string* HDF5DataParameter::mutable_source() {
25007   set_has_source();
25008   // @@protoc_insertion_point(field_mutable:opencv_caffe.HDF5DataParameter.source)
25009   return source_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25010 }
release_source()25011 inline ::std::string* HDF5DataParameter::release_source() {
25012   // @@protoc_insertion_point(field_release:opencv_caffe.HDF5DataParameter.source)
25013   clear_has_source();
25014   return source_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25015 }
set_allocated_source(::std::string * source)25016 inline void HDF5DataParameter::set_allocated_source(::std::string* source) {
25017   if (source != NULL) {
25018     set_has_source();
25019   } else {
25020     clear_has_source();
25021   }
25022   source_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source);
25023   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.HDF5DataParameter.source)
25024 }
25025 
25026 // optional uint32 batch_size = 2;
has_batch_size()25027 inline bool HDF5DataParameter::has_batch_size() const {
25028   return (_has_bits_[0] & 0x00000002u) != 0;
25029 }
set_has_batch_size()25030 inline void HDF5DataParameter::set_has_batch_size() {
25031   _has_bits_[0] |= 0x00000002u;
25032 }
clear_has_batch_size()25033 inline void HDF5DataParameter::clear_has_batch_size() {
25034   _has_bits_[0] &= ~0x00000002u;
25035 }
clear_batch_size()25036 inline void HDF5DataParameter::clear_batch_size() {
25037   batch_size_ = 0u;
25038   clear_has_batch_size();
25039 }
batch_size()25040 inline ::google::protobuf::uint32 HDF5DataParameter::batch_size() const {
25041   // @@protoc_insertion_point(field_get:opencv_caffe.HDF5DataParameter.batch_size)
25042   return batch_size_;
25043 }
set_batch_size(::google::protobuf::uint32 value)25044 inline void HDF5DataParameter::set_batch_size(::google::protobuf::uint32 value) {
25045   set_has_batch_size();
25046   batch_size_ = value;
25047   // @@protoc_insertion_point(field_set:opencv_caffe.HDF5DataParameter.batch_size)
25048 }
25049 
25050 // optional bool shuffle = 3 [default = false];
has_shuffle()25051 inline bool HDF5DataParameter::has_shuffle() const {
25052   return (_has_bits_[0] & 0x00000004u) != 0;
25053 }
set_has_shuffle()25054 inline void HDF5DataParameter::set_has_shuffle() {
25055   _has_bits_[0] |= 0x00000004u;
25056 }
clear_has_shuffle()25057 inline void HDF5DataParameter::clear_has_shuffle() {
25058   _has_bits_[0] &= ~0x00000004u;
25059 }
clear_shuffle()25060 inline void HDF5DataParameter::clear_shuffle() {
25061   shuffle_ = false;
25062   clear_has_shuffle();
25063 }
shuffle()25064 inline bool HDF5DataParameter::shuffle() const {
25065   // @@protoc_insertion_point(field_get:opencv_caffe.HDF5DataParameter.shuffle)
25066   return shuffle_;
25067 }
set_shuffle(bool value)25068 inline void HDF5DataParameter::set_shuffle(bool value) {
25069   set_has_shuffle();
25070   shuffle_ = value;
25071   // @@protoc_insertion_point(field_set:opencv_caffe.HDF5DataParameter.shuffle)
25072 }
25073 
25074 // -------------------------------------------------------------------
25075 
25076 // HDF5OutputParameter
25077 
25078 // optional string file_name = 1;
has_file_name()25079 inline bool HDF5OutputParameter::has_file_name() const {
25080   return (_has_bits_[0] & 0x00000001u) != 0;
25081 }
set_has_file_name()25082 inline void HDF5OutputParameter::set_has_file_name() {
25083   _has_bits_[0] |= 0x00000001u;
25084 }
clear_has_file_name()25085 inline void HDF5OutputParameter::clear_has_file_name() {
25086   _has_bits_[0] &= ~0x00000001u;
25087 }
clear_file_name()25088 inline void HDF5OutputParameter::clear_file_name() {
25089   file_name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25090   clear_has_file_name();
25091 }
file_name()25092 inline const ::std::string& HDF5OutputParameter::file_name() const {
25093   // @@protoc_insertion_point(field_get:opencv_caffe.HDF5OutputParameter.file_name)
25094   return file_name_.GetNoArena();
25095 }
set_file_name(const::std::string & value)25096 inline void HDF5OutputParameter::set_file_name(const ::std::string& value) {
25097   set_has_file_name();
25098   file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
25099   // @@protoc_insertion_point(field_set:opencv_caffe.HDF5OutputParameter.file_name)
25100 }
25101 #if LANG_CXX11
set_file_name(::std::string && value)25102 inline void HDF5OutputParameter::set_file_name(::std::string&& value) {
25103   set_has_file_name();
25104   file_name_.SetNoArena(
25105     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
25106   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.HDF5OutputParameter.file_name)
25107 }
25108 #endif
set_file_name(const char * value)25109 inline void HDF5OutputParameter::set_file_name(const char* value) {
25110   GOOGLE_DCHECK(value != NULL);
25111   set_has_file_name();
25112   file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
25113   // @@protoc_insertion_point(field_set_char:opencv_caffe.HDF5OutputParameter.file_name)
25114 }
set_file_name(const char * value,size_t size)25115 inline void HDF5OutputParameter::set_file_name(const char* value, size_t size) {
25116   set_has_file_name();
25117   file_name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
25118       ::std::string(reinterpret_cast<const char*>(value), size));
25119   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.HDF5OutputParameter.file_name)
25120 }
mutable_file_name()25121 inline ::std::string* HDF5OutputParameter::mutable_file_name() {
25122   set_has_file_name();
25123   // @@protoc_insertion_point(field_mutable:opencv_caffe.HDF5OutputParameter.file_name)
25124   return file_name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25125 }
release_file_name()25126 inline ::std::string* HDF5OutputParameter::release_file_name() {
25127   // @@protoc_insertion_point(field_release:opencv_caffe.HDF5OutputParameter.file_name)
25128   clear_has_file_name();
25129   return file_name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25130 }
set_allocated_file_name(::std::string * file_name)25131 inline void HDF5OutputParameter::set_allocated_file_name(::std::string* file_name) {
25132   if (file_name != NULL) {
25133     set_has_file_name();
25134   } else {
25135     clear_has_file_name();
25136   }
25137   file_name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), file_name);
25138   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.HDF5OutputParameter.file_name)
25139 }
25140 
25141 // -------------------------------------------------------------------
25142 
25143 // HingeLossParameter
25144 
25145 // optional .opencv_caffe.HingeLossParameter.Norm norm = 1 [default = L1];
has_norm()25146 inline bool HingeLossParameter::has_norm() const {
25147   return (_has_bits_[0] & 0x00000001u) != 0;
25148 }
set_has_norm()25149 inline void HingeLossParameter::set_has_norm() {
25150   _has_bits_[0] |= 0x00000001u;
25151 }
clear_has_norm()25152 inline void HingeLossParameter::clear_has_norm() {
25153   _has_bits_[0] &= ~0x00000001u;
25154 }
clear_norm()25155 inline void HingeLossParameter::clear_norm() {
25156   norm_ = 1;
25157   clear_has_norm();
25158 }
norm()25159 inline ::opencv_caffe::HingeLossParameter_Norm HingeLossParameter::norm() const {
25160   // @@protoc_insertion_point(field_get:opencv_caffe.HingeLossParameter.norm)
25161   return static_cast< ::opencv_caffe::HingeLossParameter_Norm >(norm_);
25162 }
set_norm(::opencv_caffe::HingeLossParameter_Norm value)25163 inline void HingeLossParameter::set_norm(::opencv_caffe::HingeLossParameter_Norm value) {
25164   assert(::opencv_caffe::HingeLossParameter_Norm_IsValid(value));
25165   set_has_norm();
25166   norm_ = value;
25167   // @@protoc_insertion_point(field_set:opencv_caffe.HingeLossParameter.norm)
25168 }
25169 
25170 // -------------------------------------------------------------------
25171 
25172 // ImageDataParameter
25173 
25174 // optional string source = 1;
has_source()25175 inline bool ImageDataParameter::has_source() const {
25176   return (_has_bits_[0] & 0x00000001u) != 0;
25177 }
set_has_source()25178 inline void ImageDataParameter::set_has_source() {
25179   _has_bits_[0] |= 0x00000001u;
25180 }
clear_has_source()25181 inline void ImageDataParameter::clear_has_source() {
25182   _has_bits_[0] &= ~0x00000001u;
25183 }
clear_source()25184 inline void ImageDataParameter::clear_source() {
25185   source_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25186   clear_has_source();
25187 }
source()25188 inline const ::std::string& ImageDataParameter::source() const {
25189   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.source)
25190   return source_.GetNoArena();
25191 }
set_source(const::std::string & value)25192 inline void ImageDataParameter::set_source(const ::std::string& value) {
25193   set_has_source();
25194   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
25195   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.source)
25196 }
25197 #if LANG_CXX11
set_source(::std::string && value)25198 inline void ImageDataParameter::set_source(::std::string&& value) {
25199   set_has_source();
25200   source_.SetNoArena(
25201     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
25202   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.ImageDataParameter.source)
25203 }
25204 #endif
set_source(const char * value)25205 inline void ImageDataParameter::set_source(const char* value) {
25206   GOOGLE_DCHECK(value != NULL);
25207   set_has_source();
25208   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
25209   // @@protoc_insertion_point(field_set_char:opencv_caffe.ImageDataParameter.source)
25210 }
set_source(const char * value,size_t size)25211 inline void ImageDataParameter::set_source(const char* value, size_t size) {
25212   set_has_source();
25213   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
25214       ::std::string(reinterpret_cast<const char*>(value), size));
25215   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.ImageDataParameter.source)
25216 }
mutable_source()25217 inline ::std::string* ImageDataParameter::mutable_source() {
25218   set_has_source();
25219   // @@protoc_insertion_point(field_mutable:opencv_caffe.ImageDataParameter.source)
25220   return source_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25221 }
release_source()25222 inline ::std::string* ImageDataParameter::release_source() {
25223   // @@protoc_insertion_point(field_release:opencv_caffe.ImageDataParameter.source)
25224   clear_has_source();
25225   return source_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25226 }
set_allocated_source(::std::string * source)25227 inline void ImageDataParameter::set_allocated_source(::std::string* source) {
25228   if (source != NULL) {
25229     set_has_source();
25230   } else {
25231     clear_has_source();
25232   }
25233   source_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source);
25234   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.ImageDataParameter.source)
25235 }
25236 
25237 // optional uint32 batch_size = 4 [default = 1];
has_batch_size()25238 inline bool ImageDataParameter::has_batch_size() const {
25239   return (_has_bits_[0] & 0x00000800u) != 0;
25240 }
set_has_batch_size()25241 inline void ImageDataParameter::set_has_batch_size() {
25242   _has_bits_[0] |= 0x00000800u;
25243 }
clear_has_batch_size()25244 inline void ImageDataParameter::clear_has_batch_size() {
25245   _has_bits_[0] &= ~0x00000800u;
25246 }
clear_batch_size()25247 inline void ImageDataParameter::clear_batch_size() {
25248   batch_size_ = 1u;
25249   clear_has_batch_size();
25250 }
batch_size()25251 inline ::google::protobuf::uint32 ImageDataParameter::batch_size() const {
25252   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.batch_size)
25253   return batch_size_;
25254 }
set_batch_size(::google::protobuf::uint32 value)25255 inline void ImageDataParameter::set_batch_size(::google::protobuf::uint32 value) {
25256   set_has_batch_size();
25257   batch_size_ = value;
25258   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.batch_size)
25259 }
25260 
25261 // optional uint32 rand_skip = 7 [default = 0];
has_rand_skip()25262 inline bool ImageDataParameter::has_rand_skip() const {
25263   return (_has_bits_[0] & 0x00000010u) != 0;
25264 }
set_has_rand_skip()25265 inline void ImageDataParameter::set_has_rand_skip() {
25266   _has_bits_[0] |= 0x00000010u;
25267 }
clear_has_rand_skip()25268 inline void ImageDataParameter::clear_has_rand_skip() {
25269   _has_bits_[0] &= ~0x00000010u;
25270 }
clear_rand_skip()25271 inline void ImageDataParameter::clear_rand_skip() {
25272   rand_skip_ = 0u;
25273   clear_has_rand_skip();
25274 }
rand_skip()25275 inline ::google::protobuf::uint32 ImageDataParameter::rand_skip() const {
25276   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.rand_skip)
25277   return rand_skip_;
25278 }
set_rand_skip(::google::protobuf::uint32 value)25279 inline void ImageDataParameter::set_rand_skip(::google::protobuf::uint32 value) {
25280   set_has_rand_skip();
25281   rand_skip_ = value;
25282   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.rand_skip)
25283 }
25284 
25285 // optional bool shuffle = 8 [default = false];
has_shuffle()25286 inline bool ImageDataParameter::has_shuffle() const {
25287   return (_has_bits_[0] & 0x00000020u) != 0;
25288 }
set_has_shuffle()25289 inline void ImageDataParameter::set_has_shuffle() {
25290   _has_bits_[0] |= 0x00000020u;
25291 }
clear_has_shuffle()25292 inline void ImageDataParameter::clear_has_shuffle() {
25293   _has_bits_[0] &= ~0x00000020u;
25294 }
clear_shuffle()25295 inline void ImageDataParameter::clear_shuffle() {
25296   shuffle_ = false;
25297   clear_has_shuffle();
25298 }
shuffle()25299 inline bool ImageDataParameter::shuffle() const {
25300   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.shuffle)
25301   return shuffle_;
25302 }
set_shuffle(bool value)25303 inline void ImageDataParameter::set_shuffle(bool value) {
25304   set_has_shuffle();
25305   shuffle_ = value;
25306   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.shuffle)
25307 }
25308 
25309 // optional uint32 new_height = 9 [default = 0];
has_new_height()25310 inline bool ImageDataParameter::has_new_height() const {
25311   return (_has_bits_[0] & 0x00000080u) != 0;
25312 }
set_has_new_height()25313 inline void ImageDataParameter::set_has_new_height() {
25314   _has_bits_[0] |= 0x00000080u;
25315 }
clear_has_new_height()25316 inline void ImageDataParameter::clear_has_new_height() {
25317   _has_bits_[0] &= ~0x00000080u;
25318 }
clear_new_height()25319 inline void ImageDataParameter::clear_new_height() {
25320   new_height_ = 0u;
25321   clear_has_new_height();
25322 }
new_height()25323 inline ::google::protobuf::uint32 ImageDataParameter::new_height() const {
25324   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.new_height)
25325   return new_height_;
25326 }
set_new_height(::google::protobuf::uint32 value)25327 inline void ImageDataParameter::set_new_height(::google::protobuf::uint32 value) {
25328   set_has_new_height();
25329   new_height_ = value;
25330   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.new_height)
25331 }
25332 
25333 // optional uint32 new_width = 10 [default = 0];
has_new_width()25334 inline bool ImageDataParameter::has_new_width() const {
25335   return (_has_bits_[0] & 0x00000100u) != 0;
25336 }
set_has_new_width()25337 inline void ImageDataParameter::set_has_new_width() {
25338   _has_bits_[0] |= 0x00000100u;
25339 }
clear_has_new_width()25340 inline void ImageDataParameter::clear_has_new_width() {
25341   _has_bits_[0] &= ~0x00000100u;
25342 }
clear_new_width()25343 inline void ImageDataParameter::clear_new_width() {
25344   new_width_ = 0u;
25345   clear_has_new_width();
25346 }
new_width()25347 inline ::google::protobuf::uint32 ImageDataParameter::new_width() const {
25348   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.new_width)
25349   return new_width_;
25350 }
set_new_width(::google::protobuf::uint32 value)25351 inline void ImageDataParameter::set_new_width(::google::protobuf::uint32 value) {
25352   set_has_new_width();
25353   new_width_ = value;
25354   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.new_width)
25355 }
25356 
25357 // optional bool is_color = 11 [default = true];
has_is_color()25358 inline bool ImageDataParameter::has_is_color() const {
25359   return (_has_bits_[0] & 0x00000200u) != 0;
25360 }
set_has_is_color()25361 inline void ImageDataParameter::set_has_is_color() {
25362   _has_bits_[0] |= 0x00000200u;
25363 }
clear_has_is_color()25364 inline void ImageDataParameter::clear_has_is_color() {
25365   _has_bits_[0] &= ~0x00000200u;
25366 }
clear_is_color()25367 inline void ImageDataParameter::clear_is_color() {
25368   is_color_ = true;
25369   clear_has_is_color();
25370 }
is_color()25371 inline bool ImageDataParameter::is_color() const {
25372   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.is_color)
25373   return is_color_;
25374 }
set_is_color(bool value)25375 inline void ImageDataParameter::set_is_color(bool value) {
25376   set_has_is_color();
25377   is_color_ = value;
25378   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.is_color)
25379 }
25380 
25381 // optional float scale = 2 [default = 1];
has_scale()25382 inline bool ImageDataParameter::has_scale() const {
25383   return (_has_bits_[0] & 0x00000400u) != 0;
25384 }
set_has_scale()25385 inline void ImageDataParameter::set_has_scale() {
25386   _has_bits_[0] |= 0x00000400u;
25387 }
clear_has_scale()25388 inline void ImageDataParameter::clear_has_scale() {
25389   _has_bits_[0] &= ~0x00000400u;
25390 }
clear_scale()25391 inline void ImageDataParameter::clear_scale() {
25392   scale_ = 1;
25393   clear_has_scale();
25394 }
scale()25395 inline float ImageDataParameter::scale() const {
25396   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.scale)
25397   return scale_;
25398 }
set_scale(float value)25399 inline void ImageDataParameter::set_scale(float value) {
25400   set_has_scale();
25401   scale_ = value;
25402   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.scale)
25403 }
25404 
25405 // optional string mean_file = 3;
has_mean_file()25406 inline bool ImageDataParameter::has_mean_file() const {
25407   return (_has_bits_[0] & 0x00000002u) != 0;
25408 }
set_has_mean_file()25409 inline void ImageDataParameter::set_has_mean_file() {
25410   _has_bits_[0] |= 0x00000002u;
25411 }
clear_has_mean_file()25412 inline void ImageDataParameter::clear_has_mean_file() {
25413   _has_bits_[0] &= ~0x00000002u;
25414 }
clear_mean_file()25415 inline void ImageDataParameter::clear_mean_file() {
25416   mean_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25417   clear_has_mean_file();
25418 }
mean_file()25419 inline const ::std::string& ImageDataParameter::mean_file() const {
25420   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.mean_file)
25421   return mean_file_.GetNoArena();
25422 }
set_mean_file(const::std::string & value)25423 inline void ImageDataParameter::set_mean_file(const ::std::string& value) {
25424   set_has_mean_file();
25425   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
25426   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.mean_file)
25427 }
25428 #if LANG_CXX11
set_mean_file(::std::string && value)25429 inline void ImageDataParameter::set_mean_file(::std::string&& value) {
25430   set_has_mean_file();
25431   mean_file_.SetNoArena(
25432     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
25433   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.ImageDataParameter.mean_file)
25434 }
25435 #endif
set_mean_file(const char * value)25436 inline void ImageDataParameter::set_mean_file(const char* value) {
25437   GOOGLE_DCHECK(value != NULL);
25438   set_has_mean_file();
25439   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
25440   // @@protoc_insertion_point(field_set_char:opencv_caffe.ImageDataParameter.mean_file)
25441 }
set_mean_file(const char * value,size_t size)25442 inline void ImageDataParameter::set_mean_file(const char* value, size_t size) {
25443   set_has_mean_file();
25444   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
25445       ::std::string(reinterpret_cast<const char*>(value), size));
25446   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.ImageDataParameter.mean_file)
25447 }
mutable_mean_file()25448 inline ::std::string* ImageDataParameter::mutable_mean_file() {
25449   set_has_mean_file();
25450   // @@protoc_insertion_point(field_mutable:opencv_caffe.ImageDataParameter.mean_file)
25451   return mean_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25452 }
release_mean_file()25453 inline ::std::string* ImageDataParameter::release_mean_file() {
25454   // @@protoc_insertion_point(field_release:opencv_caffe.ImageDataParameter.mean_file)
25455   clear_has_mean_file();
25456   return mean_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25457 }
set_allocated_mean_file(::std::string * mean_file)25458 inline void ImageDataParameter::set_allocated_mean_file(::std::string* mean_file) {
25459   if (mean_file != NULL) {
25460     set_has_mean_file();
25461   } else {
25462     clear_has_mean_file();
25463   }
25464   mean_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), mean_file);
25465   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.ImageDataParameter.mean_file)
25466 }
25467 
25468 // optional uint32 crop_size = 5 [default = 0];
has_crop_size()25469 inline bool ImageDataParameter::has_crop_size() const {
25470   return (_has_bits_[0] & 0x00000008u) != 0;
25471 }
set_has_crop_size()25472 inline void ImageDataParameter::set_has_crop_size() {
25473   _has_bits_[0] |= 0x00000008u;
25474 }
clear_has_crop_size()25475 inline void ImageDataParameter::clear_has_crop_size() {
25476   _has_bits_[0] &= ~0x00000008u;
25477 }
clear_crop_size()25478 inline void ImageDataParameter::clear_crop_size() {
25479   crop_size_ = 0u;
25480   clear_has_crop_size();
25481 }
crop_size()25482 inline ::google::protobuf::uint32 ImageDataParameter::crop_size() const {
25483   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.crop_size)
25484   return crop_size_;
25485 }
set_crop_size(::google::protobuf::uint32 value)25486 inline void ImageDataParameter::set_crop_size(::google::protobuf::uint32 value) {
25487   set_has_crop_size();
25488   crop_size_ = value;
25489   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.crop_size)
25490 }
25491 
25492 // optional bool mirror = 6 [default = false];
has_mirror()25493 inline bool ImageDataParameter::has_mirror() const {
25494   return (_has_bits_[0] & 0x00000040u) != 0;
25495 }
set_has_mirror()25496 inline void ImageDataParameter::set_has_mirror() {
25497   _has_bits_[0] |= 0x00000040u;
25498 }
clear_has_mirror()25499 inline void ImageDataParameter::clear_has_mirror() {
25500   _has_bits_[0] &= ~0x00000040u;
25501 }
clear_mirror()25502 inline void ImageDataParameter::clear_mirror() {
25503   mirror_ = false;
25504   clear_has_mirror();
25505 }
mirror()25506 inline bool ImageDataParameter::mirror() const {
25507   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.mirror)
25508   return mirror_;
25509 }
set_mirror(bool value)25510 inline void ImageDataParameter::set_mirror(bool value) {
25511   set_has_mirror();
25512   mirror_ = value;
25513   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.mirror)
25514 }
25515 
25516 // optional string root_folder = 12 [default = ""];
has_root_folder()25517 inline bool ImageDataParameter::has_root_folder() const {
25518   return (_has_bits_[0] & 0x00000004u) != 0;
25519 }
set_has_root_folder()25520 inline void ImageDataParameter::set_has_root_folder() {
25521   _has_bits_[0] |= 0x00000004u;
25522 }
clear_has_root_folder()25523 inline void ImageDataParameter::clear_has_root_folder() {
25524   _has_bits_[0] &= ~0x00000004u;
25525 }
clear_root_folder()25526 inline void ImageDataParameter::clear_root_folder() {
25527   root_folder_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25528   clear_has_root_folder();
25529 }
root_folder()25530 inline const ::std::string& ImageDataParameter::root_folder() const {
25531   // @@protoc_insertion_point(field_get:opencv_caffe.ImageDataParameter.root_folder)
25532   return root_folder_.GetNoArena();
25533 }
set_root_folder(const::std::string & value)25534 inline void ImageDataParameter::set_root_folder(const ::std::string& value) {
25535   set_has_root_folder();
25536   root_folder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
25537   // @@protoc_insertion_point(field_set:opencv_caffe.ImageDataParameter.root_folder)
25538 }
25539 #if LANG_CXX11
set_root_folder(::std::string && value)25540 inline void ImageDataParameter::set_root_folder(::std::string&& value) {
25541   set_has_root_folder();
25542   root_folder_.SetNoArena(
25543     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
25544   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.ImageDataParameter.root_folder)
25545 }
25546 #endif
set_root_folder(const char * value)25547 inline void ImageDataParameter::set_root_folder(const char* value) {
25548   GOOGLE_DCHECK(value != NULL);
25549   set_has_root_folder();
25550   root_folder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
25551   // @@protoc_insertion_point(field_set_char:opencv_caffe.ImageDataParameter.root_folder)
25552 }
set_root_folder(const char * value,size_t size)25553 inline void ImageDataParameter::set_root_folder(const char* value, size_t size) {
25554   set_has_root_folder();
25555   root_folder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
25556       ::std::string(reinterpret_cast<const char*>(value), size));
25557   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.ImageDataParameter.root_folder)
25558 }
mutable_root_folder()25559 inline ::std::string* ImageDataParameter::mutable_root_folder() {
25560   set_has_root_folder();
25561   // @@protoc_insertion_point(field_mutable:opencv_caffe.ImageDataParameter.root_folder)
25562   return root_folder_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25563 }
release_root_folder()25564 inline ::std::string* ImageDataParameter::release_root_folder() {
25565   // @@protoc_insertion_point(field_release:opencv_caffe.ImageDataParameter.root_folder)
25566   clear_has_root_folder();
25567   return root_folder_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25568 }
set_allocated_root_folder(::std::string * root_folder)25569 inline void ImageDataParameter::set_allocated_root_folder(::std::string* root_folder) {
25570   if (root_folder != NULL) {
25571     set_has_root_folder();
25572   } else {
25573     clear_has_root_folder();
25574   }
25575   root_folder_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), root_folder);
25576   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.ImageDataParameter.root_folder)
25577 }
25578 
25579 // -------------------------------------------------------------------
25580 
25581 // InfogainLossParameter
25582 
25583 // optional string source = 1;
has_source()25584 inline bool InfogainLossParameter::has_source() const {
25585   return (_has_bits_[0] & 0x00000001u) != 0;
25586 }
set_has_source()25587 inline void InfogainLossParameter::set_has_source() {
25588   _has_bits_[0] |= 0x00000001u;
25589 }
clear_has_source()25590 inline void InfogainLossParameter::clear_has_source() {
25591   _has_bits_[0] &= ~0x00000001u;
25592 }
clear_source()25593 inline void InfogainLossParameter::clear_source() {
25594   source_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25595   clear_has_source();
25596 }
source()25597 inline const ::std::string& InfogainLossParameter::source() const {
25598   // @@protoc_insertion_point(field_get:opencv_caffe.InfogainLossParameter.source)
25599   return source_.GetNoArena();
25600 }
set_source(const::std::string & value)25601 inline void InfogainLossParameter::set_source(const ::std::string& value) {
25602   set_has_source();
25603   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
25604   // @@protoc_insertion_point(field_set:opencv_caffe.InfogainLossParameter.source)
25605 }
25606 #if LANG_CXX11
set_source(::std::string && value)25607 inline void InfogainLossParameter::set_source(::std::string&& value) {
25608   set_has_source();
25609   source_.SetNoArena(
25610     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
25611   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.InfogainLossParameter.source)
25612 }
25613 #endif
set_source(const char * value)25614 inline void InfogainLossParameter::set_source(const char* value) {
25615   GOOGLE_DCHECK(value != NULL);
25616   set_has_source();
25617   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
25618   // @@protoc_insertion_point(field_set_char:opencv_caffe.InfogainLossParameter.source)
25619 }
set_source(const char * value,size_t size)25620 inline void InfogainLossParameter::set_source(const char* value, size_t size) {
25621   set_has_source();
25622   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
25623       ::std::string(reinterpret_cast<const char*>(value), size));
25624   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.InfogainLossParameter.source)
25625 }
mutable_source()25626 inline ::std::string* InfogainLossParameter::mutable_source() {
25627   set_has_source();
25628   // @@protoc_insertion_point(field_mutable:opencv_caffe.InfogainLossParameter.source)
25629   return source_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25630 }
release_source()25631 inline ::std::string* InfogainLossParameter::release_source() {
25632   // @@protoc_insertion_point(field_release:opencv_caffe.InfogainLossParameter.source)
25633   clear_has_source();
25634   return source_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
25635 }
set_allocated_source(::std::string * source)25636 inline void InfogainLossParameter::set_allocated_source(::std::string* source) {
25637   if (source != NULL) {
25638     set_has_source();
25639   } else {
25640     clear_has_source();
25641   }
25642   source_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source);
25643   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.InfogainLossParameter.source)
25644 }
25645 
25646 // -------------------------------------------------------------------
25647 
25648 // InnerProductParameter
25649 
25650 // optional uint32 num_output = 1;
has_num_output()25651 inline bool InnerProductParameter::has_num_output() const {
25652   return (_has_bits_[0] & 0x00000004u) != 0;
25653 }
set_has_num_output()25654 inline void InnerProductParameter::set_has_num_output() {
25655   _has_bits_[0] |= 0x00000004u;
25656 }
clear_has_num_output()25657 inline void InnerProductParameter::clear_has_num_output() {
25658   _has_bits_[0] &= ~0x00000004u;
25659 }
clear_num_output()25660 inline void InnerProductParameter::clear_num_output() {
25661   num_output_ = 0u;
25662   clear_has_num_output();
25663 }
num_output()25664 inline ::google::protobuf::uint32 InnerProductParameter::num_output() const {
25665   // @@protoc_insertion_point(field_get:opencv_caffe.InnerProductParameter.num_output)
25666   return num_output_;
25667 }
set_num_output(::google::protobuf::uint32 value)25668 inline void InnerProductParameter::set_num_output(::google::protobuf::uint32 value) {
25669   set_has_num_output();
25670   num_output_ = value;
25671   // @@protoc_insertion_point(field_set:opencv_caffe.InnerProductParameter.num_output)
25672 }
25673 
25674 // optional bool bias_term = 2 [default = true];
has_bias_term()25675 inline bool InnerProductParameter::has_bias_term() const {
25676   return (_has_bits_[0] & 0x00000010u) != 0;
25677 }
set_has_bias_term()25678 inline void InnerProductParameter::set_has_bias_term() {
25679   _has_bits_[0] |= 0x00000010u;
25680 }
clear_has_bias_term()25681 inline void InnerProductParameter::clear_has_bias_term() {
25682   _has_bits_[0] &= ~0x00000010u;
25683 }
clear_bias_term()25684 inline void InnerProductParameter::clear_bias_term() {
25685   bias_term_ = true;
25686   clear_has_bias_term();
25687 }
bias_term()25688 inline bool InnerProductParameter::bias_term() const {
25689   // @@protoc_insertion_point(field_get:opencv_caffe.InnerProductParameter.bias_term)
25690   return bias_term_;
25691 }
set_bias_term(bool value)25692 inline void InnerProductParameter::set_bias_term(bool value) {
25693   set_has_bias_term();
25694   bias_term_ = value;
25695   // @@protoc_insertion_point(field_set:opencv_caffe.InnerProductParameter.bias_term)
25696 }
25697 
25698 // optional .opencv_caffe.FillerParameter weight_filler = 3;
has_weight_filler()25699 inline bool InnerProductParameter::has_weight_filler() const {
25700   return (_has_bits_[0] & 0x00000001u) != 0;
25701 }
set_has_weight_filler()25702 inline void InnerProductParameter::set_has_weight_filler() {
25703   _has_bits_[0] |= 0x00000001u;
25704 }
clear_has_weight_filler()25705 inline void InnerProductParameter::clear_has_weight_filler() {
25706   _has_bits_[0] &= ~0x00000001u;
25707 }
clear_weight_filler()25708 inline void InnerProductParameter::clear_weight_filler() {
25709   if (weight_filler_ != NULL) weight_filler_->Clear();
25710   clear_has_weight_filler();
25711 }
weight_filler()25712 inline const ::opencv_caffe::FillerParameter& InnerProductParameter::weight_filler() const {
25713   const ::opencv_caffe::FillerParameter* p = weight_filler_;
25714   // @@protoc_insertion_point(field_get:opencv_caffe.InnerProductParameter.weight_filler)
25715   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
25716       &::opencv_caffe::_FillerParameter_default_instance_);
25717 }
release_weight_filler()25718 inline ::opencv_caffe::FillerParameter* InnerProductParameter::release_weight_filler() {
25719   // @@protoc_insertion_point(field_release:opencv_caffe.InnerProductParameter.weight_filler)
25720   clear_has_weight_filler();
25721   ::opencv_caffe::FillerParameter* temp = weight_filler_;
25722   weight_filler_ = NULL;
25723   return temp;
25724 }
mutable_weight_filler()25725 inline ::opencv_caffe::FillerParameter* InnerProductParameter::mutable_weight_filler() {
25726   set_has_weight_filler();
25727   if (weight_filler_ == NULL) {
25728     weight_filler_ = new ::opencv_caffe::FillerParameter;
25729   }
25730   // @@protoc_insertion_point(field_mutable:opencv_caffe.InnerProductParameter.weight_filler)
25731   return weight_filler_;
25732 }
set_allocated_weight_filler(::opencv_caffe::FillerParameter * weight_filler)25733 inline void InnerProductParameter::set_allocated_weight_filler(::opencv_caffe::FillerParameter* weight_filler) {
25734   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
25735   if (message_arena == NULL) {
25736     delete weight_filler_;
25737   }
25738   if (weight_filler) {
25739     ::google::protobuf::Arena* submessage_arena = NULL;
25740     if (message_arena != submessage_arena) {
25741       weight_filler = ::google::protobuf::internal::GetOwnedMessage(
25742           message_arena, weight_filler, submessage_arena);
25743     }
25744     set_has_weight_filler();
25745   } else {
25746     clear_has_weight_filler();
25747   }
25748   weight_filler_ = weight_filler;
25749   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.InnerProductParameter.weight_filler)
25750 }
25751 
25752 // optional .opencv_caffe.FillerParameter bias_filler = 4;
has_bias_filler()25753 inline bool InnerProductParameter::has_bias_filler() const {
25754   return (_has_bits_[0] & 0x00000002u) != 0;
25755 }
set_has_bias_filler()25756 inline void InnerProductParameter::set_has_bias_filler() {
25757   _has_bits_[0] |= 0x00000002u;
25758 }
clear_has_bias_filler()25759 inline void InnerProductParameter::clear_has_bias_filler() {
25760   _has_bits_[0] &= ~0x00000002u;
25761 }
clear_bias_filler()25762 inline void InnerProductParameter::clear_bias_filler() {
25763   if (bias_filler_ != NULL) bias_filler_->Clear();
25764   clear_has_bias_filler();
25765 }
bias_filler()25766 inline const ::opencv_caffe::FillerParameter& InnerProductParameter::bias_filler() const {
25767   const ::opencv_caffe::FillerParameter* p = bias_filler_;
25768   // @@protoc_insertion_point(field_get:opencv_caffe.InnerProductParameter.bias_filler)
25769   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
25770       &::opencv_caffe::_FillerParameter_default_instance_);
25771 }
release_bias_filler()25772 inline ::opencv_caffe::FillerParameter* InnerProductParameter::release_bias_filler() {
25773   // @@protoc_insertion_point(field_release:opencv_caffe.InnerProductParameter.bias_filler)
25774   clear_has_bias_filler();
25775   ::opencv_caffe::FillerParameter* temp = bias_filler_;
25776   bias_filler_ = NULL;
25777   return temp;
25778 }
mutable_bias_filler()25779 inline ::opencv_caffe::FillerParameter* InnerProductParameter::mutable_bias_filler() {
25780   set_has_bias_filler();
25781   if (bias_filler_ == NULL) {
25782     bias_filler_ = new ::opencv_caffe::FillerParameter;
25783   }
25784   // @@protoc_insertion_point(field_mutable:opencv_caffe.InnerProductParameter.bias_filler)
25785   return bias_filler_;
25786 }
set_allocated_bias_filler(::opencv_caffe::FillerParameter * bias_filler)25787 inline void InnerProductParameter::set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler) {
25788   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
25789   if (message_arena == NULL) {
25790     delete bias_filler_;
25791   }
25792   if (bias_filler) {
25793     ::google::protobuf::Arena* submessage_arena = NULL;
25794     if (message_arena != submessage_arena) {
25795       bias_filler = ::google::protobuf::internal::GetOwnedMessage(
25796           message_arena, bias_filler, submessage_arena);
25797     }
25798     set_has_bias_filler();
25799   } else {
25800     clear_has_bias_filler();
25801   }
25802   bias_filler_ = bias_filler;
25803   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.InnerProductParameter.bias_filler)
25804 }
25805 
25806 // optional int32 axis = 5 [default = 1];
has_axis()25807 inline bool InnerProductParameter::has_axis() const {
25808   return (_has_bits_[0] & 0x00000020u) != 0;
25809 }
set_has_axis()25810 inline void InnerProductParameter::set_has_axis() {
25811   _has_bits_[0] |= 0x00000020u;
25812 }
clear_has_axis()25813 inline void InnerProductParameter::clear_has_axis() {
25814   _has_bits_[0] &= ~0x00000020u;
25815 }
clear_axis()25816 inline void InnerProductParameter::clear_axis() {
25817   axis_ = 1;
25818   clear_has_axis();
25819 }
axis()25820 inline ::google::protobuf::int32 InnerProductParameter::axis() const {
25821   // @@protoc_insertion_point(field_get:opencv_caffe.InnerProductParameter.axis)
25822   return axis_;
25823 }
set_axis(::google::protobuf::int32 value)25824 inline void InnerProductParameter::set_axis(::google::protobuf::int32 value) {
25825   set_has_axis();
25826   axis_ = value;
25827   // @@protoc_insertion_point(field_set:opencv_caffe.InnerProductParameter.axis)
25828 }
25829 
25830 // optional bool transpose = 6 [default = false];
has_transpose()25831 inline bool InnerProductParameter::has_transpose() const {
25832   return (_has_bits_[0] & 0x00000008u) != 0;
25833 }
set_has_transpose()25834 inline void InnerProductParameter::set_has_transpose() {
25835   _has_bits_[0] |= 0x00000008u;
25836 }
clear_has_transpose()25837 inline void InnerProductParameter::clear_has_transpose() {
25838   _has_bits_[0] &= ~0x00000008u;
25839 }
clear_transpose()25840 inline void InnerProductParameter::clear_transpose() {
25841   transpose_ = false;
25842   clear_has_transpose();
25843 }
transpose()25844 inline bool InnerProductParameter::transpose() const {
25845   // @@protoc_insertion_point(field_get:opencv_caffe.InnerProductParameter.transpose)
25846   return transpose_;
25847 }
set_transpose(bool value)25848 inline void InnerProductParameter::set_transpose(bool value) {
25849   set_has_transpose();
25850   transpose_ = value;
25851   // @@protoc_insertion_point(field_set:opencv_caffe.InnerProductParameter.transpose)
25852 }
25853 
25854 // -------------------------------------------------------------------
25855 
25856 // InputParameter
25857 
25858 // repeated .opencv_caffe.BlobShape shape = 1;
shape_size()25859 inline int InputParameter::shape_size() const {
25860   return shape_.size();
25861 }
clear_shape()25862 inline void InputParameter::clear_shape() {
25863   shape_.Clear();
25864 }
shape(int index)25865 inline const ::opencv_caffe::BlobShape& InputParameter::shape(int index) const {
25866   // @@protoc_insertion_point(field_get:opencv_caffe.InputParameter.shape)
25867   return shape_.Get(index);
25868 }
mutable_shape(int index)25869 inline ::opencv_caffe::BlobShape* InputParameter::mutable_shape(int index) {
25870   // @@protoc_insertion_point(field_mutable:opencv_caffe.InputParameter.shape)
25871   return shape_.Mutable(index);
25872 }
add_shape()25873 inline ::opencv_caffe::BlobShape* InputParameter::add_shape() {
25874   // @@protoc_insertion_point(field_add:opencv_caffe.InputParameter.shape)
25875   return shape_.Add();
25876 }
25877 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >*
mutable_shape()25878 InputParameter::mutable_shape() {
25879   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.InputParameter.shape)
25880   return &shape_;
25881 }
25882 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobShape >&
shape()25883 InputParameter::shape() const {
25884   // @@protoc_insertion_point(field_list:opencv_caffe.InputParameter.shape)
25885   return shape_;
25886 }
25887 
25888 // -------------------------------------------------------------------
25889 
25890 // LogParameter
25891 
25892 // optional float base = 1 [default = -1];
has_base()25893 inline bool LogParameter::has_base() const {
25894   return (_has_bits_[0] & 0x00000002u) != 0;
25895 }
set_has_base()25896 inline void LogParameter::set_has_base() {
25897   _has_bits_[0] |= 0x00000002u;
25898 }
clear_has_base()25899 inline void LogParameter::clear_has_base() {
25900   _has_bits_[0] &= ~0x00000002u;
25901 }
clear_base()25902 inline void LogParameter::clear_base() {
25903   base_ = -1;
25904   clear_has_base();
25905 }
base()25906 inline float LogParameter::base() const {
25907   // @@protoc_insertion_point(field_get:opencv_caffe.LogParameter.base)
25908   return base_;
25909 }
set_base(float value)25910 inline void LogParameter::set_base(float value) {
25911   set_has_base();
25912   base_ = value;
25913   // @@protoc_insertion_point(field_set:opencv_caffe.LogParameter.base)
25914 }
25915 
25916 // optional float scale = 2 [default = 1];
has_scale()25917 inline bool LogParameter::has_scale() const {
25918   return (_has_bits_[0] & 0x00000004u) != 0;
25919 }
set_has_scale()25920 inline void LogParameter::set_has_scale() {
25921   _has_bits_[0] |= 0x00000004u;
25922 }
clear_has_scale()25923 inline void LogParameter::clear_has_scale() {
25924   _has_bits_[0] &= ~0x00000004u;
25925 }
clear_scale()25926 inline void LogParameter::clear_scale() {
25927   scale_ = 1;
25928   clear_has_scale();
25929 }
scale()25930 inline float LogParameter::scale() const {
25931   // @@protoc_insertion_point(field_get:opencv_caffe.LogParameter.scale)
25932   return scale_;
25933 }
set_scale(float value)25934 inline void LogParameter::set_scale(float value) {
25935   set_has_scale();
25936   scale_ = value;
25937   // @@protoc_insertion_point(field_set:opencv_caffe.LogParameter.scale)
25938 }
25939 
25940 // optional float shift = 3 [default = 0];
has_shift()25941 inline bool LogParameter::has_shift() const {
25942   return (_has_bits_[0] & 0x00000001u) != 0;
25943 }
set_has_shift()25944 inline void LogParameter::set_has_shift() {
25945   _has_bits_[0] |= 0x00000001u;
25946 }
clear_has_shift()25947 inline void LogParameter::clear_has_shift() {
25948   _has_bits_[0] &= ~0x00000001u;
25949 }
clear_shift()25950 inline void LogParameter::clear_shift() {
25951   shift_ = 0;
25952   clear_has_shift();
25953 }
shift()25954 inline float LogParameter::shift() const {
25955   // @@protoc_insertion_point(field_get:opencv_caffe.LogParameter.shift)
25956   return shift_;
25957 }
set_shift(float value)25958 inline void LogParameter::set_shift(float value) {
25959   set_has_shift();
25960   shift_ = value;
25961   // @@protoc_insertion_point(field_set:opencv_caffe.LogParameter.shift)
25962 }
25963 
25964 // -------------------------------------------------------------------
25965 
25966 // LRNParameter
25967 
25968 // optional uint32 local_size = 1 [default = 5];
has_local_size()25969 inline bool LRNParameter::has_local_size() const {
25970   return (_has_bits_[0] & 0x00000004u) != 0;
25971 }
set_has_local_size()25972 inline void LRNParameter::set_has_local_size() {
25973   _has_bits_[0] |= 0x00000004u;
25974 }
clear_has_local_size()25975 inline void LRNParameter::clear_has_local_size() {
25976   _has_bits_[0] &= ~0x00000004u;
25977 }
clear_local_size()25978 inline void LRNParameter::clear_local_size() {
25979   local_size_ = 5u;
25980   clear_has_local_size();
25981 }
local_size()25982 inline ::google::protobuf::uint32 LRNParameter::local_size() const {
25983   // @@protoc_insertion_point(field_get:opencv_caffe.LRNParameter.local_size)
25984   return local_size_;
25985 }
set_local_size(::google::protobuf::uint32 value)25986 inline void LRNParameter::set_local_size(::google::protobuf::uint32 value) {
25987   set_has_local_size();
25988   local_size_ = value;
25989   // @@protoc_insertion_point(field_set:opencv_caffe.LRNParameter.local_size)
25990 }
25991 
25992 // optional float alpha = 2 [default = 1];
has_alpha()25993 inline bool LRNParameter::has_alpha() const {
25994   return (_has_bits_[0] & 0x00000008u) != 0;
25995 }
set_has_alpha()25996 inline void LRNParameter::set_has_alpha() {
25997   _has_bits_[0] |= 0x00000008u;
25998 }
clear_has_alpha()25999 inline void LRNParameter::clear_has_alpha() {
26000   _has_bits_[0] &= ~0x00000008u;
26001 }
clear_alpha()26002 inline void LRNParameter::clear_alpha() {
26003   alpha_ = 1;
26004   clear_has_alpha();
26005 }
alpha()26006 inline float LRNParameter::alpha() const {
26007   // @@protoc_insertion_point(field_get:opencv_caffe.LRNParameter.alpha)
26008   return alpha_;
26009 }
set_alpha(float value)26010 inline void LRNParameter::set_alpha(float value) {
26011   set_has_alpha();
26012   alpha_ = value;
26013   // @@protoc_insertion_point(field_set:opencv_caffe.LRNParameter.alpha)
26014 }
26015 
26016 // optional float beta = 3 [default = 0.75];
has_beta()26017 inline bool LRNParameter::has_beta() const {
26018   return (_has_bits_[0] & 0x00000010u) != 0;
26019 }
set_has_beta()26020 inline void LRNParameter::set_has_beta() {
26021   _has_bits_[0] |= 0x00000010u;
26022 }
clear_has_beta()26023 inline void LRNParameter::clear_has_beta() {
26024   _has_bits_[0] &= ~0x00000010u;
26025 }
clear_beta()26026 inline void LRNParameter::clear_beta() {
26027   beta_ = 0.75f;
26028   clear_has_beta();
26029 }
beta()26030 inline float LRNParameter::beta() const {
26031   // @@protoc_insertion_point(field_get:opencv_caffe.LRNParameter.beta)
26032   return beta_;
26033 }
set_beta(float value)26034 inline void LRNParameter::set_beta(float value) {
26035   set_has_beta();
26036   beta_ = value;
26037   // @@protoc_insertion_point(field_set:opencv_caffe.LRNParameter.beta)
26038 }
26039 
26040 // optional .opencv_caffe.LRNParameter.NormRegion norm_region = 4 [default = ACROSS_CHANNELS];
has_norm_region()26041 inline bool LRNParameter::has_norm_region() const {
26042   return (_has_bits_[0] & 0x00000001u) != 0;
26043 }
set_has_norm_region()26044 inline void LRNParameter::set_has_norm_region() {
26045   _has_bits_[0] |= 0x00000001u;
26046 }
clear_has_norm_region()26047 inline void LRNParameter::clear_has_norm_region() {
26048   _has_bits_[0] &= ~0x00000001u;
26049 }
clear_norm_region()26050 inline void LRNParameter::clear_norm_region() {
26051   norm_region_ = 0;
26052   clear_has_norm_region();
26053 }
norm_region()26054 inline ::opencv_caffe::LRNParameter_NormRegion LRNParameter::norm_region() const {
26055   // @@protoc_insertion_point(field_get:opencv_caffe.LRNParameter.norm_region)
26056   return static_cast< ::opencv_caffe::LRNParameter_NormRegion >(norm_region_);
26057 }
set_norm_region(::opencv_caffe::LRNParameter_NormRegion value)26058 inline void LRNParameter::set_norm_region(::opencv_caffe::LRNParameter_NormRegion value) {
26059   assert(::opencv_caffe::LRNParameter_NormRegion_IsValid(value));
26060   set_has_norm_region();
26061   norm_region_ = value;
26062   // @@protoc_insertion_point(field_set:opencv_caffe.LRNParameter.norm_region)
26063 }
26064 
26065 // optional float k = 5 [default = 1];
has_k()26066 inline bool LRNParameter::has_k() const {
26067   return (_has_bits_[0] & 0x00000020u) != 0;
26068 }
set_has_k()26069 inline void LRNParameter::set_has_k() {
26070   _has_bits_[0] |= 0x00000020u;
26071 }
clear_has_k()26072 inline void LRNParameter::clear_has_k() {
26073   _has_bits_[0] &= ~0x00000020u;
26074 }
clear_k()26075 inline void LRNParameter::clear_k() {
26076   k_ = 1;
26077   clear_has_k();
26078 }
k()26079 inline float LRNParameter::k() const {
26080   // @@protoc_insertion_point(field_get:opencv_caffe.LRNParameter.k)
26081   return k_;
26082 }
set_k(float value)26083 inline void LRNParameter::set_k(float value) {
26084   set_has_k();
26085   k_ = value;
26086   // @@protoc_insertion_point(field_set:opencv_caffe.LRNParameter.k)
26087 }
26088 
26089 // optional .opencv_caffe.LRNParameter.Engine engine = 6 [default = DEFAULT];
has_engine()26090 inline bool LRNParameter::has_engine() const {
26091   return (_has_bits_[0] & 0x00000002u) != 0;
26092 }
set_has_engine()26093 inline void LRNParameter::set_has_engine() {
26094   _has_bits_[0] |= 0x00000002u;
26095 }
clear_has_engine()26096 inline void LRNParameter::clear_has_engine() {
26097   _has_bits_[0] &= ~0x00000002u;
26098 }
clear_engine()26099 inline void LRNParameter::clear_engine() {
26100   engine_ = 0;
26101   clear_has_engine();
26102 }
engine()26103 inline ::opencv_caffe::LRNParameter_Engine LRNParameter::engine() const {
26104   // @@protoc_insertion_point(field_get:opencv_caffe.LRNParameter.engine)
26105   return static_cast< ::opencv_caffe::LRNParameter_Engine >(engine_);
26106 }
set_engine(::opencv_caffe::LRNParameter_Engine value)26107 inline void LRNParameter::set_engine(::opencv_caffe::LRNParameter_Engine value) {
26108   assert(::opencv_caffe::LRNParameter_Engine_IsValid(value));
26109   set_has_engine();
26110   engine_ = value;
26111   // @@protoc_insertion_point(field_set:opencv_caffe.LRNParameter.engine)
26112 }
26113 
26114 // -------------------------------------------------------------------
26115 
26116 // MemoryDataParameter
26117 
26118 // optional uint32 batch_size = 1;
has_batch_size()26119 inline bool MemoryDataParameter::has_batch_size() const {
26120   return (_has_bits_[0] & 0x00000001u) != 0;
26121 }
set_has_batch_size()26122 inline void MemoryDataParameter::set_has_batch_size() {
26123   _has_bits_[0] |= 0x00000001u;
26124 }
clear_has_batch_size()26125 inline void MemoryDataParameter::clear_has_batch_size() {
26126   _has_bits_[0] &= ~0x00000001u;
26127 }
clear_batch_size()26128 inline void MemoryDataParameter::clear_batch_size() {
26129   batch_size_ = 0u;
26130   clear_has_batch_size();
26131 }
batch_size()26132 inline ::google::protobuf::uint32 MemoryDataParameter::batch_size() const {
26133   // @@protoc_insertion_point(field_get:opencv_caffe.MemoryDataParameter.batch_size)
26134   return batch_size_;
26135 }
set_batch_size(::google::protobuf::uint32 value)26136 inline void MemoryDataParameter::set_batch_size(::google::protobuf::uint32 value) {
26137   set_has_batch_size();
26138   batch_size_ = value;
26139   // @@protoc_insertion_point(field_set:opencv_caffe.MemoryDataParameter.batch_size)
26140 }
26141 
26142 // optional uint32 channels = 2;
has_channels()26143 inline bool MemoryDataParameter::has_channels() const {
26144   return (_has_bits_[0] & 0x00000002u) != 0;
26145 }
set_has_channels()26146 inline void MemoryDataParameter::set_has_channels() {
26147   _has_bits_[0] |= 0x00000002u;
26148 }
clear_has_channels()26149 inline void MemoryDataParameter::clear_has_channels() {
26150   _has_bits_[0] &= ~0x00000002u;
26151 }
clear_channels()26152 inline void MemoryDataParameter::clear_channels() {
26153   channels_ = 0u;
26154   clear_has_channels();
26155 }
channels()26156 inline ::google::protobuf::uint32 MemoryDataParameter::channels() const {
26157   // @@protoc_insertion_point(field_get:opencv_caffe.MemoryDataParameter.channels)
26158   return channels_;
26159 }
set_channels(::google::protobuf::uint32 value)26160 inline void MemoryDataParameter::set_channels(::google::protobuf::uint32 value) {
26161   set_has_channels();
26162   channels_ = value;
26163   // @@protoc_insertion_point(field_set:opencv_caffe.MemoryDataParameter.channels)
26164 }
26165 
26166 // optional uint32 height = 3;
has_height()26167 inline bool MemoryDataParameter::has_height() const {
26168   return (_has_bits_[0] & 0x00000004u) != 0;
26169 }
set_has_height()26170 inline void MemoryDataParameter::set_has_height() {
26171   _has_bits_[0] |= 0x00000004u;
26172 }
clear_has_height()26173 inline void MemoryDataParameter::clear_has_height() {
26174   _has_bits_[0] &= ~0x00000004u;
26175 }
clear_height()26176 inline void MemoryDataParameter::clear_height() {
26177   height_ = 0u;
26178   clear_has_height();
26179 }
height()26180 inline ::google::protobuf::uint32 MemoryDataParameter::height() const {
26181   // @@protoc_insertion_point(field_get:opencv_caffe.MemoryDataParameter.height)
26182   return height_;
26183 }
set_height(::google::protobuf::uint32 value)26184 inline void MemoryDataParameter::set_height(::google::protobuf::uint32 value) {
26185   set_has_height();
26186   height_ = value;
26187   // @@protoc_insertion_point(field_set:opencv_caffe.MemoryDataParameter.height)
26188 }
26189 
26190 // optional uint32 width = 4;
has_width()26191 inline bool MemoryDataParameter::has_width() const {
26192   return (_has_bits_[0] & 0x00000008u) != 0;
26193 }
set_has_width()26194 inline void MemoryDataParameter::set_has_width() {
26195   _has_bits_[0] |= 0x00000008u;
26196 }
clear_has_width()26197 inline void MemoryDataParameter::clear_has_width() {
26198   _has_bits_[0] &= ~0x00000008u;
26199 }
clear_width()26200 inline void MemoryDataParameter::clear_width() {
26201   width_ = 0u;
26202   clear_has_width();
26203 }
width()26204 inline ::google::protobuf::uint32 MemoryDataParameter::width() const {
26205   // @@protoc_insertion_point(field_get:opencv_caffe.MemoryDataParameter.width)
26206   return width_;
26207 }
set_width(::google::protobuf::uint32 value)26208 inline void MemoryDataParameter::set_width(::google::protobuf::uint32 value) {
26209   set_has_width();
26210   width_ = value;
26211   // @@protoc_insertion_point(field_set:opencv_caffe.MemoryDataParameter.width)
26212 }
26213 
26214 // -------------------------------------------------------------------
26215 
26216 // MVNParameter
26217 
26218 // optional bool normalize_variance = 1 [default = true];
has_normalize_variance()26219 inline bool MVNParameter::has_normalize_variance() const {
26220   return (_has_bits_[0] & 0x00000002u) != 0;
26221 }
set_has_normalize_variance()26222 inline void MVNParameter::set_has_normalize_variance() {
26223   _has_bits_[0] |= 0x00000002u;
26224 }
clear_has_normalize_variance()26225 inline void MVNParameter::clear_has_normalize_variance() {
26226   _has_bits_[0] &= ~0x00000002u;
26227 }
clear_normalize_variance()26228 inline void MVNParameter::clear_normalize_variance() {
26229   normalize_variance_ = true;
26230   clear_has_normalize_variance();
26231 }
normalize_variance()26232 inline bool MVNParameter::normalize_variance() const {
26233   // @@protoc_insertion_point(field_get:opencv_caffe.MVNParameter.normalize_variance)
26234   return normalize_variance_;
26235 }
set_normalize_variance(bool value)26236 inline void MVNParameter::set_normalize_variance(bool value) {
26237   set_has_normalize_variance();
26238   normalize_variance_ = value;
26239   // @@protoc_insertion_point(field_set:opencv_caffe.MVNParameter.normalize_variance)
26240 }
26241 
26242 // optional bool across_channels = 2 [default = false];
has_across_channels()26243 inline bool MVNParameter::has_across_channels() const {
26244   return (_has_bits_[0] & 0x00000001u) != 0;
26245 }
set_has_across_channels()26246 inline void MVNParameter::set_has_across_channels() {
26247   _has_bits_[0] |= 0x00000001u;
26248 }
clear_has_across_channels()26249 inline void MVNParameter::clear_has_across_channels() {
26250   _has_bits_[0] &= ~0x00000001u;
26251 }
clear_across_channels()26252 inline void MVNParameter::clear_across_channels() {
26253   across_channels_ = false;
26254   clear_has_across_channels();
26255 }
across_channels()26256 inline bool MVNParameter::across_channels() const {
26257   // @@protoc_insertion_point(field_get:opencv_caffe.MVNParameter.across_channels)
26258   return across_channels_;
26259 }
set_across_channels(bool value)26260 inline void MVNParameter::set_across_channels(bool value) {
26261   set_has_across_channels();
26262   across_channels_ = value;
26263   // @@protoc_insertion_point(field_set:opencv_caffe.MVNParameter.across_channels)
26264 }
26265 
26266 // optional float eps = 3 [default = 1e-09];
has_eps()26267 inline bool MVNParameter::has_eps() const {
26268   return (_has_bits_[0] & 0x00000004u) != 0;
26269 }
set_has_eps()26270 inline void MVNParameter::set_has_eps() {
26271   _has_bits_[0] |= 0x00000004u;
26272 }
clear_has_eps()26273 inline void MVNParameter::clear_has_eps() {
26274   _has_bits_[0] &= ~0x00000004u;
26275 }
clear_eps()26276 inline void MVNParameter::clear_eps() {
26277   eps_ = 1e-09f;
26278   clear_has_eps();
26279 }
eps()26280 inline float MVNParameter::eps() const {
26281   // @@protoc_insertion_point(field_get:opencv_caffe.MVNParameter.eps)
26282   return eps_;
26283 }
set_eps(float value)26284 inline void MVNParameter::set_eps(float value) {
26285   set_has_eps();
26286   eps_ = value;
26287   // @@protoc_insertion_point(field_set:opencv_caffe.MVNParameter.eps)
26288 }
26289 
26290 // -------------------------------------------------------------------
26291 
26292 // ParameterParameter
26293 
26294 // optional .opencv_caffe.BlobShape shape = 1;
has_shape()26295 inline bool ParameterParameter::has_shape() const {
26296   return (_has_bits_[0] & 0x00000001u) != 0;
26297 }
set_has_shape()26298 inline void ParameterParameter::set_has_shape() {
26299   _has_bits_[0] |= 0x00000001u;
26300 }
clear_has_shape()26301 inline void ParameterParameter::clear_has_shape() {
26302   _has_bits_[0] &= ~0x00000001u;
26303 }
clear_shape()26304 inline void ParameterParameter::clear_shape() {
26305   if (shape_ != NULL) shape_->Clear();
26306   clear_has_shape();
26307 }
shape()26308 inline const ::opencv_caffe::BlobShape& ParameterParameter::shape() const {
26309   const ::opencv_caffe::BlobShape* p = shape_;
26310   // @@protoc_insertion_point(field_get:opencv_caffe.ParameterParameter.shape)
26311   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::BlobShape*>(
26312       &::opencv_caffe::_BlobShape_default_instance_);
26313 }
release_shape()26314 inline ::opencv_caffe::BlobShape* ParameterParameter::release_shape() {
26315   // @@protoc_insertion_point(field_release:opencv_caffe.ParameterParameter.shape)
26316   clear_has_shape();
26317   ::opencv_caffe::BlobShape* temp = shape_;
26318   shape_ = NULL;
26319   return temp;
26320 }
mutable_shape()26321 inline ::opencv_caffe::BlobShape* ParameterParameter::mutable_shape() {
26322   set_has_shape();
26323   if (shape_ == NULL) {
26324     shape_ = new ::opencv_caffe::BlobShape;
26325   }
26326   // @@protoc_insertion_point(field_mutable:opencv_caffe.ParameterParameter.shape)
26327   return shape_;
26328 }
set_allocated_shape(::opencv_caffe::BlobShape * shape)26329 inline void ParameterParameter::set_allocated_shape(::opencv_caffe::BlobShape* shape) {
26330   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
26331   if (message_arena == NULL) {
26332     delete shape_;
26333   }
26334   if (shape) {
26335     ::google::protobuf::Arena* submessage_arena = NULL;
26336     if (message_arena != submessage_arena) {
26337       shape = ::google::protobuf::internal::GetOwnedMessage(
26338           message_arena, shape, submessage_arena);
26339     }
26340     set_has_shape();
26341   } else {
26342     clear_has_shape();
26343   }
26344   shape_ = shape;
26345   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.ParameterParameter.shape)
26346 }
26347 
26348 // -------------------------------------------------------------------
26349 
26350 // PoolingParameter
26351 
26352 // optional .opencv_caffe.PoolingParameter.PoolMethod pool = 1 [default = MAX];
has_pool()26353 inline bool PoolingParameter::has_pool() const {
26354   return (_has_bits_[0] & 0x00000001u) != 0;
26355 }
set_has_pool()26356 inline void PoolingParameter::set_has_pool() {
26357   _has_bits_[0] |= 0x00000001u;
26358 }
clear_has_pool()26359 inline void PoolingParameter::clear_has_pool() {
26360   _has_bits_[0] &= ~0x00000001u;
26361 }
clear_pool()26362 inline void PoolingParameter::clear_pool() {
26363   pool_ = 0;
26364   clear_has_pool();
26365 }
pool()26366 inline ::opencv_caffe::PoolingParameter_PoolMethod PoolingParameter::pool() const {
26367   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.pool)
26368   return static_cast< ::opencv_caffe::PoolingParameter_PoolMethod >(pool_);
26369 }
set_pool(::opencv_caffe::PoolingParameter_PoolMethod value)26370 inline void PoolingParameter::set_pool(::opencv_caffe::PoolingParameter_PoolMethod value) {
26371   assert(::opencv_caffe::PoolingParameter_PoolMethod_IsValid(value));
26372   set_has_pool();
26373   pool_ = value;
26374   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.pool)
26375 }
26376 
26377 // optional uint32 pad = 4 [default = 0];
has_pad()26378 inline bool PoolingParameter::has_pad() const {
26379   return (_has_bits_[0] & 0x00000004u) != 0;
26380 }
set_has_pad()26381 inline void PoolingParameter::set_has_pad() {
26382   _has_bits_[0] |= 0x00000004u;
26383 }
clear_has_pad()26384 inline void PoolingParameter::clear_has_pad() {
26385   _has_bits_[0] &= ~0x00000004u;
26386 }
clear_pad()26387 inline void PoolingParameter::clear_pad() {
26388   pad_ = 0u;
26389   clear_has_pad();
26390 }
pad()26391 inline ::google::protobuf::uint32 PoolingParameter::pad() const {
26392   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.pad)
26393   return pad_;
26394 }
set_pad(::google::protobuf::uint32 value)26395 inline void PoolingParameter::set_pad(::google::protobuf::uint32 value) {
26396   set_has_pad();
26397   pad_ = value;
26398   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.pad)
26399 }
26400 
26401 // optional uint32 pad_h = 9 [default = 0];
has_pad_h()26402 inline bool PoolingParameter::has_pad_h() const {
26403   return (_has_bits_[0] & 0x00000080u) != 0;
26404 }
set_has_pad_h()26405 inline void PoolingParameter::set_has_pad_h() {
26406   _has_bits_[0] |= 0x00000080u;
26407 }
clear_has_pad_h()26408 inline void PoolingParameter::clear_has_pad_h() {
26409   _has_bits_[0] &= ~0x00000080u;
26410 }
clear_pad_h()26411 inline void PoolingParameter::clear_pad_h() {
26412   pad_h_ = 0u;
26413   clear_has_pad_h();
26414 }
pad_h()26415 inline ::google::protobuf::uint32 PoolingParameter::pad_h() const {
26416   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.pad_h)
26417   return pad_h_;
26418 }
set_pad_h(::google::protobuf::uint32 value)26419 inline void PoolingParameter::set_pad_h(::google::protobuf::uint32 value) {
26420   set_has_pad_h();
26421   pad_h_ = value;
26422   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.pad_h)
26423 }
26424 
26425 // optional uint32 pad_w = 10 [default = 0];
has_pad_w()26426 inline bool PoolingParameter::has_pad_w() const {
26427   return (_has_bits_[0] & 0x00000100u) != 0;
26428 }
set_has_pad_w()26429 inline void PoolingParameter::set_has_pad_w() {
26430   _has_bits_[0] |= 0x00000100u;
26431 }
clear_has_pad_w()26432 inline void PoolingParameter::clear_has_pad_w() {
26433   _has_bits_[0] &= ~0x00000100u;
26434 }
clear_pad_w()26435 inline void PoolingParameter::clear_pad_w() {
26436   pad_w_ = 0u;
26437   clear_has_pad_w();
26438 }
pad_w()26439 inline ::google::protobuf::uint32 PoolingParameter::pad_w() const {
26440   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.pad_w)
26441   return pad_w_;
26442 }
set_pad_w(::google::protobuf::uint32 value)26443 inline void PoolingParameter::set_pad_w(::google::protobuf::uint32 value) {
26444   set_has_pad_w();
26445   pad_w_ = value;
26446   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.pad_w)
26447 }
26448 
26449 // optional uint32 kernel_size = 2;
has_kernel_size()26450 inline bool PoolingParameter::has_kernel_size() const {
26451   return (_has_bits_[0] & 0x00000002u) != 0;
26452 }
set_has_kernel_size()26453 inline void PoolingParameter::set_has_kernel_size() {
26454   _has_bits_[0] |= 0x00000002u;
26455 }
clear_has_kernel_size()26456 inline void PoolingParameter::clear_has_kernel_size() {
26457   _has_bits_[0] &= ~0x00000002u;
26458 }
clear_kernel_size()26459 inline void PoolingParameter::clear_kernel_size() {
26460   kernel_size_ = 0u;
26461   clear_has_kernel_size();
26462 }
kernel_size()26463 inline ::google::protobuf::uint32 PoolingParameter::kernel_size() const {
26464   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.kernel_size)
26465   return kernel_size_;
26466 }
set_kernel_size(::google::protobuf::uint32 value)26467 inline void PoolingParameter::set_kernel_size(::google::protobuf::uint32 value) {
26468   set_has_kernel_size();
26469   kernel_size_ = value;
26470   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.kernel_size)
26471 }
26472 
26473 // optional uint32 kernel_h = 5;
has_kernel_h()26474 inline bool PoolingParameter::has_kernel_h() const {
26475   return (_has_bits_[0] & 0x00000008u) != 0;
26476 }
set_has_kernel_h()26477 inline void PoolingParameter::set_has_kernel_h() {
26478   _has_bits_[0] |= 0x00000008u;
26479 }
clear_has_kernel_h()26480 inline void PoolingParameter::clear_has_kernel_h() {
26481   _has_bits_[0] &= ~0x00000008u;
26482 }
clear_kernel_h()26483 inline void PoolingParameter::clear_kernel_h() {
26484   kernel_h_ = 0u;
26485   clear_has_kernel_h();
26486 }
kernel_h()26487 inline ::google::protobuf::uint32 PoolingParameter::kernel_h() const {
26488   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.kernel_h)
26489   return kernel_h_;
26490 }
set_kernel_h(::google::protobuf::uint32 value)26491 inline void PoolingParameter::set_kernel_h(::google::protobuf::uint32 value) {
26492   set_has_kernel_h();
26493   kernel_h_ = value;
26494   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.kernel_h)
26495 }
26496 
26497 // optional uint32 kernel_w = 6;
has_kernel_w()26498 inline bool PoolingParameter::has_kernel_w() const {
26499   return (_has_bits_[0] & 0x00000010u) != 0;
26500 }
set_has_kernel_w()26501 inline void PoolingParameter::set_has_kernel_w() {
26502   _has_bits_[0] |= 0x00000010u;
26503 }
clear_has_kernel_w()26504 inline void PoolingParameter::clear_has_kernel_w() {
26505   _has_bits_[0] &= ~0x00000010u;
26506 }
clear_kernel_w()26507 inline void PoolingParameter::clear_kernel_w() {
26508   kernel_w_ = 0u;
26509   clear_has_kernel_w();
26510 }
kernel_w()26511 inline ::google::protobuf::uint32 PoolingParameter::kernel_w() const {
26512   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.kernel_w)
26513   return kernel_w_;
26514 }
set_kernel_w(::google::protobuf::uint32 value)26515 inline void PoolingParameter::set_kernel_w(::google::protobuf::uint32 value) {
26516   set_has_kernel_w();
26517   kernel_w_ = value;
26518   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.kernel_w)
26519 }
26520 
26521 // optional uint32 stride = 3 [default = 1];
has_stride()26522 inline bool PoolingParameter::has_stride() const {
26523   return (_has_bits_[0] & 0x00000800u) != 0;
26524 }
set_has_stride()26525 inline void PoolingParameter::set_has_stride() {
26526   _has_bits_[0] |= 0x00000800u;
26527 }
clear_has_stride()26528 inline void PoolingParameter::clear_has_stride() {
26529   _has_bits_[0] &= ~0x00000800u;
26530 }
clear_stride()26531 inline void PoolingParameter::clear_stride() {
26532   stride_ = 1u;
26533   clear_has_stride();
26534 }
stride()26535 inline ::google::protobuf::uint32 PoolingParameter::stride() const {
26536   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.stride)
26537   return stride_;
26538 }
set_stride(::google::protobuf::uint32 value)26539 inline void PoolingParameter::set_stride(::google::protobuf::uint32 value) {
26540   set_has_stride();
26541   stride_ = value;
26542   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.stride)
26543 }
26544 
26545 // optional uint32 stride_h = 7;
has_stride_h()26546 inline bool PoolingParameter::has_stride_h() const {
26547   return (_has_bits_[0] & 0x00000020u) != 0;
26548 }
set_has_stride_h()26549 inline void PoolingParameter::set_has_stride_h() {
26550   _has_bits_[0] |= 0x00000020u;
26551 }
clear_has_stride_h()26552 inline void PoolingParameter::clear_has_stride_h() {
26553   _has_bits_[0] &= ~0x00000020u;
26554 }
clear_stride_h()26555 inline void PoolingParameter::clear_stride_h() {
26556   stride_h_ = 0u;
26557   clear_has_stride_h();
26558 }
stride_h()26559 inline ::google::protobuf::uint32 PoolingParameter::stride_h() const {
26560   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.stride_h)
26561   return stride_h_;
26562 }
set_stride_h(::google::protobuf::uint32 value)26563 inline void PoolingParameter::set_stride_h(::google::protobuf::uint32 value) {
26564   set_has_stride_h();
26565   stride_h_ = value;
26566   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.stride_h)
26567 }
26568 
26569 // optional uint32 stride_w = 8;
has_stride_w()26570 inline bool PoolingParameter::has_stride_w() const {
26571   return (_has_bits_[0] & 0x00000040u) != 0;
26572 }
set_has_stride_w()26573 inline void PoolingParameter::set_has_stride_w() {
26574   _has_bits_[0] |= 0x00000040u;
26575 }
clear_has_stride_w()26576 inline void PoolingParameter::clear_has_stride_w() {
26577   _has_bits_[0] &= ~0x00000040u;
26578 }
clear_stride_w()26579 inline void PoolingParameter::clear_stride_w() {
26580   stride_w_ = 0u;
26581   clear_has_stride_w();
26582 }
stride_w()26583 inline ::google::protobuf::uint32 PoolingParameter::stride_w() const {
26584   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.stride_w)
26585   return stride_w_;
26586 }
set_stride_w(::google::protobuf::uint32 value)26587 inline void PoolingParameter::set_stride_w(::google::protobuf::uint32 value) {
26588   set_has_stride_w();
26589   stride_w_ = value;
26590   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.stride_w)
26591 }
26592 
26593 // optional .opencv_caffe.PoolingParameter.Engine engine = 11 [default = DEFAULT];
has_engine()26594 inline bool PoolingParameter::has_engine() const {
26595   return (_has_bits_[0] & 0x00000200u) != 0;
26596 }
set_has_engine()26597 inline void PoolingParameter::set_has_engine() {
26598   _has_bits_[0] |= 0x00000200u;
26599 }
clear_has_engine()26600 inline void PoolingParameter::clear_has_engine() {
26601   _has_bits_[0] &= ~0x00000200u;
26602 }
clear_engine()26603 inline void PoolingParameter::clear_engine() {
26604   engine_ = 0;
26605   clear_has_engine();
26606 }
engine()26607 inline ::opencv_caffe::PoolingParameter_Engine PoolingParameter::engine() const {
26608   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.engine)
26609   return static_cast< ::opencv_caffe::PoolingParameter_Engine >(engine_);
26610 }
set_engine(::opencv_caffe::PoolingParameter_Engine value)26611 inline void PoolingParameter::set_engine(::opencv_caffe::PoolingParameter_Engine value) {
26612   assert(::opencv_caffe::PoolingParameter_Engine_IsValid(value));
26613   set_has_engine();
26614   engine_ = value;
26615   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.engine)
26616 }
26617 
26618 // optional bool global_pooling = 12 [default = false];
has_global_pooling()26619 inline bool PoolingParameter::has_global_pooling() const {
26620   return (_has_bits_[0] & 0x00000400u) != 0;
26621 }
set_has_global_pooling()26622 inline void PoolingParameter::set_has_global_pooling() {
26623   _has_bits_[0] |= 0x00000400u;
26624 }
clear_has_global_pooling()26625 inline void PoolingParameter::clear_has_global_pooling() {
26626   _has_bits_[0] &= ~0x00000400u;
26627 }
clear_global_pooling()26628 inline void PoolingParameter::clear_global_pooling() {
26629   global_pooling_ = false;
26630   clear_has_global_pooling();
26631 }
global_pooling()26632 inline bool PoolingParameter::global_pooling() const {
26633   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.global_pooling)
26634   return global_pooling_;
26635 }
set_global_pooling(bool value)26636 inline void PoolingParameter::set_global_pooling(bool value) {
26637   set_has_global_pooling();
26638   global_pooling_ = value;
26639   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.global_pooling)
26640 }
26641 
26642 // optional bool ceil_mode = 13 [default = true];
has_ceil_mode()26643 inline bool PoolingParameter::has_ceil_mode() const {
26644   return (_has_bits_[0] & 0x00001000u) != 0;
26645 }
set_has_ceil_mode()26646 inline void PoolingParameter::set_has_ceil_mode() {
26647   _has_bits_[0] |= 0x00001000u;
26648 }
clear_has_ceil_mode()26649 inline void PoolingParameter::clear_has_ceil_mode() {
26650   _has_bits_[0] &= ~0x00001000u;
26651 }
clear_ceil_mode()26652 inline void PoolingParameter::clear_ceil_mode() {
26653   ceil_mode_ = true;
26654   clear_has_ceil_mode();
26655 }
ceil_mode()26656 inline bool PoolingParameter::ceil_mode() const {
26657   // @@protoc_insertion_point(field_get:opencv_caffe.PoolingParameter.ceil_mode)
26658   return ceil_mode_;
26659 }
set_ceil_mode(bool value)26660 inline void PoolingParameter::set_ceil_mode(bool value) {
26661   set_has_ceil_mode();
26662   ceil_mode_ = value;
26663   // @@protoc_insertion_point(field_set:opencv_caffe.PoolingParameter.ceil_mode)
26664 }
26665 
26666 // -------------------------------------------------------------------
26667 
26668 // PowerParameter
26669 
26670 // optional float power = 1 [default = 1];
has_power()26671 inline bool PowerParameter::has_power() const {
26672   return (_has_bits_[0] & 0x00000002u) != 0;
26673 }
set_has_power()26674 inline void PowerParameter::set_has_power() {
26675   _has_bits_[0] |= 0x00000002u;
26676 }
clear_has_power()26677 inline void PowerParameter::clear_has_power() {
26678   _has_bits_[0] &= ~0x00000002u;
26679 }
clear_power()26680 inline void PowerParameter::clear_power() {
26681   power_ = 1;
26682   clear_has_power();
26683 }
power()26684 inline float PowerParameter::power() const {
26685   // @@protoc_insertion_point(field_get:opencv_caffe.PowerParameter.power)
26686   return power_;
26687 }
set_power(float value)26688 inline void PowerParameter::set_power(float value) {
26689   set_has_power();
26690   power_ = value;
26691   // @@protoc_insertion_point(field_set:opencv_caffe.PowerParameter.power)
26692 }
26693 
26694 // optional float scale = 2 [default = 1];
has_scale()26695 inline bool PowerParameter::has_scale() const {
26696   return (_has_bits_[0] & 0x00000004u) != 0;
26697 }
set_has_scale()26698 inline void PowerParameter::set_has_scale() {
26699   _has_bits_[0] |= 0x00000004u;
26700 }
clear_has_scale()26701 inline void PowerParameter::clear_has_scale() {
26702   _has_bits_[0] &= ~0x00000004u;
26703 }
clear_scale()26704 inline void PowerParameter::clear_scale() {
26705   scale_ = 1;
26706   clear_has_scale();
26707 }
scale()26708 inline float PowerParameter::scale() const {
26709   // @@protoc_insertion_point(field_get:opencv_caffe.PowerParameter.scale)
26710   return scale_;
26711 }
set_scale(float value)26712 inline void PowerParameter::set_scale(float value) {
26713   set_has_scale();
26714   scale_ = value;
26715   // @@protoc_insertion_point(field_set:opencv_caffe.PowerParameter.scale)
26716 }
26717 
26718 // optional float shift = 3 [default = 0];
has_shift()26719 inline bool PowerParameter::has_shift() const {
26720   return (_has_bits_[0] & 0x00000001u) != 0;
26721 }
set_has_shift()26722 inline void PowerParameter::set_has_shift() {
26723   _has_bits_[0] |= 0x00000001u;
26724 }
clear_has_shift()26725 inline void PowerParameter::clear_has_shift() {
26726   _has_bits_[0] &= ~0x00000001u;
26727 }
clear_shift()26728 inline void PowerParameter::clear_shift() {
26729   shift_ = 0;
26730   clear_has_shift();
26731 }
shift()26732 inline float PowerParameter::shift() const {
26733   // @@protoc_insertion_point(field_get:opencv_caffe.PowerParameter.shift)
26734   return shift_;
26735 }
set_shift(float value)26736 inline void PowerParameter::set_shift(float value) {
26737   set_has_shift();
26738   shift_ = value;
26739   // @@protoc_insertion_point(field_set:opencv_caffe.PowerParameter.shift)
26740 }
26741 
26742 // -------------------------------------------------------------------
26743 
26744 // PythonParameter
26745 
26746 // optional string module = 1;
has_module()26747 inline bool PythonParameter::has_module() const {
26748   return (_has_bits_[0] & 0x00000001u) != 0;
26749 }
set_has_module()26750 inline void PythonParameter::set_has_module() {
26751   _has_bits_[0] |= 0x00000001u;
26752 }
clear_has_module()26753 inline void PythonParameter::clear_has_module() {
26754   _has_bits_[0] &= ~0x00000001u;
26755 }
clear_module()26756 inline void PythonParameter::clear_module() {
26757   module_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
26758   clear_has_module();
26759 }
module()26760 inline const ::std::string& PythonParameter::module() const {
26761   // @@protoc_insertion_point(field_get:opencv_caffe.PythonParameter.module)
26762   return module_.GetNoArena();
26763 }
set_module(const::std::string & value)26764 inline void PythonParameter::set_module(const ::std::string& value) {
26765   set_has_module();
26766   module_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
26767   // @@protoc_insertion_point(field_set:opencv_caffe.PythonParameter.module)
26768 }
26769 #if LANG_CXX11
set_module(::std::string && value)26770 inline void PythonParameter::set_module(::std::string&& value) {
26771   set_has_module();
26772   module_.SetNoArena(
26773     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
26774   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.PythonParameter.module)
26775 }
26776 #endif
set_module(const char * value)26777 inline void PythonParameter::set_module(const char* value) {
26778   GOOGLE_DCHECK(value != NULL);
26779   set_has_module();
26780   module_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
26781   // @@protoc_insertion_point(field_set_char:opencv_caffe.PythonParameter.module)
26782 }
set_module(const char * value,size_t size)26783 inline void PythonParameter::set_module(const char* value, size_t size) {
26784   set_has_module();
26785   module_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
26786       ::std::string(reinterpret_cast<const char*>(value), size));
26787   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.PythonParameter.module)
26788 }
mutable_module()26789 inline ::std::string* PythonParameter::mutable_module() {
26790   set_has_module();
26791   // @@protoc_insertion_point(field_mutable:opencv_caffe.PythonParameter.module)
26792   return module_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
26793 }
release_module()26794 inline ::std::string* PythonParameter::release_module() {
26795   // @@protoc_insertion_point(field_release:opencv_caffe.PythonParameter.module)
26796   clear_has_module();
26797   return module_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
26798 }
set_allocated_module(::std::string * module)26799 inline void PythonParameter::set_allocated_module(::std::string* module) {
26800   if (module != NULL) {
26801     set_has_module();
26802   } else {
26803     clear_has_module();
26804   }
26805   module_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), module);
26806   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.PythonParameter.module)
26807 }
26808 
26809 // optional string layer = 2;
has_layer()26810 inline bool PythonParameter::has_layer() const {
26811   return (_has_bits_[0] & 0x00000002u) != 0;
26812 }
set_has_layer()26813 inline void PythonParameter::set_has_layer() {
26814   _has_bits_[0] |= 0x00000002u;
26815 }
clear_has_layer()26816 inline void PythonParameter::clear_has_layer() {
26817   _has_bits_[0] &= ~0x00000002u;
26818 }
clear_layer()26819 inline void PythonParameter::clear_layer() {
26820   layer_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
26821   clear_has_layer();
26822 }
layer()26823 inline const ::std::string& PythonParameter::layer() const {
26824   // @@protoc_insertion_point(field_get:opencv_caffe.PythonParameter.layer)
26825   return layer_.GetNoArena();
26826 }
set_layer(const::std::string & value)26827 inline void PythonParameter::set_layer(const ::std::string& value) {
26828   set_has_layer();
26829   layer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
26830   // @@protoc_insertion_point(field_set:opencv_caffe.PythonParameter.layer)
26831 }
26832 #if LANG_CXX11
set_layer(::std::string && value)26833 inline void PythonParameter::set_layer(::std::string&& value) {
26834   set_has_layer();
26835   layer_.SetNoArena(
26836     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
26837   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.PythonParameter.layer)
26838 }
26839 #endif
set_layer(const char * value)26840 inline void PythonParameter::set_layer(const char* value) {
26841   GOOGLE_DCHECK(value != NULL);
26842   set_has_layer();
26843   layer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
26844   // @@protoc_insertion_point(field_set_char:opencv_caffe.PythonParameter.layer)
26845 }
set_layer(const char * value,size_t size)26846 inline void PythonParameter::set_layer(const char* value, size_t size) {
26847   set_has_layer();
26848   layer_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
26849       ::std::string(reinterpret_cast<const char*>(value), size));
26850   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.PythonParameter.layer)
26851 }
mutable_layer()26852 inline ::std::string* PythonParameter::mutable_layer() {
26853   set_has_layer();
26854   // @@protoc_insertion_point(field_mutable:opencv_caffe.PythonParameter.layer)
26855   return layer_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
26856 }
release_layer()26857 inline ::std::string* PythonParameter::release_layer() {
26858   // @@protoc_insertion_point(field_release:opencv_caffe.PythonParameter.layer)
26859   clear_has_layer();
26860   return layer_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
26861 }
set_allocated_layer(::std::string * layer)26862 inline void PythonParameter::set_allocated_layer(::std::string* layer) {
26863   if (layer != NULL) {
26864     set_has_layer();
26865   } else {
26866     clear_has_layer();
26867   }
26868   layer_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), layer);
26869   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.PythonParameter.layer)
26870 }
26871 
26872 // optional string param_str = 3 [default = ""];
has_param_str()26873 inline bool PythonParameter::has_param_str() const {
26874   return (_has_bits_[0] & 0x00000004u) != 0;
26875 }
set_has_param_str()26876 inline void PythonParameter::set_has_param_str() {
26877   _has_bits_[0] |= 0x00000004u;
26878 }
clear_has_param_str()26879 inline void PythonParameter::clear_has_param_str() {
26880   _has_bits_[0] &= ~0x00000004u;
26881 }
clear_param_str()26882 inline void PythonParameter::clear_param_str() {
26883   param_str_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
26884   clear_has_param_str();
26885 }
param_str()26886 inline const ::std::string& PythonParameter::param_str() const {
26887   // @@protoc_insertion_point(field_get:opencv_caffe.PythonParameter.param_str)
26888   return param_str_.GetNoArena();
26889 }
set_param_str(const::std::string & value)26890 inline void PythonParameter::set_param_str(const ::std::string& value) {
26891   set_has_param_str();
26892   param_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
26893   // @@protoc_insertion_point(field_set:opencv_caffe.PythonParameter.param_str)
26894 }
26895 #if LANG_CXX11
set_param_str(::std::string && value)26896 inline void PythonParameter::set_param_str(::std::string&& value) {
26897   set_has_param_str();
26898   param_str_.SetNoArena(
26899     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
26900   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.PythonParameter.param_str)
26901 }
26902 #endif
set_param_str(const char * value)26903 inline void PythonParameter::set_param_str(const char* value) {
26904   GOOGLE_DCHECK(value != NULL);
26905   set_has_param_str();
26906   param_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
26907   // @@protoc_insertion_point(field_set_char:opencv_caffe.PythonParameter.param_str)
26908 }
set_param_str(const char * value,size_t size)26909 inline void PythonParameter::set_param_str(const char* value, size_t size) {
26910   set_has_param_str();
26911   param_str_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
26912       ::std::string(reinterpret_cast<const char*>(value), size));
26913   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.PythonParameter.param_str)
26914 }
mutable_param_str()26915 inline ::std::string* PythonParameter::mutable_param_str() {
26916   set_has_param_str();
26917   // @@protoc_insertion_point(field_mutable:opencv_caffe.PythonParameter.param_str)
26918   return param_str_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
26919 }
release_param_str()26920 inline ::std::string* PythonParameter::release_param_str() {
26921   // @@protoc_insertion_point(field_release:opencv_caffe.PythonParameter.param_str)
26922   clear_has_param_str();
26923   return param_str_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
26924 }
set_allocated_param_str(::std::string * param_str)26925 inline void PythonParameter::set_allocated_param_str(::std::string* param_str) {
26926   if (param_str != NULL) {
26927     set_has_param_str();
26928   } else {
26929     clear_has_param_str();
26930   }
26931   param_str_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), param_str);
26932   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.PythonParameter.param_str)
26933 }
26934 
26935 // optional bool share_in_parallel = 4 [default = false];
has_share_in_parallel()26936 inline bool PythonParameter::has_share_in_parallel() const {
26937   return (_has_bits_[0] & 0x00000008u) != 0;
26938 }
set_has_share_in_parallel()26939 inline void PythonParameter::set_has_share_in_parallel() {
26940   _has_bits_[0] |= 0x00000008u;
26941 }
clear_has_share_in_parallel()26942 inline void PythonParameter::clear_has_share_in_parallel() {
26943   _has_bits_[0] &= ~0x00000008u;
26944 }
clear_share_in_parallel()26945 inline void PythonParameter::clear_share_in_parallel() {
26946   share_in_parallel_ = false;
26947   clear_has_share_in_parallel();
26948 }
share_in_parallel()26949 inline bool PythonParameter::share_in_parallel() const {
26950   // @@protoc_insertion_point(field_get:opencv_caffe.PythonParameter.share_in_parallel)
26951   return share_in_parallel_;
26952 }
set_share_in_parallel(bool value)26953 inline void PythonParameter::set_share_in_parallel(bool value) {
26954   set_has_share_in_parallel();
26955   share_in_parallel_ = value;
26956   // @@protoc_insertion_point(field_set:opencv_caffe.PythonParameter.share_in_parallel)
26957 }
26958 
26959 // -------------------------------------------------------------------
26960 
26961 // RecurrentParameter
26962 
26963 // optional uint32 num_output = 1 [default = 0];
has_num_output()26964 inline bool RecurrentParameter::has_num_output() const {
26965   return (_has_bits_[0] & 0x00000004u) != 0;
26966 }
set_has_num_output()26967 inline void RecurrentParameter::set_has_num_output() {
26968   _has_bits_[0] |= 0x00000004u;
26969 }
clear_has_num_output()26970 inline void RecurrentParameter::clear_has_num_output() {
26971   _has_bits_[0] &= ~0x00000004u;
26972 }
clear_num_output()26973 inline void RecurrentParameter::clear_num_output() {
26974   num_output_ = 0u;
26975   clear_has_num_output();
26976 }
num_output()26977 inline ::google::protobuf::uint32 RecurrentParameter::num_output() const {
26978   // @@protoc_insertion_point(field_get:opencv_caffe.RecurrentParameter.num_output)
26979   return num_output_;
26980 }
set_num_output(::google::protobuf::uint32 value)26981 inline void RecurrentParameter::set_num_output(::google::protobuf::uint32 value) {
26982   set_has_num_output();
26983   num_output_ = value;
26984   // @@protoc_insertion_point(field_set:opencv_caffe.RecurrentParameter.num_output)
26985 }
26986 
26987 // optional .opencv_caffe.FillerParameter weight_filler = 2;
has_weight_filler()26988 inline bool RecurrentParameter::has_weight_filler() const {
26989   return (_has_bits_[0] & 0x00000001u) != 0;
26990 }
set_has_weight_filler()26991 inline void RecurrentParameter::set_has_weight_filler() {
26992   _has_bits_[0] |= 0x00000001u;
26993 }
clear_has_weight_filler()26994 inline void RecurrentParameter::clear_has_weight_filler() {
26995   _has_bits_[0] &= ~0x00000001u;
26996 }
clear_weight_filler()26997 inline void RecurrentParameter::clear_weight_filler() {
26998   if (weight_filler_ != NULL) weight_filler_->Clear();
26999   clear_has_weight_filler();
27000 }
weight_filler()27001 inline const ::opencv_caffe::FillerParameter& RecurrentParameter::weight_filler() const {
27002   const ::opencv_caffe::FillerParameter* p = weight_filler_;
27003   // @@protoc_insertion_point(field_get:opencv_caffe.RecurrentParameter.weight_filler)
27004   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
27005       &::opencv_caffe::_FillerParameter_default_instance_);
27006 }
release_weight_filler()27007 inline ::opencv_caffe::FillerParameter* RecurrentParameter::release_weight_filler() {
27008   // @@protoc_insertion_point(field_release:opencv_caffe.RecurrentParameter.weight_filler)
27009   clear_has_weight_filler();
27010   ::opencv_caffe::FillerParameter* temp = weight_filler_;
27011   weight_filler_ = NULL;
27012   return temp;
27013 }
mutable_weight_filler()27014 inline ::opencv_caffe::FillerParameter* RecurrentParameter::mutable_weight_filler() {
27015   set_has_weight_filler();
27016   if (weight_filler_ == NULL) {
27017     weight_filler_ = new ::opencv_caffe::FillerParameter;
27018   }
27019   // @@protoc_insertion_point(field_mutable:opencv_caffe.RecurrentParameter.weight_filler)
27020   return weight_filler_;
27021 }
set_allocated_weight_filler(::opencv_caffe::FillerParameter * weight_filler)27022 inline void RecurrentParameter::set_allocated_weight_filler(::opencv_caffe::FillerParameter* weight_filler) {
27023   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
27024   if (message_arena == NULL) {
27025     delete weight_filler_;
27026   }
27027   if (weight_filler) {
27028     ::google::protobuf::Arena* submessage_arena = NULL;
27029     if (message_arena != submessage_arena) {
27030       weight_filler = ::google::protobuf::internal::GetOwnedMessage(
27031           message_arena, weight_filler, submessage_arena);
27032     }
27033     set_has_weight_filler();
27034   } else {
27035     clear_has_weight_filler();
27036   }
27037   weight_filler_ = weight_filler;
27038   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.RecurrentParameter.weight_filler)
27039 }
27040 
27041 // optional .opencv_caffe.FillerParameter bias_filler = 3;
has_bias_filler()27042 inline bool RecurrentParameter::has_bias_filler() const {
27043   return (_has_bits_[0] & 0x00000002u) != 0;
27044 }
set_has_bias_filler()27045 inline void RecurrentParameter::set_has_bias_filler() {
27046   _has_bits_[0] |= 0x00000002u;
27047 }
clear_has_bias_filler()27048 inline void RecurrentParameter::clear_has_bias_filler() {
27049   _has_bits_[0] &= ~0x00000002u;
27050 }
clear_bias_filler()27051 inline void RecurrentParameter::clear_bias_filler() {
27052   if (bias_filler_ != NULL) bias_filler_->Clear();
27053   clear_has_bias_filler();
27054 }
bias_filler()27055 inline const ::opencv_caffe::FillerParameter& RecurrentParameter::bias_filler() const {
27056   const ::opencv_caffe::FillerParameter* p = bias_filler_;
27057   // @@protoc_insertion_point(field_get:opencv_caffe.RecurrentParameter.bias_filler)
27058   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
27059       &::opencv_caffe::_FillerParameter_default_instance_);
27060 }
release_bias_filler()27061 inline ::opencv_caffe::FillerParameter* RecurrentParameter::release_bias_filler() {
27062   // @@protoc_insertion_point(field_release:opencv_caffe.RecurrentParameter.bias_filler)
27063   clear_has_bias_filler();
27064   ::opencv_caffe::FillerParameter* temp = bias_filler_;
27065   bias_filler_ = NULL;
27066   return temp;
27067 }
mutable_bias_filler()27068 inline ::opencv_caffe::FillerParameter* RecurrentParameter::mutable_bias_filler() {
27069   set_has_bias_filler();
27070   if (bias_filler_ == NULL) {
27071     bias_filler_ = new ::opencv_caffe::FillerParameter;
27072   }
27073   // @@protoc_insertion_point(field_mutable:opencv_caffe.RecurrentParameter.bias_filler)
27074   return bias_filler_;
27075 }
set_allocated_bias_filler(::opencv_caffe::FillerParameter * bias_filler)27076 inline void RecurrentParameter::set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler) {
27077   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
27078   if (message_arena == NULL) {
27079     delete bias_filler_;
27080   }
27081   if (bias_filler) {
27082     ::google::protobuf::Arena* submessage_arena = NULL;
27083     if (message_arena != submessage_arena) {
27084       bias_filler = ::google::protobuf::internal::GetOwnedMessage(
27085           message_arena, bias_filler, submessage_arena);
27086     }
27087     set_has_bias_filler();
27088   } else {
27089     clear_has_bias_filler();
27090   }
27091   bias_filler_ = bias_filler;
27092   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.RecurrentParameter.bias_filler)
27093 }
27094 
27095 // optional bool debug_info = 4 [default = false];
has_debug_info()27096 inline bool RecurrentParameter::has_debug_info() const {
27097   return (_has_bits_[0] & 0x00000008u) != 0;
27098 }
set_has_debug_info()27099 inline void RecurrentParameter::set_has_debug_info() {
27100   _has_bits_[0] |= 0x00000008u;
27101 }
clear_has_debug_info()27102 inline void RecurrentParameter::clear_has_debug_info() {
27103   _has_bits_[0] &= ~0x00000008u;
27104 }
clear_debug_info()27105 inline void RecurrentParameter::clear_debug_info() {
27106   debug_info_ = false;
27107   clear_has_debug_info();
27108 }
debug_info()27109 inline bool RecurrentParameter::debug_info() const {
27110   // @@protoc_insertion_point(field_get:opencv_caffe.RecurrentParameter.debug_info)
27111   return debug_info_;
27112 }
set_debug_info(bool value)27113 inline void RecurrentParameter::set_debug_info(bool value) {
27114   set_has_debug_info();
27115   debug_info_ = value;
27116   // @@protoc_insertion_point(field_set:opencv_caffe.RecurrentParameter.debug_info)
27117 }
27118 
27119 // optional bool expose_hidden = 5 [default = false];
has_expose_hidden()27120 inline bool RecurrentParameter::has_expose_hidden() const {
27121   return (_has_bits_[0] & 0x00000010u) != 0;
27122 }
set_has_expose_hidden()27123 inline void RecurrentParameter::set_has_expose_hidden() {
27124   _has_bits_[0] |= 0x00000010u;
27125 }
clear_has_expose_hidden()27126 inline void RecurrentParameter::clear_has_expose_hidden() {
27127   _has_bits_[0] &= ~0x00000010u;
27128 }
clear_expose_hidden()27129 inline void RecurrentParameter::clear_expose_hidden() {
27130   expose_hidden_ = false;
27131   clear_has_expose_hidden();
27132 }
expose_hidden()27133 inline bool RecurrentParameter::expose_hidden() const {
27134   // @@protoc_insertion_point(field_get:opencv_caffe.RecurrentParameter.expose_hidden)
27135   return expose_hidden_;
27136 }
set_expose_hidden(bool value)27137 inline void RecurrentParameter::set_expose_hidden(bool value) {
27138   set_has_expose_hidden();
27139   expose_hidden_ = value;
27140   // @@protoc_insertion_point(field_set:opencv_caffe.RecurrentParameter.expose_hidden)
27141 }
27142 
27143 // -------------------------------------------------------------------
27144 
27145 // ReductionParameter
27146 
27147 // optional .opencv_caffe.ReductionParameter.ReductionOp operation = 1 [default = SUM];
has_operation()27148 inline bool ReductionParameter::has_operation() const {
27149   return (_has_bits_[0] & 0x00000002u) != 0;
27150 }
set_has_operation()27151 inline void ReductionParameter::set_has_operation() {
27152   _has_bits_[0] |= 0x00000002u;
27153 }
clear_has_operation()27154 inline void ReductionParameter::clear_has_operation() {
27155   _has_bits_[0] &= ~0x00000002u;
27156 }
clear_operation()27157 inline void ReductionParameter::clear_operation() {
27158   operation_ = 1;
27159   clear_has_operation();
27160 }
operation()27161 inline ::opencv_caffe::ReductionParameter_ReductionOp ReductionParameter::operation() const {
27162   // @@protoc_insertion_point(field_get:opencv_caffe.ReductionParameter.operation)
27163   return static_cast< ::opencv_caffe::ReductionParameter_ReductionOp >(operation_);
27164 }
set_operation(::opencv_caffe::ReductionParameter_ReductionOp value)27165 inline void ReductionParameter::set_operation(::opencv_caffe::ReductionParameter_ReductionOp value) {
27166   assert(::opencv_caffe::ReductionParameter_ReductionOp_IsValid(value));
27167   set_has_operation();
27168   operation_ = value;
27169   // @@protoc_insertion_point(field_set:opencv_caffe.ReductionParameter.operation)
27170 }
27171 
27172 // optional int32 axis = 2 [default = 0];
has_axis()27173 inline bool ReductionParameter::has_axis() const {
27174   return (_has_bits_[0] & 0x00000001u) != 0;
27175 }
set_has_axis()27176 inline void ReductionParameter::set_has_axis() {
27177   _has_bits_[0] |= 0x00000001u;
27178 }
clear_has_axis()27179 inline void ReductionParameter::clear_has_axis() {
27180   _has_bits_[0] &= ~0x00000001u;
27181 }
clear_axis()27182 inline void ReductionParameter::clear_axis() {
27183   axis_ = 0;
27184   clear_has_axis();
27185 }
axis()27186 inline ::google::protobuf::int32 ReductionParameter::axis() const {
27187   // @@protoc_insertion_point(field_get:opencv_caffe.ReductionParameter.axis)
27188   return axis_;
27189 }
set_axis(::google::protobuf::int32 value)27190 inline void ReductionParameter::set_axis(::google::protobuf::int32 value) {
27191   set_has_axis();
27192   axis_ = value;
27193   // @@protoc_insertion_point(field_set:opencv_caffe.ReductionParameter.axis)
27194 }
27195 
27196 // optional float coeff = 3 [default = 1];
has_coeff()27197 inline bool ReductionParameter::has_coeff() const {
27198   return (_has_bits_[0] & 0x00000004u) != 0;
27199 }
set_has_coeff()27200 inline void ReductionParameter::set_has_coeff() {
27201   _has_bits_[0] |= 0x00000004u;
27202 }
clear_has_coeff()27203 inline void ReductionParameter::clear_has_coeff() {
27204   _has_bits_[0] &= ~0x00000004u;
27205 }
clear_coeff()27206 inline void ReductionParameter::clear_coeff() {
27207   coeff_ = 1;
27208   clear_has_coeff();
27209 }
coeff()27210 inline float ReductionParameter::coeff() const {
27211   // @@protoc_insertion_point(field_get:opencv_caffe.ReductionParameter.coeff)
27212   return coeff_;
27213 }
set_coeff(float value)27214 inline void ReductionParameter::set_coeff(float value) {
27215   set_has_coeff();
27216   coeff_ = value;
27217   // @@protoc_insertion_point(field_set:opencv_caffe.ReductionParameter.coeff)
27218 }
27219 
27220 // -------------------------------------------------------------------
27221 
27222 // ReLUParameter
27223 
27224 // optional float negative_slope = 1 [default = 0];
has_negative_slope()27225 inline bool ReLUParameter::has_negative_slope() const {
27226   return (_has_bits_[0] & 0x00000001u) != 0;
27227 }
set_has_negative_slope()27228 inline void ReLUParameter::set_has_negative_slope() {
27229   _has_bits_[0] |= 0x00000001u;
27230 }
clear_has_negative_slope()27231 inline void ReLUParameter::clear_has_negative_slope() {
27232   _has_bits_[0] &= ~0x00000001u;
27233 }
clear_negative_slope()27234 inline void ReLUParameter::clear_negative_slope() {
27235   negative_slope_ = 0;
27236   clear_has_negative_slope();
27237 }
negative_slope()27238 inline float ReLUParameter::negative_slope() const {
27239   // @@protoc_insertion_point(field_get:opencv_caffe.ReLUParameter.negative_slope)
27240   return negative_slope_;
27241 }
set_negative_slope(float value)27242 inline void ReLUParameter::set_negative_slope(float value) {
27243   set_has_negative_slope();
27244   negative_slope_ = value;
27245   // @@protoc_insertion_point(field_set:opencv_caffe.ReLUParameter.negative_slope)
27246 }
27247 
27248 // optional .opencv_caffe.ReLUParameter.Engine engine = 2 [default = DEFAULT];
has_engine()27249 inline bool ReLUParameter::has_engine() const {
27250   return (_has_bits_[0] & 0x00000002u) != 0;
27251 }
set_has_engine()27252 inline void ReLUParameter::set_has_engine() {
27253   _has_bits_[0] |= 0x00000002u;
27254 }
clear_has_engine()27255 inline void ReLUParameter::clear_has_engine() {
27256   _has_bits_[0] &= ~0x00000002u;
27257 }
clear_engine()27258 inline void ReLUParameter::clear_engine() {
27259   engine_ = 0;
27260   clear_has_engine();
27261 }
engine()27262 inline ::opencv_caffe::ReLUParameter_Engine ReLUParameter::engine() const {
27263   // @@protoc_insertion_point(field_get:opencv_caffe.ReLUParameter.engine)
27264   return static_cast< ::opencv_caffe::ReLUParameter_Engine >(engine_);
27265 }
set_engine(::opencv_caffe::ReLUParameter_Engine value)27266 inline void ReLUParameter::set_engine(::opencv_caffe::ReLUParameter_Engine value) {
27267   assert(::opencv_caffe::ReLUParameter_Engine_IsValid(value));
27268   set_has_engine();
27269   engine_ = value;
27270   // @@protoc_insertion_point(field_set:opencv_caffe.ReLUParameter.engine)
27271 }
27272 
27273 // -------------------------------------------------------------------
27274 
27275 // ReshapeParameter
27276 
27277 // optional .opencv_caffe.BlobShape shape = 1;
has_shape()27278 inline bool ReshapeParameter::has_shape() const {
27279   return (_has_bits_[0] & 0x00000001u) != 0;
27280 }
set_has_shape()27281 inline void ReshapeParameter::set_has_shape() {
27282   _has_bits_[0] |= 0x00000001u;
27283 }
clear_has_shape()27284 inline void ReshapeParameter::clear_has_shape() {
27285   _has_bits_[0] &= ~0x00000001u;
27286 }
clear_shape()27287 inline void ReshapeParameter::clear_shape() {
27288   if (shape_ != NULL) shape_->Clear();
27289   clear_has_shape();
27290 }
shape()27291 inline const ::opencv_caffe::BlobShape& ReshapeParameter::shape() const {
27292   const ::opencv_caffe::BlobShape* p = shape_;
27293   // @@protoc_insertion_point(field_get:opencv_caffe.ReshapeParameter.shape)
27294   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::BlobShape*>(
27295       &::opencv_caffe::_BlobShape_default_instance_);
27296 }
release_shape()27297 inline ::opencv_caffe::BlobShape* ReshapeParameter::release_shape() {
27298   // @@protoc_insertion_point(field_release:opencv_caffe.ReshapeParameter.shape)
27299   clear_has_shape();
27300   ::opencv_caffe::BlobShape* temp = shape_;
27301   shape_ = NULL;
27302   return temp;
27303 }
mutable_shape()27304 inline ::opencv_caffe::BlobShape* ReshapeParameter::mutable_shape() {
27305   set_has_shape();
27306   if (shape_ == NULL) {
27307     shape_ = new ::opencv_caffe::BlobShape;
27308   }
27309   // @@protoc_insertion_point(field_mutable:opencv_caffe.ReshapeParameter.shape)
27310   return shape_;
27311 }
set_allocated_shape(::opencv_caffe::BlobShape * shape)27312 inline void ReshapeParameter::set_allocated_shape(::opencv_caffe::BlobShape* shape) {
27313   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
27314   if (message_arena == NULL) {
27315     delete shape_;
27316   }
27317   if (shape) {
27318     ::google::protobuf::Arena* submessage_arena = NULL;
27319     if (message_arena != submessage_arena) {
27320       shape = ::google::protobuf::internal::GetOwnedMessage(
27321           message_arena, shape, submessage_arena);
27322     }
27323     set_has_shape();
27324   } else {
27325     clear_has_shape();
27326   }
27327   shape_ = shape;
27328   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.ReshapeParameter.shape)
27329 }
27330 
27331 // optional int32 axis = 2 [default = 0];
has_axis()27332 inline bool ReshapeParameter::has_axis() const {
27333   return (_has_bits_[0] & 0x00000002u) != 0;
27334 }
set_has_axis()27335 inline void ReshapeParameter::set_has_axis() {
27336   _has_bits_[0] |= 0x00000002u;
27337 }
clear_has_axis()27338 inline void ReshapeParameter::clear_has_axis() {
27339   _has_bits_[0] &= ~0x00000002u;
27340 }
clear_axis()27341 inline void ReshapeParameter::clear_axis() {
27342   axis_ = 0;
27343   clear_has_axis();
27344 }
axis()27345 inline ::google::protobuf::int32 ReshapeParameter::axis() const {
27346   // @@protoc_insertion_point(field_get:opencv_caffe.ReshapeParameter.axis)
27347   return axis_;
27348 }
set_axis(::google::protobuf::int32 value)27349 inline void ReshapeParameter::set_axis(::google::protobuf::int32 value) {
27350   set_has_axis();
27351   axis_ = value;
27352   // @@protoc_insertion_point(field_set:opencv_caffe.ReshapeParameter.axis)
27353 }
27354 
27355 // optional int32 num_axes = 3 [default = -1];
has_num_axes()27356 inline bool ReshapeParameter::has_num_axes() const {
27357   return (_has_bits_[0] & 0x00000004u) != 0;
27358 }
set_has_num_axes()27359 inline void ReshapeParameter::set_has_num_axes() {
27360   _has_bits_[0] |= 0x00000004u;
27361 }
clear_has_num_axes()27362 inline void ReshapeParameter::clear_has_num_axes() {
27363   _has_bits_[0] &= ~0x00000004u;
27364 }
clear_num_axes()27365 inline void ReshapeParameter::clear_num_axes() {
27366   num_axes_ = -1;
27367   clear_has_num_axes();
27368 }
num_axes()27369 inline ::google::protobuf::int32 ReshapeParameter::num_axes() const {
27370   // @@protoc_insertion_point(field_get:opencv_caffe.ReshapeParameter.num_axes)
27371   return num_axes_;
27372 }
set_num_axes(::google::protobuf::int32 value)27373 inline void ReshapeParameter::set_num_axes(::google::protobuf::int32 value) {
27374   set_has_num_axes();
27375   num_axes_ = value;
27376   // @@protoc_insertion_point(field_set:opencv_caffe.ReshapeParameter.num_axes)
27377 }
27378 
27379 // -------------------------------------------------------------------
27380 
27381 // ScaleParameter
27382 
27383 // optional int32 axis = 1 [default = 1];
has_axis()27384 inline bool ScaleParameter::has_axis() const {
27385   return (_has_bits_[0] & 0x00000008u) != 0;
27386 }
set_has_axis()27387 inline void ScaleParameter::set_has_axis() {
27388   _has_bits_[0] |= 0x00000008u;
27389 }
clear_has_axis()27390 inline void ScaleParameter::clear_has_axis() {
27391   _has_bits_[0] &= ~0x00000008u;
27392 }
clear_axis()27393 inline void ScaleParameter::clear_axis() {
27394   axis_ = 1;
27395   clear_has_axis();
27396 }
axis()27397 inline ::google::protobuf::int32 ScaleParameter::axis() const {
27398   // @@protoc_insertion_point(field_get:opencv_caffe.ScaleParameter.axis)
27399   return axis_;
27400 }
set_axis(::google::protobuf::int32 value)27401 inline void ScaleParameter::set_axis(::google::protobuf::int32 value) {
27402   set_has_axis();
27403   axis_ = value;
27404   // @@protoc_insertion_point(field_set:opencv_caffe.ScaleParameter.axis)
27405 }
27406 
27407 // optional int32 num_axes = 2 [default = 1];
has_num_axes()27408 inline bool ScaleParameter::has_num_axes() const {
27409   return (_has_bits_[0] & 0x00000010u) != 0;
27410 }
set_has_num_axes()27411 inline void ScaleParameter::set_has_num_axes() {
27412   _has_bits_[0] |= 0x00000010u;
27413 }
clear_has_num_axes()27414 inline void ScaleParameter::clear_has_num_axes() {
27415   _has_bits_[0] &= ~0x00000010u;
27416 }
clear_num_axes()27417 inline void ScaleParameter::clear_num_axes() {
27418   num_axes_ = 1;
27419   clear_has_num_axes();
27420 }
num_axes()27421 inline ::google::protobuf::int32 ScaleParameter::num_axes() const {
27422   // @@protoc_insertion_point(field_get:opencv_caffe.ScaleParameter.num_axes)
27423   return num_axes_;
27424 }
set_num_axes(::google::protobuf::int32 value)27425 inline void ScaleParameter::set_num_axes(::google::protobuf::int32 value) {
27426   set_has_num_axes();
27427   num_axes_ = value;
27428   // @@protoc_insertion_point(field_set:opencv_caffe.ScaleParameter.num_axes)
27429 }
27430 
27431 // optional .opencv_caffe.FillerParameter filler = 3;
has_filler()27432 inline bool ScaleParameter::has_filler() const {
27433   return (_has_bits_[0] & 0x00000001u) != 0;
27434 }
set_has_filler()27435 inline void ScaleParameter::set_has_filler() {
27436   _has_bits_[0] |= 0x00000001u;
27437 }
clear_has_filler()27438 inline void ScaleParameter::clear_has_filler() {
27439   _has_bits_[0] &= ~0x00000001u;
27440 }
clear_filler()27441 inline void ScaleParameter::clear_filler() {
27442   if (filler_ != NULL) filler_->Clear();
27443   clear_has_filler();
27444 }
filler()27445 inline const ::opencv_caffe::FillerParameter& ScaleParameter::filler() const {
27446   const ::opencv_caffe::FillerParameter* p = filler_;
27447   // @@protoc_insertion_point(field_get:opencv_caffe.ScaleParameter.filler)
27448   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
27449       &::opencv_caffe::_FillerParameter_default_instance_);
27450 }
release_filler()27451 inline ::opencv_caffe::FillerParameter* ScaleParameter::release_filler() {
27452   // @@protoc_insertion_point(field_release:opencv_caffe.ScaleParameter.filler)
27453   clear_has_filler();
27454   ::opencv_caffe::FillerParameter* temp = filler_;
27455   filler_ = NULL;
27456   return temp;
27457 }
mutable_filler()27458 inline ::opencv_caffe::FillerParameter* ScaleParameter::mutable_filler() {
27459   set_has_filler();
27460   if (filler_ == NULL) {
27461     filler_ = new ::opencv_caffe::FillerParameter;
27462   }
27463   // @@protoc_insertion_point(field_mutable:opencv_caffe.ScaleParameter.filler)
27464   return filler_;
27465 }
set_allocated_filler(::opencv_caffe::FillerParameter * filler)27466 inline void ScaleParameter::set_allocated_filler(::opencv_caffe::FillerParameter* filler) {
27467   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
27468   if (message_arena == NULL) {
27469     delete filler_;
27470   }
27471   if (filler) {
27472     ::google::protobuf::Arena* submessage_arena = NULL;
27473     if (message_arena != submessage_arena) {
27474       filler = ::google::protobuf::internal::GetOwnedMessage(
27475           message_arena, filler, submessage_arena);
27476     }
27477     set_has_filler();
27478   } else {
27479     clear_has_filler();
27480   }
27481   filler_ = filler;
27482   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.ScaleParameter.filler)
27483 }
27484 
27485 // optional bool bias_term = 4 [default = false];
has_bias_term()27486 inline bool ScaleParameter::has_bias_term() const {
27487   return (_has_bits_[0] & 0x00000004u) != 0;
27488 }
set_has_bias_term()27489 inline void ScaleParameter::set_has_bias_term() {
27490   _has_bits_[0] |= 0x00000004u;
27491 }
clear_has_bias_term()27492 inline void ScaleParameter::clear_has_bias_term() {
27493   _has_bits_[0] &= ~0x00000004u;
27494 }
clear_bias_term()27495 inline void ScaleParameter::clear_bias_term() {
27496   bias_term_ = false;
27497   clear_has_bias_term();
27498 }
bias_term()27499 inline bool ScaleParameter::bias_term() const {
27500   // @@protoc_insertion_point(field_get:opencv_caffe.ScaleParameter.bias_term)
27501   return bias_term_;
27502 }
set_bias_term(bool value)27503 inline void ScaleParameter::set_bias_term(bool value) {
27504   set_has_bias_term();
27505   bias_term_ = value;
27506   // @@protoc_insertion_point(field_set:opencv_caffe.ScaleParameter.bias_term)
27507 }
27508 
27509 // optional .opencv_caffe.FillerParameter bias_filler = 5;
has_bias_filler()27510 inline bool ScaleParameter::has_bias_filler() const {
27511   return (_has_bits_[0] & 0x00000002u) != 0;
27512 }
set_has_bias_filler()27513 inline void ScaleParameter::set_has_bias_filler() {
27514   _has_bits_[0] |= 0x00000002u;
27515 }
clear_has_bias_filler()27516 inline void ScaleParameter::clear_has_bias_filler() {
27517   _has_bits_[0] &= ~0x00000002u;
27518 }
clear_bias_filler()27519 inline void ScaleParameter::clear_bias_filler() {
27520   if (bias_filler_ != NULL) bias_filler_->Clear();
27521   clear_has_bias_filler();
27522 }
bias_filler()27523 inline const ::opencv_caffe::FillerParameter& ScaleParameter::bias_filler() const {
27524   const ::opencv_caffe::FillerParameter* p = bias_filler_;
27525   // @@protoc_insertion_point(field_get:opencv_caffe.ScaleParameter.bias_filler)
27526   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
27527       &::opencv_caffe::_FillerParameter_default_instance_);
27528 }
release_bias_filler()27529 inline ::opencv_caffe::FillerParameter* ScaleParameter::release_bias_filler() {
27530   // @@protoc_insertion_point(field_release:opencv_caffe.ScaleParameter.bias_filler)
27531   clear_has_bias_filler();
27532   ::opencv_caffe::FillerParameter* temp = bias_filler_;
27533   bias_filler_ = NULL;
27534   return temp;
27535 }
mutable_bias_filler()27536 inline ::opencv_caffe::FillerParameter* ScaleParameter::mutable_bias_filler() {
27537   set_has_bias_filler();
27538   if (bias_filler_ == NULL) {
27539     bias_filler_ = new ::opencv_caffe::FillerParameter;
27540   }
27541   // @@protoc_insertion_point(field_mutable:opencv_caffe.ScaleParameter.bias_filler)
27542   return bias_filler_;
27543 }
set_allocated_bias_filler(::opencv_caffe::FillerParameter * bias_filler)27544 inline void ScaleParameter::set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler) {
27545   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
27546   if (message_arena == NULL) {
27547     delete bias_filler_;
27548   }
27549   if (bias_filler) {
27550     ::google::protobuf::Arena* submessage_arena = NULL;
27551     if (message_arena != submessage_arena) {
27552       bias_filler = ::google::protobuf::internal::GetOwnedMessage(
27553           message_arena, bias_filler, submessage_arena);
27554     }
27555     set_has_bias_filler();
27556   } else {
27557     clear_has_bias_filler();
27558   }
27559   bias_filler_ = bias_filler;
27560   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.ScaleParameter.bias_filler)
27561 }
27562 
27563 // -------------------------------------------------------------------
27564 
27565 // SigmoidParameter
27566 
27567 // optional .opencv_caffe.SigmoidParameter.Engine engine = 1 [default = DEFAULT];
has_engine()27568 inline bool SigmoidParameter::has_engine() const {
27569   return (_has_bits_[0] & 0x00000001u) != 0;
27570 }
set_has_engine()27571 inline void SigmoidParameter::set_has_engine() {
27572   _has_bits_[0] |= 0x00000001u;
27573 }
clear_has_engine()27574 inline void SigmoidParameter::clear_has_engine() {
27575   _has_bits_[0] &= ~0x00000001u;
27576 }
clear_engine()27577 inline void SigmoidParameter::clear_engine() {
27578   engine_ = 0;
27579   clear_has_engine();
27580 }
engine()27581 inline ::opencv_caffe::SigmoidParameter_Engine SigmoidParameter::engine() const {
27582   // @@protoc_insertion_point(field_get:opencv_caffe.SigmoidParameter.engine)
27583   return static_cast< ::opencv_caffe::SigmoidParameter_Engine >(engine_);
27584 }
set_engine(::opencv_caffe::SigmoidParameter_Engine value)27585 inline void SigmoidParameter::set_engine(::opencv_caffe::SigmoidParameter_Engine value) {
27586   assert(::opencv_caffe::SigmoidParameter_Engine_IsValid(value));
27587   set_has_engine();
27588   engine_ = value;
27589   // @@protoc_insertion_point(field_set:opencv_caffe.SigmoidParameter.engine)
27590 }
27591 
27592 // -------------------------------------------------------------------
27593 
27594 // SliceParameter
27595 
27596 // optional int32 axis = 3 [default = 1];
has_axis()27597 inline bool SliceParameter::has_axis() const {
27598   return (_has_bits_[0] & 0x00000002u) != 0;
27599 }
set_has_axis()27600 inline void SliceParameter::set_has_axis() {
27601   _has_bits_[0] |= 0x00000002u;
27602 }
clear_has_axis()27603 inline void SliceParameter::clear_has_axis() {
27604   _has_bits_[0] &= ~0x00000002u;
27605 }
clear_axis()27606 inline void SliceParameter::clear_axis() {
27607   axis_ = 1;
27608   clear_has_axis();
27609 }
axis()27610 inline ::google::protobuf::int32 SliceParameter::axis() const {
27611   // @@protoc_insertion_point(field_get:opencv_caffe.SliceParameter.axis)
27612   return axis_;
27613 }
set_axis(::google::protobuf::int32 value)27614 inline void SliceParameter::set_axis(::google::protobuf::int32 value) {
27615   set_has_axis();
27616   axis_ = value;
27617   // @@protoc_insertion_point(field_set:opencv_caffe.SliceParameter.axis)
27618 }
27619 
27620 // repeated uint32 slice_point = 2;
slice_point_size()27621 inline int SliceParameter::slice_point_size() const {
27622   return slice_point_.size();
27623 }
clear_slice_point()27624 inline void SliceParameter::clear_slice_point() {
27625   slice_point_.Clear();
27626 }
slice_point(int index)27627 inline ::google::protobuf::uint32 SliceParameter::slice_point(int index) const {
27628   // @@protoc_insertion_point(field_get:opencv_caffe.SliceParameter.slice_point)
27629   return slice_point_.Get(index);
27630 }
set_slice_point(int index,::google::protobuf::uint32 value)27631 inline void SliceParameter::set_slice_point(int index, ::google::protobuf::uint32 value) {
27632   slice_point_.Set(index, value);
27633   // @@protoc_insertion_point(field_set:opencv_caffe.SliceParameter.slice_point)
27634 }
add_slice_point(::google::protobuf::uint32 value)27635 inline void SliceParameter::add_slice_point(::google::protobuf::uint32 value) {
27636   slice_point_.Add(value);
27637   // @@protoc_insertion_point(field_add:opencv_caffe.SliceParameter.slice_point)
27638 }
27639 inline const ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >&
slice_point()27640 SliceParameter::slice_point() const {
27641   // @@protoc_insertion_point(field_list:opencv_caffe.SliceParameter.slice_point)
27642   return slice_point_;
27643 }
27644 inline ::google::protobuf::RepeatedField< ::google::protobuf::uint32 >*
mutable_slice_point()27645 SliceParameter::mutable_slice_point() {
27646   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.SliceParameter.slice_point)
27647   return &slice_point_;
27648 }
27649 
27650 // optional uint32 slice_dim = 1 [default = 1];
has_slice_dim()27651 inline bool SliceParameter::has_slice_dim() const {
27652   return (_has_bits_[0] & 0x00000001u) != 0;
27653 }
set_has_slice_dim()27654 inline void SliceParameter::set_has_slice_dim() {
27655   _has_bits_[0] |= 0x00000001u;
27656 }
clear_has_slice_dim()27657 inline void SliceParameter::clear_has_slice_dim() {
27658   _has_bits_[0] &= ~0x00000001u;
27659 }
clear_slice_dim()27660 inline void SliceParameter::clear_slice_dim() {
27661   slice_dim_ = 1u;
27662   clear_has_slice_dim();
27663 }
slice_dim()27664 inline ::google::protobuf::uint32 SliceParameter::slice_dim() const {
27665   // @@protoc_insertion_point(field_get:opencv_caffe.SliceParameter.slice_dim)
27666   return slice_dim_;
27667 }
set_slice_dim(::google::protobuf::uint32 value)27668 inline void SliceParameter::set_slice_dim(::google::protobuf::uint32 value) {
27669   set_has_slice_dim();
27670   slice_dim_ = value;
27671   // @@protoc_insertion_point(field_set:opencv_caffe.SliceParameter.slice_dim)
27672 }
27673 
27674 // -------------------------------------------------------------------
27675 
27676 // SoftmaxParameter
27677 
27678 // optional .opencv_caffe.SoftmaxParameter.Engine engine = 1 [default = DEFAULT];
has_engine()27679 inline bool SoftmaxParameter::has_engine() const {
27680   return (_has_bits_[0] & 0x00000001u) != 0;
27681 }
set_has_engine()27682 inline void SoftmaxParameter::set_has_engine() {
27683   _has_bits_[0] |= 0x00000001u;
27684 }
clear_has_engine()27685 inline void SoftmaxParameter::clear_has_engine() {
27686   _has_bits_[0] &= ~0x00000001u;
27687 }
clear_engine()27688 inline void SoftmaxParameter::clear_engine() {
27689   engine_ = 0;
27690   clear_has_engine();
27691 }
engine()27692 inline ::opencv_caffe::SoftmaxParameter_Engine SoftmaxParameter::engine() const {
27693   // @@protoc_insertion_point(field_get:opencv_caffe.SoftmaxParameter.engine)
27694   return static_cast< ::opencv_caffe::SoftmaxParameter_Engine >(engine_);
27695 }
set_engine(::opencv_caffe::SoftmaxParameter_Engine value)27696 inline void SoftmaxParameter::set_engine(::opencv_caffe::SoftmaxParameter_Engine value) {
27697   assert(::opencv_caffe::SoftmaxParameter_Engine_IsValid(value));
27698   set_has_engine();
27699   engine_ = value;
27700   // @@protoc_insertion_point(field_set:opencv_caffe.SoftmaxParameter.engine)
27701 }
27702 
27703 // optional int32 axis = 2 [default = 1];
has_axis()27704 inline bool SoftmaxParameter::has_axis() const {
27705   return (_has_bits_[0] & 0x00000002u) != 0;
27706 }
set_has_axis()27707 inline void SoftmaxParameter::set_has_axis() {
27708   _has_bits_[0] |= 0x00000002u;
27709 }
clear_has_axis()27710 inline void SoftmaxParameter::clear_has_axis() {
27711   _has_bits_[0] &= ~0x00000002u;
27712 }
clear_axis()27713 inline void SoftmaxParameter::clear_axis() {
27714   axis_ = 1;
27715   clear_has_axis();
27716 }
axis()27717 inline ::google::protobuf::int32 SoftmaxParameter::axis() const {
27718   // @@protoc_insertion_point(field_get:opencv_caffe.SoftmaxParameter.axis)
27719   return axis_;
27720 }
set_axis(::google::protobuf::int32 value)27721 inline void SoftmaxParameter::set_axis(::google::protobuf::int32 value) {
27722   set_has_axis();
27723   axis_ = value;
27724   // @@protoc_insertion_point(field_set:opencv_caffe.SoftmaxParameter.axis)
27725 }
27726 
27727 // -------------------------------------------------------------------
27728 
27729 // TanHParameter
27730 
27731 // optional .opencv_caffe.TanHParameter.Engine engine = 1 [default = DEFAULT];
has_engine()27732 inline bool TanHParameter::has_engine() const {
27733   return (_has_bits_[0] & 0x00000001u) != 0;
27734 }
set_has_engine()27735 inline void TanHParameter::set_has_engine() {
27736   _has_bits_[0] |= 0x00000001u;
27737 }
clear_has_engine()27738 inline void TanHParameter::clear_has_engine() {
27739   _has_bits_[0] &= ~0x00000001u;
27740 }
clear_engine()27741 inline void TanHParameter::clear_engine() {
27742   engine_ = 0;
27743   clear_has_engine();
27744 }
engine()27745 inline ::opencv_caffe::TanHParameter_Engine TanHParameter::engine() const {
27746   // @@protoc_insertion_point(field_get:opencv_caffe.TanHParameter.engine)
27747   return static_cast< ::opencv_caffe::TanHParameter_Engine >(engine_);
27748 }
set_engine(::opencv_caffe::TanHParameter_Engine value)27749 inline void TanHParameter::set_engine(::opencv_caffe::TanHParameter_Engine value) {
27750   assert(::opencv_caffe::TanHParameter_Engine_IsValid(value));
27751   set_has_engine();
27752   engine_ = value;
27753   // @@protoc_insertion_point(field_set:opencv_caffe.TanHParameter.engine)
27754 }
27755 
27756 // -------------------------------------------------------------------
27757 
27758 // TileParameter
27759 
27760 // optional int32 axis = 1 [default = 1];
has_axis()27761 inline bool TileParameter::has_axis() const {
27762   return (_has_bits_[0] & 0x00000002u) != 0;
27763 }
set_has_axis()27764 inline void TileParameter::set_has_axis() {
27765   _has_bits_[0] |= 0x00000002u;
27766 }
clear_has_axis()27767 inline void TileParameter::clear_has_axis() {
27768   _has_bits_[0] &= ~0x00000002u;
27769 }
clear_axis()27770 inline void TileParameter::clear_axis() {
27771   axis_ = 1;
27772   clear_has_axis();
27773 }
axis()27774 inline ::google::protobuf::int32 TileParameter::axis() const {
27775   // @@protoc_insertion_point(field_get:opencv_caffe.TileParameter.axis)
27776   return axis_;
27777 }
set_axis(::google::protobuf::int32 value)27778 inline void TileParameter::set_axis(::google::protobuf::int32 value) {
27779   set_has_axis();
27780   axis_ = value;
27781   // @@protoc_insertion_point(field_set:opencv_caffe.TileParameter.axis)
27782 }
27783 
27784 // optional int32 tiles = 2;
has_tiles()27785 inline bool TileParameter::has_tiles() const {
27786   return (_has_bits_[0] & 0x00000001u) != 0;
27787 }
set_has_tiles()27788 inline void TileParameter::set_has_tiles() {
27789   _has_bits_[0] |= 0x00000001u;
27790 }
clear_has_tiles()27791 inline void TileParameter::clear_has_tiles() {
27792   _has_bits_[0] &= ~0x00000001u;
27793 }
clear_tiles()27794 inline void TileParameter::clear_tiles() {
27795   tiles_ = 0;
27796   clear_has_tiles();
27797 }
tiles()27798 inline ::google::protobuf::int32 TileParameter::tiles() const {
27799   // @@protoc_insertion_point(field_get:opencv_caffe.TileParameter.tiles)
27800   return tiles_;
27801 }
set_tiles(::google::protobuf::int32 value)27802 inline void TileParameter::set_tiles(::google::protobuf::int32 value) {
27803   set_has_tiles();
27804   tiles_ = value;
27805   // @@protoc_insertion_point(field_set:opencv_caffe.TileParameter.tiles)
27806 }
27807 
27808 // -------------------------------------------------------------------
27809 
27810 // ThresholdParameter
27811 
27812 // optional float threshold = 1 [default = 0];
has_threshold()27813 inline bool ThresholdParameter::has_threshold() const {
27814   return (_has_bits_[0] & 0x00000001u) != 0;
27815 }
set_has_threshold()27816 inline void ThresholdParameter::set_has_threshold() {
27817   _has_bits_[0] |= 0x00000001u;
27818 }
clear_has_threshold()27819 inline void ThresholdParameter::clear_has_threshold() {
27820   _has_bits_[0] &= ~0x00000001u;
27821 }
clear_threshold()27822 inline void ThresholdParameter::clear_threshold() {
27823   threshold_ = 0;
27824   clear_has_threshold();
27825 }
threshold()27826 inline float ThresholdParameter::threshold() const {
27827   // @@protoc_insertion_point(field_get:opencv_caffe.ThresholdParameter.threshold)
27828   return threshold_;
27829 }
set_threshold(float value)27830 inline void ThresholdParameter::set_threshold(float value) {
27831   set_has_threshold();
27832   threshold_ = value;
27833   // @@protoc_insertion_point(field_set:opencv_caffe.ThresholdParameter.threshold)
27834 }
27835 
27836 // -------------------------------------------------------------------
27837 
27838 // WindowDataParameter
27839 
27840 // optional string source = 1;
has_source()27841 inline bool WindowDataParameter::has_source() const {
27842   return (_has_bits_[0] & 0x00000001u) != 0;
27843 }
set_has_source()27844 inline void WindowDataParameter::set_has_source() {
27845   _has_bits_[0] |= 0x00000001u;
27846 }
clear_has_source()27847 inline void WindowDataParameter::clear_has_source() {
27848   _has_bits_[0] &= ~0x00000001u;
27849 }
clear_source()27850 inline void WindowDataParameter::clear_source() {
27851   source_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
27852   clear_has_source();
27853 }
source()27854 inline const ::std::string& WindowDataParameter::source() const {
27855   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.source)
27856   return source_.GetNoArena();
27857 }
set_source(const::std::string & value)27858 inline void WindowDataParameter::set_source(const ::std::string& value) {
27859   set_has_source();
27860   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
27861   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.source)
27862 }
27863 #if LANG_CXX11
set_source(::std::string && value)27864 inline void WindowDataParameter::set_source(::std::string&& value) {
27865   set_has_source();
27866   source_.SetNoArena(
27867     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
27868   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.WindowDataParameter.source)
27869 }
27870 #endif
set_source(const char * value)27871 inline void WindowDataParameter::set_source(const char* value) {
27872   GOOGLE_DCHECK(value != NULL);
27873   set_has_source();
27874   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
27875   // @@protoc_insertion_point(field_set_char:opencv_caffe.WindowDataParameter.source)
27876 }
set_source(const char * value,size_t size)27877 inline void WindowDataParameter::set_source(const char* value, size_t size) {
27878   set_has_source();
27879   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
27880       ::std::string(reinterpret_cast<const char*>(value), size));
27881   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.WindowDataParameter.source)
27882 }
mutable_source()27883 inline ::std::string* WindowDataParameter::mutable_source() {
27884   set_has_source();
27885   // @@protoc_insertion_point(field_mutable:opencv_caffe.WindowDataParameter.source)
27886   return source_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
27887 }
release_source()27888 inline ::std::string* WindowDataParameter::release_source() {
27889   // @@protoc_insertion_point(field_release:opencv_caffe.WindowDataParameter.source)
27890   clear_has_source();
27891   return source_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
27892 }
set_allocated_source(::std::string * source)27893 inline void WindowDataParameter::set_allocated_source(::std::string* source) {
27894   if (source != NULL) {
27895     set_has_source();
27896   } else {
27897     clear_has_source();
27898   }
27899   source_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source);
27900   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.WindowDataParameter.source)
27901 }
27902 
27903 // optional float scale = 2 [default = 1];
has_scale()27904 inline bool WindowDataParameter::has_scale() const {
27905   return (_has_bits_[0] & 0x00000200u) != 0;
27906 }
set_has_scale()27907 inline void WindowDataParameter::set_has_scale() {
27908   _has_bits_[0] |= 0x00000200u;
27909 }
clear_has_scale()27910 inline void WindowDataParameter::clear_has_scale() {
27911   _has_bits_[0] &= ~0x00000200u;
27912 }
clear_scale()27913 inline void WindowDataParameter::clear_scale() {
27914   scale_ = 1;
27915   clear_has_scale();
27916 }
scale()27917 inline float WindowDataParameter::scale() const {
27918   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.scale)
27919   return scale_;
27920 }
set_scale(float value)27921 inline void WindowDataParameter::set_scale(float value) {
27922   set_has_scale();
27923   scale_ = value;
27924   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.scale)
27925 }
27926 
27927 // optional string mean_file = 3;
has_mean_file()27928 inline bool WindowDataParameter::has_mean_file() const {
27929   return (_has_bits_[0] & 0x00000002u) != 0;
27930 }
set_has_mean_file()27931 inline void WindowDataParameter::set_has_mean_file() {
27932   _has_bits_[0] |= 0x00000002u;
27933 }
clear_has_mean_file()27934 inline void WindowDataParameter::clear_has_mean_file() {
27935   _has_bits_[0] &= ~0x00000002u;
27936 }
clear_mean_file()27937 inline void WindowDataParameter::clear_mean_file() {
27938   mean_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
27939   clear_has_mean_file();
27940 }
mean_file()27941 inline const ::std::string& WindowDataParameter::mean_file() const {
27942   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.mean_file)
27943   return mean_file_.GetNoArena();
27944 }
set_mean_file(const::std::string & value)27945 inline void WindowDataParameter::set_mean_file(const ::std::string& value) {
27946   set_has_mean_file();
27947   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
27948   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.mean_file)
27949 }
27950 #if LANG_CXX11
set_mean_file(::std::string && value)27951 inline void WindowDataParameter::set_mean_file(::std::string&& value) {
27952   set_has_mean_file();
27953   mean_file_.SetNoArena(
27954     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
27955   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.WindowDataParameter.mean_file)
27956 }
27957 #endif
set_mean_file(const char * value)27958 inline void WindowDataParameter::set_mean_file(const char* value) {
27959   GOOGLE_DCHECK(value != NULL);
27960   set_has_mean_file();
27961   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
27962   // @@protoc_insertion_point(field_set_char:opencv_caffe.WindowDataParameter.mean_file)
27963 }
set_mean_file(const char * value,size_t size)27964 inline void WindowDataParameter::set_mean_file(const char* value, size_t size) {
27965   set_has_mean_file();
27966   mean_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
27967       ::std::string(reinterpret_cast<const char*>(value), size));
27968   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.WindowDataParameter.mean_file)
27969 }
mutable_mean_file()27970 inline ::std::string* WindowDataParameter::mutable_mean_file() {
27971   set_has_mean_file();
27972   // @@protoc_insertion_point(field_mutable:opencv_caffe.WindowDataParameter.mean_file)
27973   return mean_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
27974 }
release_mean_file()27975 inline ::std::string* WindowDataParameter::release_mean_file() {
27976   // @@protoc_insertion_point(field_release:opencv_caffe.WindowDataParameter.mean_file)
27977   clear_has_mean_file();
27978   return mean_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
27979 }
set_allocated_mean_file(::std::string * mean_file)27980 inline void WindowDataParameter::set_allocated_mean_file(::std::string* mean_file) {
27981   if (mean_file != NULL) {
27982     set_has_mean_file();
27983   } else {
27984     clear_has_mean_file();
27985   }
27986   mean_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), mean_file);
27987   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.WindowDataParameter.mean_file)
27988 }
27989 
27990 // optional uint32 batch_size = 4;
has_batch_size()27991 inline bool WindowDataParameter::has_batch_size() const {
27992   return (_has_bits_[0] & 0x00000010u) != 0;
27993 }
set_has_batch_size()27994 inline void WindowDataParameter::set_has_batch_size() {
27995   _has_bits_[0] |= 0x00000010u;
27996 }
clear_has_batch_size()27997 inline void WindowDataParameter::clear_has_batch_size() {
27998   _has_bits_[0] &= ~0x00000010u;
27999 }
clear_batch_size()28000 inline void WindowDataParameter::clear_batch_size() {
28001   batch_size_ = 0u;
28002   clear_has_batch_size();
28003 }
batch_size()28004 inline ::google::protobuf::uint32 WindowDataParameter::batch_size() const {
28005   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.batch_size)
28006   return batch_size_;
28007 }
set_batch_size(::google::protobuf::uint32 value)28008 inline void WindowDataParameter::set_batch_size(::google::protobuf::uint32 value) {
28009   set_has_batch_size();
28010   batch_size_ = value;
28011   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.batch_size)
28012 }
28013 
28014 // optional uint32 crop_size = 5 [default = 0];
has_crop_size()28015 inline bool WindowDataParameter::has_crop_size() const {
28016   return (_has_bits_[0] & 0x00000020u) != 0;
28017 }
set_has_crop_size()28018 inline void WindowDataParameter::set_has_crop_size() {
28019   _has_bits_[0] |= 0x00000020u;
28020 }
clear_has_crop_size()28021 inline void WindowDataParameter::clear_has_crop_size() {
28022   _has_bits_[0] &= ~0x00000020u;
28023 }
clear_crop_size()28024 inline void WindowDataParameter::clear_crop_size() {
28025   crop_size_ = 0u;
28026   clear_has_crop_size();
28027 }
crop_size()28028 inline ::google::protobuf::uint32 WindowDataParameter::crop_size() const {
28029   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.crop_size)
28030   return crop_size_;
28031 }
set_crop_size(::google::protobuf::uint32 value)28032 inline void WindowDataParameter::set_crop_size(::google::protobuf::uint32 value) {
28033   set_has_crop_size();
28034   crop_size_ = value;
28035   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.crop_size)
28036 }
28037 
28038 // optional bool mirror = 6 [default = false];
has_mirror()28039 inline bool WindowDataParameter::has_mirror() const {
28040   return (_has_bits_[0] & 0x00000040u) != 0;
28041 }
set_has_mirror()28042 inline void WindowDataParameter::set_has_mirror() {
28043   _has_bits_[0] |= 0x00000040u;
28044 }
clear_has_mirror()28045 inline void WindowDataParameter::clear_has_mirror() {
28046   _has_bits_[0] &= ~0x00000040u;
28047 }
clear_mirror()28048 inline void WindowDataParameter::clear_mirror() {
28049   mirror_ = false;
28050   clear_has_mirror();
28051 }
mirror()28052 inline bool WindowDataParameter::mirror() const {
28053   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.mirror)
28054   return mirror_;
28055 }
set_mirror(bool value)28056 inline void WindowDataParameter::set_mirror(bool value) {
28057   set_has_mirror();
28058   mirror_ = value;
28059   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.mirror)
28060 }
28061 
28062 // optional float fg_threshold = 7 [default = 0.5];
has_fg_threshold()28063 inline bool WindowDataParameter::has_fg_threshold() const {
28064   return (_has_bits_[0] & 0x00000400u) != 0;
28065 }
set_has_fg_threshold()28066 inline void WindowDataParameter::set_has_fg_threshold() {
28067   _has_bits_[0] |= 0x00000400u;
28068 }
clear_has_fg_threshold()28069 inline void WindowDataParameter::clear_has_fg_threshold() {
28070   _has_bits_[0] &= ~0x00000400u;
28071 }
clear_fg_threshold()28072 inline void WindowDataParameter::clear_fg_threshold() {
28073   fg_threshold_ = 0.5f;
28074   clear_has_fg_threshold();
28075 }
fg_threshold()28076 inline float WindowDataParameter::fg_threshold() const {
28077   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.fg_threshold)
28078   return fg_threshold_;
28079 }
set_fg_threshold(float value)28080 inline void WindowDataParameter::set_fg_threshold(float value) {
28081   set_has_fg_threshold();
28082   fg_threshold_ = value;
28083   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.fg_threshold)
28084 }
28085 
28086 // optional float bg_threshold = 8 [default = 0.5];
has_bg_threshold()28087 inline bool WindowDataParameter::has_bg_threshold() const {
28088   return (_has_bits_[0] & 0x00000800u) != 0;
28089 }
set_has_bg_threshold()28090 inline void WindowDataParameter::set_has_bg_threshold() {
28091   _has_bits_[0] |= 0x00000800u;
28092 }
clear_has_bg_threshold()28093 inline void WindowDataParameter::clear_has_bg_threshold() {
28094   _has_bits_[0] &= ~0x00000800u;
28095 }
clear_bg_threshold()28096 inline void WindowDataParameter::clear_bg_threshold() {
28097   bg_threshold_ = 0.5f;
28098   clear_has_bg_threshold();
28099 }
bg_threshold()28100 inline float WindowDataParameter::bg_threshold() const {
28101   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.bg_threshold)
28102   return bg_threshold_;
28103 }
set_bg_threshold(float value)28104 inline void WindowDataParameter::set_bg_threshold(float value) {
28105   set_has_bg_threshold();
28106   bg_threshold_ = value;
28107   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.bg_threshold)
28108 }
28109 
28110 // optional float fg_fraction = 9 [default = 0.25];
has_fg_fraction()28111 inline bool WindowDataParameter::has_fg_fraction() const {
28112   return (_has_bits_[0] & 0x00001000u) != 0;
28113 }
set_has_fg_fraction()28114 inline void WindowDataParameter::set_has_fg_fraction() {
28115   _has_bits_[0] |= 0x00001000u;
28116 }
clear_has_fg_fraction()28117 inline void WindowDataParameter::clear_has_fg_fraction() {
28118   _has_bits_[0] &= ~0x00001000u;
28119 }
clear_fg_fraction()28120 inline void WindowDataParameter::clear_fg_fraction() {
28121   fg_fraction_ = 0.25f;
28122   clear_has_fg_fraction();
28123 }
fg_fraction()28124 inline float WindowDataParameter::fg_fraction() const {
28125   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.fg_fraction)
28126   return fg_fraction_;
28127 }
set_fg_fraction(float value)28128 inline void WindowDataParameter::set_fg_fraction(float value) {
28129   set_has_fg_fraction();
28130   fg_fraction_ = value;
28131   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.fg_fraction)
28132 }
28133 
28134 // optional uint32 context_pad = 10 [default = 0];
has_context_pad()28135 inline bool WindowDataParameter::has_context_pad() const {
28136   return (_has_bits_[0] & 0x00000100u) != 0;
28137 }
set_has_context_pad()28138 inline void WindowDataParameter::set_has_context_pad() {
28139   _has_bits_[0] |= 0x00000100u;
28140 }
clear_has_context_pad()28141 inline void WindowDataParameter::clear_has_context_pad() {
28142   _has_bits_[0] &= ~0x00000100u;
28143 }
clear_context_pad()28144 inline void WindowDataParameter::clear_context_pad() {
28145   context_pad_ = 0u;
28146   clear_has_context_pad();
28147 }
context_pad()28148 inline ::google::protobuf::uint32 WindowDataParameter::context_pad() const {
28149   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.context_pad)
28150   return context_pad_;
28151 }
set_context_pad(::google::protobuf::uint32 value)28152 inline void WindowDataParameter::set_context_pad(::google::protobuf::uint32 value) {
28153   set_has_context_pad();
28154   context_pad_ = value;
28155   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.context_pad)
28156 }
28157 
28158 // optional string crop_mode = 11 [default = "warp"];
has_crop_mode()28159 inline bool WindowDataParameter::has_crop_mode() const {
28160   return (_has_bits_[0] & 0x00000004u) != 0;
28161 }
set_has_crop_mode()28162 inline void WindowDataParameter::set_has_crop_mode() {
28163   _has_bits_[0] |= 0x00000004u;
28164 }
clear_has_crop_mode()28165 inline void WindowDataParameter::clear_has_crop_mode() {
28166   _has_bits_[0] &= ~0x00000004u;
28167 }
clear_crop_mode()28168 inline void WindowDataParameter::clear_crop_mode() {
28169   crop_mode_.ClearToDefaultNoArena(&::opencv_caffe::WindowDataParameter::_default_crop_mode_.get());
28170   clear_has_crop_mode();
28171 }
crop_mode()28172 inline const ::std::string& WindowDataParameter::crop_mode() const {
28173   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.crop_mode)
28174   return crop_mode_.GetNoArena();
28175 }
set_crop_mode(const::std::string & value)28176 inline void WindowDataParameter::set_crop_mode(const ::std::string& value) {
28177   set_has_crop_mode();
28178   crop_mode_.SetNoArena(&::opencv_caffe::WindowDataParameter::_default_crop_mode_.get(), value);
28179   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.crop_mode)
28180 }
28181 #if LANG_CXX11
set_crop_mode(::std::string && value)28182 inline void WindowDataParameter::set_crop_mode(::std::string&& value) {
28183   set_has_crop_mode();
28184   crop_mode_.SetNoArena(
28185     &::opencv_caffe::WindowDataParameter::_default_crop_mode_.get(), ::std::move(value));
28186   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.WindowDataParameter.crop_mode)
28187 }
28188 #endif
set_crop_mode(const char * value)28189 inline void WindowDataParameter::set_crop_mode(const char* value) {
28190   GOOGLE_DCHECK(value != NULL);
28191   set_has_crop_mode();
28192   crop_mode_.SetNoArena(&::opencv_caffe::WindowDataParameter::_default_crop_mode_.get(), ::std::string(value));
28193   // @@protoc_insertion_point(field_set_char:opencv_caffe.WindowDataParameter.crop_mode)
28194 }
set_crop_mode(const char * value,size_t size)28195 inline void WindowDataParameter::set_crop_mode(const char* value, size_t size) {
28196   set_has_crop_mode();
28197   crop_mode_.SetNoArena(&::opencv_caffe::WindowDataParameter::_default_crop_mode_.get(),
28198       ::std::string(reinterpret_cast<const char*>(value), size));
28199   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.WindowDataParameter.crop_mode)
28200 }
mutable_crop_mode()28201 inline ::std::string* WindowDataParameter::mutable_crop_mode() {
28202   set_has_crop_mode();
28203   // @@protoc_insertion_point(field_mutable:opencv_caffe.WindowDataParameter.crop_mode)
28204   return crop_mode_.MutableNoArena(&::opencv_caffe::WindowDataParameter::_default_crop_mode_.get());
28205 }
release_crop_mode()28206 inline ::std::string* WindowDataParameter::release_crop_mode() {
28207   // @@protoc_insertion_point(field_release:opencv_caffe.WindowDataParameter.crop_mode)
28208   clear_has_crop_mode();
28209   return crop_mode_.ReleaseNoArena(&::opencv_caffe::WindowDataParameter::_default_crop_mode_.get());
28210 }
set_allocated_crop_mode(::std::string * crop_mode)28211 inline void WindowDataParameter::set_allocated_crop_mode(::std::string* crop_mode) {
28212   if (crop_mode != NULL) {
28213     set_has_crop_mode();
28214   } else {
28215     clear_has_crop_mode();
28216   }
28217   crop_mode_.SetAllocatedNoArena(&::opencv_caffe::WindowDataParameter::_default_crop_mode_.get(), crop_mode);
28218   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.WindowDataParameter.crop_mode)
28219 }
28220 
28221 // optional bool cache_images = 12 [default = false];
has_cache_images()28222 inline bool WindowDataParameter::has_cache_images() const {
28223   return (_has_bits_[0] & 0x00000080u) != 0;
28224 }
set_has_cache_images()28225 inline void WindowDataParameter::set_has_cache_images() {
28226   _has_bits_[0] |= 0x00000080u;
28227 }
clear_has_cache_images()28228 inline void WindowDataParameter::clear_has_cache_images() {
28229   _has_bits_[0] &= ~0x00000080u;
28230 }
clear_cache_images()28231 inline void WindowDataParameter::clear_cache_images() {
28232   cache_images_ = false;
28233   clear_has_cache_images();
28234 }
cache_images()28235 inline bool WindowDataParameter::cache_images() const {
28236   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.cache_images)
28237   return cache_images_;
28238 }
set_cache_images(bool value)28239 inline void WindowDataParameter::set_cache_images(bool value) {
28240   set_has_cache_images();
28241   cache_images_ = value;
28242   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.cache_images)
28243 }
28244 
28245 // optional string root_folder = 13 [default = ""];
has_root_folder()28246 inline bool WindowDataParameter::has_root_folder() const {
28247   return (_has_bits_[0] & 0x00000008u) != 0;
28248 }
set_has_root_folder()28249 inline void WindowDataParameter::set_has_root_folder() {
28250   _has_bits_[0] |= 0x00000008u;
28251 }
clear_has_root_folder()28252 inline void WindowDataParameter::clear_has_root_folder() {
28253   _has_bits_[0] &= ~0x00000008u;
28254 }
clear_root_folder()28255 inline void WindowDataParameter::clear_root_folder() {
28256   root_folder_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28257   clear_has_root_folder();
28258 }
root_folder()28259 inline const ::std::string& WindowDataParameter::root_folder() const {
28260   // @@protoc_insertion_point(field_get:opencv_caffe.WindowDataParameter.root_folder)
28261   return root_folder_.GetNoArena();
28262 }
set_root_folder(const::std::string & value)28263 inline void WindowDataParameter::set_root_folder(const ::std::string& value) {
28264   set_has_root_folder();
28265   root_folder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
28266   // @@protoc_insertion_point(field_set:opencv_caffe.WindowDataParameter.root_folder)
28267 }
28268 #if LANG_CXX11
set_root_folder(::std::string && value)28269 inline void WindowDataParameter::set_root_folder(::std::string&& value) {
28270   set_has_root_folder();
28271   root_folder_.SetNoArena(
28272     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
28273   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.WindowDataParameter.root_folder)
28274 }
28275 #endif
set_root_folder(const char * value)28276 inline void WindowDataParameter::set_root_folder(const char* value) {
28277   GOOGLE_DCHECK(value != NULL);
28278   set_has_root_folder();
28279   root_folder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
28280   // @@protoc_insertion_point(field_set_char:opencv_caffe.WindowDataParameter.root_folder)
28281 }
set_root_folder(const char * value,size_t size)28282 inline void WindowDataParameter::set_root_folder(const char* value, size_t size) {
28283   set_has_root_folder();
28284   root_folder_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
28285       ::std::string(reinterpret_cast<const char*>(value), size));
28286   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.WindowDataParameter.root_folder)
28287 }
mutable_root_folder()28288 inline ::std::string* WindowDataParameter::mutable_root_folder() {
28289   set_has_root_folder();
28290   // @@protoc_insertion_point(field_mutable:opencv_caffe.WindowDataParameter.root_folder)
28291   return root_folder_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28292 }
release_root_folder()28293 inline ::std::string* WindowDataParameter::release_root_folder() {
28294   // @@protoc_insertion_point(field_release:opencv_caffe.WindowDataParameter.root_folder)
28295   clear_has_root_folder();
28296   return root_folder_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28297 }
set_allocated_root_folder(::std::string * root_folder)28298 inline void WindowDataParameter::set_allocated_root_folder(::std::string* root_folder) {
28299   if (root_folder != NULL) {
28300     set_has_root_folder();
28301   } else {
28302     clear_has_root_folder();
28303   }
28304   root_folder_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), root_folder);
28305   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.WindowDataParameter.root_folder)
28306 }
28307 
28308 // -------------------------------------------------------------------
28309 
28310 // SPPParameter
28311 
28312 // optional uint32 pyramid_height = 1;
has_pyramid_height()28313 inline bool SPPParameter::has_pyramid_height() const {
28314   return (_has_bits_[0] & 0x00000001u) != 0;
28315 }
set_has_pyramid_height()28316 inline void SPPParameter::set_has_pyramid_height() {
28317   _has_bits_[0] |= 0x00000001u;
28318 }
clear_has_pyramid_height()28319 inline void SPPParameter::clear_has_pyramid_height() {
28320   _has_bits_[0] &= ~0x00000001u;
28321 }
clear_pyramid_height()28322 inline void SPPParameter::clear_pyramid_height() {
28323   pyramid_height_ = 0u;
28324   clear_has_pyramid_height();
28325 }
pyramid_height()28326 inline ::google::protobuf::uint32 SPPParameter::pyramid_height() const {
28327   // @@protoc_insertion_point(field_get:opencv_caffe.SPPParameter.pyramid_height)
28328   return pyramid_height_;
28329 }
set_pyramid_height(::google::protobuf::uint32 value)28330 inline void SPPParameter::set_pyramid_height(::google::protobuf::uint32 value) {
28331   set_has_pyramid_height();
28332   pyramid_height_ = value;
28333   // @@protoc_insertion_point(field_set:opencv_caffe.SPPParameter.pyramid_height)
28334 }
28335 
28336 // optional .opencv_caffe.SPPParameter.PoolMethod pool = 2 [default = MAX];
has_pool()28337 inline bool SPPParameter::has_pool() const {
28338   return (_has_bits_[0] & 0x00000002u) != 0;
28339 }
set_has_pool()28340 inline void SPPParameter::set_has_pool() {
28341   _has_bits_[0] |= 0x00000002u;
28342 }
clear_has_pool()28343 inline void SPPParameter::clear_has_pool() {
28344   _has_bits_[0] &= ~0x00000002u;
28345 }
clear_pool()28346 inline void SPPParameter::clear_pool() {
28347   pool_ = 0;
28348   clear_has_pool();
28349 }
pool()28350 inline ::opencv_caffe::SPPParameter_PoolMethod SPPParameter::pool() const {
28351   // @@protoc_insertion_point(field_get:opencv_caffe.SPPParameter.pool)
28352   return static_cast< ::opencv_caffe::SPPParameter_PoolMethod >(pool_);
28353 }
set_pool(::opencv_caffe::SPPParameter_PoolMethod value)28354 inline void SPPParameter::set_pool(::opencv_caffe::SPPParameter_PoolMethod value) {
28355   assert(::opencv_caffe::SPPParameter_PoolMethod_IsValid(value));
28356   set_has_pool();
28357   pool_ = value;
28358   // @@protoc_insertion_point(field_set:opencv_caffe.SPPParameter.pool)
28359 }
28360 
28361 // optional .opencv_caffe.SPPParameter.Engine engine = 6 [default = DEFAULT];
has_engine()28362 inline bool SPPParameter::has_engine() const {
28363   return (_has_bits_[0] & 0x00000004u) != 0;
28364 }
set_has_engine()28365 inline void SPPParameter::set_has_engine() {
28366   _has_bits_[0] |= 0x00000004u;
28367 }
clear_has_engine()28368 inline void SPPParameter::clear_has_engine() {
28369   _has_bits_[0] &= ~0x00000004u;
28370 }
clear_engine()28371 inline void SPPParameter::clear_engine() {
28372   engine_ = 0;
28373   clear_has_engine();
28374 }
engine()28375 inline ::opencv_caffe::SPPParameter_Engine SPPParameter::engine() const {
28376   // @@protoc_insertion_point(field_get:opencv_caffe.SPPParameter.engine)
28377   return static_cast< ::opencv_caffe::SPPParameter_Engine >(engine_);
28378 }
set_engine(::opencv_caffe::SPPParameter_Engine value)28379 inline void SPPParameter::set_engine(::opencv_caffe::SPPParameter_Engine value) {
28380   assert(::opencv_caffe::SPPParameter_Engine_IsValid(value));
28381   set_has_engine();
28382   engine_ = value;
28383   // @@protoc_insertion_point(field_set:opencv_caffe.SPPParameter.engine)
28384 }
28385 
28386 // -------------------------------------------------------------------
28387 
28388 // V1LayerParameter
28389 
28390 // repeated string bottom = 2;
bottom_size()28391 inline int V1LayerParameter::bottom_size() const {
28392   return bottom_.size();
28393 }
clear_bottom()28394 inline void V1LayerParameter::clear_bottom() {
28395   bottom_.Clear();
28396 }
bottom(int index)28397 inline const ::std::string& V1LayerParameter::bottom(int index) const {
28398   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.bottom)
28399   return bottom_.Get(index);
28400 }
mutable_bottom(int index)28401 inline ::std::string* V1LayerParameter::mutable_bottom(int index) {
28402   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.bottom)
28403   return bottom_.Mutable(index);
28404 }
set_bottom(int index,const::std::string & value)28405 inline void V1LayerParameter::set_bottom(int index, const ::std::string& value) {
28406   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.bottom)
28407   bottom_.Mutable(index)->assign(value);
28408 }
28409 #if LANG_CXX11
set_bottom(int index,::std::string && value)28410 inline void V1LayerParameter::set_bottom(int index, ::std::string&& value) {
28411   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.bottom)
28412   bottom_.Mutable(index)->assign(std::move(value));
28413 }
28414 #endif
set_bottom(int index,const char * value)28415 inline void V1LayerParameter::set_bottom(int index, const char* value) {
28416   GOOGLE_DCHECK(value != NULL);
28417   bottom_.Mutable(index)->assign(value);
28418   // @@protoc_insertion_point(field_set_char:opencv_caffe.V1LayerParameter.bottom)
28419 }
set_bottom(int index,const char * value,size_t size)28420 inline void V1LayerParameter::set_bottom(int index, const char* value, size_t size) {
28421   bottom_.Mutable(index)->assign(
28422     reinterpret_cast<const char*>(value), size);
28423   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.V1LayerParameter.bottom)
28424 }
add_bottom()28425 inline ::std::string* V1LayerParameter::add_bottom() {
28426   // @@protoc_insertion_point(field_add_mutable:opencv_caffe.V1LayerParameter.bottom)
28427   return bottom_.Add();
28428 }
add_bottom(const::std::string & value)28429 inline void V1LayerParameter::add_bottom(const ::std::string& value) {
28430   bottom_.Add()->assign(value);
28431   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.bottom)
28432 }
28433 #if LANG_CXX11
add_bottom(::std::string && value)28434 inline void V1LayerParameter::add_bottom(::std::string&& value) {
28435   bottom_.Add(std::move(value));
28436   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.bottom)
28437 }
28438 #endif
add_bottom(const char * value)28439 inline void V1LayerParameter::add_bottom(const char* value) {
28440   GOOGLE_DCHECK(value != NULL);
28441   bottom_.Add()->assign(value);
28442   // @@protoc_insertion_point(field_add_char:opencv_caffe.V1LayerParameter.bottom)
28443 }
add_bottom(const char * value,size_t size)28444 inline void V1LayerParameter::add_bottom(const char* value, size_t size) {
28445   bottom_.Add()->assign(reinterpret_cast<const char*>(value), size);
28446   // @@protoc_insertion_point(field_add_pointer:opencv_caffe.V1LayerParameter.bottom)
28447 }
28448 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
bottom()28449 V1LayerParameter::bottom() const {
28450   // @@protoc_insertion_point(field_list:opencv_caffe.V1LayerParameter.bottom)
28451   return bottom_;
28452 }
28453 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_bottom()28454 V1LayerParameter::mutable_bottom() {
28455   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V1LayerParameter.bottom)
28456   return &bottom_;
28457 }
28458 
28459 // repeated string top = 3;
top_size()28460 inline int V1LayerParameter::top_size() const {
28461   return top_.size();
28462 }
clear_top()28463 inline void V1LayerParameter::clear_top() {
28464   top_.Clear();
28465 }
top(int index)28466 inline const ::std::string& V1LayerParameter::top(int index) const {
28467   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.top)
28468   return top_.Get(index);
28469 }
mutable_top(int index)28470 inline ::std::string* V1LayerParameter::mutable_top(int index) {
28471   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.top)
28472   return top_.Mutable(index);
28473 }
set_top(int index,const::std::string & value)28474 inline void V1LayerParameter::set_top(int index, const ::std::string& value) {
28475   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.top)
28476   top_.Mutable(index)->assign(value);
28477 }
28478 #if LANG_CXX11
set_top(int index,::std::string && value)28479 inline void V1LayerParameter::set_top(int index, ::std::string&& value) {
28480   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.top)
28481   top_.Mutable(index)->assign(std::move(value));
28482 }
28483 #endif
set_top(int index,const char * value)28484 inline void V1LayerParameter::set_top(int index, const char* value) {
28485   GOOGLE_DCHECK(value != NULL);
28486   top_.Mutable(index)->assign(value);
28487   // @@protoc_insertion_point(field_set_char:opencv_caffe.V1LayerParameter.top)
28488 }
set_top(int index,const char * value,size_t size)28489 inline void V1LayerParameter::set_top(int index, const char* value, size_t size) {
28490   top_.Mutable(index)->assign(
28491     reinterpret_cast<const char*>(value), size);
28492   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.V1LayerParameter.top)
28493 }
add_top()28494 inline ::std::string* V1LayerParameter::add_top() {
28495   // @@protoc_insertion_point(field_add_mutable:opencv_caffe.V1LayerParameter.top)
28496   return top_.Add();
28497 }
add_top(const::std::string & value)28498 inline void V1LayerParameter::add_top(const ::std::string& value) {
28499   top_.Add()->assign(value);
28500   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.top)
28501 }
28502 #if LANG_CXX11
add_top(::std::string && value)28503 inline void V1LayerParameter::add_top(::std::string&& value) {
28504   top_.Add(std::move(value));
28505   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.top)
28506 }
28507 #endif
add_top(const char * value)28508 inline void V1LayerParameter::add_top(const char* value) {
28509   GOOGLE_DCHECK(value != NULL);
28510   top_.Add()->assign(value);
28511   // @@protoc_insertion_point(field_add_char:opencv_caffe.V1LayerParameter.top)
28512 }
add_top(const char * value,size_t size)28513 inline void V1LayerParameter::add_top(const char* value, size_t size) {
28514   top_.Add()->assign(reinterpret_cast<const char*>(value), size);
28515   // @@protoc_insertion_point(field_add_pointer:opencv_caffe.V1LayerParameter.top)
28516 }
28517 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
top()28518 V1LayerParameter::top() const {
28519   // @@protoc_insertion_point(field_list:opencv_caffe.V1LayerParameter.top)
28520   return top_;
28521 }
28522 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_top()28523 V1LayerParameter::mutable_top() {
28524   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V1LayerParameter.top)
28525   return &top_;
28526 }
28527 
28528 // optional string name = 4;
has_name()28529 inline bool V1LayerParameter::has_name() const {
28530   return (_has_bits_[0] & 0x00000001u) != 0;
28531 }
set_has_name()28532 inline void V1LayerParameter::set_has_name() {
28533   _has_bits_[0] |= 0x00000001u;
28534 }
clear_has_name()28535 inline void V1LayerParameter::clear_has_name() {
28536   _has_bits_[0] &= ~0x00000001u;
28537 }
clear_name()28538 inline void V1LayerParameter::clear_name() {
28539   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28540   clear_has_name();
28541 }
name()28542 inline const ::std::string& V1LayerParameter::name() const {
28543   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.name)
28544   return name_.GetNoArena();
28545 }
set_name(const::std::string & value)28546 inline void V1LayerParameter::set_name(const ::std::string& value) {
28547   set_has_name();
28548   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
28549   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.name)
28550 }
28551 #if LANG_CXX11
set_name(::std::string && value)28552 inline void V1LayerParameter::set_name(::std::string&& value) {
28553   set_has_name();
28554   name_.SetNoArena(
28555     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
28556   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.V1LayerParameter.name)
28557 }
28558 #endif
set_name(const char * value)28559 inline void V1LayerParameter::set_name(const char* value) {
28560   GOOGLE_DCHECK(value != NULL);
28561   set_has_name();
28562   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
28563   // @@protoc_insertion_point(field_set_char:opencv_caffe.V1LayerParameter.name)
28564 }
set_name(const char * value,size_t size)28565 inline void V1LayerParameter::set_name(const char* value, size_t size) {
28566   set_has_name();
28567   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
28568       ::std::string(reinterpret_cast<const char*>(value), size));
28569   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.V1LayerParameter.name)
28570 }
mutable_name()28571 inline ::std::string* V1LayerParameter::mutable_name() {
28572   set_has_name();
28573   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.name)
28574   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28575 }
release_name()28576 inline ::std::string* V1LayerParameter::release_name() {
28577   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.name)
28578   clear_has_name();
28579   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
28580 }
set_allocated_name(::std::string * name)28581 inline void V1LayerParameter::set_allocated_name(::std::string* name) {
28582   if (name != NULL) {
28583     set_has_name();
28584   } else {
28585     clear_has_name();
28586   }
28587   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
28588   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.name)
28589 }
28590 
28591 // repeated .opencv_caffe.NetStateRule include = 32;
include_size()28592 inline int V1LayerParameter::include_size() const {
28593   return include_.size();
28594 }
clear_include()28595 inline void V1LayerParameter::clear_include() {
28596   include_.Clear();
28597 }
include(int index)28598 inline const ::opencv_caffe::NetStateRule& V1LayerParameter::include(int index) const {
28599   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.include)
28600   return include_.Get(index);
28601 }
mutable_include(int index)28602 inline ::opencv_caffe::NetStateRule* V1LayerParameter::mutable_include(int index) {
28603   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.include)
28604   return include_.Mutable(index);
28605 }
add_include()28606 inline ::opencv_caffe::NetStateRule* V1LayerParameter::add_include() {
28607   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.include)
28608   return include_.Add();
28609 }
28610 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >*
mutable_include()28611 V1LayerParameter::mutable_include() {
28612   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V1LayerParameter.include)
28613   return &include_;
28614 }
28615 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >&
include()28616 V1LayerParameter::include() const {
28617   // @@protoc_insertion_point(field_list:opencv_caffe.V1LayerParameter.include)
28618   return include_;
28619 }
28620 
28621 // repeated .opencv_caffe.NetStateRule exclude = 33;
exclude_size()28622 inline int V1LayerParameter::exclude_size() const {
28623   return exclude_.size();
28624 }
clear_exclude()28625 inline void V1LayerParameter::clear_exclude() {
28626   exclude_.Clear();
28627 }
exclude(int index)28628 inline const ::opencv_caffe::NetStateRule& V1LayerParameter::exclude(int index) const {
28629   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.exclude)
28630   return exclude_.Get(index);
28631 }
mutable_exclude(int index)28632 inline ::opencv_caffe::NetStateRule* V1LayerParameter::mutable_exclude(int index) {
28633   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.exclude)
28634   return exclude_.Mutable(index);
28635 }
add_exclude()28636 inline ::opencv_caffe::NetStateRule* V1LayerParameter::add_exclude() {
28637   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.exclude)
28638   return exclude_.Add();
28639 }
28640 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >*
mutable_exclude()28641 V1LayerParameter::mutable_exclude() {
28642   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V1LayerParameter.exclude)
28643   return &exclude_;
28644 }
28645 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::NetStateRule >&
exclude()28646 V1LayerParameter::exclude() const {
28647   // @@protoc_insertion_point(field_list:opencv_caffe.V1LayerParameter.exclude)
28648   return exclude_;
28649 }
28650 
28651 // optional .opencv_caffe.V1LayerParameter.LayerType type = 5;
has_type()28652 inline bool V1LayerParameter::has_type() const {
28653   return (_has_bits_[1] & 0x00000001u) != 0;
28654 }
set_has_type()28655 inline void V1LayerParameter::set_has_type() {
28656   _has_bits_[1] |= 0x00000001u;
28657 }
clear_has_type()28658 inline void V1LayerParameter::clear_has_type() {
28659   _has_bits_[1] &= ~0x00000001u;
28660 }
clear_type()28661 inline void V1LayerParameter::clear_type() {
28662   type_ = 0;
28663   clear_has_type();
28664 }
type()28665 inline ::opencv_caffe::V1LayerParameter_LayerType V1LayerParameter::type() const {
28666   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.type)
28667   return static_cast< ::opencv_caffe::V1LayerParameter_LayerType >(type_);
28668 }
set_type(::opencv_caffe::V1LayerParameter_LayerType value)28669 inline void V1LayerParameter::set_type(::opencv_caffe::V1LayerParameter_LayerType value) {
28670   assert(::opencv_caffe::V1LayerParameter_LayerType_IsValid(value));
28671   set_has_type();
28672   type_ = value;
28673   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.type)
28674 }
28675 
28676 // repeated .opencv_caffe.BlobProto blobs = 6;
blobs_size()28677 inline int V1LayerParameter::blobs_size() const {
28678   return blobs_.size();
28679 }
clear_blobs()28680 inline void V1LayerParameter::clear_blobs() {
28681   blobs_.Clear();
28682 }
blobs(int index)28683 inline const ::opencv_caffe::BlobProto& V1LayerParameter::blobs(int index) const {
28684   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.blobs)
28685   return blobs_.Get(index);
28686 }
mutable_blobs(int index)28687 inline ::opencv_caffe::BlobProto* V1LayerParameter::mutable_blobs(int index) {
28688   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.blobs)
28689   return blobs_.Mutable(index);
28690 }
add_blobs()28691 inline ::opencv_caffe::BlobProto* V1LayerParameter::add_blobs() {
28692   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.blobs)
28693   return blobs_.Add();
28694 }
28695 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >*
mutable_blobs()28696 V1LayerParameter::mutable_blobs() {
28697   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V1LayerParameter.blobs)
28698   return &blobs_;
28699 }
28700 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >&
blobs()28701 V1LayerParameter::blobs() const {
28702   // @@protoc_insertion_point(field_list:opencv_caffe.V1LayerParameter.blobs)
28703   return blobs_;
28704 }
28705 
28706 // repeated string param = 1001;
param_size()28707 inline int V1LayerParameter::param_size() const {
28708   return param_.size();
28709 }
clear_param()28710 inline void V1LayerParameter::clear_param() {
28711   param_.Clear();
28712 }
param(int index)28713 inline const ::std::string& V1LayerParameter::param(int index) const {
28714   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.param)
28715   return param_.Get(index);
28716 }
mutable_param(int index)28717 inline ::std::string* V1LayerParameter::mutable_param(int index) {
28718   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.param)
28719   return param_.Mutable(index);
28720 }
set_param(int index,const::std::string & value)28721 inline void V1LayerParameter::set_param(int index, const ::std::string& value) {
28722   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.param)
28723   param_.Mutable(index)->assign(value);
28724 }
28725 #if LANG_CXX11
set_param(int index,::std::string && value)28726 inline void V1LayerParameter::set_param(int index, ::std::string&& value) {
28727   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.param)
28728   param_.Mutable(index)->assign(std::move(value));
28729 }
28730 #endif
set_param(int index,const char * value)28731 inline void V1LayerParameter::set_param(int index, const char* value) {
28732   GOOGLE_DCHECK(value != NULL);
28733   param_.Mutable(index)->assign(value);
28734   // @@protoc_insertion_point(field_set_char:opencv_caffe.V1LayerParameter.param)
28735 }
set_param(int index,const char * value,size_t size)28736 inline void V1LayerParameter::set_param(int index, const char* value, size_t size) {
28737   param_.Mutable(index)->assign(
28738     reinterpret_cast<const char*>(value), size);
28739   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.V1LayerParameter.param)
28740 }
add_param()28741 inline ::std::string* V1LayerParameter::add_param() {
28742   // @@protoc_insertion_point(field_add_mutable:opencv_caffe.V1LayerParameter.param)
28743   return param_.Add();
28744 }
add_param(const::std::string & value)28745 inline void V1LayerParameter::add_param(const ::std::string& value) {
28746   param_.Add()->assign(value);
28747   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.param)
28748 }
28749 #if LANG_CXX11
add_param(::std::string && value)28750 inline void V1LayerParameter::add_param(::std::string&& value) {
28751   param_.Add(std::move(value));
28752   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.param)
28753 }
28754 #endif
add_param(const char * value)28755 inline void V1LayerParameter::add_param(const char* value) {
28756   GOOGLE_DCHECK(value != NULL);
28757   param_.Add()->assign(value);
28758   // @@protoc_insertion_point(field_add_char:opencv_caffe.V1LayerParameter.param)
28759 }
add_param(const char * value,size_t size)28760 inline void V1LayerParameter::add_param(const char* value, size_t size) {
28761   param_.Add()->assign(reinterpret_cast<const char*>(value), size);
28762   // @@protoc_insertion_point(field_add_pointer:opencv_caffe.V1LayerParameter.param)
28763 }
28764 inline const ::google::protobuf::RepeatedPtrField< ::std::string>&
param()28765 V1LayerParameter::param() const {
28766   // @@protoc_insertion_point(field_list:opencv_caffe.V1LayerParameter.param)
28767   return param_;
28768 }
28769 inline ::google::protobuf::RepeatedPtrField< ::std::string>*
mutable_param()28770 V1LayerParameter::mutable_param() {
28771   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V1LayerParameter.param)
28772   return &param_;
28773 }
28774 
28775 // repeated .opencv_caffe.V1LayerParameter.DimCheckMode blob_share_mode = 1002;
blob_share_mode_size()28776 inline int V1LayerParameter::blob_share_mode_size() const {
28777   return blob_share_mode_.size();
28778 }
clear_blob_share_mode()28779 inline void V1LayerParameter::clear_blob_share_mode() {
28780   blob_share_mode_.Clear();
28781 }
blob_share_mode(int index)28782 inline ::opencv_caffe::V1LayerParameter_DimCheckMode V1LayerParameter::blob_share_mode(int index) const {
28783   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.blob_share_mode)
28784   return static_cast< ::opencv_caffe::V1LayerParameter_DimCheckMode >(blob_share_mode_.Get(index));
28785 }
set_blob_share_mode(int index,::opencv_caffe::V1LayerParameter_DimCheckMode value)28786 inline void V1LayerParameter::set_blob_share_mode(int index, ::opencv_caffe::V1LayerParameter_DimCheckMode value) {
28787   assert(::opencv_caffe::V1LayerParameter_DimCheckMode_IsValid(value));
28788   blob_share_mode_.Set(index, value);
28789   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.blob_share_mode)
28790 }
add_blob_share_mode(::opencv_caffe::V1LayerParameter_DimCheckMode value)28791 inline void V1LayerParameter::add_blob_share_mode(::opencv_caffe::V1LayerParameter_DimCheckMode value) {
28792   assert(::opencv_caffe::V1LayerParameter_DimCheckMode_IsValid(value));
28793   blob_share_mode_.Add(value);
28794   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.blob_share_mode)
28795 }
28796 inline const ::google::protobuf::RepeatedField<int>&
blob_share_mode()28797 V1LayerParameter::blob_share_mode() const {
28798   // @@protoc_insertion_point(field_list:opencv_caffe.V1LayerParameter.blob_share_mode)
28799   return blob_share_mode_;
28800 }
28801 inline ::google::protobuf::RepeatedField<int>*
mutable_blob_share_mode()28802 V1LayerParameter::mutable_blob_share_mode() {
28803   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V1LayerParameter.blob_share_mode)
28804   return &blob_share_mode_;
28805 }
28806 
28807 // repeated float blobs_lr = 7;
blobs_lr_size()28808 inline int V1LayerParameter::blobs_lr_size() const {
28809   return blobs_lr_.size();
28810 }
clear_blobs_lr()28811 inline void V1LayerParameter::clear_blobs_lr() {
28812   blobs_lr_.Clear();
28813 }
blobs_lr(int index)28814 inline float V1LayerParameter::blobs_lr(int index) const {
28815   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.blobs_lr)
28816   return blobs_lr_.Get(index);
28817 }
set_blobs_lr(int index,float value)28818 inline void V1LayerParameter::set_blobs_lr(int index, float value) {
28819   blobs_lr_.Set(index, value);
28820   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.blobs_lr)
28821 }
add_blobs_lr(float value)28822 inline void V1LayerParameter::add_blobs_lr(float value) {
28823   blobs_lr_.Add(value);
28824   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.blobs_lr)
28825 }
28826 inline const ::google::protobuf::RepeatedField< float >&
blobs_lr()28827 V1LayerParameter::blobs_lr() const {
28828   // @@protoc_insertion_point(field_list:opencv_caffe.V1LayerParameter.blobs_lr)
28829   return blobs_lr_;
28830 }
28831 inline ::google::protobuf::RepeatedField< float >*
mutable_blobs_lr()28832 V1LayerParameter::mutable_blobs_lr() {
28833   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V1LayerParameter.blobs_lr)
28834   return &blobs_lr_;
28835 }
28836 
28837 // repeated float weight_decay = 8;
weight_decay_size()28838 inline int V1LayerParameter::weight_decay_size() const {
28839   return weight_decay_.size();
28840 }
clear_weight_decay()28841 inline void V1LayerParameter::clear_weight_decay() {
28842   weight_decay_.Clear();
28843 }
weight_decay(int index)28844 inline float V1LayerParameter::weight_decay(int index) const {
28845   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.weight_decay)
28846   return weight_decay_.Get(index);
28847 }
set_weight_decay(int index,float value)28848 inline void V1LayerParameter::set_weight_decay(int index, float value) {
28849   weight_decay_.Set(index, value);
28850   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.weight_decay)
28851 }
add_weight_decay(float value)28852 inline void V1LayerParameter::add_weight_decay(float value) {
28853   weight_decay_.Add(value);
28854   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.weight_decay)
28855 }
28856 inline const ::google::protobuf::RepeatedField< float >&
weight_decay()28857 V1LayerParameter::weight_decay() const {
28858   // @@protoc_insertion_point(field_list:opencv_caffe.V1LayerParameter.weight_decay)
28859   return weight_decay_;
28860 }
28861 inline ::google::protobuf::RepeatedField< float >*
mutable_weight_decay()28862 V1LayerParameter::mutable_weight_decay() {
28863   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V1LayerParameter.weight_decay)
28864   return &weight_decay_;
28865 }
28866 
28867 // repeated float loss_weight = 35;
loss_weight_size()28868 inline int V1LayerParameter::loss_weight_size() const {
28869   return loss_weight_.size();
28870 }
clear_loss_weight()28871 inline void V1LayerParameter::clear_loss_weight() {
28872   loss_weight_.Clear();
28873 }
loss_weight(int index)28874 inline float V1LayerParameter::loss_weight(int index) const {
28875   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.loss_weight)
28876   return loss_weight_.Get(index);
28877 }
set_loss_weight(int index,float value)28878 inline void V1LayerParameter::set_loss_weight(int index, float value) {
28879   loss_weight_.Set(index, value);
28880   // @@protoc_insertion_point(field_set:opencv_caffe.V1LayerParameter.loss_weight)
28881 }
add_loss_weight(float value)28882 inline void V1LayerParameter::add_loss_weight(float value) {
28883   loss_weight_.Add(value);
28884   // @@protoc_insertion_point(field_add:opencv_caffe.V1LayerParameter.loss_weight)
28885 }
28886 inline const ::google::protobuf::RepeatedField< float >&
loss_weight()28887 V1LayerParameter::loss_weight() const {
28888   // @@protoc_insertion_point(field_list:opencv_caffe.V1LayerParameter.loss_weight)
28889   return loss_weight_;
28890 }
28891 inline ::google::protobuf::RepeatedField< float >*
mutable_loss_weight()28892 V1LayerParameter::mutable_loss_weight() {
28893   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V1LayerParameter.loss_weight)
28894   return &loss_weight_;
28895 }
28896 
28897 // optional .opencv_caffe.AccuracyParameter accuracy_param = 27;
has_accuracy_param()28898 inline bool V1LayerParameter::has_accuracy_param() const {
28899   return (_has_bits_[0] & 0x00100000u) != 0;
28900 }
set_has_accuracy_param()28901 inline void V1LayerParameter::set_has_accuracy_param() {
28902   _has_bits_[0] |= 0x00100000u;
28903 }
clear_has_accuracy_param()28904 inline void V1LayerParameter::clear_has_accuracy_param() {
28905   _has_bits_[0] &= ~0x00100000u;
28906 }
clear_accuracy_param()28907 inline void V1LayerParameter::clear_accuracy_param() {
28908   if (accuracy_param_ != NULL) accuracy_param_->Clear();
28909   clear_has_accuracy_param();
28910 }
accuracy_param()28911 inline const ::opencv_caffe::AccuracyParameter& V1LayerParameter::accuracy_param() const {
28912   const ::opencv_caffe::AccuracyParameter* p = accuracy_param_;
28913   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.accuracy_param)
28914   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::AccuracyParameter*>(
28915       &::opencv_caffe::_AccuracyParameter_default_instance_);
28916 }
release_accuracy_param()28917 inline ::opencv_caffe::AccuracyParameter* V1LayerParameter::release_accuracy_param() {
28918   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.accuracy_param)
28919   clear_has_accuracy_param();
28920   ::opencv_caffe::AccuracyParameter* temp = accuracy_param_;
28921   accuracy_param_ = NULL;
28922   return temp;
28923 }
mutable_accuracy_param()28924 inline ::opencv_caffe::AccuracyParameter* V1LayerParameter::mutable_accuracy_param() {
28925   set_has_accuracy_param();
28926   if (accuracy_param_ == NULL) {
28927     accuracy_param_ = new ::opencv_caffe::AccuracyParameter;
28928   }
28929   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.accuracy_param)
28930   return accuracy_param_;
28931 }
set_allocated_accuracy_param(::opencv_caffe::AccuracyParameter * accuracy_param)28932 inline void V1LayerParameter::set_allocated_accuracy_param(::opencv_caffe::AccuracyParameter* accuracy_param) {
28933   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
28934   if (message_arena == NULL) {
28935     delete accuracy_param_;
28936   }
28937   if (accuracy_param) {
28938     ::google::protobuf::Arena* submessage_arena = NULL;
28939     if (message_arena != submessage_arena) {
28940       accuracy_param = ::google::protobuf::internal::GetOwnedMessage(
28941           message_arena, accuracy_param, submessage_arena);
28942     }
28943     set_has_accuracy_param();
28944   } else {
28945     clear_has_accuracy_param();
28946   }
28947   accuracy_param_ = accuracy_param;
28948   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.accuracy_param)
28949 }
28950 
28951 // optional .opencv_caffe.ArgMaxParameter argmax_param = 23;
has_argmax_param()28952 inline bool V1LayerParameter::has_argmax_param() const {
28953   return (_has_bits_[0] & 0x00010000u) != 0;
28954 }
set_has_argmax_param()28955 inline void V1LayerParameter::set_has_argmax_param() {
28956   _has_bits_[0] |= 0x00010000u;
28957 }
clear_has_argmax_param()28958 inline void V1LayerParameter::clear_has_argmax_param() {
28959   _has_bits_[0] &= ~0x00010000u;
28960 }
clear_argmax_param()28961 inline void V1LayerParameter::clear_argmax_param() {
28962   if (argmax_param_ != NULL) argmax_param_->Clear();
28963   clear_has_argmax_param();
28964 }
argmax_param()28965 inline const ::opencv_caffe::ArgMaxParameter& V1LayerParameter::argmax_param() const {
28966   const ::opencv_caffe::ArgMaxParameter* p = argmax_param_;
28967   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.argmax_param)
28968   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ArgMaxParameter*>(
28969       &::opencv_caffe::_ArgMaxParameter_default_instance_);
28970 }
release_argmax_param()28971 inline ::opencv_caffe::ArgMaxParameter* V1LayerParameter::release_argmax_param() {
28972   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.argmax_param)
28973   clear_has_argmax_param();
28974   ::opencv_caffe::ArgMaxParameter* temp = argmax_param_;
28975   argmax_param_ = NULL;
28976   return temp;
28977 }
mutable_argmax_param()28978 inline ::opencv_caffe::ArgMaxParameter* V1LayerParameter::mutable_argmax_param() {
28979   set_has_argmax_param();
28980   if (argmax_param_ == NULL) {
28981     argmax_param_ = new ::opencv_caffe::ArgMaxParameter;
28982   }
28983   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.argmax_param)
28984   return argmax_param_;
28985 }
set_allocated_argmax_param(::opencv_caffe::ArgMaxParameter * argmax_param)28986 inline void V1LayerParameter::set_allocated_argmax_param(::opencv_caffe::ArgMaxParameter* argmax_param) {
28987   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
28988   if (message_arena == NULL) {
28989     delete argmax_param_;
28990   }
28991   if (argmax_param) {
28992     ::google::protobuf::Arena* submessage_arena = NULL;
28993     if (message_arena != submessage_arena) {
28994       argmax_param = ::google::protobuf::internal::GetOwnedMessage(
28995           message_arena, argmax_param, submessage_arena);
28996     }
28997     set_has_argmax_param();
28998   } else {
28999     clear_has_argmax_param();
29000   }
29001   argmax_param_ = argmax_param;
29002   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.argmax_param)
29003 }
29004 
29005 // optional .opencv_caffe.ConcatParameter concat_param = 9;
has_concat_param()29006 inline bool V1LayerParameter::has_concat_param() const {
29007   return (_has_bits_[0] & 0x00000004u) != 0;
29008 }
set_has_concat_param()29009 inline void V1LayerParameter::set_has_concat_param() {
29010   _has_bits_[0] |= 0x00000004u;
29011 }
clear_has_concat_param()29012 inline void V1LayerParameter::clear_has_concat_param() {
29013   _has_bits_[0] &= ~0x00000004u;
29014 }
clear_concat_param()29015 inline void V1LayerParameter::clear_concat_param() {
29016   if (concat_param_ != NULL) concat_param_->Clear();
29017   clear_has_concat_param();
29018 }
concat_param()29019 inline const ::opencv_caffe::ConcatParameter& V1LayerParameter::concat_param() const {
29020   const ::opencv_caffe::ConcatParameter* p = concat_param_;
29021   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.concat_param)
29022   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ConcatParameter*>(
29023       &::opencv_caffe::_ConcatParameter_default_instance_);
29024 }
release_concat_param()29025 inline ::opencv_caffe::ConcatParameter* V1LayerParameter::release_concat_param() {
29026   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.concat_param)
29027   clear_has_concat_param();
29028   ::opencv_caffe::ConcatParameter* temp = concat_param_;
29029   concat_param_ = NULL;
29030   return temp;
29031 }
mutable_concat_param()29032 inline ::opencv_caffe::ConcatParameter* V1LayerParameter::mutable_concat_param() {
29033   set_has_concat_param();
29034   if (concat_param_ == NULL) {
29035     concat_param_ = new ::opencv_caffe::ConcatParameter;
29036   }
29037   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.concat_param)
29038   return concat_param_;
29039 }
set_allocated_concat_param(::opencv_caffe::ConcatParameter * concat_param)29040 inline void V1LayerParameter::set_allocated_concat_param(::opencv_caffe::ConcatParameter* concat_param) {
29041   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29042   if (message_arena == NULL) {
29043     delete concat_param_;
29044   }
29045   if (concat_param) {
29046     ::google::protobuf::Arena* submessage_arena = NULL;
29047     if (message_arena != submessage_arena) {
29048       concat_param = ::google::protobuf::internal::GetOwnedMessage(
29049           message_arena, concat_param, submessage_arena);
29050     }
29051     set_has_concat_param();
29052   } else {
29053     clear_has_concat_param();
29054   }
29055   concat_param_ = concat_param;
29056   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.concat_param)
29057 }
29058 
29059 // optional .opencv_caffe.ContrastiveLossParameter contrastive_loss_param = 40;
has_contrastive_loss_param()29060 inline bool V1LayerParameter::has_contrastive_loss_param() const {
29061   return (_has_bits_[0] & 0x20000000u) != 0;
29062 }
set_has_contrastive_loss_param()29063 inline void V1LayerParameter::set_has_contrastive_loss_param() {
29064   _has_bits_[0] |= 0x20000000u;
29065 }
clear_has_contrastive_loss_param()29066 inline void V1LayerParameter::clear_has_contrastive_loss_param() {
29067   _has_bits_[0] &= ~0x20000000u;
29068 }
clear_contrastive_loss_param()29069 inline void V1LayerParameter::clear_contrastive_loss_param() {
29070   if (contrastive_loss_param_ != NULL) contrastive_loss_param_->Clear();
29071   clear_has_contrastive_loss_param();
29072 }
contrastive_loss_param()29073 inline const ::opencv_caffe::ContrastiveLossParameter& V1LayerParameter::contrastive_loss_param() const {
29074   const ::opencv_caffe::ContrastiveLossParameter* p = contrastive_loss_param_;
29075   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.contrastive_loss_param)
29076   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ContrastiveLossParameter*>(
29077       &::opencv_caffe::_ContrastiveLossParameter_default_instance_);
29078 }
release_contrastive_loss_param()29079 inline ::opencv_caffe::ContrastiveLossParameter* V1LayerParameter::release_contrastive_loss_param() {
29080   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.contrastive_loss_param)
29081   clear_has_contrastive_loss_param();
29082   ::opencv_caffe::ContrastiveLossParameter* temp = contrastive_loss_param_;
29083   contrastive_loss_param_ = NULL;
29084   return temp;
29085 }
mutable_contrastive_loss_param()29086 inline ::opencv_caffe::ContrastiveLossParameter* V1LayerParameter::mutable_contrastive_loss_param() {
29087   set_has_contrastive_loss_param();
29088   if (contrastive_loss_param_ == NULL) {
29089     contrastive_loss_param_ = new ::opencv_caffe::ContrastiveLossParameter;
29090   }
29091   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.contrastive_loss_param)
29092   return contrastive_loss_param_;
29093 }
set_allocated_contrastive_loss_param(::opencv_caffe::ContrastiveLossParameter * contrastive_loss_param)29094 inline void V1LayerParameter::set_allocated_contrastive_loss_param(::opencv_caffe::ContrastiveLossParameter* contrastive_loss_param) {
29095   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29096   if (message_arena == NULL) {
29097     delete contrastive_loss_param_;
29098   }
29099   if (contrastive_loss_param) {
29100     ::google::protobuf::Arena* submessage_arena = NULL;
29101     if (message_arena != submessage_arena) {
29102       contrastive_loss_param = ::google::protobuf::internal::GetOwnedMessage(
29103           message_arena, contrastive_loss_param, submessage_arena);
29104     }
29105     set_has_contrastive_loss_param();
29106   } else {
29107     clear_has_contrastive_loss_param();
29108   }
29109   contrastive_loss_param_ = contrastive_loss_param;
29110   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.contrastive_loss_param)
29111 }
29112 
29113 // optional .opencv_caffe.ConvolutionParameter convolution_param = 10;
has_convolution_param()29114 inline bool V1LayerParameter::has_convolution_param() const {
29115   return (_has_bits_[0] & 0x00000008u) != 0;
29116 }
set_has_convolution_param()29117 inline void V1LayerParameter::set_has_convolution_param() {
29118   _has_bits_[0] |= 0x00000008u;
29119 }
clear_has_convolution_param()29120 inline void V1LayerParameter::clear_has_convolution_param() {
29121   _has_bits_[0] &= ~0x00000008u;
29122 }
clear_convolution_param()29123 inline void V1LayerParameter::clear_convolution_param() {
29124   if (convolution_param_ != NULL) convolution_param_->Clear();
29125   clear_has_convolution_param();
29126 }
convolution_param()29127 inline const ::opencv_caffe::ConvolutionParameter& V1LayerParameter::convolution_param() const {
29128   const ::opencv_caffe::ConvolutionParameter* p = convolution_param_;
29129   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.convolution_param)
29130   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ConvolutionParameter*>(
29131       &::opencv_caffe::_ConvolutionParameter_default_instance_);
29132 }
release_convolution_param()29133 inline ::opencv_caffe::ConvolutionParameter* V1LayerParameter::release_convolution_param() {
29134   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.convolution_param)
29135   clear_has_convolution_param();
29136   ::opencv_caffe::ConvolutionParameter* temp = convolution_param_;
29137   convolution_param_ = NULL;
29138   return temp;
29139 }
mutable_convolution_param()29140 inline ::opencv_caffe::ConvolutionParameter* V1LayerParameter::mutable_convolution_param() {
29141   set_has_convolution_param();
29142   if (convolution_param_ == NULL) {
29143     convolution_param_ = new ::opencv_caffe::ConvolutionParameter;
29144   }
29145   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.convolution_param)
29146   return convolution_param_;
29147 }
set_allocated_convolution_param(::opencv_caffe::ConvolutionParameter * convolution_param)29148 inline void V1LayerParameter::set_allocated_convolution_param(::opencv_caffe::ConvolutionParameter* convolution_param) {
29149   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29150   if (message_arena == NULL) {
29151     delete convolution_param_;
29152   }
29153   if (convolution_param) {
29154     ::google::protobuf::Arena* submessage_arena = NULL;
29155     if (message_arena != submessage_arena) {
29156       convolution_param = ::google::protobuf::internal::GetOwnedMessage(
29157           message_arena, convolution_param, submessage_arena);
29158     }
29159     set_has_convolution_param();
29160   } else {
29161     clear_has_convolution_param();
29162   }
29163   convolution_param_ = convolution_param;
29164   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.convolution_param)
29165 }
29166 
29167 // optional .opencv_caffe.DataParameter data_param = 11;
has_data_param()29168 inline bool V1LayerParameter::has_data_param() const {
29169   return (_has_bits_[0] & 0x00000010u) != 0;
29170 }
set_has_data_param()29171 inline void V1LayerParameter::set_has_data_param() {
29172   _has_bits_[0] |= 0x00000010u;
29173 }
clear_has_data_param()29174 inline void V1LayerParameter::clear_has_data_param() {
29175   _has_bits_[0] &= ~0x00000010u;
29176 }
clear_data_param()29177 inline void V1LayerParameter::clear_data_param() {
29178   if (data_param_ != NULL) data_param_->Clear();
29179   clear_has_data_param();
29180 }
data_param()29181 inline const ::opencv_caffe::DataParameter& V1LayerParameter::data_param() const {
29182   const ::opencv_caffe::DataParameter* p = data_param_;
29183   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.data_param)
29184   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::DataParameter*>(
29185       &::opencv_caffe::_DataParameter_default_instance_);
29186 }
release_data_param()29187 inline ::opencv_caffe::DataParameter* V1LayerParameter::release_data_param() {
29188   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.data_param)
29189   clear_has_data_param();
29190   ::opencv_caffe::DataParameter* temp = data_param_;
29191   data_param_ = NULL;
29192   return temp;
29193 }
mutable_data_param()29194 inline ::opencv_caffe::DataParameter* V1LayerParameter::mutable_data_param() {
29195   set_has_data_param();
29196   if (data_param_ == NULL) {
29197     data_param_ = new ::opencv_caffe::DataParameter;
29198   }
29199   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.data_param)
29200   return data_param_;
29201 }
set_allocated_data_param(::opencv_caffe::DataParameter * data_param)29202 inline void V1LayerParameter::set_allocated_data_param(::opencv_caffe::DataParameter* data_param) {
29203   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29204   if (message_arena == NULL) {
29205     delete data_param_;
29206   }
29207   if (data_param) {
29208     ::google::protobuf::Arena* submessage_arena = NULL;
29209     if (message_arena != submessage_arena) {
29210       data_param = ::google::protobuf::internal::GetOwnedMessage(
29211           message_arena, data_param, submessage_arena);
29212     }
29213     set_has_data_param();
29214   } else {
29215     clear_has_data_param();
29216   }
29217   data_param_ = data_param;
29218   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.data_param)
29219 }
29220 
29221 // optional .opencv_caffe.DropoutParameter dropout_param = 12;
has_dropout_param()29222 inline bool V1LayerParameter::has_dropout_param() const {
29223   return (_has_bits_[0] & 0x00000020u) != 0;
29224 }
set_has_dropout_param()29225 inline void V1LayerParameter::set_has_dropout_param() {
29226   _has_bits_[0] |= 0x00000020u;
29227 }
clear_has_dropout_param()29228 inline void V1LayerParameter::clear_has_dropout_param() {
29229   _has_bits_[0] &= ~0x00000020u;
29230 }
clear_dropout_param()29231 inline void V1LayerParameter::clear_dropout_param() {
29232   if (dropout_param_ != NULL) dropout_param_->Clear();
29233   clear_has_dropout_param();
29234 }
dropout_param()29235 inline const ::opencv_caffe::DropoutParameter& V1LayerParameter::dropout_param() const {
29236   const ::opencv_caffe::DropoutParameter* p = dropout_param_;
29237   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.dropout_param)
29238   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::DropoutParameter*>(
29239       &::opencv_caffe::_DropoutParameter_default_instance_);
29240 }
release_dropout_param()29241 inline ::opencv_caffe::DropoutParameter* V1LayerParameter::release_dropout_param() {
29242   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.dropout_param)
29243   clear_has_dropout_param();
29244   ::opencv_caffe::DropoutParameter* temp = dropout_param_;
29245   dropout_param_ = NULL;
29246   return temp;
29247 }
mutable_dropout_param()29248 inline ::opencv_caffe::DropoutParameter* V1LayerParameter::mutable_dropout_param() {
29249   set_has_dropout_param();
29250   if (dropout_param_ == NULL) {
29251     dropout_param_ = new ::opencv_caffe::DropoutParameter;
29252   }
29253   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.dropout_param)
29254   return dropout_param_;
29255 }
set_allocated_dropout_param(::opencv_caffe::DropoutParameter * dropout_param)29256 inline void V1LayerParameter::set_allocated_dropout_param(::opencv_caffe::DropoutParameter* dropout_param) {
29257   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29258   if (message_arena == NULL) {
29259     delete dropout_param_;
29260   }
29261   if (dropout_param) {
29262     ::google::protobuf::Arena* submessage_arena = NULL;
29263     if (message_arena != submessage_arena) {
29264       dropout_param = ::google::protobuf::internal::GetOwnedMessage(
29265           message_arena, dropout_param, submessage_arena);
29266     }
29267     set_has_dropout_param();
29268   } else {
29269     clear_has_dropout_param();
29270   }
29271   dropout_param_ = dropout_param;
29272   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.dropout_param)
29273 }
29274 
29275 // optional .opencv_caffe.DummyDataParameter dummy_data_param = 26;
has_dummy_data_param()29276 inline bool V1LayerParameter::has_dummy_data_param() const {
29277   return (_has_bits_[0] & 0x00080000u) != 0;
29278 }
set_has_dummy_data_param()29279 inline void V1LayerParameter::set_has_dummy_data_param() {
29280   _has_bits_[0] |= 0x00080000u;
29281 }
clear_has_dummy_data_param()29282 inline void V1LayerParameter::clear_has_dummy_data_param() {
29283   _has_bits_[0] &= ~0x00080000u;
29284 }
clear_dummy_data_param()29285 inline void V1LayerParameter::clear_dummy_data_param() {
29286   if (dummy_data_param_ != NULL) dummy_data_param_->Clear();
29287   clear_has_dummy_data_param();
29288 }
dummy_data_param()29289 inline const ::opencv_caffe::DummyDataParameter& V1LayerParameter::dummy_data_param() const {
29290   const ::opencv_caffe::DummyDataParameter* p = dummy_data_param_;
29291   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.dummy_data_param)
29292   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::DummyDataParameter*>(
29293       &::opencv_caffe::_DummyDataParameter_default_instance_);
29294 }
release_dummy_data_param()29295 inline ::opencv_caffe::DummyDataParameter* V1LayerParameter::release_dummy_data_param() {
29296   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.dummy_data_param)
29297   clear_has_dummy_data_param();
29298   ::opencv_caffe::DummyDataParameter* temp = dummy_data_param_;
29299   dummy_data_param_ = NULL;
29300   return temp;
29301 }
mutable_dummy_data_param()29302 inline ::opencv_caffe::DummyDataParameter* V1LayerParameter::mutable_dummy_data_param() {
29303   set_has_dummy_data_param();
29304   if (dummy_data_param_ == NULL) {
29305     dummy_data_param_ = new ::opencv_caffe::DummyDataParameter;
29306   }
29307   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.dummy_data_param)
29308   return dummy_data_param_;
29309 }
set_allocated_dummy_data_param(::opencv_caffe::DummyDataParameter * dummy_data_param)29310 inline void V1LayerParameter::set_allocated_dummy_data_param(::opencv_caffe::DummyDataParameter* dummy_data_param) {
29311   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29312   if (message_arena == NULL) {
29313     delete dummy_data_param_;
29314   }
29315   if (dummy_data_param) {
29316     ::google::protobuf::Arena* submessage_arena = NULL;
29317     if (message_arena != submessage_arena) {
29318       dummy_data_param = ::google::protobuf::internal::GetOwnedMessage(
29319           message_arena, dummy_data_param, submessage_arena);
29320     }
29321     set_has_dummy_data_param();
29322   } else {
29323     clear_has_dummy_data_param();
29324   }
29325   dummy_data_param_ = dummy_data_param;
29326   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.dummy_data_param)
29327 }
29328 
29329 // optional .opencv_caffe.EltwiseParameter eltwise_param = 24;
has_eltwise_param()29330 inline bool V1LayerParameter::has_eltwise_param() const {
29331   return (_has_bits_[0] & 0x00020000u) != 0;
29332 }
set_has_eltwise_param()29333 inline void V1LayerParameter::set_has_eltwise_param() {
29334   _has_bits_[0] |= 0x00020000u;
29335 }
clear_has_eltwise_param()29336 inline void V1LayerParameter::clear_has_eltwise_param() {
29337   _has_bits_[0] &= ~0x00020000u;
29338 }
clear_eltwise_param()29339 inline void V1LayerParameter::clear_eltwise_param() {
29340   if (eltwise_param_ != NULL) eltwise_param_->Clear();
29341   clear_has_eltwise_param();
29342 }
eltwise_param()29343 inline const ::opencv_caffe::EltwiseParameter& V1LayerParameter::eltwise_param() const {
29344   const ::opencv_caffe::EltwiseParameter* p = eltwise_param_;
29345   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.eltwise_param)
29346   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::EltwiseParameter*>(
29347       &::opencv_caffe::_EltwiseParameter_default_instance_);
29348 }
release_eltwise_param()29349 inline ::opencv_caffe::EltwiseParameter* V1LayerParameter::release_eltwise_param() {
29350   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.eltwise_param)
29351   clear_has_eltwise_param();
29352   ::opencv_caffe::EltwiseParameter* temp = eltwise_param_;
29353   eltwise_param_ = NULL;
29354   return temp;
29355 }
mutable_eltwise_param()29356 inline ::opencv_caffe::EltwiseParameter* V1LayerParameter::mutable_eltwise_param() {
29357   set_has_eltwise_param();
29358   if (eltwise_param_ == NULL) {
29359     eltwise_param_ = new ::opencv_caffe::EltwiseParameter;
29360   }
29361   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.eltwise_param)
29362   return eltwise_param_;
29363 }
set_allocated_eltwise_param(::opencv_caffe::EltwiseParameter * eltwise_param)29364 inline void V1LayerParameter::set_allocated_eltwise_param(::opencv_caffe::EltwiseParameter* eltwise_param) {
29365   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29366   if (message_arena == NULL) {
29367     delete eltwise_param_;
29368   }
29369   if (eltwise_param) {
29370     ::google::protobuf::Arena* submessage_arena = NULL;
29371     if (message_arena != submessage_arena) {
29372       eltwise_param = ::google::protobuf::internal::GetOwnedMessage(
29373           message_arena, eltwise_param, submessage_arena);
29374     }
29375     set_has_eltwise_param();
29376   } else {
29377     clear_has_eltwise_param();
29378   }
29379   eltwise_param_ = eltwise_param;
29380   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.eltwise_param)
29381 }
29382 
29383 // optional .opencv_caffe.ExpParameter exp_param = 41;
has_exp_param()29384 inline bool V1LayerParameter::has_exp_param() const {
29385   return (_has_bits_[0] & 0x40000000u) != 0;
29386 }
set_has_exp_param()29387 inline void V1LayerParameter::set_has_exp_param() {
29388   _has_bits_[0] |= 0x40000000u;
29389 }
clear_has_exp_param()29390 inline void V1LayerParameter::clear_has_exp_param() {
29391   _has_bits_[0] &= ~0x40000000u;
29392 }
clear_exp_param()29393 inline void V1LayerParameter::clear_exp_param() {
29394   if (exp_param_ != NULL) exp_param_->Clear();
29395   clear_has_exp_param();
29396 }
exp_param()29397 inline const ::opencv_caffe::ExpParameter& V1LayerParameter::exp_param() const {
29398   const ::opencv_caffe::ExpParameter* p = exp_param_;
29399   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.exp_param)
29400   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ExpParameter*>(
29401       &::opencv_caffe::_ExpParameter_default_instance_);
29402 }
release_exp_param()29403 inline ::opencv_caffe::ExpParameter* V1LayerParameter::release_exp_param() {
29404   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.exp_param)
29405   clear_has_exp_param();
29406   ::opencv_caffe::ExpParameter* temp = exp_param_;
29407   exp_param_ = NULL;
29408   return temp;
29409 }
mutable_exp_param()29410 inline ::opencv_caffe::ExpParameter* V1LayerParameter::mutable_exp_param() {
29411   set_has_exp_param();
29412   if (exp_param_ == NULL) {
29413     exp_param_ = new ::opencv_caffe::ExpParameter;
29414   }
29415   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.exp_param)
29416   return exp_param_;
29417 }
set_allocated_exp_param(::opencv_caffe::ExpParameter * exp_param)29418 inline void V1LayerParameter::set_allocated_exp_param(::opencv_caffe::ExpParameter* exp_param) {
29419   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29420   if (message_arena == NULL) {
29421     delete exp_param_;
29422   }
29423   if (exp_param) {
29424     ::google::protobuf::Arena* submessage_arena = NULL;
29425     if (message_arena != submessage_arena) {
29426       exp_param = ::google::protobuf::internal::GetOwnedMessage(
29427           message_arena, exp_param, submessage_arena);
29428     }
29429     set_has_exp_param();
29430   } else {
29431     clear_has_exp_param();
29432   }
29433   exp_param_ = exp_param;
29434   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.exp_param)
29435 }
29436 
29437 // optional .opencv_caffe.HDF5DataParameter hdf5_data_param = 13;
has_hdf5_data_param()29438 inline bool V1LayerParameter::has_hdf5_data_param() const {
29439   return (_has_bits_[0] & 0x00000040u) != 0;
29440 }
set_has_hdf5_data_param()29441 inline void V1LayerParameter::set_has_hdf5_data_param() {
29442   _has_bits_[0] |= 0x00000040u;
29443 }
clear_has_hdf5_data_param()29444 inline void V1LayerParameter::clear_has_hdf5_data_param() {
29445   _has_bits_[0] &= ~0x00000040u;
29446 }
clear_hdf5_data_param()29447 inline void V1LayerParameter::clear_hdf5_data_param() {
29448   if (hdf5_data_param_ != NULL) hdf5_data_param_->Clear();
29449   clear_has_hdf5_data_param();
29450 }
hdf5_data_param()29451 inline const ::opencv_caffe::HDF5DataParameter& V1LayerParameter::hdf5_data_param() const {
29452   const ::opencv_caffe::HDF5DataParameter* p = hdf5_data_param_;
29453   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.hdf5_data_param)
29454   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::HDF5DataParameter*>(
29455       &::opencv_caffe::_HDF5DataParameter_default_instance_);
29456 }
release_hdf5_data_param()29457 inline ::opencv_caffe::HDF5DataParameter* V1LayerParameter::release_hdf5_data_param() {
29458   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.hdf5_data_param)
29459   clear_has_hdf5_data_param();
29460   ::opencv_caffe::HDF5DataParameter* temp = hdf5_data_param_;
29461   hdf5_data_param_ = NULL;
29462   return temp;
29463 }
mutable_hdf5_data_param()29464 inline ::opencv_caffe::HDF5DataParameter* V1LayerParameter::mutable_hdf5_data_param() {
29465   set_has_hdf5_data_param();
29466   if (hdf5_data_param_ == NULL) {
29467     hdf5_data_param_ = new ::opencv_caffe::HDF5DataParameter;
29468   }
29469   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.hdf5_data_param)
29470   return hdf5_data_param_;
29471 }
set_allocated_hdf5_data_param(::opencv_caffe::HDF5DataParameter * hdf5_data_param)29472 inline void V1LayerParameter::set_allocated_hdf5_data_param(::opencv_caffe::HDF5DataParameter* hdf5_data_param) {
29473   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29474   if (message_arena == NULL) {
29475     delete hdf5_data_param_;
29476   }
29477   if (hdf5_data_param) {
29478     ::google::protobuf::Arena* submessage_arena = NULL;
29479     if (message_arena != submessage_arena) {
29480       hdf5_data_param = ::google::protobuf::internal::GetOwnedMessage(
29481           message_arena, hdf5_data_param, submessage_arena);
29482     }
29483     set_has_hdf5_data_param();
29484   } else {
29485     clear_has_hdf5_data_param();
29486   }
29487   hdf5_data_param_ = hdf5_data_param;
29488   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.hdf5_data_param)
29489 }
29490 
29491 // optional .opencv_caffe.HDF5OutputParameter hdf5_output_param = 14;
has_hdf5_output_param()29492 inline bool V1LayerParameter::has_hdf5_output_param() const {
29493   return (_has_bits_[0] & 0x00000080u) != 0;
29494 }
set_has_hdf5_output_param()29495 inline void V1LayerParameter::set_has_hdf5_output_param() {
29496   _has_bits_[0] |= 0x00000080u;
29497 }
clear_has_hdf5_output_param()29498 inline void V1LayerParameter::clear_has_hdf5_output_param() {
29499   _has_bits_[0] &= ~0x00000080u;
29500 }
clear_hdf5_output_param()29501 inline void V1LayerParameter::clear_hdf5_output_param() {
29502   if (hdf5_output_param_ != NULL) hdf5_output_param_->Clear();
29503   clear_has_hdf5_output_param();
29504 }
hdf5_output_param()29505 inline const ::opencv_caffe::HDF5OutputParameter& V1LayerParameter::hdf5_output_param() const {
29506   const ::opencv_caffe::HDF5OutputParameter* p = hdf5_output_param_;
29507   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.hdf5_output_param)
29508   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::HDF5OutputParameter*>(
29509       &::opencv_caffe::_HDF5OutputParameter_default_instance_);
29510 }
release_hdf5_output_param()29511 inline ::opencv_caffe::HDF5OutputParameter* V1LayerParameter::release_hdf5_output_param() {
29512   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.hdf5_output_param)
29513   clear_has_hdf5_output_param();
29514   ::opencv_caffe::HDF5OutputParameter* temp = hdf5_output_param_;
29515   hdf5_output_param_ = NULL;
29516   return temp;
29517 }
mutable_hdf5_output_param()29518 inline ::opencv_caffe::HDF5OutputParameter* V1LayerParameter::mutable_hdf5_output_param() {
29519   set_has_hdf5_output_param();
29520   if (hdf5_output_param_ == NULL) {
29521     hdf5_output_param_ = new ::opencv_caffe::HDF5OutputParameter;
29522   }
29523   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.hdf5_output_param)
29524   return hdf5_output_param_;
29525 }
set_allocated_hdf5_output_param(::opencv_caffe::HDF5OutputParameter * hdf5_output_param)29526 inline void V1LayerParameter::set_allocated_hdf5_output_param(::opencv_caffe::HDF5OutputParameter* hdf5_output_param) {
29527   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29528   if (message_arena == NULL) {
29529     delete hdf5_output_param_;
29530   }
29531   if (hdf5_output_param) {
29532     ::google::protobuf::Arena* submessage_arena = NULL;
29533     if (message_arena != submessage_arena) {
29534       hdf5_output_param = ::google::protobuf::internal::GetOwnedMessage(
29535           message_arena, hdf5_output_param, submessage_arena);
29536     }
29537     set_has_hdf5_output_param();
29538   } else {
29539     clear_has_hdf5_output_param();
29540   }
29541   hdf5_output_param_ = hdf5_output_param;
29542   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.hdf5_output_param)
29543 }
29544 
29545 // optional .opencv_caffe.HingeLossParameter hinge_loss_param = 29;
has_hinge_loss_param()29546 inline bool V1LayerParameter::has_hinge_loss_param() const {
29547   return (_has_bits_[0] & 0x00200000u) != 0;
29548 }
set_has_hinge_loss_param()29549 inline void V1LayerParameter::set_has_hinge_loss_param() {
29550   _has_bits_[0] |= 0x00200000u;
29551 }
clear_has_hinge_loss_param()29552 inline void V1LayerParameter::clear_has_hinge_loss_param() {
29553   _has_bits_[0] &= ~0x00200000u;
29554 }
clear_hinge_loss_param()29555 inline void V1LayerParameter::clear_hinge_loss_param() {
29556   if (hinge_loss_param_ != NULL) hinge_loss_param_->Clear();
29557   clear_has_hinge_loss_param();
29558 }
hinge_loss_param()29559 inline const ::opencv_caffe::HingeLossParameter& V1LayerParameter::hinge_loss_param() const {
29560   const ::opencv_caffe::HingeLossParameter* p = hinge_loss_param_;
29561   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.hinge_loss_param)
29562   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::HingeLossParameter*>(
29563       &::opencv_caffe::_HingeLossParameter_default_instance_);
29564 }
release_hinge_loss_param()29565 inline ::opencv_caffe::HingeLossParameter* V1LayerParameter::release_hinge_loss_param() {
29566   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.hinge_loss_param)
29567   clear_has_hinge_loss_param();
29568   ::opencv_caffe::HingeLossParameter* temp = hinge_loss_param_;
29569   hinge_loss_param_ = NULL;
29570   return temp;
29571 }
mutable_hinge_loss_param()29572 inline ::opencv_caffe::HingeLossParameter* V1LayerParameter::mutable_hinge_loss_param() {
29573   set_has_hinge_loss_param();
29574   if (hinge_loss_param_ == NULL) {
29575     hinge_loss_param_ = new ::opencv_caffe::HingeLossParameter;
29576   }
29577   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.hinge_loss_param)
29578   return hinge_loss_param_;
29579 }
set_allocated_hinge_loss_param(::opencv_caffe::HingeLossParameter * hinge_loss_param)29580 inline void V1LayerParameter::set_allocated_hinge_loss_param(::opencv_caffe::HingeLossParameter* hinge_loss_param) {
29581   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29582   if (message_arena == NULL) {
29583     delete hinge_loss_param_;
29584   }
29585   if (hinge_loss_param) {
29586     ::google::protobuf::Arena* submessage_arena = NULL;
29587     if (message_arena != submessage_arena) {
29588       hinge_loss_param = ::google::protobuf::internal::GetOwnedMessage(
29589           message_arena, hinge_loss_param, submessage_arena);
29590     }
29591     set_has_hinge_loss_param();
29592   } else {
29593     clear_has_hinge_loss_param();
29594   }
29595   hinge_loss_param_ = hinge_loss_param;
29596   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.hinge_loss_param)
29597 }
29598 
29599 // optional .opencv_caffe.ImageDataParameter image_data_param = 15;
has_image_data_param()29600 inline bool V1LayerParameter::has_image_data_param() const {
29601   return (_has_bits_[0] & 0x00000100u) != 0;
29602 }
set_has_image_data_param()29603 inline void V1LayerParameter::set_has_image_data_param() {
29604   _has_bits_[0] |= 0x00000100u;
29605 }
clear_has_image_data_param()29606 inline void V1LayerParameter::clear_has_image_data_param() {
29607   _has_bits_[0] &= ~0x00000100u;
29608 }
clear_image_data_param()29609 inline void V1LayerParameter::clear_image_data_param() {
29610   if (image_data_param_ != NULL) image_data_param_->Clear();
29611   clear_has_image_data_param();
29612 }
image_data_param()29613 inline const ::opencv_caffe::ImageDataParameter& V1LayerParameter::image_data_param() const {
29614   const ::opencv_caffe::ImageDataParameter* p = image_data_param_;
29615   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.image_data_param)
29616   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ImageDataParameter*>(
29617       &::opencv_caffe::_ImageDataParameter_default_instance_);
29618 }
release_image_data_param()29619 inline ::opencv_caffe::ImageDataParameter* V1LayerParameter::release_image_data_param() {
29620   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.image_data_param)
29621   clear_has_image_data_param();
29622   ::opencv_caffe::ImageDataParameter* temp = image_data_param_;
29623   image_data_param_ = NULL;
29624   return temp;
29625 }
mutable_image_data_param()29626 inline ::opencv_caffe::ImageDataParameter* V1LayerParameter::mutable_image_data_param() {
29627   set_has_image_data_param();
29628   if (image_data_param_ == NULL) {
29629     image_data_param_ = new ::opencv_caffe::ImageDataParameter;
29630   }
29631   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.image_data_param)
29632   return image_data_param_;
29633 }
set_allocated_image_data_param(::opencv_caffe::ImageDataParameter * image_data_param)29634 inline void V1LayerParameter::set_allocated_image_data_param(::opencv_caffe::ImageDataParameter* image_data_param) {
29635   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29636   if (message_arena == NULL) {
29637     delete image_data_param_;
29638   }
29639   if (image_data_param) {
29640     ::google::protobuf::Arena* submessage_arena = NULL;
29641     if (message_arena != submessage_arena) {
29642       image_data_param = ::google::protobuf::internal::GetOwnedMessage(
29643           message_arena, image_data_param, submessage_arena);
29644     }
29645     set_has_image_data_param();
29646   } else {
29647     clear_has_image_data_param();
29648   }
29649   image_data_param_ = image_data_param;
29650   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.image_data_param)
29651 }
29652 
29653 // optional .opencv_caffe.InfogainLossParameter infogain_loss_param = 16;
has_infogain_loss_param()29654 inline bool V1LayerParameter::has_infogain_loss_param() const {
29655   return (_has_bits_[0] & 0x00000200u) != 0;
29656 }
set_has_infogain_loss_param()29657 inline void V1LayerParameter::set_has_infogain_loss_param() {
29658   _has_bits_[0] |= 0x00000200u;
29659 }
clear_has_infogain_loss_param()29660 inline void V1LayerParameter::clear_has_infogain_loss_param() {
29661   _has_bits_[0] &= ~0x00000200u;
29662 }
clear_infogain_loss_param()29663 inline void V1LayerParameter::clear_infogain_loss_param() {
29664   if (infogain_loss_param_ != NULL) infogain_loss_param_->Clear();
29665   clear_has_infogain_loss_param();
29666 }
infogain_loss_param()29667 inline const ::opencv_caffe::InfogainLossParameter& V1LayerParameter::infogain_loss_param() const {
29668   const ::opencv_caffe::InfogainLossParameter* p = infogain_loss_param_;
29669   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.infogain_loss_param)
29670   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::InfogainLossParameter*>(
29671       &::opencv_caffe::_InfogainLossParameter_default_instance_);
29672 }
release_infogain_loss_param()29673 inline ::opencv_caffe::InfogainLossParameter* V1LayerParameter::release_infogain_loss_param() {
29674   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.infogain_loss_param)
29675   clear_has_infogain_loss_param();
29676   ::opencv_caffe::InfogainLossParameter* temp = infogain_loss_param_;
29677   infogain_loss_param_ = NULL;
29678   return temp;
29679 }
mutable_infogain_loss_param()29680 inline ::opencv_caffe::InfogainLossParameter* V1LayerParameter::mutable_infogain_loss_param() {
29681   set_has_infogain_loss_param();
29682   if (infogain_loss_param_ == NULL) {
29683     infogain_loss_param_ = new ::opencv_caffe::InfogainLossParameter;
29684   }
29685   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.infogain_loss_param)
29686   return infogain_loss_param_;
29687 }
set_allocated_infogain_loss_param(::opencv_caffe::InfogainLossParameter * infogain_loss_param)29688 inline void V1LayerParameter::set_allocated_infogain_loss_param(::opencv_caffe::InfogainLossParameter* infogain_loss_param) {
29689   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29690   if (message_arena == NULL) {
29691     delete infogain_loss_param_;
29692   }
29693   if (infogain_loss_param) {
29694     ::google::protobuf::Arena* submessage_arena = NULL;
29695     if (message_arena != submessage_arena) {
29696       infogain_loss_param = ::google::protobuf::internal::GetOwnedMessage(
29697           message_arena, infogain_loss_param, submessage_arena);
29698     }
29699     set_has_infogain_loss_param();
29700   } else {
29701     clear_has_infogain_loss_param();
29702   }
29703   infogain_loss_param_ = infogain_loss_param;
29704   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.infogain_loss_param)
29705 }
29706 
29707 // optional .opencv_caffe.InnerProductParameter inner_product_param = 17;
has_inner_product_param()29708 inline bool V1LayerParameter::has_inner_product_param() const {
29709   return (_has_bits_[0] & 0x00000400u) != 0;
29710 }
set_has_inner_product_param()29711 inline void V1LayerParameter::set_has_inner_product_param() {
29712   _has_bits_[0] |= 0x00000400u;
29713 }
clear_has_inner_product_param()29714 inline void V1LayerParameter::clear_has_inner_product_param() {
29715   _has_bits_[0] &= ~0x00000400u;
29716 }
clear_inner_product_param()29717 inline void V1LayerParameter::clear_inner_product_param() {
29718   if (inner_product_param_ != NULL) inner_product_param_->Clear();
29719   clear_has_inner_product_param();
29720 }
inner_product_param()29721 inline const ::opencv_caffe::InnerProductParameter& V1LayerParameter::inner_product_param() const {
29722   const ::opencv_caffe::InnerProductParameter* p = inner_product_param_;
29723   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.inner_product_param)
29724   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::InnerProductParameter*>(
29725       &::opencv_caffe::_InnerProductParameter_default_instance_);
29726 }
release_inner_product_param()29727 inline ::opencv_caffe::InnerProductParameter* V1LayerParameter::release_inner_product_param() {
29728   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.inner_product_param)
29729   clear_has_inner_product_param();
29730   ::opencv_caffe::InnerProductParameter* temp = inner_product_param_;
29731   inner_product_param_ = NULL;
29732   return temp;
29733 }
mutable_inner_product_param()29734 inline ::opencv_caffe::InnerProductParameter* V1LayerParameter::mutable_inner_product_param() {
29735   set_has_inner_product_param();
29736   if (inner_product_param_ == NULL) {
29737     inner_product_param_ = new ::opencv_caffe::InnerProductParameter;
29738   }
29739   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.inner_product_param)
29740   return inner_product_param_;
29741 }
set_allocated_inner_product_param(::opencv_caffe::InnerProductParameter * inner_product_param)29742 inline void V1LayerParameter::set_allocated_inner_product_param(::opencv_caffe::InnerProductParameter* inner_product_param) {
29743   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29744   if (message_arena == NULL) {
29745     delete inner_product_param_;
29746   }
29747   if (inner_product_param) {
29748     ::google::protobuf::Arena* submessage_arena = NULL;
29749     if (message_arena != submessage_arena) {
29750       inner_product_param = ::google::protobuf::internal::GetOwnedMessage(
29751           message_arena, inner_product_param, submessage_arena);
29752     }
29753     set_has_inner_product_param();
29754   } else {
29755     clear_has_inner_product_param();
29756   }
29757   inner_product_param_ = inner_product_param;
29758   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.inner_product_param)
29759 }
29760 
29761 // optional .opencv_caffe.LRNParameter lrn_param = 18;
has_lrn_param()29762 inline bool V1LayerParameter::has_lrn_param() const {
29763   return (_has_bits_[0] & 0x00000800u) != 0;
29764 }
set_has_lrn_param()29765 inline void V1LayerParameter::set_has_lrn_param() {
29766   _has_bits_[0] |= 0x00000800u;
29767 }
clear_has_lrn_param()29768 inline void V1LayerParameter::clear_has_lrn_param() {
29769   _has_bits_[0] &= ~0x00000800u;
29770 }
clear_lrn_param()29771 inline void V1LayerParameter::clear_lrn_param() {
29772   if (lrn_param_ != NULL) lrn_param_->Clear();
29773   clear_has_lrn_param();
29774 }
lrn_param()29775 inline const ::opencv_caffe::LRNParameter& V1LayerParameter::lrn_param() const {
29776   const ::opencv_caffe::LRNParameter* p = lrn_param_;
29777   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.lrn_param)
29778   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::LRNParameter*>(
29779       &::opencv_caffe::_LRNParameter_default_instance_);
29780 }
release_lrn_param()29781 inline ::opencv_caffe::LRNParameter* V1LayerParameter::release_lrn_param() {
29782   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.lrn_param)
29783   clear_has_lrn_param();
29784   ::opencv_caffe::LRNParameter* temp = lrn_param_;
29785   lrn_param_ = NULL;
29786   return temp;
29787 }
mutable_lrn_param()29788 inline ::opencv_caffe::LRNParameter* V1LayerParameter::mutable_lrn_param() {
29789   set_has_lrn_param();
29790   if (lrn_param_ == NULL) {
29791     lrn_param_ = new ::opencv_caffe::LRNParameter;
29792   }
29793   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.lrn_param)
29794   return lrn_param_;
29795 }
set_allocated_lrn_param(::opencv_caffe::LRNParameter * lrn_param)29796 inline void V1LayerParameter::set_allocated_lrn_param(::opencv_caffe::LRNParameter* lrn_param) {
29797   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29798   if (message_arena == NULL) {
29799     delete lrn_param_;
29800   }
29801   if (lrn_param) {
29802     ::google::protobuf::Arena* submessage_arena = NULL;
29803     if (message_arena != submessage_arena) {
29804       lrn_param = ::google::protobuf::internal::GetOwnedMessage(
29805           message_arena, lrn_param, submessage_arena);
29806     }
29807     set_has_lrn_param();
29808   } else {
29809     clear_has_lrn_param();
29810   }
29811   lrn_param_ = lrn_param;
29812   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.lrn_param)
29813 }
29814 
29815 // optional .opencv_caffe.MemoryDataParameter memory_data_param = 22;
has_memory_data_param()29816 inline bool V1LayerParameter::has_memory_data_param() const {
29817   return (_has_bits_[0] & 0x00008000u) != 0;
29818 }
set_has_memory_data_param()29819 inline void V1LayerParameter::set_has_memory_data_param() {
29820   _has_bits_[0] |= 0x00008000u;
29821 }
clear_has_memory_data_param()29822 inline void V1LayerParameter::clear_has_memory_data_param() {
29823   _has_bits_[0] &= ~0x00008000u;
29824 }
clear_memory_data_param()29825 inline void V1LayerParameter::clear_memory_data_param() {
29826   if (memory_data_param_ != NULL) memory_data_param_->Clear();
29827   clear_has_memory_data_param();
29828 }
memory_data_param()29829 inline const ::opencv_caffe::MemoryDataParameter& V1LayerParameter::memory_data_param() const {
29830   const ::opencv_caffe::MemoryDataParameter* p = memory_data_param_;
29831   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.memory_data_param)
29832   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::MemoryDataParameter*>(
29833       &::opencv_caffe::_MemoryDataParameter_default_instance_);
29834 }
release_memory_data_param()29835 inline ::opencv_caffe::MemoryDataParameter* V1LayerParameter::release_memory_data_param() {
29836   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.memory_data_param)
29837   clear_has_memory_data_param();
29838   ::opencv_caffe::MemoryDataParameter* temp = memory_data_param_;
29839   memory_data_param_ = NULL;
29840   return temp;
29841 }
mutable_memory_data_param()29842 inline ::opencv_caffe::MemoryDataParameter* V1LayerParameter::mutable_memory_data_param() {
29843   set_has_memory_data_param();
29844   if (memory_data_param_ == NULL) {
29845     memory_data_param_ = new ::opencv_caffe::MemoryDataParameter;
29846   }
29847   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.memory_data_param)
29848   return memory_data_param_;
29849 }
set_allocated_memory_data_param(::opencv_caffe::MemoryDataParameter * memory_data_param)29850 inline void V1LayerParameter::set_allocated_memory_data_param(::opencv_caffe::MemoryDataParameter* memory_data_param) {
29851   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29852   if (message_arena == NULL) {
29853     delete memory_data_param_;
29854   }
29855   if (memory_data_param) {
29856     ::google::protobuf::Arena* submessage_arena = NULL;
29857     if (message_arena != submessage_arena) {
29858       memory_data_param = ::google::protobuf::internal::GetOwnedMessage(
29859           message_arena, memory_data_param, submessage_arena);
29860     }
29861     set_has_memory_data_param();
29862   } else {
29863     clear_has_memory_data_param();
29864   }
29865   memory_data_param_ = memory_data_param;
29866   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.memory_data_param)
29867 }
29868 
29869 // optional .opencv_caffe.MVNParameter mvn_param = 34;
has_mvn_param()29870 inline bool V1LayerParameter::has_mvn_param() const {
29871   return (_has_bits_[0] & 0x01000000u) != 0;
29872 }
set_has_mvn_param()29873 inline void V1LayerParameter::set_has_mvn_param() {
29874   _has_bits_[0] |= 0x01000000u;
29875 }
clear_has_mvn_param()29876 inline void V1LayerParameter::clear_has_mvn_param() {
29877   _has_bits_[0] &= ~0x01000000u;
29878 }
clear_mvn_param()29879 inline void V1LayerParameter::clear_mvn_param() {
29880   if (mvn_param_ != NULL) mvn_param_->Clear();
29881   clear_has_mvn_param();
29882 }
mvn_param()29883 inline const ::opencv_caffe::MVNParameter& V1LayerParameter::mvn_param() const {
29884   const ::opencv_caffe::MVNParameter* p = mvn_param_;
29885   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.mvn_param)
29886   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::MVNParameter*>(
29887       &::opencv_caffe::_MVNParameter_default_instance_);
29888 }
release_mvn_param()29889 inline ::opencv_caffe::MVNParameter* V1LayerParameter::release_mvn_param() {
29890   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.mvn_param)
29891   clear_has_mvn_param();
29892   ::opencv_caffe::MVNParameter* temp = mvn_param_;
29893   mvn_param_ = NULL;
29894   return temp;
29895 }
mutable_mvn_param()29896 inline ::opencv_caffe::MVNParameter* V1LayerParameter::mutable_mvn_param() {
29897   set_has_mvn_param();
29898   if (mvn_param_ == NULL) {
29899     mvn_param_ = new ::opencv_caffe::MVNParameter;
29900   }
29901   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.mvn_param)
29902   return mvn_param_;
29903 }
set_allocated_mvn_param(::opencv_caffe::MVNParameter * mvn_param)29904 inline void V1LayerParameter::set_allocated_mvn_param(::opencv_caffe::MVNParameter* mvn_param) {
29905   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29906   if (message_arena == NULL) {
29907     delete mvn_param_;
29908   }
29909   if (mvn_param) {
29910     ::google::protobuf::Arena* submessage_arena = NULL;
29911     if (message_arena != submessage_arena) {
29912       mvn_param = ::google::protobuf::internal::GetOwnedMessage(
29913           message_arena, mvn_param, submessage_arena);
29914     }
29915     set_has_mvn_param();
29916   } else {
29917     clear_has_mvn_param();
29918   }
29919   mvn_param_ = mvn_param;
29920   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.mvn_param)
29921 }
29922 
29923 // optional .opencv_caffe.PoolingParameter pooling_param = 19;
has_pooling_param()29924 inline bool V1LayerParameter::has_pooling_param() const {
29925   return (_has_bits_[0] & 0x00001000u) != 0;
29926 }
set_has_pooling_param()29927 inline void V1LayerParameter::set_has_pooling_param() {
29928   _has_bits_[0] |= 0x00001000u;
29929 }
clear_has_pooling_param()29930 inline void V1LayerParameter::clear_has_pooling_param() {
29931   _has_bits_[0] &= ~0x00001000u;
29932 }
clear_pooling_param()29933 inline void V1LayerParameter::clear_pooling_param() {
29934   if (pooling_param_ != NULL) pooling_param_->Clear();
29935   clear_has_pooling_param();
29936 }
pooling_param()29937 inline const ::opencv_caffe::PoolingParameter& V1LayerParameter::pooling_param() const {
29938   const ::opencv_caffe::PoolingParameter* p = pooling_param_;
29939   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.pooling_param)
29940   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::PoolingParameter*>(
29941       &::opencv_caffe::_PoolingParameter_default_instance_);
29942 }
release_pooling_param()29943 inline ::opencv_caffe::PoolingParameter* V1LayerParameter::release_pooling_param() {
29944   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.pooling_param)
29945   clear_has_pooling_param();
29946   ::opencv_caffe::PoolingParameter* temp = pooling_param_;
29947   pooling_param_ = NULL;
29948   return temp;
29949 }
mutable_pooling_param()29950 inline ::opencv_caffe::PoolingParameter* V1LayerParameter::mutable_pooling_param() {
29951   set_has_pooling_param();
29952   if (pooling_param_ == NULL) {
29953     pooling_param_ = new ::opencv_caffe::PoolingParameter;
29954   }
29955   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.pooling_param)
29956   return pooling_param_;
29957 }
set_allocated_pooling_param(::opencv_caffe::PoolingParameter * pooling_param)29958 inline void V1LayerParameter::set_allocated_pooling_param(::opencv_caffe::PoolingParameter* pooling_param) {
29959   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
29960   if (message_arena == NULL) {
29961     delete pooling_param_;
29962   }
29963   if (pooling_param) {
29964     ::google::protobuf::Arena* submessage_arena = NULL;
29965     if (message_arena != submessage_arena) {
29966       pooling_param = ::google::protobuf::internal::GetOwnedMessage(
29967           message_arena, pooling_param, submessage_arena);
29968     }
29969     set_has_pooling_param();
29970   } else {
29971     clear_has_pooling_param();
29972   }
29973   pooling_param_ = pooling_param;
29974   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.pooling_param)
29975 }
29976 
29977 // optional .opencv_caffe.PowerParameter power_param = 21;
has_power_param()29978 inline bool V1LayerParameter::has_power_param() const {
29979   return (_has_bits_[0] & 0x00004000u) != 0;
29980 }
set_has_power_param()29981 inline void V1LayerParameter::set_has_power_param() {
29982   _has_bits_[0] |= 0x00004000u;
29983 }
clear_has_power_param()29984 inline void V1LayerParameter::clear_has_power_param() {
29985   _has_bits_[0] &= ~0x00004000u;
29986 }
clear_power_param()29987 inline void V1LayerParameter::clear_power_param() {
29988   if (power_param_ != NULL) power_param_->Clear();
29989   clear_has_power_param();
29990 }
power_param()29991 inline const ::opencv_caffe::PowerParameter& V1LayerParameter::power_param() const {
29992   const ::opencv_caffe::PowerParameter* p = power_param_;
29993   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.power_param)
29994   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::PowerParameter*>(
29995       &::opencv_caffe::_PowerParameter_default_instance_);
29996 }
release_power_param()29997 inline ::opencv_caffe::PowerParameter* V1LayerParameter::release_power_param() {
29998   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.power_param)
29999   clear_has_power_param();
30000   ::opencv_caffe::PowerParameter* temp = power_param_;
30001   power_param_ = NULL;
30002   return temp;
30003 }
mutable_power_param()30004 inline ::opencv_caffe::PowerParameter* V1LayerParameter::mutable_power_param() {
30005   set_has_power_param();
30006   if (power_param_ == NULL) {
30007     power_param_ = new ::opencv_caffe::PowerParameter;
30008   }
30009   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.power_param)
30010   return power_param_;
30011 }
set_allocated_power_param(::opencv_caffe::PowerParameter * power_param)30012 inline void V1LayerParameter::set_allocated_power_param(::opencv_caffe::PowerParameter* power_param) {
30013   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30014   if (message_arena == NULL) {
30015     delete power_param_;
30016   }
30017   if (power_param) {
30018     ::google::protobuf::Arena* submessage_arena = NULL;
30019     if (message_arena != submessage_arena) {
30020       power_param = ::google::protobuf::internal::GetOwnedMessage(
30021           message_arena, power_param, submessage_arena);
30022     }
30023     set_has_power_param();
30024   } else {
30025     clear_has_power_param();
30026   }
30027   power_param_ = power_param;
30028   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.power_param)
30029 }
30030 
30031 // optional .opencv_caffe.ReLUParameter relu_param = 30;
has_relu_param()30032 inline bool V1LayerParameter::has_relu_param() const {
30033   return (_has_bits_[0] & 0x00400000u) != 0;
30034 }
set_has_relu_param()30035 inline void V1LayerParameter::set_has_relu_param() {
30036   _has_bits_[0] |= 0x00400000u;
30037 }
clear_has_relu_param()30038 inline void V1LayerParameter::clear_has_relu_param() {
30039   _has_bits_[0] &= ~0x00400000u;
30040 }
clear_relu_param()30041 inline void V1LayerParameter::clear_relu_param() {
30042   if (relu_param_ != NULL) relu_param_->Clear();
30043   clear_has_relu_param();
30044 }
relu_param()30045 inline const ::opencv_caffe::ReLUParameter& V1LayerParameter::relu_param() const {
30046   const ::opencv_caffe::ReLUParameter* p = relu_param_;
30047   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.relu_param)
30048   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ReLUParameter*>(
30049       &::opencv_caffe::_ReLUParameter_default_instance_);
30050 }
release_relu_param()30051 inline ::opencv_caffe::ReLUParameter* V1LayerParameter::release_relu_param() {
30052   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.relu_param)
30053   clear_has_relu_param();
30054   ::opencv_caffe::ReLUParameter* temp = relu_param_;
30055   relu_param_ = NULL;
30056   return temp;
30057 }
mutable_relu_param()30058 inline ::opencv_caffe::ReLUParameter* V1LayerParameter::mutable_relu_param() {
30059   set_has_relu_param();
30060   if (relu_param_ == NULL) {
30061     relu_param_ = new ::opencv_caffe::ReLUParameter;
30062   }
30063   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.relu_param)
30064   return relu_param_;
30065 }
set_allocated_relu_param(::opencv_caffe::ReLUParameter * relu_param)30066 inline void V1LayerParameter::set_allocated_relu_param(::opencv_caffe::ReLUParameter* relu_param) {
30067   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30068   if (message_arena == NULL) {
30069     delete relu_param_;
30070   }
30071   if (relu_param) {
30072     ::google::protobuf::Arena* submessage_arena = NULL;
30073     if (message_arena != submessage_arena) {
30074       relu_param = ::google::protobuf::internal::GetOwnedMessage(
30075           message_arena, relu_param, submessage_arena);
30076     }
30077     set_has_relu_param();
30078   } else {
30079     clear_has_relu_param();
30080   }
30081   relu_param_ = relu_param;
30082   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.relu_param)
30083 }
30084 
30085 // optional .opencv_caffe.SigmoidParameter sigmoid_param = 38;
has_sigmoid_param()30086 inline bool V1LayerParameter::has_sigmoid_param() const {
30087   return (_has_bits_[0] & 0x08000000u) != 0;
30088 }
set_has_sigmoid_param()30089 inline void V1LayerParameter::set_has_sigmoid_param() {
30090   _has_bits_[0] |= 0x08000000u;
30091 }
clear_has_sigmoid_param()30092 inline void V1LayerParameter::clear_has_sigmoid_param() {
30093   _has_bits_[0] &= ~0x08000000u;
30094 }
clear_sigmoid_param()30095 inline void V1LayerParameter::clear_sigmoid_param() {
30096   if (sigmoid_param_ != NULL) sigmoid_param_->Clear();
30097   clear_has_sigmoid_param();
30098 }
sigmoid_param()30099 inline const ::opencv_caffe::SigmoidParameter& V1LayerParameter::sigmoid_param() const {
30100   const ::opencv_caffe::SigmoidParameter* p = sigmoid_param_;
30101   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.sigmoid_param)
30102   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::SigmoidParameter*>(
30103       &::opencv_caffe::_SigmoidParameter_default_instance_);
30104 }
release_sigmoid_param()30105 inline ::opencv_caffe::SigmoidParameter* V1LayerParameter::release_sigmoid_param() {
30106   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.sigmoid_param)
30107   clear_has_sigmoid_param();
30108   ::opencv_caffe::SigmoidParameter* temp = sigmoid_param_;
30109   sigmoid_param_ = NULL;
30110   return temp;
30111 }
mutable_sigmoid_param()30112 inline ::opencv_caffe::SigmoidParameter* V1LayerParameter::mutable_sigmoid_param() {
30113   set_has_sigmoid_param();
30114   if (sigmoid_param_ == NULL) {
30115     sigmoid_param_ = new ::opencv_caffe::SigmoidParameter;
30116   }
30117   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.sigmoid_param)
30118   return sigmoid_param_;
30119 }
set_allocated_sigmoid_param(::opencv_caffe::SigmoidParameter * sigmoid_param)30120 inline void V1LayerParameter::set_allocated_sigmoid_param(::opencv_caffe::SigmoidParameter* sigmoid_param) {
30121   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30122   if (message_arena == NULL) {
30123     delete sigmoid_param_;
30124   }
30125   if (sigmoid_param) {
30126     ::google::protobuf::Arena* submessage_arena = NULL;
30127     if (message_arena != submessage_arena) {
30128       sigmoid_param = ::google::protobuf::internal::GetOwnedMessage(
30129           message_arena, sigmoid_param, submessage_arena);
30130     }
30131     set_has_sigmoid_param();
30132   } else {
30133     clear_has_sigmoid_param();
30134   }
30135   sigmoid_param_ = sigmoid_param;
30136   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.sigmoid_param)
30137 }
30138 
30139 // optional .opencv_caffe.SoftmaxParameter softmax_param = 39;
has_softmax_param()30140 inline bool V1LayerParameter::has_softmax_param() const {
30141   return (_has_bits_[0] & 0x10000000u) != 0;
30142 }
set_has_softmax_param()30143 inline void V1LayerParameter::set_has_softmax_param() {
30144   _has_bits_[0] |= 0x10000000u;
30145 }
clear_has_softmax_param()30146 inline void V1LayerParameter::clear_has_softmax_param() {
30147   _has_bits_[0] &= ~0x10000000u;
30148 }
clear_softmax_param()30149 inline void V1LayerParameter::clear_softmax_param() {
30150   if (softmax_param_ != NULL) softmax_param_->Clear();
30151   clear_has_softmax_param();
30152 }
softmax_param()30153 inline const ::opencv_caffe::SoftmaxParameter& V1LayerParameter::softmax_param() const {
30154   const ::opencv_caffe::SoftmaxParameter* p = softmax_param_;
30155   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.softmax_param)
30156   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::SoftmaxParameter*>(
30157       &::opencv_caffe::_SoftmaxParameter_default_instance_);
30158 }
release_softmax_param()30159 inline ::opencv_caffe::SoftmaxParameter* V1LayerParameter::release_softmax_param() {
30160   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.softmax_param)
30161   clear_has_softmax_param();
30162   ::opencv_caffe::SoftmaxParameter* temp = softmax_param_;
30163   softmax_param_ = NULL;
30164   return temp;
30165 }
mutable_softmax_param()30166 inline ::opencv_caffe::SoftmaxParameter* V1LayerParameter::mutable_softmax_param() {
30167   set_has_softmax_param();
30168   if (softmax_param_ == NULL) {
30169     softmax_param_ = new ::opencv_caffe::SoftmaxParameter;
30170   }
30171   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.softmax_param)
30172   return softmax_param_;
30173 }
set_allocated_softmax_param(::opencv_caffe::SoftmaxParameter * softmax_param)30174 inline void V1LayerParameter::set_allocated_softmax_param(::opencv_caffe::SoftmaxParameter* softmax_param) {
30175   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30176   if (message_arena == NULL) {
30177     delete softmax_param_;
30178   }
30179   if (softmax_param) {
30180     ::google::protobuf::Arena* submessage_arena = NULL;
30181     if (message_arena != submessage_arena) {
30182       softmax_param = ::google::protobuf::internal::GetOwnedMessage(
30183           message_arena, softmax_param, submessage_arena);
30184     }
30185     set_has_softmax_param();
30186   } else {
30187     clear_has_softmax_param();
30188   }
30189   softmax_param_ = softmax_param;
30190   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.softmax_param)
30191 }
30192 
30193 // optional .opencv_caffe.SliceParameter slice_param = 31;
has_slice_param()30194 inline bool V1LayerParameter::has_slice_param() const {
30195   return (_has_bits_[0] & 0x00800000u) != 0;
30196 }
set_has_slice_param()30197 inline void V1LayerParameter::set_has_slice_param() {
30198   _has_bits_[0] |= 0x00800000u;
30199 }
clear_has_slice_param()30200 inline void V1LayerParameter::clear_has_slice_param() {
30201   _has_bits_[0] &= ~0x00800000u;
30202 }
clear_slice_param()30203 inline void V1LayerParameter::clear_slice_param() {
30204   if (slice_param_ != NULL) slice_param_->Clear();
30205   clear_has_slice_param();
30206 }
slice_param()30207 inline const ::opencv_caffe::SliceParameter& V1LayerParameter::slice_param() const {
30208   const ::opencv_caffe::SliceParameter* p = slice_param_;
30209   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.slice_param)
30210   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::SliceParameter*>(
30211       &::opencv_caffe::_SliceParameter_default_instance_);
30212 }
release_slice_param()30213 inline ::opencv_caffe::SliceParameter* V1LayerParameter::release_slice_param() {
30214   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.slice_param)
30215   clear_has_slice_param();
30216   ::opencv_caffe::SliceParameter* temp = slice_param_;
30217   slice_param_ = NULL;
30218   return temp;
30219 }
mutable_slice_param()30220 inline ::opencv_caffe::SliceParameter* V1LayerParameter::mutable_slice_param() {
30221   set_has_slice_param();
30222   if (slice_param_ == NULL) {
30223     slice_param_ = new ::opencv_caffe::SliceParameter;
30224   }
30225   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.slice_param)
30226   return slice_param_;
30227 }
set_allocated_slice_param(::opencv_caffe::SliceParameter * slice_param)30228 inline void V1LayerParameter::set_allocated_slice_param(::opencv_caffe::SliceParameter* slice_param) {
30229   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30230   if (message_arena == NULL) {
30231     delete slice_param_;
30232   }
30233   if (slice_param) {
30234     ::google::protobuf::Arena* submessage_arena = NULL;
30235     if (message_arena != submessage_arena) {
30236       slice_param = ::google::protobuf::internal::GetOwnedMessage(
30237           message_arena, slice_param, submessage_arena);
30238     }
30239     set_has_slice_param();
30240   } else {
30241     clear_has_slice_param();
30242   }
30243   slice_param_ = slice_param;
30244   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.slice_param)
30245 }
30246 
30247 // optional .opencv_caffe.TanHParameter tanh_param = 37;
has_tanh_param()30248 inline bool V1LayerParameter::has_tanh_param() const {
30249   return (_has_bits_[0] & 0x04000000u) != 0;
30250 }
set_has_tanh_param()30251 inline void V1LayerParameter::set_has_tanh_param() {
30252   _has_bits_[0] |= 0x04000000u;
30253 }
clear_has_tanh_param()30254 inline void V1LayerParameter::clear_has_tanh_param() {
30255   _has_bits_[0] &= ~0x04000000u;
30256 }
clear_tanh_param()30257 inline void V1LayerParameter::clear_tanh_param() {
30258   if (tanh_param_ != NULL) tanh_param_->Clear();
30259   clear_has_tanh_param();
30260 }
tanh_param()30261 inline const ::opencv_caffe::TanHParameter& V1LayerParameter::tanh_param() const {
30262   const ::opencv_caffe::TanHParameter* p = tanh_param_;
30263   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.tanh_param)
30264   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::TanHParameter*>(
30265       &::opencv_caffe::_TanHParameter_default_instance_);
30266 }
release_tanh_param()30267 inline ::opencv_caffe::TanHParameter* V1LayerParameter::release_tanh_param() {
30268   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.tanh_param)
30269   clear_has_tanh_param();
30270   ::opencv_caffe::TanHParameter* temp = tanh_param_;
30271   tanh_param_ = NULL;
30272   return temp;
30273 }
mutable_tanh_param()30274 inline ::opencv_caffe::TanHParameter* V1LayerParameter::mutable_tanh_param() {
30275   set_has_tanh_param();
30276   if (tanh_param_ == NULL) {
30277     tanh_param_ = new ::opencv_caffe::TanHParameter;
30278   }
30279   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.tanh_param)
30280   return tanh_param_;
30281 }
set_allocated_tanh_param(::opencv_caffe::TanHParameter * tanh_param)30282 inline void V1LayerParameter::set_allocated_tanh_param(::opencv_caffe::TanHParameter* tanh_param) {
30283   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30284   if (message_arena == NULL) {
30285     delete tanh_param_;
30286   }
30287   if (tanh_param) {
30288     ::google::protobuf::Arena* submessage_arena = NULL;
30289     if (message_arena != submessage_arena) {
30290       tanh_param = ::google::protobuf::internal::GetOwnedMessage(
30291           message_arena, tanh_param, submessage_arena);
30292     }
30293     set_has_tanh_param();
30294   } else {
30295     clear_has_tanh_param();
30296   }
30297   tanh_param_ = tanh_param;
30298   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.tanh_param)
30299 }
30300 
30301 // optional .opencv_caffe.ThresholdParameter threshold_param = 25;
has_threshold_param()30302 inline bool V1LayerParameter::has_threshold_param() const {
30303   return (_has_bits_[0] & 0x00040000u) != 0;
30304 }
set_has_threshold_param()30305 inline void V1LayerParameter::set_has_threshold_param() {
30306   _has_bits_[0] |= 0x00040000u;
30307 }
clear_has_threshold_param()30308 inline void V1LayerParameter::clear_has_threshold_param() {
30309   _has_bits_[0] &= ~0x00040000u;
30310 }
clear_threshold_param()30311 inline void V1LayerParameter::clear_threshold_param() {
30312   if (threshold_param_ != NULL) threshold_param_->Clear();
30313   clear_has_threshold_param();
30314 }
threshold_param()30315 inline const ::opencv_caffe::ThresholdParameter& V1LayerParameter::threshold_param() const {
30316   const ::opencv_caffe::ThresholdParameter* p = threshold_param_;
30317   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.threshold_param)
30318   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::ThresholdParameter*>(
30319       &::opencv_caffe::_ThresholdParameter_default_instance_);
30320 }
release_threshold_param()30321 inline ::opencv_caffe::ThresholdParameter* V1LayerParameter::release_threshold_param() {
30322   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.threshold_param)
30323   clear_has_threshold_param();
30324   ::opencv_caffe::ThresholdParameter* temp = threshold_param_;
30325   threshold_param_ = NULL;
30326   return temp;
30327 }
mutable_threshold_param()30328 inline ::opencv_caffe::ThresholdParameter* V1LayerParameter::mutable_threshold_param() {
30329   set_has_threshold_param();
30330   if (threshold_param_ == NULL) {
30331     threshold_param_ = new ::opencv_caffe::ThresholdParameter;
30332   }
30333   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.threshold_param)
30334   return threshold_param_;
30335 }
set_allocated_threshold_param(::opencv_caffe::ThresholdParameter * threshold_param)30336 inline void V1LayerParameter::set_allocated_threshold_param(::opencv_caffe::ThresholdParameter* threshold_param) {
30337   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30338   if (message_arena == NULL) {
30339     delete threshold_param_;
30340   }
30341   if (threshold_param) {
30342     ::google::protobuf::Arena* submessage_arena = NULL;
30343     if (message_arena != submessage_arena) {
30344       threshold_param = ::google::protobuf::internal::GetOwnedMessage(
30345           message_arena, threshold_param, submessage_arena);
30346     }
30347     set_has_threshold_param();
30348   } else {
30349     clear_has_threshold_param();
30350   }
30351   threshold_param_ = threshold_param;
30352   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.threshold_param)
30353 }
30354 
30355 // optional .opencv_caffe.WindowDataParameter window_data_param = 20;
has_window_data_param()30356 inline bool V1LayerParameter::has_window_data_param() const {
30357   return (_has_bits_[0] & 0x00002000u) != 0;
30358 }
set_has_window_data_param()30359 inline void V1LayerParameter::set_has_window_data_param() {
30360   _has_bits_[0] |= 0x00002000u;
30361 }
clear_has_window_data_param()30362 inline void V1LayerParameter::clear_has_window_data_param() {
30363   _has_bits_[0] &= ~0x00002000u;
30364 }
clear_window_data_param()30365 inline void V1LayerParameter::clear_window_data_param() {
30366   if (window_data_param_ != NULL) window_data_param_->Clear();
30367   clear_has_window_data_param();
30368 }
window_data_param()30369 inline const ::opencv_caffe::WindowDataParameter& V1LayerParameter::window_data_param() const {
30370   const ::opencv_caffe::WindowDataParameter* p = window_data_param_;
30371   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.window_data_param)
30372   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::WindowDataParameter*>(
30373       &::opencv_caffe::_WindowDataParameter_default_instance_);
30374 }
release_window_data_param()30375 inline ::opencv_caffe::WindowDataParameter* V1LayerParameter::release_window_data_param() {
30376   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.window_data_param)
30377   clear_has_window_data_param();
30378   ::opencv_caffe::WindowDataParameter* temp = window_data_param_;
30379   window_data_param_ = NULL;
30380   return temp;
30381 }
mutable_window_data_param()30382 inline ::opencv_caffe::WindowDataParameter* V1LayerParameter::mutable_window_data_param() {
30383   set_has_window_data_param();
30384   if (window_data_param_ == NULL) {
30385     window_data_param_ = new ::opencv_caffe::WindowDataParameter;
30386   }
30387   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.window_data_param)
30388   return window_data_param_;
30389 }
set_allocated_window_data_param(::opencv_caffe::WindowDataParameter * window_data_param)30390 inline void V1LayerParameter::set_allocated_window_data_param(::opencv_caffe::WindowDataParameter* window_data_param) {
30391   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30392   if (message_arena == NULL) {
30393     delete window_data_param_;
30394   }
30395   if (window_data_param) {
30396     ::google::protobuf::Arena* submessage_arena = NULL;
30397     if (message_arena != submessage_arena) {
30398       window_data_param = ::google::protobuf::internal::GetOwnedMessage(
30399           message_arena, window_data_param, submessage_arena);
30400     }
30401     set_has_window_data_param();
30402   } else {
30403     clear_has_window_data_param();
30404   }
30405   window_data_param_ = window_data_param;
30406   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.window_data_param)
30407 }
30408 
30409 // optional .opencv_caffe.TransformationParameter transform_param = 36;
has_transform_param()30410 inline bool V1LayerParameter::has_transform_param() const {
30411   return (_has_bits_[0] & 0x02000000u) != 0;
30412 }
set_has_transform_param()30413 inline void V1LayerParameter::set_has_transform_param() {
30414   _has_bits_[0] |= 0x02000000u;
30415 }
clear_has_transform_param()30416 inline void V1LayerParameter::clear_has_transform_param() {
30417   _has_bits_[0] &= ~0x02000000u;
30418 }
clear_transform_param()30419 inline void V1LayerParameter::clear_transform_param() {
30420   if (transform_param_ != NULL) transform_param_->Clear();
30421   clear_has_transform_param();
30422 }
transform_param()30423 inline const ::opencv_caffe::TransformationParameter& V1LayerParameter::transform_param() const {
30424   const ::opencv_caffe::TransformationParameter* p = transform_param_;
30425   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.transform_param)
30426   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::TransformationParameter*>(
30427       &::opencv_caffe::_TransformationParameter_default_instance_);
30428 }
release_transform_param()30429 inline ::opencv_caffe::TransformationParameter* V1LayerParameter::release_transform_param() {
30430   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.transform_param)
30431   clear_has_transform_param();
30432   ::opencv_caffe::TransformationParameter* temp = transform_param_;
30433   transform_param_ = NULL;
30434   return temp;
30435 }
mutable_transform_param()30436 inline ::opencv_caffe::TransformationParameter* V1LayerParameter::mutable_transform_param() {
30437   set_has_transform_param();
30438   if (transform_param_ == NULL) {
30439     transform_param_ = new ::opencv_caffe::TransformationParameter;
30440   }
30441   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.transform_param)
30442   return transform_param_;
30443 }
set_allocated_transform_param(::opencv_caffe::TransformationParameter * transform_param)30444 inline void V1LayerParameter::set_allocated_transform_param(::opencv_caffe::TransformationParameter* transform_param) {
30445   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30446   if (message_arena == NULL) {
30447     delete transform_param_;
30448   }
30449   if (transform_param) {
30450     ::google::protobuf::Arena* submessage_arena = NULL;
30451     if (message_arena != submessage_arena) {
30452       transform_param = ::google::protobuf::internal::GetOwnedMessage(
30453           message_arena, transform_param, submessage_arena);
30454     }
30455     set_has_transform_param();
30456   } else {
30457     clear_has_transform_param();
30458   }
30459   transform_param_ = transform_param;
30460   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.transform_param)
30461 }
30462 
30463 // optional .opencv_caffe.LossParameter loss_param = 42;
has_loss_param()30464 inline bool V1LayerParameter::has_loss_param() const {
30465   return (_has_bits_[0] & 0x80000000u) != 0;
30466 }
set_has_loss_param()30467 inline void V1LayerParameter::set_has_loss_param() {
30468   _has_bits_[0] |= 0x80000000u;
30469 }
clear_has_loss_param()30470 inline void V1LayerParameter::clear_has_loss_param() {
30471   _has_bits_[0] &= ~0x80000000u;
30472 }
clear_loss_param()30473 inline void V1LayerParameter::clear_loss_param() {
30474   if (loss_param_ != NULL) loss_param_->Clear();
30475   clear_has_loss_param();
30476 }
loss_param()30477 inline const ::opencv_caffe::LossParameter& V1LayerParameter::loss_param() const {
30478   const ::opencv_caffe::LossParameter* p = loss_param_;
30479   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.loss_param)
30480   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::LossParameter*>(
30481       &::opencv_caffe::_LossParameter_default_instance_);
30482 }
release_loss_param()30483 inline ::opencv_caffe::LossParameter* V1LayerParameter::release_loss_param() {
30484   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.loss_param)
30485   clear_has_loss_param();
30486   ::opencv_caffe::LossParameter* temp = loss_param_;
30487   loss_param_ = NULL;
30488   return temp;
30489 }
mutable_loss_param()30490 inline ::opencv_caffe::LossParameter* V1LayerParameter::mutable_loss_param() {
30491   set_has_loss_param();
30492   if (loss_param_ == NULL) {
30493     loss_param_ = new ::opencv_caffe::LossParameter;
30494   }
30495   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.loss_param)
30496   return loss_param_;
30497 }
set_allocated_loss_param(::opencv_caffe::LossParameter * loss_param)30498 inline void V1LayerParameter::set_allocated_loss_param(::opencv_caffe::LossParameter* loss_param) {
30499   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30500   if (message_arena == NULL) {
30501     delete loss_param_;
30502   }
30503   if (loss_param) {
30504     ::google::protobuf::Arena* submessage_arena = NULL;
30505     if (message_arena != submessage_arena) {
30506       loss_param = ::google::protobuf::internal::GetOwnedMessage(
30507           message_arena, loss_param, submessage_arena);
30508     }
30509     set_has_loss_param();
30510   } else {
30511     clear_has_loss_param();
30512   }
30513   loss_param_ = loss_param;
30514   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.loss_param)
30515 }
30516 
30517 // optional .opencv_caffe.V0LayerParameter layer = 1;
has_layer()30518 inline bool V1LayerParameter::has_layer() const {
30519   return (_has_bits_[0] & 0x00000002u) != 0;
30520 }
set_has_layer()30521 inline void V1LayerParameter::set_has_layer() {
30522   _has_bits_[0] |= 0x00000002u;
30523 }
clear_has_layer()30524 inline void V1LayerParameter::clear_has_layer() {
30525   _has_bits_[0] &= ~0x00000002u;
30526 }
clear_layer()30527 inline void V1LayerParameter::clear_layer() {
30528   if (layer_ != NULL) layer_->Clear();
30529   clear_has_layer();
30530 }
layer()30531 inline const ::opencv_caffe::V0LayerParameter& V1LayerParameter::layer() const {
30532   const ::opencv_caffe::V0LayerParameter* p = layer_;
30533   // @@protoc_insertion_point(field_get:opencv_caffe.V1LayerParameter.layer)
30534   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::V0LayerParameter*>(
30535       &::opencv_caffe::_V0LayerParameter_default_instance_);
30536 }
release_layer()30537 inline ::opencv_caffe::V0LayerParameter* V1LayerParameter::release_layer() {
30538   // @@protoc_insertion_point(field_release:opencv_caffe.V1LayerParameter.layer)
30539   clear_has_layer();
30540   ::opencv_caffe::V0LayerParameter* temp = layer_;
30541   layer_ = NULL;
30542   return temp;
30543 }
mutable_layer()30544 inline ::opencv_caffe::V0LayerParameter* V1LayerParameter::mutable_layer() {
30545   set_has_layer();
30546   if (layer_ == NULL) {
30547     layer_ = new ::opencv_caffe::V0LayerParameter;
30548   }
30549   // @@protoc_insertion_point(field_mutable:opencv_caffe.V1LayerParameter.layer)
30550   return layer_;
30551 }
set_allocated_layer(::opencv_caffe::V0LayerParameter * layer)30552 inline void V1LayerParameter::set_allocated_layer(::opencv_caffe::V0LayerParameter* layer) {
30553   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30554   if (message_arena == NULL) {
30555     delete layer_;
30556   }
30557   if (layer) {
30558     ::google::protobuf::Arena* submessage_arena = NULL;
30559     if (message_arena != submessage_arena) {
30560       layer = ::google::protobuf::internal::GetOwnedMessage(
30561           message_arena, layer, submessage_arena);
30562     }
30563     set_has_layer();
30564   } else {
30565     clear_has_layer();
30566   }
30567   layer_ = layer;
30568   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V1LayerParameter.layer)
30569 }
30570 
30571 // -------------------------------------------------------------------
30572 
30573 // V0LayerParameter
30574 
30575 // optional string name = 1;
has_name()30576 inline bool V0LayerParameter::has_name() const {
30577   return (_has_bits_[0] & 0x00000001u) != 0;
30578 }
set_has_name()30579 inline void V0LayerParameter::set_has_name() {
30580   _has_bits_[0] |= 0x00000001u;
30581 }
clear_has_name()30582 inline void V0LayerParameter::clear_has_name() {
30583   _has_bits_[0] &= ~0x00000001u;
30584 }
clear_name()30585 inline void V0LayerParameter::clear_name() {
30586   name_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30587   clear_has_name();
30588 }
name()30589 inline const ::std::string& V0LayerParameter::name() const {
30590   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.name)
30591   return name_.GetNoArena();
30592 }
set_name(const::std::string & value)30593 inline void V0LayerParameter::set_name(const ::std::string& value) {
30594   set_has_name();
30595   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
30596   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.name)
30597 }
30598 #if LANG_CXX11
set_name(::std::string && value)30599 inline void V0LayerParameter::set_name(::std::string&& value) {
30600   set_has_name();
30601   name_.SetNoArena(
30602     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
30603   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.V0LayerParameter.name)
30604 }
30605 #endif
set_name(const char * value)30606 inline void V0LayerParameter::set_name(const char* value) {
30607   GOOGLE_DCHECK(value != NULL);
30608   set_has_name();
30609   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
30610   // @@protoc_insertion_point(field_set_char:opencv_caffe.V0LayerParameter.name)
30611 }
set_name(const char * value,size_t size)30612 inline void V0LayerParameter::set_name(const char* value, size_t size) {
30613   set_has_name();
30614   name_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
30615       ::std::string(reinterpret_cast<const char*>(value), size));
30616   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.V0LayerParameter.name)
30617 }
mutable_name()30618 inline ::std::string* V0LayerParameter::mutable_name() {
30619   set_has_name();
30620   // @@protoc_insertion_point(field_mutable:opencv_caffe.V0LayerParameter.name)
30621   return name_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30622 }
release_name()30623 inline ::std::string* V0LayerParameter::release_name() {
30624   // @@protoc_insertion_point(field_release:opencv_caffe.V0LayerParameter.name)
30625   clear_has_name();
30626   return name_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30627 }
set_allocated_name(::std::string * name)30628 inline void V0LayerParameter::set_allocated_name(::std::string* name) {
30629   if (name != NULL) {
30630     set_has_name();
30631   } else {
30632     clear_has_name();
30633   }
30634   name_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), name);
30635   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V0LayerParameter.name)
30636 }
30637 
30638 // optional string type = 2;
has_type()30639 inline bool V0LayerParameter::has_type() const {
30640   return (_has_bits_[0] & 0x00000002u) != 0;
30641 }
set_has_type()30642 inline void V0LayerParameter::set_has_type() {
30643   _has_bits_[0] |= 0x00000002u;
30644 }
clear_has_type()30645 inline void V0LayerParameter::clear_has_type() {
30646   _has_bits_[0] &= ~0x00000002u;
30647 }
clear_type()30648 inline void V0LayerParameter::clear_type() {
30649   type_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30650   clear_has_type();
30651 }
type()30652 inline const ::std::string& V0LayerParameter::type() const {
30653   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.type)
30654   return type_.GetNoArena();
30655 }
set_type(const::std::string & value)30656 inline void V0LayerParameter::set_type(const ::std::string& value) {
30657   set_has_type();
30658   type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
30659   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.type)
30660 }
30661 #if LANG_CXX11
set_type(::std::string && value)30662 inline void V0LayerParameter::set_type(::std::string&& value) {
30663   set_has_type();
30664   type_.SetNoArena(
30665     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
30666   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.V0LayerParameter.type)
30667 }
30668 #endif
set_type(const char * value)30669 inline void V0LayerParameter::set_type(const char* value) {
30670   GOOGLE_DCHECK(value != NULL);
30671   set_has_type();
30672   type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
30673   // @@protoc_insertion_point(field_set_char:opencv_caffe.V0LayerParameter.type)
30674 }
set_type(const char * value,size_t size)30675 inline void V0LayerParameter::set_type(const char* value, size_t size) {
30676   set_has_type();
30677   type_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
30678       ::std::string(reinterpret_cast<const char*>(value), size));
30679   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.V0LayerParameter.type)
30680 }
mutable_type()30681 inline ::std::string* V0LayerParameter::mutable_type() {
30682   set_has_type();
30683   // @@protoc_insertion_point(field_mutable:opencv_caffe.V0LayerParameter.type)
30684   return type_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30685 }
release_type()30686 inline ::std::string* V0LayerParameter::release_type() {
30687   // @@protoc_insertion_point(field_release:opencv_caffe.V0LayerParameter.type)
30688   clear_has_type();
30689   return type_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
30690 }
set_allocated_type(::std::string * type)30691 inline void V0LayerParameter::set_allocated_type(::std::string* type) {
30692   if (type != NULL) {
30693     set_has_type();
30694   } else {
30695     clear_has_type();
30696   }
30697   type_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), type);
30698   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V0LayerParameter.type)
30699 }
30700 
30701 // optional uint32 num_output = 3;
has_num_output()30702 inline bool V0LayerParameter::has_num_output() const {
30703   return (_has_bits_[0] & 0x00000100u) != 0;
30704 }
set_has_num_output()30705 inline void V0LayerParameter::set_has_num_output() {
30706   _has_bits_[0] |= 0x00000100u;
30707 }
clear_has_num_output()30708 inline void V0LayerParameter::clear_has_num_output() {
30709   _has_bits_[0] &= ~0x00000100u;
30710 }
clear_num_output()30711 inline void V0LayerParameter::clear_num_output() {
30712   num_output_ = 0u;
30713   clear_has_num_output();
30714 }
num_output()30715 inline ::google::protobuf::uint32 V0LayerParameter::num_output() const {
30716   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.num_output)
30717   return num_output_;
30718 }
set_num_output(::google::protobuf::uint32 value)30719 inline void V0LayerParameter::set_num_output(::google::protobuf::uint32 value) {
30720   set_has_num_output();
30721   num_output_ = value;
30722   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.num_output)
30723 }
30724 
30725 // optional bool biasterm = 4 [default = true];
has_biasterm()30726 inline bool V0LayerParameter::has_biasterm() const {
30727   return (_has_bits_[0] & 0x00800000u) != 0;
30728 }
set_has_biasterm()30729 inline void V0LayerParameter::set_has_biasterm() {
30730   _has_bits_[0] |= 0x00800000u;
30731 }
clear_has_biasterm()30732 inline void V0LayerParameter::clear_has_biasterm() {
30733   _has_bits_[0] &= ~0x00800000u;
30734 }
clear_biasterm()30735 inline void V0LayerParameter::clear_biasterm() {
30736   biasterm_ = true;
30737   clear_has_biasterm();
30738 }
biasterm()30739 inline bool V0LayerParameter::biasterm() const {
30740   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.biasterm)
30741   return biasterm_;
30742 }
set_biasterm(bool value)30743 inline void V0LayerParameter::set_biasterm(bool value) {
30744   set_has_biasterm();
30745   biasterm_ = value;
30746   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.biasterm)
30747 }
30748 
30749 // optional .opencv_caffe.FillerParameter weight_filler = 5;
has_weight_filler()30750 inline bool V0LayerParameter::has_weight_filler() const {
30751   return (_has_bits_[0] & 0x00000020u) != 0;
30752 }
set_has_weight_filler()30753 inline void V0LayerParameter::set_has_weight_filler() {
30754   _has_bits_[0] |= 0x00000020u;
30755 }
clear_has_weight_filler()30756 inline void V0LayerParameter::clear_has_weight_filler() {
30757   _has_bits_[0] &= ~0x00000020u;
30758 }
clear_weight_filler()30759 inline void V0LayerParameter::clear_weight_filler() {
30760   if (weight_filler_ != NULL) weight_filler_->Clear();
30761   clear_has_weight_filler();
30762 }
weight_filler()30763 inline const ::opencv_caffe::FillerParameter& V0LayerParameter::weight_filler() const {
30764   const ::opencv_caffe::FillerParameter* p = weight_filler_;
30765   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.weight_filler)
30766   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
30767       &::opencv_caffe::_FillerParameter_default_instance_);
30768 }
release_weight_filler()30769 inline ::opencv_caffe::FillerParameter* V0LayerParameter::release_weight_filler() {
30770   // @@protoc_insertion_point(field_release:opencv_caffe.V0LayerParameter.weight_filler)
30771   clear_has_weight_filler();
30772   ::opencv_caffe::FillerParameter* temp = weight_filler_;
30773   weight_filler_ = NULL;
30774   return temp;
30775 }
mutable_weight_filler()30776 inline ::opencv_caffe::FillerParameter* V0LayerParameter::mutable_weight_filler() {
30777   set_has_weight_filler();
30778   if (weight_filler_ == NULL) {
30779     weight_filler_ = new ::opencv_caffe::FillerParameter;
30780   }
30781   // @@protoc_insertion_point(field_mutable:opencv_caffe.V0LayerParameter.weight_filler)
30782   return weight_filler_;
30783 }
set_allocated_weight_filler(::opencv_caffe::FillerParameter * weight_filler)30784 inline void V0LayerParameter::set_allocated_weight_filler(::opencv_caffe::FillerParameter* weight_filler) {
30785   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30786   if (message_arena == NULL) {
30787     delete weight_filler_;
30788   }
30789   if (weight_filler) {
30790     ::google::protobuf::Arena* submessage_arena = NULL;
30791     if (message_arena != submessage_arena) {
30792       weight_filler = ::google::protobuf::internal::GetOwnedMessage(
30793           message_arena, weight_filler, submessage_arena);
30794     }
30795     set_has_weight_filler();
30796   } else {
30797     clear_has_weight_filler();
30798   }
30799   weight_filler_ = weight_filler;
30800   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V0LayerParameter.weight_filler)
30801 }
30802 
30803 // optional .opencv_caffe.FillerParameter bias_filler = 6;
has_bias_filler()30804 inline bool V0LayerParameter::has_bias_filler() const {
30805   return (_has_bits_[0] & 0x00000040u) != 0;
30806 }
set_has_bias_filler()30807 inline void V0LayerParameter::set_has_bias_filler() {
30808   _has_bits_[0] |= 0x00000040u;
30809 }
clear_has_bias_filler()30810 inline void V0LayerParameter::clear_has_bias_filler() {
30811   _has_bits_[0] &= ~0x00000040u;
30812 }
clear_bias_filler()30813 inline void V0LayerParameter::clear_bias_filler() {
30814   if (bias_filler_ != NULL) bias_filler_->Clear();
30815   clear_has_bias_filler();
30816 }
bias_filler()30817 inline const ::opencv_caffe::FillerParameter& V0LayerParameter::bias_filler() const {
30818   const ::opencv_caffe::FillerParameter* p = bias_filler_;
30819   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.bias_filler)
30820   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
30821       &::opencv_caffe::_FillerParameter_default_instance_);
30822 }
release_bias_filler()30823 inline ::opencv_caffe::FillerParameter* V0LayerParameter::release_bias_filler() {
30824   // @@protoc_insertion_point(field_release:opencv_caffe.V0LayerParameter.bias_filler)
30825   clear_has_bias_filler();
30826   ::opencv_caffe::FillerParameter* temp = bias_filler_;
30827   bias_filler_ = NULL;
30828   return temp;
30829 }
mutable_bias_filler()30830 inline ::opencv_caffe::FillerParameter* V0LayerParameter::mutable_bias_filler() {
30831   set_has_bias_filler();
30832   if (bias_filler_ == NULL) {
30833     bias_filler_ = new ::opencv_caffe::FillerParameter;
30834   }
30835   // @@protoc_insertion_point(field_mutable:opencv_caffe.V0LayerParameter.bias_filler)
30836   return bias_filler_;
30837 }
set_allocated_bias_filler(::opencv_caffe::FillerParameter * bias_filler)30838 inline void V0LayerParameter::set_allocated_bias_filler(::opencv_caffe::FillerParameter* bias_filler) {
30839   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
30840   if (message_arena == NULL) {
30841     delete bias_filler_;
30842   }
30843   if (bias_filler) {
30844     ::google::protobuf::Arena* submessage_arena = NULL;
30845     if (message_arena != submessage_arena) {
30846       bias_filler = ::google::protobuf::internal::GetOwnedMessage(
30847           message_arena, bias_filler, submessage_arena);
30848     }
30849     set_has_bias_filler();
30850   } else {
30851     clear_has_bias_filler();
30852   }
30853   bias_filler_ = bias_filler;
30854   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V0LayerParameter.bias_filler)
30855 }
30856 
30857 // optional uint32 pad = 7 [default = 0];
has_pad()30858 inline bool V0LayerParameter::has_pad() const {
30859   return (_has_bits_[0] & 0x00000200u) != 0;
30860 }
set_has_pad()30861 inline void V0LayerParameter::set_has_pad() {
30862   _has_bits_[0] |= 0x00000200u;
30863 }
clear_has_pad()30864 inline void V0LayerParameter::clear_has_pad() {
30865   _has_bits_[0] &= ~0x00000200u;
30866 }
clear_pad()30867 inline void V0LayerParameter::clear_pad() {
30868   pad_ = 0u;
30869   clear_has_pad();
30870 }
pad()30871 inline ::google::protobuf::uint32 V0LayerParameter::pad() const {
30872   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.pad)
30873   return pad_;
30874 }
set_pad(::google::protobuf::uint32 value)30875 inline void V0LayerParameter::set_pad(::google::protobuf::uint32 value) {
30876   set_has_pad();
30877   pad_ = value;
30878   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.pad)
30879 }
30880 
30881 // optional uint32 kernelsize = 8;
has_kernelsize()30882 inline bool V0LayerParameter::has_kernelsize() const {
30883   return (_has_bits_[0] & 0x00000400u) != 0;
30884 }
set_has_kernelsize()30885 inline void V0LayerParameter::set_has_kernelsize() {
30886   _has_bits_[0] |= 0x00000400u;
30887 }
clear_has_kernelsize()30888 inline void V0LayerParameter::clear_has_kernelsize() {
30889   _has_bits_[0] &= ~0x00000400u;
30890 }
clear_kernelsize()30891 inline void V0LayerParameter::clear_kernelsize() {
30892   kernelsize_ = 0u;
30893   clear_has_kernelsize();
30894 }
kernelsize()30895 inline ::google::protobuf::uint32 V0LayerParameter::kernelsize() const {
30896   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.kernelsize)
30897   return kernelsize_;
30898 }
set_kernelsize(::google::protobuf::uint32 value)30899 inline void V0LayerParameter::set_kernelsize(::google::protobuf::uint32 value) {
30900   set_has_kernelsize();
30901   kernelsize_ = value;
30902   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.kernelsize)
30903 }
30904 
30905 // optional uint32 group = 9 [default = 1];
has_group()30906 inline bool V0LayerParameter::has_group() const {
30907   return (_has_bits_[0] & 0x01000000u) != 0;
30908 }
set_has_group()30909 inline void V0LayerParameter::set_has_group() {
30910   _has_bits_[0] |= 0x01000000u;
30911 }
clear_has_group()30912 inline void V0LayerParameter::clear_has_group() {
30913   _has_bits_[0] &= ~0x01000000u;
30914 }
clear_group()30915 inline void V0LayerParameter::clear_group() {
30916   group_ = 1u;
30917   clear_has_group();
30918 }
group()30919 inline ::google::protobuf::uint32 V0LayerParameter::group() const {
30920   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.group)
30921   return group_;
30922 }
set_group(::google::protobuf::uint32 value)30923 inline void V0LayerParameter::set_group(::google::protobuf::uint32 value) {
30924   set_has_group();
30925   group_ = value;
30926   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.group)
30927 }
30928 
30929 // optional uint32 stride = 10 [default = 1];
has_stride()30930 inline bool V0LayerParameter::has_stride() const {
30931   return (_has_bits_[0] & 0x02000000u) != 0;
30932 }
set_has_stride()30933 inline void V0LayerParameter::set_has_stride() {
30934   _has_bits_[0] |= 0x02000000u;
30935 }
clear_has_stride()30936 inline void V0LayerParameter::clear_has_stride() {
30937   _has_bits_[0] &= ~0x02000000u;
30938 }
clear_stride()30939 inline void V0LayerParameter::clear_stride() {
30940   stride_ = 1u;
30941   clear_has_stride();
30942 }
stride()30943 inline ::google::protobuf::uint32 V0LayerParameter::stride() const {
30944   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.stride)
30945   return stride_;
30946 }
set_stride(::google::protobuf::uint32 value)30947 inline void V0LayerParameter::set_stride(::google::protobuf::uint32 value) {
30948   set_has_stride();
30949   stride_ = value;
30950   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.stride)
30951 }
30952 
30953 // optional .opencv_caffe.V0LayerParameter.PoolMethod pool = 11 [default = MAX];
has_pool()30954 inline bool V0LayerParameter::has_pool() const {
30955   return (_has_bits_[0] & 0x00000800u) != 0;
30956 }
set_has_pool()30957 inline void V0LayerParameter::set_has_pool() {
30958   _has_bits_[0] |= 0x00000800u;
30959 }
clear_has_pool()30960 inline void V0LayerParameter::clear_has_pool() {
30961   _has_bits_[0] &= ~0x00000800u;
30962 }
clear_pool()30963 inline void V0LayerParameter::clear_pool() {
30964   pool_ = 0;
30965   clear_has_pool();
30966 }
pool()30967 inline ::opencv_caffe::V0LayerParameter_PoolMethod V0LayerParameter::pool() const {
30968   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.pool)
30969   return static_cast< ::opencv_caffe::V0LayerParameter_PoolMethod >(pool_);
30970 }
set_pool(::opencv_caffe::V0LayerParameter_PoolMethod value)30971 inline void V0LayerParameter::set_pool(::opencv_caffe::V0LayerParameter_PoolMethod value) {
30972   assert(::opencv_caffe::V0LayerParameter_PoolMethod_IsValid(value));
30973   set_has_pool();
30974   pool_ = value;
30975   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.pool)
30976 }
30977 
30978 // optional float dropout_ratio = 12 [default = 0.5];
has_dropout_ratio()30979 inline bool V0LayerParameter::has_dropout_ratio() const {
30980   return (_has_bits_[0] & 0x04000000u) != 0;
30981 }
set_has_dropout_ratio()30982 inline void V0LayerParameter::set_has_dropout_ratio() {
30983   _has_bits_[0] |= 0x04000000u;
30984 }
clear_has_dropout_ratio()30985 inline void V0LayerParameter::clear_has_dropout_ratio() {
30986   _has_bits_[0] &= ~0x04000000u;
30987 }
clear_dropout_ratio()30988 inline void V0LayerParameter::clear_dropout_ratio() {
30989   dropout_ratio_ = 0.5f;
30990   clear_has_dropout_ratio();
30991 }
dropout_ratio()30992 inline float V0LayerParameter::dropout_ratio() const {
30993   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.dropout_ratio)
30994   return dropout_ratio_;
30995 }
set_dropout_ratio(float value)30996 inline void V0LayerParameter::set_dropout_ratio(float value) {
30997   set_has_dropout_ratio();
30998   dropout_ratio_ = value;
30999   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.dropout_ratio)
31000 }
31001 
31002 // optional uint32 local_size = 13 [default = 5];
has_local_size()31003 inline bool V0LayerParameter::has_local_size() const {
31004   return (_has_bits_[0] & 0x08000000u) != 0;
31005 }
set_has_local_size()31006 inline void V0LayerParameter::set_has_local_size() {
31007   _has_bits_[0] |= 0x08000000u;
31008 }
clear_has_local_size()31009 inline void V0LayerParameter::clear_has_local_size() {
31010   _has_bits_[0] &= ~0x08000000u;
31011 }
clear_local_size()31012 inline void V0LayerParameter::clear_local_size() {
31013   local_size_ = 5u;
31014   clear_has_local_size();
31015 }
local_size()31016 inline ::google::protobuf::uint32 V0LayerParameter::local_size() const {
31017   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.local_size)
31018   return local_size_;
31019 }
set_local_size(::google::protobuf::uint32 value)31020 inline void V0LayerParameter::set_local_size(::google::protobuf::uint32 value) {
31021   set_has_local_size();
31022   local_size_ = value;
31023   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.local_size)
31024 }
31025 
31026 // optional float alpha = 14 [default = 1];
has_alpha()31027 inline bool V0LayerParameter::has_alpha() const {
31028   return (_has_bits_[0] & 0x10000000u) != 0;
31029 }
set_has_alpha()31030 inline void V0LayerParameter::set_has_alpha() {
31031   _has_bits_[0] |= 0x10000000u;
31032 }
clear_has_alpha()31033 inline void V0LayerParameter::clear_has_alpha() {
31034   _has_bits_[0] &= ~0x10000000u;
31035 }
clear_alpha()31036 inline void V0LayerParameter::clear_alpha() {
31037   alpha_ = 1;
31038   clear_has_alpha();
31039 }
alpha()31040 inline float V0LayerParameter::alpha() const {
31041   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.alpha)
31042   return alpha_;
31043 }
set_alpha(float value)31044 inline void V0LayerParameter::set_alpha(float value) {
31045   set_has_alpha();
31046   alpha_ = value;
31047   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.alpha)
31048 }
31049 
31050 // optional float beta = 15 [default = 0.75];
has_beta()31051 inline bool V0LayerParameter::has_beta() const {
31052   return (_has_bits_[0] & 0x20000000u) != 0;
31053 }
set_has_beta()31054 inline void V0LayerParameter::set_has_beta() {
31055   _has_bits_[0] |= 0x20000000u;
31056 }
clear_has_beta()31057 inline void V0LayerParameter::clear_has_beta() {
31058   _has_bits_[0] &= ~0x20000000u;
31059 }
clear_beta()31060 inline void V0LayerParameter::clear_beta() {
31061   beta_ = 0.75f;
31062   clear_has_beta();
31063 }
beta()31064 inline float V0LayerParameter::beta() const {
31065   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.beta)
31066   return beta_;
31067 }
set_beta(float value)31068 inline void V0LayerParameter::set_beta(float value) {
31069   set_has_beta();
31070   beta_ = value;
31071   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.beta)
31072 }
31073 
31074 // optional float k = 22 [default = 1];
has_k()31075 inline bool V0LayerParameter::has_k() const {
31076   return (_has_bits_[0] & 0x80000000u) != 0;
31077 }
set_has_k()31078 inline void V0LayerParameter::set_has_k() {
31079   _has_bits_[0] |= 0x80000000u;
31080 }
clear_has_k()31081 inline void V0LayerParameter::clear_has_k() {
31082   _has_bits_[0] &= ~0x80000000u;
31083 }
clear_k()31084 inline void V0LayerParameter::clear_k() {
31085   k_ = 1;
31086   clear_has_k();
31087 }
k()31088 inline float V0LayerParameter::k() const {
31089   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.k)
31090   return k_;
31091 }
set_k(float value)31092 inline void V0LayerParameter::set_k(float value) {
31093   set_has_k();
31094   k_ = value;
31095   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.k)
31096 }
31097 
31098 // optional string source = 16;
has_source()31099 inline bool V0LayerParameter::has_source() const {
31100   return (_has_bits_[0] & 0x00000004u) != 0;
31101 }
set_has_source()31102 inline void V0LayerParameter::set_has_source() {
31103   _has_bits_[0] |= 0x00000004u;
31104 }
clear_has_source()31105 inline void V0LayerParameter::clear_has_source() {
31106   _has_bits_[0] &= ~0x00000004u;
31107 }
clear_source()31108 inline void V0LayerParameter::clear_source() {
31109   source_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
31110   clear_has_source();
31111 }
source()31112 inline const ::std::string& V0LayerParameter::source() const {
31113   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.source)
31114   return source_.GetNoArena();
31115 }
set_source(const::std::string & value)31116 inline void V0LayerParameter::set_source(const ::std::string& value) {
31117   set_has_source();
31118   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
31119   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.source)
31120 }
31121 #if LANG_CXX11
set_source(::std::string && value)31122 inline void V0LayerParameter::set_source(::std::string&& value) {
31123   set_has_source();
31124   source_.SetNoArena(
31125     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
31126   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.V0LayerParameter.source)
31127 }
31128 #endif
set_source(const char * value)31129 inline void V0LayerParameter::set_source(const char* value) {
31130   GOOGLE_DCHECK(value != NULL);
31131   set_has_source();
31132   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
31133   // @@protoc_insertion_point(field_set_char:opencv_caffe.V0LayerParameter.source)
31134 }
set_source(const char * value,size_t size)31135 inline void V0LayerParameter::set_source(const char* value, size_t size) {
31136   set_has_source();
31137   source_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
31138       ::std::string(reinterpret_cast<const char*>(value), size));
31139   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.V0LayerParameter.source)
31140 }
mutable_source()31141 inline ::std::string* V0LayerParameter::mutable_source() {
31142   set_has_source();
31143   // @@protoc_insertion_point(field_mutable:opencv_caffe.V0LayerParameter.source)
31144   return source_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
31145 }
release_source()31146 inline ::std::string* V0LayerParameter::release_source() {
31147   // @@protoc_insertion_point(field_release:opencv_caffe.V0LayerParameter.source)
31148   clear_has_source();
31149   return source_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
31150 }
set_allocated_source(::std::string * source)31151 inline void V0LayerParameter::set_allocated_source(::std::string* source) {
31152   if (source != NULL) {
31153     set_has_source();
31154   } else {
31155     clear_has_source();
31156   }
31157   source_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), source);
31158   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V0LayerParameter.source)
31159 }
31160 
31161 // optional float scale = 17 [default = 1];
has_scale()31162 inline bool V0LayerParameter::has_scale() const {
31163   return (_has_bits_[0] & 0x40000000u) != 0;
31164 }
set_has_scale()31165 inline void V0LayerParameter::set_has_scale() {
31166   _has_bits_[0] |= 0x40000000u;
31167 }
clear_has_scale()31168 inline void V0LayerParameter::clear_has_scale() {
31169   _has_bits_[0] &= ~0x40000000u;
31170 }
clear_scale()31171 inline void V0LayerParameter::clear_scale() {
31172   scale_ = 1;
31173   clear_has_scale();
31174 }
scale()31175 inline float V0LayerParameter::scale() const {
31176   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.scale)
31177   return scale_;
31178 }
set_scale(float value)31179 inline void V0LayerParameter::set_scale(float value) {
31180   set_has_scale();
31181   scale_ = value;
31182   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.scale)
31183 }
31184 
31185 // optional string meanfile = 18;
has_meanfile()31186 inline bool V0LayerParameter::has_meanfile() const {
31187   return (_has_bits_[0] & 0x00000008u) != 0;
31188 }
set_has_meanfile()31189 inline void V0LayerParameter::set_has_meanfile() {
31190   _has_bits_[0] |= 0x00000008u;
31191 }
clear_has_meanfile()31192 inline void V0LayerParameter::clear_has_meanfile() {
31193   _has_bits_[0] &= ~0x00000008u;
31194 }
clear_meanfile()31195 inline void V0LayerParameter::clear_meanfile() {
31196   meanfile_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
31197   clear_has_meanfile();
31198 }
meanfile()31199 inline const ::std::string& V0LayerParameter::meanfile() const {
31200   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.meanfile)
31201   return meanfile_.GetNoArena();
31202 }
set_meanfile(const::std::string & value)31203 inline void V0LayerParameter::set_meanfile(const ::std::string& value) {
31204   set_has_meanfile();
31205   meanfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value);
31206   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.meanfile)
31207 }
31208 #if LANG_CXX11
set_meanfile(::std::string && value)31209 inline void V0LayerParameter::set_meanfile(::std::string&& value) {
31210   set_has_meanfile();
31211   meanfile_.SetNoArena(
31212     &::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value));
31213   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.V0LayerParameter.meanfile)
31214 }
31215 #endif
set_meanfile(const char * value)31216 inline void V0LayerParameter::set_meanfile(const char* value) {
31217   GOOGLE_DCHECK(value != NULL);
31218   set_has_meanfile();
31219   meanfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value));
31220   // @@protoc_insertion_point(field_set_char:opencv_caffe.V0LayerParameter.meanfile)
31221 }
set_meanfile(const char * value,size_t size)31222 inline void V0LayerParameter::set_meanfile(const char* value, size_t size) {
31223   set_has_meanfile();
31224   meanfile_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),
31225       ::std::string(reinterpret_cast<const char*>(value), size));
31226   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.V0LayerParameter.meanfile)
31227 }
mutable_meanfile()31228 inline ::std::string* V0LayerParameter::mutable_meanfile() {
31229   set_has_meanfile();
31230   // @@protoc_insertion_point(field_mutable:opencv_caffe.V0LayerParameter.meanfile)
31231   return meanfile_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
31232 }
release_meanfile()31233 inline ::std::string* V0LayerParameter::release_meanfile() {
31234   // @@protoc_insertion_point(field_release:opencv_caffe.V0LayerParameter.meanfile)
31235   clear_has_meanfile();
31236   return meanfile_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());
31237 }
set_allocated_meanfile(::std::string * meanfile)31238 inline void V0LayerParameter::set_allocated_meanfile(::std::string* meanfile) {
31239   if (meanfile != NULL) {
31240     set_has_meanfile();
31241   } else {
31242     clear_has_meanfile();
31243   }
31244   meanfile_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), meanfile);
31245   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V0LayerParameter.meanfile)
31246 }
31247 
31248 // optional uint32 batchsize = 19;
has_batchsize()31249 inline bool V0LayerParameter::has_batchsize() const {
31250   return (_has_bits_[0] & 0x00001000u) != 0;
31251 }
set_has_batchsize()31252 inline void V0LayerParameter::set_has_batchsize() {
31253   _has_bits_[0] |= 0x00001000u;
31254 }
clear_has_batchsize()31255 inline void V0LayerParameter::clear_has_batchsize() {
31256   _has_bits_[0] &= ~0x00001000u;
31257 }
clear_batchsize()31258 inline void V0LayerParameter::clear_batchsize() {
31259   batchsize_ = 0u;
31260   clear_has_batchsize();
31261 }
batchsize()31262 inline ::google::protobuf::uint32 V0LayerParameter::batchsize() const {
31263   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.batchsize)
31264   return batchsize_;
31265 }
set_batchsize(::google::protobuf::uint32 value)31266 inline void V0LayerParameter::set_batchsize(::google::protobuf::uint32 value) {
31267   set_has_batchsize();
31268   batchsize_ = value;
31269   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.batchsize)
31270 }
31271 
31272 // optional uint32 cropsize = 20 [default = 0];
has_cropsize()31273 inline bool V0LayerParameter::has_cropsize() const {
31274   return (_has_bits_[0] & 0x00002000u) != 0;
31275 }
set_has_cropsize()31276 inline void V0LayerParameter::set_has_cropsize() {
31277   _has_bits_[0] |= 0x00002000u;
31278 }
clear_has_cropsize()31279 inline void V0LayerParameter::clear_has_cropsize() {
31280   _has_bits_[0] &= ~0x00002000u;
31281 }
clear_cropsize()31282 inline void V0LayerParameter::clear_cropsize() {
31283   cropsize_ = 0u;
31284   clear_has_cropsize();
31285 }
cropsize()31286 inline ::google::protobuf::uint32 V0LayerParameter::cropsize() const {
31287   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.cropsize)
31288   return cropsize_;
31289 }
set_cropsize(::google::protobuf::uint32 value)31290 inline void V0LayerParameter::set_cropsize(::google::protobuf::uint32 value) {
31291   set_has_cropsize();
31292   cropsize_ = value;
31293   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.cropsize)
31294 }
31295 
31296 // optional bool mirror = 21 [default = false];
has_mirror()31297 inline bool V0LayerParameter::has_mirror() const {
31298   return (_has_bits_[0] & 0x00008000u) != 0;
31299 }
set_has_mirror()31300 inline void V0LayerParameter::set_has_mirror() {
31301   _has_bits_[0] |= 0x00008000u;
31302 }
clear_has_mirror()31303 inline void V0LayerParameter::clear_has_mirror() {
31304   _has_bits_[0] &= ~0x00008000u;
31305 }
clear_mirror()31306 inline void V0LayerParameter::clear_mirror() {
31307   mirror_ = false;
31308   clear_has_mirror();
31309 }
mirror()31310 inline bool V0LayerParameter::mirror() const {
31311   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.mirror)
31312   return mirror_;
31313 }
set_mirror(bool value)31314 inline void V0LayerParameter::set_mirror(bool value) {
31315   set_has_mirror();
31316   mirror_ = value;
31317   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.mirror)
31318 }
31319 
31320 // repeated .opencv_caffe.BlobProto blobs = 50;
blobs_size()31321 inline int V0LayerParameter::blobs_size() const {
31322   return blobs_.size();
31323 }
clear_blobs()31324 inline void V0LayerParameter::clear_blobs() {
31325   blobs_.Clear();
31326 }
blobs(int index)31327 inline const ::opencv_caffe::BlobProto& V0LayerParameter::blobs(int index) const {
31328   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.blobs)
31329   return blobs_.Get(index);
31330 }
mutable_blobs(int index)31331 inline ::opencv_caffe::BlobProto* V0LayerParameter::mutable_blobs(int index) {
31332   // @@protoc_insertion_point(field_mutable:opencv_caffe.V0LayerParameter.blobs)
31333   return blobs_.Mutable(index);
31334 }
add_blobs()31335 inline ::opencv_caffe::BlobProto* V0LayerParameter::add_blobs() {
31336   // @@protoc_insertion_point(field_add:opencv_caffe.V0LayerParameter.blobs)
31337   return blobs_.Add();
31338 }
31339 inline ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >*
mutable_blobs()31340 V0LayerParameter::mutable_blobs() {
31341   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V0LayerParameter.blobs)
31342   return &blobs_;
31343 }
31344 inline const ::google::protobuf::RepeatedPtrField< ::opencv_caffe::BlobProto >&
blobs()31345 V0LayerParameter::blobs() const {
31346   // @@protoc_insertion_point(field_list:opencv_caffe.V0LayerParameter.blobs)
31347   return blobs_;
31348 }
31349 
31350 // repeated float blobs_lr = 51;
blobs_lr_size()31351 inline int V0LayerParameter::blobs_lr_size() const {
31352   return blobs_lr_.size();
31353 }
clear_blobs_lr()31354 inline void V0LayerParameter::clear_blobs_lr() {
31355   blobs_lr_.Clear();
31356 }
blobs_lr(int index)31357 inline float V0LayerParameter::blobs_lr(int index) const {
31358   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.blobs_lr)
31359   return blobs_lr_.Get(index);
31360 }
set_blobs_lr(int index,float value)31361 inline void V0LayerParameter::set_blobs_lr(int index, float value) {
31362   blobs_lr_.Set(index, value);
31363   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.blobs_lr)
31364 }
add_blobs_lr(float value)31365 inline void V0LayerParameter::add_blobs_lr(float value) {
31366   blobs_lr_.Add(value);
31367   // @@protoc_insertion_point(field_add:opencv_caffe.V0LayerParameter.blobs_lr)
31368 }
31369 inline const ::google::protobuf::RepeatedField< float >&
blobs_lr()31370 V0LayerParameter::blobs_lr() const {
31371   // @@protoc_insertion_point(field_list:opencv_caffe.V0LayerParameter.blobs_lr)
31372   return blobs_lr_;
31373 }
31374 inline ::google::protobuf::RepeatedField< float >*
mutable_blobs_lr()31375 V0LayerParameter::mutable_blobs_lr() {
31376   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V0LayerParameter.blobs_lr)
31377   return &blobs_lr_;
31378 }
31379 
31380 // repeated float weight_decay = 52;
weight_decay_size()31381 inline int V0LayerParameter::weight_decay_size() const {
31382   return weight_decay_.size();
31383 }
clear_weight_decay()31384 inline void V0LayerParameter::clear_weight_decay() {
31385   weight_decay_.Clear();
31386 }
weight_decay(int index)31387 inline float V0LayerParameter::weight_decay(int index) const {
31388   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.weight_decay)
31389   return weight_decay_.Get(index);
31390 }
set_weight_decay(int index,float value)31391 inline void V0LayerParameter::set_weight_decay(int index, float value) {
31392   weight_decay_.Set(index, value);
31393   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.weight_decay)
31394 }
add_weight_decay(float value)31395 inline void V0LayerParameter::add_weight_decay(float value) {
31396   weight_decay_.Add(value);
31397   // @@protoc_insertion_point(field_add:opencv_caffe.V0LayerParameter.weight_decay)
31398 }
31399 inline const ::google::protobuf::RepeatedField< float >&
weight_decay()31400 V0LayerParameter::weight_decay() const {
31401   // @@protoc_insertion_point(field_list:opencv_caffe.V0LayerParameter.weight_decay)
31402   return weight_decay_;
31403 }
31404 inline ::google::protobuf::RepeatedField< float >*
mutable_weight_decay()31405 V0LayerParameter::mutable_weight_decay() {
31406   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.V0LayerParameter.weight_decay)
31407   return &weight_decay_;
31408 }
31409 
31410 // optional uint32 rand_skip = 53 [default = 0];
has_rand_skip()31411 inline bool V0LayerParameter::has_rand_skip() const {
31412   return (_has_bits_[0] & 0x00020000u) != 0;
31413 }
set_has_rand_skip()31414 inline void V0LayerParameter::set_has_rand_skip() {
31415   _has_bits_[0] |= 0x00020000u;
31416 }
clear_has_rand_skip()31417 inline void V0LayerParameter::clear_has_rand_skip() {
31418   _has_bits_[0] &= ~0x00020000u;
31419 }
clear_rand_skip()31420 inline void V0LayerParameter::clear_rand_skip() {
31421   rand_skip_ = 0u;
31422   clear_has_rand_skip();
31423 }
rand_skip()31424 inline ::google::protobuf::uint32 V0LayerParameter::rand_skip() const {
31425   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.rand_skip)
31426   return rand_skip_;
31427 }
set_rand_skip(::google::protobuf::uint32 value)31428 inline void V0LayerParameter::set_rand_skip(::google::protobuf::uint32 value) {
31429   set_has_rand_skip();
31430   rand_skip_ = value;
31431   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.rand_skip)
31432 }
31433 
31434 // optional float det_fg_threshold = 54 [default = 0.5];
has_det_fg_threshold()31435 inline bool V0LayerParameter::has_det_fg_threshold() const {
31436   return (_has_bits_[1] & 0x00000001u) != 0;
31437 }
set_has_det_fg_threshold()31438 inline void V0LayerParameter::set_has_det_fg_threshold() {
31439   _has_bits_[1] |= 0x00000001u;
31440 }
clear_has_det_fg_threshold()31441 inline void V0LayerParameter::clear_has_det_fg_threshold() {
31442   _has_bits_[1] &= ~0x00000001u;
31443 }
clear_det_fg_threshold()31444 inline void V0LayerParameter::clear_det_fg_threshold() {
31445   det_fg_threshold_ = 0.5f;
31446   clear_has_det_fg_threshold();
31447 }
det_fg_threshold()31448 inline float V0LayerParameter::det_fg_threshold() const {
31449   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.det_fg_threshold)
31450   return det_fg_threshold_;
31451 }
set_det_fg_threshold(float value)31452 inline void V0LayerParameter::set_det_fg_threshold(float value) {
31453   set_has_det_fg_threshold();
31454   det_fg_threshold_ = value;
31455   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.det_fg_threshold)
31456 }
31457 
31458 // optional float det_bg_threshold = 55 [default = 0.5];
has_det_bg_threshold()31459 inline bool V0LayerParameter::has_det_bg_threshold() const {
31460   return (_has_bits_[1] & 0x00000002u) != 0;
31461 }
set_has_det_bg_threshold()31462 inline void V0LayerParameter::set_has_det_bg_threshold() {
31463   _has_bits_[1] |= 0x00000002u;
31464 }
clear_has_det_bg_threshold()31465 inline void V0LayerParameter::clear_has_det_bg_threshold() {
31466   _has_bits_[1] &= ~0x00000002u;
31467 }
clear_det_bg_threshold()31468 inline void V0LayerParameter::clear_det_bg_threshold() {
31469   det_bg_threshold_ = 0.5f;
31470   clear_has_det_bg_threshold();
31471 }
det_bg_threshold()31472 inline float V0LayerParameter::det_bg_threshold() const {
31473   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.det_bg_threshold)
31474   return det_bg_threshold_;
31475 }
set_det_bg_threshold(float value)31476 inline void V0LayerParameter::set_det_bg_threshold(float value) {
31477   set_has_det_bg_threshold();
31478   det_bg_threshold_ = value;
31479   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.det_bg_threshold)
31480 }
31481 
31482 // optional float det_fg_fraction = 56 [default = 0.25];
has_det_fg_fraction()31483 inline bool V0LayerParameter::has_det_fg_fraction() const {
31484   return (_has_bits_[1] & 0x00000004u) != 0;
31485 }
set_has_det_fg_fraction()31486 inline void V0LayerParameter::set_has_det_fg_fraction() {
31487   _has_bits_[1] |= 0x00000004u;
31488 }
clear_has_det_fg_fraction()31489 inline void V0LayerParameter::clear_has_det_fg_fraction() {
31490   _has_bits_[1] &= ~0x00000004u;
31491 }
clear_det_fg_fraction()31492 inline void V0LayerParameter::clear_det_fg_fraction() {
31493   det_fg_fraction_ = 0.25f;
31494   clear_has_det_fg_fraction();
31495 }
det_fg_fraction()31496 inline float V0LayerParameter::det_fg_fraction() const {
31497   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.det_fg_fraction)
31498   return det_fg_fraction_;
31499 }
set_det_fg_fraction(float value)31500 inline void V0LayerParameter::set_det_fg_fraction(float value) {
31501   set_has_det_fg_fraction();
31502   det_fg_fraction_ = value;
31503   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.det_fg_fraction)
31504 }
31505 
31506 // optional uint32 det_context_pad = 58 [default = 0];
has_det_context_pad()31507 inline bool V0LayerParameter::has_det_context_pad() const {
31508   return (_has_bits_[0] & 0x00040000u) != 0;
31509 }
set_has_det_context_pad()31510 inline void V0LayerParameter::set_has_det_context_pad() {
31511   _has_bits_[0] |= 0x00040000u;
31512 }
clear_has_det_context_pad()31513 inline void V0LayerParameter::clear_has_det_context_pad() {
31514   _has_bits_[0] &= ~0x00040000u;
31515 }
clear_det_context_pad()31516 inline void V0LayerParameter::clear_det_context_pad() {
31517   det_context_pad_ = 0u;
31518   clear_has_det_context_pad();
31519 }
det_context_pad()31520 inline ::google::protobuf::uint32 V0LayerParameter::det_context_pad() const {
31521   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.det_context_pad)
31522   return det_context_pad_;
31523 }
set_det_context_pad(::google::protobuf::uint32 value)31524 inline void V0LayerParameter::set_det_context_pad(::google::protobuf::uint32 value) {
31525   set_has_det_context_pad();
31526   det_context_pad_ = value;
31527   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.det_context_pad)
31528 }
31529 
31530 // optional string det_crop_mode = 59 [default = "warp"];
has_det_crop_mode()31531 inline bool V0LayerParameter::has_det_crop_mode() const {
31532   return (_has_bits_[0] & 0x00000010u) != 0;
31533 }
set_has_det_crop_mode()31534 inline void V0LayerParameter::set_has_det_crop_mode() {
31535   _has_bits_[0] |= 0x00000010u;
31536 }
clear_has_det_crop_mode()31537 inline void V0LayerParameter::clear_has_det_crop_mode() {
31538   _has_bits_[0] &= ~0x00000010u;
31539 }
clear_det_crop_mode()31540 inline void V0LayerParameter::clear_det_crop_mode() {
31541   det_crop_mode_.ClearToDefaultNoArena(&::opencv_caffe::V0LayerParameter::_default_det_crop_mode_.get());
31542   clear_has_det_crop_mode();
31543 }
det_crop_mode()31544 inline const ::std::string& V0LayerParameter::det_crop_mode() const {
31545   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.det_crop_mode)
31546   return det_crop_mode_.GetNoArena();
31547 }
set_det_crop_mode(const::std::string & value)31548 inline void V0LayerParameter::set_det_crop_mode(const ::std::string& value) {
31549   set_has_det_crop_mode();
31550   det_crop_mode_.SetNoArena(&::opencv_caffe::V0LayerParameter::_default_det_crop_mode_.get(), value);
31551   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.det_crop_mode)
31552 }
31553 #if LANG_CXX11
set_det_crop_mode(::std::string && value)31554 inline void V0LayerParameter::set_det_crop_mode(::std::string&& value) {
31555   set_has_det_crop_mode();
31556   det_crop_mode_.SetNoArena(
31557     &::opencv_caffe::V0LayerParameter::_default_det_crop_mode_.get(), ::std::move(value));
31558   // @@protoc_insertion_point(field_set_rvalue:opencv_caffe.V0LayerParameter.det_crop_mode)
31559 }
31560 #endif
set_det_crop_mode(const char * value)31561 inline void V0LayerParameter::set_det_crop_mode(const char* value) {
31562   GOOGLE_DCHECK(value != NULL);
31563   set_has_det_crop_mode();
31564   det_crop_mode_.SetNoArena(&::opencv_caffe::V0LayerParameter::_default_det_crop_mode_.get(), ::std::string(value));
31565   // @@protoc_insertion_point(field_set_char:opencv_caffe.V0LayerParameter.det_crop_mode)
31566 }
set_det_crop_mode(const char * value,size_t size)31567 inline void V0LayerParameter::set_det_crop_mode(const char* value, size_t size) {
31568   set_has_det_crop_mode();
31569   det_crop_mode_.SetNoArena(&::opencv_caffe::V0LayerParameter::_default_det_crop_mode_.get(),
31570       ::std::string(reinterpret_cast<const char*>(value), size));
31571   // @@protoc_insertion_point(field_set_pointer:opencv_caffe.V0LayerParameter.det_crop_mode)
31572 }
mutable_det_crop_mode()31573 inline ::std::string* V0LayerParameter::mutable_det_crop_mode() {
31574   set_has_det_crop_mode();
31575   // @@protoc_insertion_point(field_mutable:opencv_caffe.V0LayerParameter.det_crop_mode)
31576   return det_crop_mode_.MutableNoArena(&::opencv_caffe::V0LayerParameter::_default_det_crop_mode_.get());
31577 }
release_det_crop_mode()31578 inline ::std::string* V0LayerParameter::release_det_crop_mode() {
31579   // @@protoc_insertion_point(field_release:opencv_caffe.V0LayerParameter.det_crop_mode)
31580   clear_has_det_crop_mode();
31581   return det_crop_mode_.ReleaseNoArena(&::opencv_caffe::V0LayerParameter::_default_det_crop_mode_.get());
31582 }
set_allocated_det_crop_mode(::std::string * det_crop_mode)31583 inline void V0LayerParameter::set_allocated_det_crop_mode(::std::string* det_crop_mode) {
31584   if (det_crop_mode != NULL) {
31585     set_has_det_crop_mode();
31586   } else {
31587     clear_has_det_crop_mode();
31588   }
31589   det_crop_mode_.SetAllocatedNoArena(&::opencv_caffe::V0LayerParameter::_default_det_crop_mode_.get(), det_crop_mode);
31590   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V0LayerParameter.det_crop_mode)
31591 }
31592 
31593 // optional int32 new_num = 60 [default = 0];
has_new_num()31594 inline bool V0LayerParameter::has_new_num() const {
31595   return (_has_bits_[0] & 0x00080000u) != 0;
31596 }
set_has_new_num()31597 inline void V0LayerParameter::set_has_new_num() {
31598   _has_bits_[0] |= 0x00080000u;
31599 }
clear_has_new_num()31600 inline void V0LayerParameter::clear_has_new_num() {
31601   _has_bits_[0] &= ~0x00080000u;
31602 }
clear_new_num()31603 inline void V0LayerParameter::clear_new_num() {
31604   new_num_ = 0;
31605   clear_has_new_num();
31606 }
new_num()31607 inline ::google::protobuf::int32 V0LayerParameter::new_num() const {
31608   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.new_num)
31609   return new_num_;
31610 }
set_new_num(::google::protobuf::int32 value)31611 inline void V0LayerParameter::set_new_num(::google::protobuf::int32 value) {
31612   set_has_new_num();
31613   new_num_ = value;
31614   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.new_num)
31615 }
31616 
31617 // optional int32 new_channels = 61 [default = 0];
has_new_channels()31618 inline bool V0LayerParameter::has_new_channels() const {
31619   return (_has_bits_[0] & 0x00100000u) != 0;
31620 }
set_has_new_channels()31621 inline void V0LayerParameter::set_has_new_channels() {
31622   _has_bits_[0] |= 0x00100000u;
31623 }
clear_has_new_channels()31624 inline void V0LayerParameter::clear_has_new_channels() {
31625   _has_bits_[0] &= ~0x00100000u;
31626 }
clear_new_channels()31627 inline void V0LayerParameter::clear_new_channels() {
31628   new_channels_ = 0;
31629   clear_has_new_channels();
31630 }
new_channels()31631 inline ::google::protobuf::int32 V0LayerParameter::new_channels() const {
31632   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.new_channels)
31633   return new_channels_;
31634 }
set_new_channels(::google::protobuf::int32 value)31635 inline void V0LayerParameter::set_new_channels(::google::protobuf::int32 value) {
31636   set_has_new_channels();
31637   new_channels_ = value;
31638   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.new_channels)
31639 }
31640 
31641 // optional int32 new_height = 62 [default = 0];
has_new_height()31642 inline bool V0LayerParameter::has_new_height() const {
31643   return (_has_bits_[0] & 0x00200000u) != 0;
31644 }
set_has_new_height()31645 inline void V0LayerParameter::set_has_new_height() {
31646   _has_bits_[0] |= 0x00200000u;
31647 }
clear_has_new_height()31648 inline void V0LayerParameter::clear_has_new_height() {
31649   _has_bits_[0] &= ~0x00200000u;
31650 }
clear_new_height()31651 inline void V0LayerParameter::clear_new_height() {
31652   new_height_ = 0;
31653   clear_has_new_height();
31654 }
new_height()31655 inline ::google::protobuf::int32 V0LayerParameter::new_height() const {
31656   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.new_height)
31657   return new_height_;
31658 }
set_new_height(::google::protobuf::int32 value)31659 inline void V0LayerParameter::set_new_height(::google::protobuf::int32 value) {
31660   set_has_new_height();
31661   new_height_ = value;
31662   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.new_height)
31663 }
31664 
31665 // optional int32 new_width = 63 [default = 0];
has_new_width()31666 inline bool V0LayerParameter::has_new_width() const {
31667   return (_has_bits_[0] & 0x00004000u) != 0;
31668 }
set_has_new_width()31669 inline void V0LayerParameter::set_has_new_width() {
31670   _has_bits_[0] |= 0x00004000u;
31671 }
clear_has_new_width()31672 inline void V0LayerParameter::clear_has_new_width() {
31673   _has_bits_[0] &= ~0x00004000u;
31674 }
clear_new_width()31675 inline void V0LayerParameter::clear_new_width() {
31676   new_width_ = 0;
31677   clear_has_new_width();
31678 }
new_width()31679 inline ::google::protobuf::int32 V0LayerParameter::new_width() const {
31680   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.new_width)
31681   return new_width_;
31682 }
set_new_width(::google::protobuf::int32 value)31683 inline void V0LayerParameter::set_new_width(::google::protobuf::int32 value) {
31684   set_has_new_width();
31685   new_width_ = value;
31686   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.new_width)
31687 }
31688 
31689 // optional bool shuffle_images = 64 [default = false];
has_shuffle_images()31690 inline bool V0LayerParameter::has_shuffle_images() const {
31691   return (_has_bits_[0] & 0x00010000u) != 0;
31692 }
set_has_shuffle_images()31693 inline void V0LayerParameter::set_has_shuffle_images() {
31694   _has_bits_[0] |= 0x00010000u;
31695 }
clear_has_shuffle_images()31696 inline void V0LayerParameter::clear_has_shuffle_images() {
31697   _has_bits_[0] &= ~0x00010000u;
31698 }
clear_shuffle_images()31699 inline void V0LayerParameter::clear_shuffle_images() {
31700   shuffle_images_ = false;
31701   clear_has_shuffle_images();
31702 }
shuffle_images()31703 inline bool V0LayerParameter::shuffle_images() const {
31704   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.shuffle_images)
31705   return shuffle_images_;
31706 }
set_shuffle_images(bool value)31707 inline void V0LayerParameter::set_shuffle_images(bool value) {
31708   set_has_shuffle_images();
31709   shuffle_images_ = value;
31710   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.shuffle_images)
31711 }
31712 
31713 // optional uint32 concat_dim = 65 [default = 1];
has_concat_dim()31714 inline bool V0LayerParameter::has_concat_dim() const {
31715   return (_has_bits_[0] & 0x00400000u) != 0;
31716 }
set_has_concat_dim()31717 inline void V0LayerParameter::set_has_concat_dim() {
31718   _has_bits_[0] |= 0x00400000u;
31719 }
clear_has_concat_dim()31720 inline void V0LayerParameter::clear_has_concat_dim() {
31721   _has_bits_[0] &= ~0x00400000u;
31722 }
clear_concat_dim()31723 inline void V0LayerParameter::clear_concat_dim() {
31724   concat_dim_ = 1u;
31725   clear_has_concat_dim();
31726 }
concat_dim()31727 inline ::google::protobuf::uint32 V0LayerParameter::concat_dim() const {
31728   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.concat_dim)
31729   return concat_dim_;
31730 }
set_concat_dim(::google::protobuf::uint32 value)31731 inline void V0LayerParameter::set_concat_dim(::google::protobuf::uint32 value) {
31732   set_has_concat_dim();
31733   concat_dim_ = value;
31734   // @@protoc_insertion_point(field_set:opencv_caffe.V0LayerParameter.concat_dim)
31735 }
31736 
31737 // optional .opencv_caffe.HDF5OutputParameter hdf5_output_param = 1001;
has_hdf5_output_param()31738 inline bool V0LayerParameter::has_hdf5_output_param() const {
31739   return (_has_bits_[0] & 0x00000080u) != 0;
31740 }
set_has_hdf5_output_param()31741 inline void V0LayerParameter::set_has_hdf5_output_param() {
31742   _has_bits_[0] |= 0x00000080u;
31743 }
clear_has_hdf5_output_param()31744 inline void V0LayerParameter::clear_has_hdf5_output_param() {
31745   _has_bits_[0] &= ~0x00000080u;
31746 }
clear_hdf5_output_param()31747 inline void V0LayerParameter::clear_hdf5_output_param() {
31748   if (hdf5_output_param_ != NULL) hdf5_output_param_->Clear();
31749   clear_has_hdf5_output_param();
31750 }
hdf5_output_param()31751 inline const ::opencv_caffe::HDF5OutputParameter& V0LayerParameter::hdf5_output_param() const {
31752   const ::opencv_caffe::HDF5OutputParameter* p = hdf5_output_param_;
31753   // @@protoc_insertion_point(field_get:opencv_caffe.V0LayerParameter.hdf5_output_param)
31754   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::HDF5OutputParameter*>(
31755       &::opencv_caffe::_HDF5OutputParameter_default_instance_);
31756 }
release_hdf5_output_param()31757 inline ::opencv_caffe::HDF5OutputParameter* V0LayerParameter::release_hdf5_output_param() {
31758   // @@protoc_insertion_point(field_release:opencv_caffe.V0LayerParameter.hdf5_output_param)
31759   clear_has_hdf5_output_param();
31760   ::opencv_caffe::HDF5OutputParameter* temp = hdf5_output_param_;
31761   hdf5_output_param_ = NULL;
31762   return temp;
31763 }
mutable_hdf5_output_param()31764 inline ::opencv_caffe::HDF5OutputParameter* V0LayerParameter::mutable_hdf5_output_param() {
31765   set_has_hdf5_output_param();
31766   if (hdf5_output_param_ == NULL) {
31767     hdf5_output_param_ = new ::opencv_caffe::HDF5OutputParameter;
31768   }
31769   // @@protoc_insertion_point(field_mutable:opencv_caffe.V0LayerParameter.hdf5_output_param)
31770   return hdf5_output_param_;
31771 }
set_allocated_hdf5_output_param(::opencv_caffe::HDF5OutputParameter * hdf5_output_param)31772 inline void V0LayerParameter::set_allocated_hdf5_output_param(::opencv_caffe::HDF5OutputParameter* hdf5_output_param) {
31773   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
31774   if (message_arena == NULL) {
31775     delete hdf5_output_param_;
31776   }
31777   if (hdf5_output_param) {
31778     ::google::protobuf::Arena* submessage_arena = NULL;
31779     if (message_arena != submessage_arena) {
31780       hdf5_output_param = ::google::protobuf::internal::GetOwnedMessage(
31781           message_arena, hdf5_output_param, submessage_arena);
31782     }
31783     set_has_hdf5_output_param();
31784   } else {
31785     clear_has_hdf5_output_param();
31786   }
31787   hdf5_output_param_ = hdf5_output_param;
31788   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.V0LayerParameter.hdf5_output_param)
31789 }
31790 
31791 // -------------------------------------------------------------------
31792 
31793 // PReLUParameter
31794 
31795 // optional .opencv_caffe.FillerParameter filler = 1;
has_filler()31796 inline bool PReLUParameter::has_filler() const {
31797   return (_has_bits_[0] & 0x00000001u) != 0;
31798 }
set_has_filler()31799 inline void PReLUParameter::set_has_filler() {
31800   _has_bits_[0] |= 0x00000001u;
31801 }
clear_has_filler()31802 inline void PReLUParameter::clear_has_filler() {
31803   _has_bits_[0] &= ~0x00000001u;
31804 }
clear_filler()31805 inline void PReLUParameter::clear_filler() {
31806   if (filler_ != NULL) filler_->Clear();
31807   clear_has_filler();
31808 }
filler()31809 inline const ::opencv_caffe::FillerParameter& PReLUParameter::filler() const {
31810   const ::opencv_caffe::FillerParameter* p = filler_;
31811   // @@protoc_insertion_point(field_get:opencv_caffe.PReLUParameter.filler)
31812   return p != NULL ? *p : *reinterpret_cast<const ::opencv_caffe::FillerParameter*>(
31813       &::opencv_caffe::_FillerParameter_default_instance_);
31814 }
release_filler()31815 inline ::opencv_caffe::FillerParameter* PReLUParameter::release_filler() {
31816   // @@protoc_insertion_point(field_release:opencv_caffe.PReLUParameter.filler)
31817   clear_has_filler();
31818   ::opencv_caffe::FillerParameter* temp = filler_;
31819   filler_ = NULL;
31820   return temp;
31821 }
mutable_filler()31822 inline ::opencv_caffe::FillerParameter* PReLUParameter::mutable_filler() {
31823   set_has_filler();
31824   if (filler_ == NULL) {
31825     filler_ = new ::opencv_caffe::FillerParameter;
31826   }
31827   // @@protoc_insertion_point(field_mutable:opencv_caffe.PReLUParameter.filler)
31828   return filler_;
31829 }
set_allocated_filler(::opencv_caffe::FillerParameter * filler)31830 inline void PReLUParameter::set_allocated_filler(::opencv_caffe::FillerParameter* filler) {
31831   ::google::protobuf::Arena* message_arena = GetArenaNoVirtual();
31832   if (message_arena == NULL) {
31833     delete filler_;
31834   }
31835   if (filler) {
31836     ::google::protobuf::Arena* submessage_arena = NULL;
31837     if (message_arena != submessage_arena) {
31838       filler = ::google::protobuf::internal::GetOwnedMessage(
31839           message_arena, filler, submessage_arena);
31840     }
31841     set_has_filler();
31842   } else {
31843     clear_has_filler();
31844   }
31845   filler_ = filler;
31846   // @@protoc_insertion_point(field_set_allocated:opencv_caffe.PReLUParameter.filler)
31847 }
31848 
31849 // optional bool channel_shared = 2 [default = false];
has_channel_shared()31850 inline bool PReLUParameter::has_channel_shared() const {
31851   return (_has_bits_[0] & 0x00000002u) != 0;
31852 }
set_has_channel_shared()31853 inline void PReLUParameter::set_has_channel_shared() {
31854   _has_bits_[0] |= 0x00000002u;
31855 }
clear_has_channel_shared()31856 inline void PReLUParameter::clear_has_channel_shared() {
31857   _has_bits_[0] &= ~0x00000002u;
31858 }
clear_channel_shared()31859 inline void PReLUParameter::clear_channel_shared() {
31860   channel_shared_ = false;
31861   clear_has_channel_shared();
31862 }
channel_shared()31863 inline bool PReLUParameter::channel_shared() const {
31864   // @@protoc_insertion_point(field_get:opencv_caffe.PReLUParameter.channel_shared)
31865   return channel_shared_;
31866 }
set_channel_shared(bool value)31867 inline void PReLUParameter::set_channel_shared(bool value) {
31868   set_has_channel_shared();
31869   channel_shared_ = value;
31870   // @@protoc_insertion_point(field_set:opencv_caffe.PReLUParameter.channel_shared)
31871 }
31872 
31873 // -------------------------------------------------------------------
31874 
31875 // NormalizedBBox
31876 
31877 // optional float xmin = 1;
has_xmin()31878 inline bool NormalizedBBox::has_xmin() const {
31879   return (_has_bits_[0] & 0x00000001u) != 0;
31880 }
set_has_xmin()31881 inline void NormalizedBBox::set_has_xmin() {
31882   _has_bits_[0] |= 0x00000001u;
31883 }
clear_has_xmin()31884 inline void NormalizedBBox::clear_has_xmin() {
31885   _has_bits_[0] &= ~0x00000001u;
31886 }
clear_xmin()31887 inline void NormalizedBBox::clear_xmin() {
31888   xmin_ = 0;
31889   clear_has_xmin();
31890 }
xmin()31891 inline float NormalizedBBox::xmin() const {
31892   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizedBBox.xmin)
31893   return xmin_;
31894 }
set_xmin(float value)31895 inline void NormalizedBBox::set_xmin(float value) {
31896   set_has_xmin();
31897   xmin_ = value;
31898   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizedBBox.xmin)
31899 }
31900 
31901 // optional float ymin = 2;
has_ymin()31902 inline bool NormalizedBBox::has_ymin() const {
31903   return (_has_bits_[0] & 0x00000002u) != 0;
31904 }
set_has_ymin()31905 inline void NormalizedBBox::set_has_ymin() {
31906   _has_bits_[0] |= 0x00000002u;
31907 }
clear_has_ymin()31908 inline void NormalizedBBox::clear_has_ymin() {
31909   _has_bits_[0] &= ~0x00000002u;
31910 }
clear_ymin()31911 inline void NormalizedBBox::clear_ymin() {
31912   ymin_ = 0;
31913   clear_has_ymin();
31914 }
ymin()31915 inline float NormalizedBBox::ymin() const {
31916   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizedBBox.ymin)
31917   return ymin_;
31918 }
set_ymin(float value)31919 inline void NormalizedBBox::set_ymin(float value) {
31920   set_has_ymin();
31921   ymin_ = value;
31922   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizedBBox.ymin)
31923 }
31924 
31925 // optional float xmax = 3;
has_xmax()31926 inline bool NormalizedBBox::has_xmax() const {
31927   return (_has_bits_[0] & 0x00000004u) != 0;
31928 }
set_has_xmax()31929 inline void NormalizedBBox::set_has_xmax() {
31930   _has_bits_[0] |= 0x00000004u;
31931 }
clear_has_xmax()31932 inline void NormalizedBBox::clear_has_xmax() {
31933   _has_bits_[0] &= ~0x00000004u;
31934 }
clear_xmax()31935 inline void NormalizedBBox::clear_xmax() {
31936   xmax_ = 0;
31937   clear_has_xmax();
31938 }
xmax()31939 inline float NormalizedBBox::xmax() const {
31940   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizedBBox.xmax)
31941   return xmax_;
31942 }
set_xmax(float value)31943 inline void NormalizedBBox::set_xmax(float value) {
31944   set_has_xmax();
31945   xmax_ = value;
31946   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizedBBox.xmax)
31947 }
31948 
31949 // optional float ymax = 4;
has_ymax()31950 inline bool NormalizedBBox::has_ymax() const {
31951   return (_has_bits_[0] & 0x00000008u) != 0;
31952 }
set_has_ymax()31953 inline void NormalizedBBox::set_has_ymax() {
31954   _has_bits_[0] |= 0x00000008u;
31955 }
clear_has_ymax()31956 inline void NormalizedBBox::clear_has_ymax() {
31957   _has_bits_[0] &= ~0x00000008u;
31958 }
clear_ymax()31959 inline void NormalizedBBox::clear_ymax() {
31960   ymax_ = 0;
31961   clear_has_ymax();
31962 }
ymax()31963 inline float NormalizedBBox::ymax() const {
31964   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizedBBox.ymax)
31965   return ymax_;
31966 }
set_ymax(float value)31967 inline void NormalizedBBox::set_ymax(float value) {
31968   set_has_ymax();
31969   ymax_ = value;
31970   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizedBBox.ymax)
31971 }
31972 
31973 // optional int32 label = 5;
has_label()31974 inline bool NormalizedBBox::has_label() const {
31975   return (_has_bits_[0] & 0x00000010u) != 0;
31976 }
set_has_label()31977 inline void NormalizedBBox::set_has_label() {
31978   _has_bits_[0] |= 0x00000010u;
31979 }
clear_has_label()31980 inline void NormalizedBBox::clear_has_label() {
31981   _has_bits_[0] &= ~0x00000010u;
31982 }
clear_label()31983 inline void NormalizedBBox::clear_label() {
31984   label_ = 0;
31985   clear_has_label();
31986 }
label()31987 inline ::google::protobuf::int32 NormalizedBBox::label() const {
31988   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizedBBox.label)
31989   return label_;
31990 }
set_label(::google::protobuf::int32 value)31991 inline void NormalizedBBox::set_label(::google::protobuf::int32 value) {
31992   set_has_label();
31993   label_ = value;
31994   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizedBBox.label)
31995 }
31996 
31997 // optional bool difficult = 6;
has_difficult()31998 inline bool NormalizedBBox::has_difficult() const {
31999   return (_has_bits_[0] & 0x00000020u) != 0;
32000 }
set_has_difficult()32001 inline void NormalizedBBox::set_has_difficult() {
32002   _has_bits_[0] |= 0x00000020u;
32003 }
clear_has_difficult()32004 inline void NormalizedBBox::clear_has_difficult() {
32005   _has_bits_[0] &= ~0x00000020u;
32006 }
clear_difficult()32007 inline void NormalizedBBox::clear_difficult() {
32008   difficult_ = false;
32009   clear_has_difficult();
32010 }
difficult()32011 inline bool NormalizedBBox::difficult() const {
32012   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizedBBox.difficult)
32013   return difficult_;
32014 }
set_difficult(bool value)32015 inline void NormalizedBBox::set_difficult(bool value) {
32016   set_has_difficult();
32017   difficult_ = value;
32018   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizedBBox.difficult)
32019 }
32020 
32021 // optional float score = 7;
has_score()32022 inline bool NormalizedBBox::has_score() const {
32023   return (_has_bits_[0] & 0x00000040u) != 0;
32024 }
set_has_score()32025 inline void NormalizedBBox::set_has_score() {
32026   _has_bits_[0] |= 0x00000040u;
32027 }
clear_has_score()32028 inline void NormalizedBBox::clear_has_score() {
32029   _has_bits_[0] &= ~0x00000040u;
32030 }
clear_score()32031 inline void NormalizedBBox::clear_score() {
32032   score_ = 0;
32033   clear_has_score();
32034 }
score()32035 inline float NormalizedBBox::score() const {
32036   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizedBBox.score)
32037   return score_;
32038 }
set_score(float value)32039 inline void NormalizedBBox::set_score(float value) {
32040   set_has_score();
32041   score_ = value;
32042   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizedBBox.score)
32043 }
32044 
32045 // optional float size = 8;
has_size()32046 inline bool NormalizedBBox::has_size() const {
32047   return (_has_bits_[0] & 0x00000080u) != 0;
32048 }
set_has_size()32049 inline void NormalizedBBox::set_has_size() {
32050   _has_bits_[0] |= 0x00000080u;
32051 }
clear_has_size()32052 inline void NormalizedBBox::clear_has_size() {
32053   _has_bits_[0] &= ~0x00000080u;
32054 }
clear_size()32055 inline void NormalizedBBox::clear_size() {
32056   size_ = 0;
32057   clear_has_size();
32058 }
size()32059 inline float NormalizedBBox::size() const {
32060   // @@protoc_insertion_point(field_get:opencv_caffe.NormalizedBBox.size)
32061   return size_;
32062 }
set_size(float value)32063 inline void NormalizedBBox::set_size(float value) {
32064   set_has_size();
32065   size_ = value;
32066   // @@protoc_insertion_point(field_set:opencv_caffe.NormalizedBBox.size)
32067 }
32068 
32069 // -------------------------------------------------------------------
32070 
32071 // ROIPoolingParameter
32072 
32073 // optional uint32 pooled_h = 1 [default = 0];
has_pooled_h()32074 inline bool ROIPoolingParameter::has_pooled_h() const {
32075   return (_has_bits_[0] & 0x00000001u) != 0;
32076 }
set_has_pooled_h()32077 inline void ROIPoolingParameter::set_has_pooled_h() {
32078   _has_bits_[0] |= 0x00000001u;
32079 }
clear_has_pooled_h()32080 inline void ROIPoolingParameter::clear_has_pooled_h() {
32081   _has_bits_[0] &= ~0x00000001u;
32082 }
clear_pooled_h()32083 inline void ROIPoolingParameter::clear_pooled_h() {
32084   pooled_h_ = 0u;
32085   clear_has_pooled_h();
32086 }
pooled_h()32087 inline ::google::protobuf::uint32 ROIPoolingParameter::pooled_h() const {
32088   // @@protoc_insertion_point(field_get:opencv_caffe.ROIPoolingParameter.pooled_h)
32089   return pooled_h_;
32090 }
set_pooled_h(::google::protobuf::uint32 value)32091 inline void ROIPoolingParameter::set_pooled_h(::google::protobuf::uint32 value) {
32092   set_has_pooled_h();
32093   pooled_h_ = value;
32094   // @@protoc_insertion_point(field_set:opencv_caffe.ROIPoolingParameter.pooled_h)
32095 }
32096 
32097 // optional uint32 pooled_w = 2 [default = 0];
has_pooled_w()32098 inline bool ROIPoolingParameter::has_pooled_w() const {
32099   return (_has_bits_[0] & 0x00000002u) != 0;
32100 }
set_has_pooled_w()32101 inline void ROIPoolingParameter::set_has_pooled_w() {
32102   _has_bits_[0] |= 0x00000002u;
32103 }
clear_has_pooled_w()32104 inline void ROIPoolingParameter::clear_has_pooled_w() {
32105   _has_bits_[0] &= ~0x00000002u;
32106 }
clear_pooled_w()32107 inline void ROIPoolingParameter::clear_pooled_w() {
32108   pooled_w_ = 0u;
32109   clear_has_pooled_w();
32110 }
pooled_w()32111 inline ::google::protobuf::uint32 ROIPoolingParameter::pooled_w() const {
32112   // @@protoc_insertion_point(field_get:opencv_caffe.ROIPoolingParameter.pooled_w)
32113   return pooled_w_;
32114 }
set_pooled_w(::google::protobuf::uint32 value)32115 inline void ROIPoolingParameter::set_pooled_w(::google::protobuf::uint32 value) {
32116   set_has_pooled_w();
32117   pooled_w_ = value;
32118   // @@protoc_insertion_point(field_set:opencv_caffe.ROIPoolingParameter.pooled_w)
32119 }
32120 
32121 // optional float spatial_scale = 3 [default = 1];
has_spatial_scale()32122 inline bool ROIPoolingParameter::has_spatial_scale() const {
32123   return (_has_bits_[0] & 0x00000004u) != 0;
32124 }
set_has_spatial_scale()32125 inline void ROIPoolingParameter::set_has_spatial_scale() {
32126   _has_bits_[0] |= 0x00000004u;
32127 }
clear_has_spatial_scale()32128 inline void ROIPoolingParameter::clear_has_spatial_scale() {
32129   _has_bits_[0] &= ~0x00000004u;
32130 }
clear_spatial_scale()32131 inline void ROIPoolingParameter::clear_spatial_scale() {
32132   spatial_scale_ = 1;
32133   clear_has_spatial_scale();
32134 }
spatial_scale()32135 inline float ROIPoolingParameter::spatial_scale() const {
32136   // @@protoc_insertion_point(field_get:opencv_caffe.ROIPoolingParameter.spatial_scale)
32137   return spatial_scale_;
32138 }
set_spatial_scale(float value)32139 inline void ROIPoolingParameter::set_spatial_scale(float value) {
32140   set_has_spatial_scale();
32141   spatial_scale_ = value;
32142   // @@protoc_insertion_point(field_set:opencv_caffe.ROIPoolingParameter.spatial_scale)
32143 }
32144 
32145 // -------------------------------------------------------------------
32146 
32147 // ProposalParameter
32148 
32149 // optional uint32 feat_stride = 1 [default = 16];
has_feat_stride()32150 inline bool ProposalParameter::has_feat_stride() const {
32151   return (_has_bits_[0] & 0x00000001u) != 0;
32152 }
set_has_feat_stride()32153 inline void ProposalParameter::set_has_feat_stride() {
32154   _has_bits_[0] |= 0x00000001u;
32155 }
clear_has_feat_stride()32156 inline void ProposalParameter::clear_has_feat_stride() {
32157   _has_bits_[0] &= ~0x00000001u;
32158 }
clear_feat_stride()32159 inline void ProposalParameter::clear_feat_stride() {
32160   feat_stride_ = 16u;
32161   clear_has_feat_stride();
32162 }
feat_stride()32163 inline ::google::protobuf::uint32 ProposalParameter::feat_stride() const {
32164   // @@protoc_insertion_point(field_get:opencv_caffe.ProposalParameter.feat_stride)
32165   return feat_stride_;
32166 }
set_feat_stride(::google::protobuf::uint32 value)32167 inline void ProposalParameter::set_feat_stride(::google::protobuf::uint32 value) {
32168   set_has_feat_stride();
32169   feat_stride_ = value;
32170   // @@protoc_insertion_point(field_set:opencv_caffe.ProposalParameter.feat_stride)
32171 }
32172 
32173 // optional uint32 base_size = 2 [default = 16];
has_base_size()32174 inline bool ProposalParameter::has_base_size() const {
32175   return (_has_bits_[0] & 0x00000002u) != 0;
32176 }
set_has_base_size()32177 inline void ProposalParameter::set_has_base_size() {
32178   _has_bits_[0] |= 0x00000002u;
32179 }
clear_has_base_size()32180 inline void ProposalParameter::clear_has_base_size() {
32181   _has_bits_[0] &= ~0x00000002u;
32182 }
clear_base_size()32183 inline void ProposalParameter::clear_base_size() {
32184   base_size_ = 16u;
32185   clear_has_base_size();
32186 }
base_size()32187 inline ::google::protobuf::uint32 ProposalParameter::base_size() const {
32188   // @@protoc_insertion_point(field_get:opencv_caffe.ProposalParameter.base_size)
32189   return base_size_;
32190 }
set_base_size(::google::protobuf::uint32 value)32191 inline void ProposalParameter::set_base_size(::google::protobuf::uint32 value) {
32192   set_has_base_size();
32193   base_size_ = value;
32194   // @@protoc_insertion_point(field_set:opencv_caffe.ProposalParameter.base_size)
32195 }
32196 
32197 // optional uint32 min_size = 3 [default = 16];
has_min_size()32198 inline bool ProposalParameter::has_min_size() const {
32199   return (_has_bits_[0] & 0x00000004u) != 0;
32200 }
set_has_min_size()32201 inline void ProposalParameter::set_has_min_size() {
32202   _has_bits_[0] |= 0x00000004u;
32203 }
clear_has_min_size()32204 inline void ProposalParameter::clear_has_min_size() {
32205   _has_bits_[0] &= ~0x00000004u;
32206 }
clear_min_size()32207 inline void ProposalParameter::clear_min_size() {
32208   min_size_ = 16u;
32209   clear_has_min_size();
32210 }
min_size()32211 inline ::google::protobuf::uint32 ProposalParameter::min_size() const {
32212   // @@protoc_insertion_point(field_get:opencv_caffe.ProposalParameter.min_size)
32213   return min_size_;
32214 }
set_min_size(::google::protobuf::uint32 value)32215 inline void ProposalParameter::set_min_size(::google::protobuf::uint32 value) {
32216   set_has_min_size();
32217   min_size_ = value;
32218   // @@protoc_insertion_point(field_set:opencv_caffe.ProposalParameter.min_size)
32219 }
32220 
32221 // repeated float ratio = 4;
ratio_size()32222 inline int ProposalParameter::ratio_size() const {
32223   return ratio_.size();
32224 }
clear_ratio()32225 inline void ProposalParameter::clear_ratio() {
32226   ratio_.Clear();
32227 }
ratio(int index)32228 inline float ProposalParameter::ratio(int index) const {
32229   // @@protoc_insertion_point(field_get:opencv_caffe.ProposalParameter.ratio)
32230   return ratio_.Get(index);
32231 }
set_ratio(int index,float value)32232 inline void ProposalParameter::set_ratio(int index, float value) {
32233   ratio_.Set(index, value);
32234   // @@protoc_insertion_point(field_set:opencv_caffe.ProposalParameter.ratio)
32235 }
add_ratio(float value)32236 inline void ProposalParameter::add_ratio(float value) {
32237   ratio_.Add(value);
32238   // @@protoc_insertion_point(field_add:opencv_caffe.ProposalParameter.ratio)
32239 }
32240 inline const ::google::protobuf::RepeatedField< float >&
ratio()32241 ProposalParameter::ratio() const {
32242   // @@protoc_insertion_point(field_list:opencv_caffe.ProposalParameter.ratio)
32243   return ratio_;
32244 }
32245 inline ::google::protobuf::RepeatedField< float >*
mutable_ratio()32246 ProposalParameter::mutable_ratio() {
32247   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.ProposalParameter.ratio)
32248   return &ratio_;
32249 }
32250 
32251 // repeated float scale = 5;
scale_size()32252 inline int ProposalParameter::scale_size() const {
32253   return scale_.size();
32254 }
clear_scale()32255 inline void ProposalParameter::clear_scale() {
32256   scale_.Clear();
32257 }
scale(int index)32258 inline float ProposalParameter::scale(int index) const {
32259   // @@protoc_insertion_point(field_get:opencv_caffe.ProposalParameter.scale)
32260   return scale_.Get(index);
32261 }
set_scale(int index,float value)32262 inline void ProposalParameter::set_scale(int index, float value) {
32263   scale_.Set(index, value);
32264   // @@protoc_insertion_point(field_set:opencv_caffe.ProposalParameter.scale)
32265 }
add_scale(float value)32266 inline void ProposalParameter::add_scale(float value) {
32267   scale_.Add(value);
32268   // @@protoc_insertion_point(field_add:opencv_caffe.ProposalParameter.scale)
32269 }
32270 inline const ::google::protobuf::RepeatedField< float >&
scale()32271 ProposalParameter::scale() const {
32272   // @@protoc_insertion_point(field_list:opencv_caffe.ProposalParameter.scale)
32273   return scale_;
32274 }
32275 inline ::google::protobuf::RepeatedField< float >*
mutable_scale()32276 ProposalParameter::mutable_scale() {
32277   // @@protoc_insertion_point(field_mutable_list:opencv_caffe.ProposalParameter.scale)
32278   return &scale_;
32279 }
32280 
32281 // optional uint32 pre_nms_topn = 6 [default = 6000];
has_pre_nms_topn()32282 inline bool ProposalParameter::has_pre_nms_topn() const {
32283   return (_has_bits_[0] & 0x00000008u) != 0;
32284 }
set_has_pre_nms_topn()32285 inline void ProposalParameter::set_has_pre_nms_topn() {
32286   _has_bits_[0] |= 0x00000008u;
32287 }
clear_has_pre_nms_topn()32288 inline void ProposalParameter::clear_has_pre_nms_topn() {
32289   _has_bits_[0] &= ~0x00000008u;
32290 }
clear_pre_nms_topn()32291 inline void ProposalParameter::clear_pre_nms_topn() {
32292   pre_nms_topn_ = 6000u;
32293   clear_has_pre_nms_topn();
32294 }
pre_nms_topn()32295 inline ::google::protobuf::uint32 ProposalParameter::pre_nms_topn() const {
32296   // @@protoc_insertion_point(field_get:opencv_caffe.ProposalParameter.pre_nms_topn)
32297   return pre_nms_topn_;
32298 }
set_pre_nms_topn(::google::protobuf::uint32 value)32299 inline void ProposalParameter::set_pre_nms_topn(::google::protobuf::uint32 value) {
32300   set_has_pre_nms_topn();
32301   pre_nms_topn_ = value;
32302   // @@protoc_insertion_point(field_set:opencv_caffe.ProposalParameter.pre_nms_topn)
32303 }
32304 
32305 // optional uint32 post_nms_topn = 7 [default = 300];
has_post_nms_topn()32306 inline bool ProposalParameter::has_post_nms_topn() const {
32307   return (_has_bits_[0] & 0x00000010u) != 0;
32308 }
set_has_post_nms_topn()32309 inline void ProposalParameter::set_has_post_nms_topn() {
32310   _has_bits_[0] |= 0x00000010u;
32311 }
clear_has_post_nms_topn()32312 inline void ProposalParameter::clear_has_post_nms_topn() {
32313   _has_bits_[0] &= ~0x00000010u;
32314 }
clear_post_nms_topn()32315 inline void ProposalParameter::clear_post_nms_topn() {
32316   post_nms_topn_ = 300u;
32317   clear_has_post_nms_topn();
32318 }
post_nms_topn()32319 inline ::google::protobuf::uint32 ProposalParameter::post_nms_topn() const {
32320   // @@protoc_insertion_point(field_get:opencv_caffe.ProposalParameter.post_nms_topn)
32321   return post_nms_topn_;
32322 }
set_post_nms_topn(::google::protobuf::uint32 value)32323 inline void ProposalParameter::set_post_nms_topn(::google::protobuf::uint32 value) {
32324   set_has_post_nms_topn();
32325   post_nms_topn_ = value;
32326   // @@protoc_insertion_point(field_set:opencv_caffe.ProposalParameter.post_nms_topn)
32327 }
32328 
32329 // optional float nms_thresh = 8 [default = 0.7];
has_nms_thresh()32330 inline bool ProposalParameter::has_nms_thresh() const {
32331   return (_has_bits_[0] & 0x00000020u) != 0;
32332 }
set_has_nms_thresh()32333 inline void ProposalParameter::set_has_nms_thresh() {
32334   _has_bits_[0] |= 0x00000020u;
32335 }
clear_has_nms_thresh()32336 inline void ProposalParameter::clear_has_nms_thresh() {
32337   _has_bits_[0] &= ~0x00000020u;
32338 }
clear_nms_thresh()32339 inline void ProposalParameter::clear_nms_thresh() {
32340   nms_thresh_ = 0.7f;
32341   clear_has_nms_thresh();
32342 }
nms_thresh()32343 inline float ProposalParameter::nms_thresh() const {
32344   // @@protoc_insertion_point(field_get:opencv_caffe.ProposalParameter.nms_thresh)
32345   return nms_thresh_;
32346 }
set_nms_thresh(float value)32347 inline void ProposalParameter::set_nms_thresh(float value) {
32348   set_has_nms_thresh();
32349   nms_thresh_ = value;
32350   // @@protoc_insertion_point(field_set:opencv_caffe.ProposalParameter.nms_thresh)
32351 }
32352 
32353 // -------------------------------------------------------------------
32354 
32355 // PSROIPoolingParameter
32356 
32357 // required float spatial_scale = 1;
has_spatial_scale()32358 inline bool PSROIPoolingParameter::has_spatial_scale() const {
32359   return (_has_bits_[0] & 0x00000001u) != 0;
32360 }
set_has_spatial_scale()32361 inline void PSROIPoolingParameter::set_has_spatial_scale() {
32362   _has_bits_[0] |= 0x00000001u;
32363 }
clear_has_spatial_scale()32364 inline void PSROIPoolingParameter::clear_has_spatial_scale() {
32365   _has_bits_[0] &= ~0x00000001u;
32366 }
clear_spatial_scale()32367 inline void PSROIPoolingParameter::clear_spatial_scale() {
32368   spatial_scale_ = 0;
32369   clear_has_spatial_scale();
32370 }
spatial_scale()32371 inline float PSROIPoolingParameter::spatial_scale() const {
32372   // @@protoc_insertion_point(field_get:opencv_caffe.PSROIPoolingParameter.spatial_scale)
32373   return spatial_scale_;
32374 }
set_spatial_scale(float value)32375 inline void PSROIPoolingParameter::set_spatial_scale(float value) {
32376   set_has_spatial_scale();
32377   spatial_scale_ = value;
32378   // @@protoc_insertion_point(field_set:opencv_caffe.PSROIPoolingParameter.spatial_scale)
32379 }
32380 
32381 // required int32 output_dim = 2;
has_output_dim()32382 inline bool PSROIPoolingParameter::has_output_dim() const {
32383   return (_has_bits_[0] & 0x00000002u) != 0;
32384 }
set_has_output_dim()32385 inline void PSROIPoolingParameter::set_has_output_dim() {
32386   _has_bits_[0] |= 0x00000002u;
32387 }
clear_has_output_dim()32388 inline void PSROIPoolingParameter::clear_has_output_dim() {
32389   _has_bits_[0] &= ~0x00000002u;
32390 }
clear_output_dim()32391 inline void PSROIPoolingParameter::clear_output_dim() {
32392   output_dim_ = 0;
32393   clear_has_output_dim();
32394 }
output_dim()32395 inline ::google::protobuf::int32 PSROIPoolingParameter::output_dim() const {
32396   // @@protoc_insertion_point(field_get:opencv_caffe.PSROIPoolingParameter.output_dim)
32397   return output_dim_;
32398 }
set_output_dim(::google::protobuf::int32 value)32399 inline void PSROIPoolingParameter::set_output_dim(::google::protobuf::int32 value) {
32400   set_has_output_dim();
32401   output_dim_ = value;
32402   // @@protoc_insertion_point(field_set:opencv_caffe.PSROIPoolingParameter.output_dim)
32403 }
32404 
32405 // required int32 group_size = 3;
has_group_size()32406 inline bool PSROIPoolingParameter::has_group_size() const {
32407   return (_has_bits_[0] & 0x00000004u) != 0;
32408 }
set_has_group_size()32409 inline void PSROIPoolingParameter::set_has_group_size() {
32410   _has_bits_[0] |= 0x00000004u;
32411 }
clear_has_group_size()32412 inline void PSROIPoolingParameter::clear_has_group_size() {
32413   _has_bits_[0] &= ~0x00000004u;
32414 }
clear_group_size()32415 inline void PSROIPoolingParameter::clear_group_size() {
32416   group_size_ = 0;
32417   clear_has_group_size();
32418 }
group_size()32419 inline ::google::protobuf::int32 PSROIPoolingParameter::group_size() const {
32420   // @@protoc_insertion_point(field_get:opencv_caffe.PSROIPoolingParameter.group_size)
32421   return group_size_;
32422 }
set_group_size(::google::protobuf::int32 value)32423 inline void PSROIPoolingParameter::set_group_size(::google::protobuf::int32 value) {
32424   set_has_group_size();
32425   group_size_ = value;
32426   // @@protoc_insertion_point(field_set:opencv_caffe.PSROIPoolingParameter.group_size)
32427 }
32428 
32429 #ifdef __GNUC__
32430   #pragma GCC diagnostic pop
32431 #endif  // __GNUC__
32432 // -------------------------------------------------------------------
32433 
32434 // -------------------------------------------------------------------
32435 
32436 // -------------------------------------------------------------------
32437 
32438 // -------------------------------------------------------------------
32439 
32440 // -------------------------------------------------------------------
32441 
32442 // -------------------------------------------------------------------
32443 
32444 // -------------------------------------------------------------------
32445 
32446 // -------------------------------------------------------------------
32447 
32448 // -------------------------------------------------------------------
32449 
32450 // -------------------------------------------------------------------
32451 
32452 // -------------------------------------------------------------------
32453 
32454 // -------------------------------------------------------------------
32455 
32456 // -------------------------------------------------------------------
32457 
32458 // -------------------------------------------------------------------
32459 
32460 // -------------------------------------------------------------------
32461 
32462 // -------------------------------------------------------------------
32463 
32464 // -------------------------------------------------------------------
32465 
32466 // -------------------------------------------------------------------
32467 
32468 // -------------------------------------------------------------------
32469 
32470 // -------------------------------------------------------------------
32471 
32472 // -------------------------------------------------------------------
32473 
32474 // -------------------------------------------------------------------
32475 
32476 // -------------------------------------------------------------------
32477 
32478 // -------------------------------------------------------------------
32479 
32480 // -------------------------------------------------------------------
32481 
32482 // -------------------------------------------------------------------
32483 
32484 // -------------------------------------------------------------------
32485 
32486 // -------------------------------------------------------------------
32487 
32488 // -------------------------------------------------------------------
32489 
32490 // -------------------------------------------------------------------
32491 
32492 // -------------------------------------------------------------------
32493 
32494 // -------------------------------------------------------------------
32495 
32496 // -------------------------------------------------------------------
32497 
32498 // -------------------------------------------------------------------
32499 
32500 // -------------------------------------------------------------------
32501 
32502 // -------------------------------------------------------------------
32503 
32504 // -------------------------------------------------------------------
32505 
32506 // -------------------------------------------------------------------
32507 
32508 // -------------------------------------------------------------------
32509 
32510 // -------------------------------------------------------------------
32511 
32512 // -------------------------------------------------------------------
32513 
32514 // -------------------------------------------------------------------
32515 
32516 // -------------------------------------------------------------------
32517 
32518 // -------------------------------------------------------------------
32519 
32520 // -------------------------------------------------------------------
32521 
32522 // -------------------------------------------------------------------
32523 
32524 // -------------------------------------------------------------------
32525 
32526 // -------------------------------------------------------------------
32527 
32528 // -------------------------------------------------------------------
32529 
32530 // -------------------------------------------------------------------
32531 
32532 // -------------------------------------------------------------------
32533 
32534 // -------------------------------------------------------------------
32535 
32536 // -------------------------------------------------------------------
32537 
32538 // -------------------------------------------------------------------
32539 
32540 // -------------------------------------------------------------------
32541 
32542 // -------------------------------------------------------------------
32543 
32544 // -------------------------------------------------------------------
32545 
32546 // -------------------------------------------------------------------
32547 
32548 // -------------------------------------------------------------------
32549 
32550 // -------------------------------------------------------------------
32551 
32552 // -------------------------------------------------------------------
32553 
32554 // -------------------------------------------------------------------
32555 
32556 // -------------------------------------------------------------------
32557 
32558 // -------------------------------------------------------------------
32559 
32560 // -------------------------------------------------------------------
32561 
32562 // -------------------------------------------------------------------
32563 
32564 // -------------------------------------------------------------------
32565 
32566 // -------------------------------------------------------------------
32567 
32568 // -------------------------------------------------------------------
32569 
32570 // -------------------------------------------------------------------
32571 
32572 
32573 // @@protoc_insertion_point(namespace_scope)
32574 
32575 }  // namespace opencv_caffe
32576 
32577 namespace google {
32578 namespace protobuf {
32579 
32580 template <> struct is_proto_enum< ::opencv_caffe::PriorBoxParameter_CodeType> : ::google::protobuf::internal::true_type {};
32581 template <>
32582 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::PriorBoxParameter_CodeType>() {
32583   return ::opencv_caffe::PriorBoxParameter_CodeType_descriptor();
32584 }
32585 template <> struct is_proto_enum< ::opencv_caffe::FillerParameter_VarianceNorm> : ::google::protobuf::internal::true_type {};
32586 template <>
32587 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::FillerParameter_VarianceNorm>() {
32588   return ::opencv_caffe::FillerParameter_VarianceNorm_descriptor();
32589 }
32590 template <> struct is_proto_enum< ::opencv_caffe::SolverParameter_SnapshotFormat> : ::google::protobuf::internal::true_type {};
32591 template <>
32592 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::SolverParameter_SnapshotFormat>() {
32593   return ::opencv_caffe::SolverParameter_SnapshotFormat_descriptor();
32594 }
32595 template <> struct is_proto_enum< ::opencv_caffe::SolverParameter_SolverMode> : ::google::protobuf::internal::true_type {};
32596 template <>
32597 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::SolverParameter_SolverMode>() {
32598   return ::opencv_caffe::SolverParameter_SolverMode_descriptor();
32599 }
32600 template <> struct is_proto_enum< ::opencv_caffe::SolverParameter_SolverType> : ::google::protobuf::internal::true_type {};
32601 template <>
32602 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::SolverParameter_SolverType>() {
32603   return ::opencv_caffe::SolverParameter_SolverType_descriptor();
32604 }
32605 template <> struct is_proto_enum< ::opencv_caffe::ParamSpec_DimCheckMode> : ::google::protobuf::internal::true_type {};
32606 template <>
32607 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::ParamSpec_DimCheckMode>() {
32608   return ::opencv_caffe::ParamSpec_DimCheckMode_descriptor();
32609 }
32610 template <> struct is_proto_enum< ::opencv_caffe::LossParameter_NormalizationMode> : ::google::protobuf::internal::true_type {};
32611 template <>
32612 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::LossParameter_NormalizationMode>() {
32613   return ::opencv_caffe::LossParameter_NormalizationMode_descriptor();
32614 }
32615 template <> struct is_proto_enum< ::opencv_caffe::ConvolutionParameter_Engine> : ::google::protobuf::internal::true_type {};
32616 template <>
32617 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::ConvolutionParameter_Engine>() {
32618   return ::opencv_caffe::ConvolutionParameter_Engine_descriptor();
32619 }
32620 template <> struct is_proto_enum< ::opencv_caffe::DataParameter_DB> : ::google::protobuf::internal::true_type {};
32621 template <>
32622 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::DataParameter_DB>() {
32623   return ::opencv_caffe::DataParameter_DB_descriptor();
32624 }
32625 template <> struct is_proto_enum< ::opencv_caffe::EltwiseParameter_EltwiseOp> : ::google::protobuf::internal::true_type {};
32626 template <>
32627 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::EltwiseParameter_EltwiseOp>() {
32628   return ::opencv_caffe::EltwiseParameter_EltwiseOp_descriptor();
32629 }
32630 template <> struct is_proto_enum< ::opencv_caffe::HingeLossParameter_Norm> : ::google::protobuf::internal::true_type {};
32631 template <>
32632 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::HingeLossParameter_Norm>() {
32633   return ::opencv_caffe::HingeLossParameter_Norm_descriptor();
32634 }
32635 template <> struct is_proto_enum< ::opencv_caffe::LRNParameter_NormRegion> : ::google::protobuf::internal::true_type {};
32636 template <>
32637 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::LRNParameter_NormRegion>() {
32638   return ::opencv_caffe::LRNParameter_NormRegion_descriptor();
32639 }
32640 template <> struct is_proto_enum< ::opencv_caffe::LRNParameter_Engine> : ::google::protobuf::internal::true_type {};
32641 template <>
32642 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::LRNParameter_Engine>() {
32643   return ::opencv_caffe::LRNParameter_Engine_descriptor();
32644 }
32645 template <> struct is_proto_enum< ::opencv_caffe::PoolingParameter_PoolMethod> : ::google::protobuf::internal::true_type {};
32646 template <>
32647 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::PoolingParameter_PoolMethod>() {
32648   return ::opencv_caffe::PoolingParameter_PoolMethod_descriptor();
32649 }
32650 template <> struct is_proto_enum< ::opencv_caffe::PoolingParameter_Engine> : ::google::protobuf::internal::true_type {};
32651 template <>
32652 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::PoolingParameter_Engine>() {
32653   return ::opencv_caffe::PoolingParameter_Engine_descriptor();
32654 }
32655 template <> struct is_proto_enum< ::opencv_caffe::ReductionParameter_ReductionOp> : ::google::protobuf::internal::true_type {};
32656 template <>
32657 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::ReductionParameter_ReductionOp>() {
32658   return ::opencv_caffe::ReductionParameter_ReductionOp_descriptor();
32659 }
32660 template <> struct is_proto_enum< ::opencv_caffe::ReLUParameter_Engine> : ::google::protobuf::internal::true_type {};
32661 template <>
32662 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::ReLUParameter_Engine>() {
32663   return ::opencv_caffe::ReLUParameter_Engine_descriptor();
32664 }
32665 template <> struct is_proto_enum< ::opencv_caffe::SigmoidParameter_Engine> : ::google::protobuf::internal::true_type {};
32666 template <>
32667 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::SigmoidParameter_Engine>() {
32668   return ::opencv_caffe::SigmoidParameter_Engine_descriptor();
32669 }
32670 template <> struct is_proto_enum< ::opencv_caffe::SoftmaxParameter_Engine> : ::google::protobuf::internal::true_type {};
32671 template <>
32672 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::SoftmaxParameter_Engine>() {
32673   return ::opencv_caffe::SoftmaxParameter_Engine_descriptor();
32674 }
32675 template <> struct is_proto_enum< ::opencv_caffe::TanHParameter_Engine> : ::google::protobuf::internal::true_type {};
32676 template <>
32677 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::TanHParameter_Engine>() {
32678   return ::opencv_caffe::TanHParameter_Engine_descriptor();
32679 }
32680 template <> struct is_proto_enum< ::opencv_caffe::SPPParameter_PoolMethod> : ::google::protobuf::internal::true_type {};
32681 template <>
32682 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::SPPParameter_PoolMethod>() {
32683   return ::opencv_caffe::SPPParameter_PoolMethod_descriptor();
32684 }
32685 template <> struct is_proto_enum< ::opencv_caffe::SPPParameter_Engine> : ::google::protobuf::internal::true_type {};
32686 template <>
32687 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::SPPParameter_Engine>() {
32688   return ::opencv_caffe::SPPParameter_Engine_descriptor();
32689 }
32690 template <> struct is_proto_enum< ::opencv_caffe::V1LayerParameter_LayerType> : ::google::protobuf::internal::true_type {};
32691 template <>
32692 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::V1LayerParameter_LayerType>() {
32693   return ::opencv_caffe::V1LayerParameter_LayerType_descriptor();
32694 }
32695 template <> struct is_proto_enum< ::opencv_caffe::V1LayerParameter_DimCheckMode> : ::google::protobuf::internal::true_type {};
32696 template <>
32697 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::V1LayerParameter_DimCheckMode>() {
32698   return ::opencv_caffe::V1LayerParameter_DimCheckMode_descriptor();
32699 }
32700 template <> struct is_proto_enum< ::opencv_caffe::V0LayerParameter_PoolMethod> : ::google::protobuf::internal::true_type {};
32701 template <>
32702 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::V0LayerParameter_PoolMethod>() {
32703   return ::opencv_caffe::V0LayerParameter_PoolMethod_descriptor();
32704 }
32705 template <> struct is_proto_enum< ::opencv_caffe::Type> : ::google::protobuf::internal::true_type {};
32706 template <>
32707 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::Type>() {
32708   return ::opencv_caffe::Type_descriptor();
32709 }
32710 template <> struct is_proto_enum< ::opencv_caffe::Phase> : ::google::protobuf::internal::true_type {};
32711 template <>
32712 inline const EnumDescriptor* GetEnumDescriptor< ::opencv_caffe::Phase>() {
32713   return ::opencv_caffe::Phase_descriptor();
32714 }
32715 
32716 }  // namespace protobuf
32717 }  // namespace google
32718 
32719 // @@protoc_insertion_point(global_scope)
32720 
32721 #endif  // PROTOBUF_opencv_2dcaffe_2eproto__INCLUDED
32722