Coverage Report

Created: 2026-05-16 06:40

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/opencv/modules/dnn/misc/tensorflow/function.pb.h
Line
Count
Source
1
// Generated by the protocol buffer compiler.  DO NOT EDIT!
2
// source: function.proto
3
4
#ifndef GOOGLE_PROTOBUF_INCLUDED_function_2eproto
5
#define GOOGLE_PROTOBUF_INCLUDED_function_2eproto
6
7
#include <limits>
8
#include <string>
9
10
#include <google/protobuf/port_def.inc>
11
#if PROTOBUF_VERSION < 3019000
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 3019001 < 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/port_undef.inc>
23
#include <google/protobuf/io/coded_stream.h>
24
#include <google/protobuf/arena.h>
25
#include <google/protobuf/arenastring.h>
26
#include <google/protobuf/generated_message_table_driven.h>
27
#include <google/protobuf/generated_message_util.h>
28
#include <google/protobuf/metadata_lite.h>
29
#include <google/protobuf/generated_message_reflection.h>
30
#include <google/protobuf/message.h>
31
#include <google/protobuf/repeated_field.h>  // IWYU pragma: export
32
#include <google/protobuf/extension_set.h>  // IWYU pragma: export
33
#include <google/protobuf/map.h>  // IWYU pragma: export
34
#include <google/protobuf/map_entry.h>
35
#include <google/protobuf/map_field_inl.h>
36
#include <google/protobuf/unknown_field_set.h>
37
#include "attr_value.pb.h"
38
#include "op_def.pb.h"
39
// @@protoc_insertion_point(includes)
40
#include <google/protobuf/port_def.inc>
41
#define PROTOBUF_INTERNAL_EXPORT_function_2eproto
42
PROTOBUF_NAMESPACE_OPEN
43
namespace internal {
44
class AnyMetadata;
45
}  // namespace internal
46
PROTOBUF_NAMESPACE_CLOSE
47
48
// Internal implementation detail -- do not use these members.
49
struct TableStruct_function_2eproto {
50
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
51
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
52
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
53
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
54
  static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[5]
55
    PROTOBUF_SECTION_VARIABLE(protodesc_cold);
56
  static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
57
  static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
58
  static const uint32_t offsets[];
59
};
60
extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_function_2eproto;
61
namespace opencv_tensorflow {
62
class FunctionDef;
63
struct FunctionDefDefaultTypeInternal;
64
extern FunctionDefDefaultTypeInternal _FunctionDef_default_instance_;
65
class FunctionDefLibrary;
66
struct FunctionDefLibraryDefaultTypeInternal;
67
extern FunctionDefLibraryDefaultTypeInternal _FunctionDefLibrary_default_instance_;
68
class FunctionDef_Node;
69
struct FunctionDef_NodeDefaultTypeInternal;
70
extern FunctionDef_NodeDefaultTypeInternal _FunctionDef_Node_default_instance_;
71
class FunctionDef_Node_AttrEntry_DoNotUse;
72
struct FunctionDef_Node_AttrEntry_DoNotUseDefaultTypeInternal;
73
extern FunctionDef_Node_AttrEntry_DoNotUseDefaultTypeInternal _FunctionDef_Node_AttrEntry_DoNotUse_default_instance_;
74
class GradientDef;
75
struct GradientDefDefaultTypeInternal;
76
extern GradientDefDefaultTypeInternal _GradientDef_default_instance_;
77
}  // namespace opencv_tensorflow
78
PROTOBUF_NAMESPACE_OPEN
79
template<> ::opencv_tensorflow::FunctionDef* Arena::CreateMaybeMessage<::opencv_tensorflow::FunctionDef>(Arena*);
80
template<> ::opencv_tensorflow::FunctionDefLibrary* Arena::CreateMaybeMessage<::opencv_tensorflow::FunctionDefLibrary>(Arena*);
81
template<> ::opencv_tensorflow::FunctionDef_Node* Arena::CreateMaybeMessage<::opencv_tensorflow::FunctionDef_Node>(Arena*);
82
template<> ::opencv_tensorflow::FunctionDef_Node_AttrEntry_DoNotUse* Arena::CreateMaybeMessage<::opencv_tensorflow::FunctionDef_Node_AttrEntry_DoNotUse>(Arena*);
83
template<> ::opencv_tensorflow::GradientDef* Arena::CreateMaybeMessage<::opencv_tensorflow::GradientDef>(Arena*);
84
PROTOBUF_NAMESPACE_CLOSE
85
namespace opencv_tensorflow {
86
87
// ===================================================================
88
89
class FunctionDefLibrary final :
90
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.FunctionDefLibrary) */ {
91
 public:
92
0
  inline FunctionDefLibrary() : FunctionDefLibrary(nullptr) {}
93
  ~FunctionDefLibrary() override;
94
  explicit constexpr FunctionDefLibrary(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
95
96
  FunctionDefLibrary(const FunctionDefLibrary& from);
97
  FunctionDefLibrary(FunctionDefLibrary&& from) noexcept
98
0
    : FunctionDefLibrary() {
99
0
    *this = ::std::move(from);
100
0
  }
101
102
0
  inline FunctionDefLibrary& operator=(const FunctionDefLibrary& from) {
103
0
    CopyFrom(from);
104
0
    return *this;
105
0
  }
106
0
  inline FunctionDefLibrary& operator=(FunctionDefLibrary&& from) noexcept {
107
0
    if (this == &from) return *this;
108
0
    if (GetOwningArena() == from.GetOwningArena()
109
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
110
0
        && GetOwningArena() != nullptr
111
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
112
0
    ) {
113
0
      InternalSwap(&from);
114
0
    } else {
115
0
      CopyFrom(from);
116
0
    }
117
0
    return *this;
118
0
  }
119
120
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
121
0
    return GetDescriptor();
122
0
  }
123
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
124
0
    return default_instance().GetMetadata().descriptor;
125
0
  }
126
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
127
0
    return default_instance().GetMetadata().reflection;
128
0
  }
129
0
  static const FunctionDefLibrary& default_instance() {
130
0
    return *internal_default_instance();
131
0
  }
132
0
  static inline const FunctionDefLibrary* internal_default_instance() {
133
0
    return reinterpret_cast<const FunctionDefLibrary*>(
134
0
               &_FunctionDefLibrary_default_instance_);
135
0
  }
136
  static constexpr int kIndexInFileMessages =
137
    0;
138
139
0
  friend void swap(FunctionDefLibrary& a, FunctionDefLibrary& b) {
140
0
    a.Swap(&b);
141
0
  }
142
0
  inline void Swap(FunctionDefLibrary* other) {
143
0
    if (other == this) return;
144
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
145
0
    if (GetOwningArena() != nullptr &&
146
0
        GetOwningArena() == other->GetOwningArena()) {
147
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
148
0
    if (GetOwningArena() == other->GetOwningArena()) {
149
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
150
0
      InternalSwap(other);
151
0
    } else {
152
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
153
0
    }
154
0
  }
155
0
  void UnsafeArenaSwap(FunctionDefLibrary* other) {
156
0
    if (other == this) return;
157
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
158
0
    InternalSwap(other);
159
0
  }
160
161
  // implements Message ----------------------------------------------
162
163
0
  FunctionDefLibrary* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
164
0
    return CreateMaybeMessage<FunctionDefLibrary>(arena);
165
0
  }
166
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
167
  void CopyFrom(const FunctionDefLibrary& from);
168
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
169
  void MergeFrom(const FunctionDefLibrary& from);
170
  private:
171
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
172
  public:
173
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
174
  bool IsInitialized() const final;
175
176
  size_t ByteSizeLong() const final;
177
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
178
  uint8_t* _InternalSerialize(
179
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
180
0
  int GetCachedSize() const final { return _cached_size_.Get(); }
181
182
  private:
183
  void SharedCtor();
184
  void SharedDtor();
185
  void SetCachedSize(int size) const final;
186
  void InternalSwap(FunctionDefLibrary* other);
187
188
  private:
189
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
190
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
191
0
    return "opencv_tensorflow.FunctionDefLibrary";
192
0
  }
193
  protected:
194
  explicit FunctionDefLibrary(::PROTOBUF_NAMESPACE_ID::Arena* arena,
195
                       bool is_message_owned = false);
196
  private:
197
  static void ArenaDtor(void* object);
198
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
199
  public:
200
201
  static const ClassData _class_data_;
202
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
203
204
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
205
206
  // nested types ----------------------------------------------------
207
208
  // accessors -------------------------------------------------------
209
210
  enum : int {
211
    kFunctionFieldNumber = 1,
212
    kGradientFieldNumber = 2,
213
  };
214
  // repeated .opencv_tensorflow.FunctionDef function = 1;
215
  int function_size() const;
216
  private:
217
  int _internal_function_size() const;
218
  public:
219
  void clear_function();
220
  ::opencv_tensorflow::FunctionDef* mutable_function(int index);
221
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::FunctionDef >*
222
      mutable_function();
223
  private:
224
  const ::opencv_tensorflow::FunctionDef& _internal_function(int index) const;
225
  ::opencv_tensorflow::FunctionDef* _internal_add_function();
226
  public:
227
  const ::opencv_tensorflow::FunctionDef& function(int index) const;
228
  ::opencv_tensorflow::FunctionDef* add_function();
229
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::FunctionDef >&
230
      function() const;
231
232
  // repeated .opencv_tensorflow.GradientDef gradient = 2;
233
  int gradient_size() const;
234
  private:
235
  int _internal_gradient_size() const;
236
  public:
237
  void clear_gradient();
238
  ::opencv_tensorflow::GradientDef* mutable_gradient(int index);
239
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::GradientDef >*
240
      mutable_gradient();
241
  private:
242
  const ::opencv_tensorflow::GradientDef& _internal_gradient(int index) const;
243
  ::opencv_tensorflow::GradientDef* _internal_add_gradient();
244
  public:
245
  const ::opencv_tensorflow::GradientDef& gradient(int index) const;
246
  ::opencv_tensorflow::GradientDef* add_gradient();
247
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::GradientDef >&
248
      gradient() const;
249
250
  // @@protoc_insertion_point(class_scope:opencv_tensorflow.FunctionDefLibrary)
251
 private:
252
  class _Internal;
253
254
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
255
  typedef void InternalArenaConstructable_;
256
  typedef void DestructorSkippable_;
257
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::FunctionDef > function_;
258
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::GradientDef > gradient_;
259
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
260
  friend struct ::TableStruct_function_2eproto;
261
};
262
// -------------------------------------------------------------------
263
264
class FunctionDef_Node_AttrEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<FunctionDef_Node_AttrEntry_DoNotUse,
265
    std::string, ::opencv_tensorflow::AttrValue,
266
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
267
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
268
public:
269
  typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<FunctionDef_Node_AttrEntry_DoNotUse,
270
    std::string, ::opencv_tensorflow::AttrValue,
271
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
272
    ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
273
  FunctionDef_Node_AttrEntry_DoNotUse();
274
  explicit constexpr FunctionDef_Node_AttrEntry_DoNotUse(
275
      ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
276
  explicit FunctionDef_Node_AttrEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
277
  void MergeFrom(const FunctionDef_Node_AttrEntry_DoNotUse& other);
278
0
  static const FunctionDef_Node_AttrEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const FunctionDef_Node_AttrEntry_DoNotUse*>(&_FunctionDef_Node_AttrEntry_DoNotUse_default_instance_); }
279
10.3k
  static bool ValidateKey(std::string* s) {
280
10.3k
    return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "opencv_tensorflow.FunctionDef.Node.AttrEntry.key");
281
10.3k
 }
282
6.12k
  static bool ValidateValue(void*) { return true; }
283
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
284
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
285
};
286
287
// -------------------------------------------------------------------
288
289
class FunctionDef_Node final :
290
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.FunctionDef.Node) */ {
291
 public:
292
0
  inline FunctionDef_Node() : FunctionDef_Node(nullptr) {}
293
  ~FunctionDef_Node() override;
294
  explicit constexpr FunctionDef_Node(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
295
296
  FunctionDef_Node(const FunctionDef_Node& from);
297
  FunctionDef_Node(FunctionDef_Node&& from) noexcept
298
0
    : FunctionDef_Node() {
299
0
    *this = ::std::move(from);
300
0
  }
301
302
0
  inline FunctionDef_Node& operator=(const FunctionDef_Node& from) {
303
0
    CopyFrom(from);
304
0
    return *this;
305
0
  }
306
0
  inline FunctionDef_Node& operator=(FunctionDef_Node&& from) noexcept {
307
0
    if (this == &from) return *this;
308
0
    if (GetOwningArena() == from.GetOwningArena()
309
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
310
0
        && GetOwningArena() != nullptr
311
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
312
0
    ) {
313
0
      InternalSwap(&from);
314
0
    } else {
315
0
      CopyFrom(from);
316
0
    }
317
0
    return *this;
318
0
  }
319
320
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
321
0
    return GetDescriptor();
322
0
  }
323
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
324
0
    return default_instance().GetMetadata().descriptor;
325
0
  }
326
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
327
0
    return default_instance().GetMetadata().reflection;
328
0
  }
329
0
  static const FunctionDef_Node& default_instance() {
330
0
    return *internal_default_instance();
331
0
  }
332
0
  static inline const FunctionDef_Node* internal_default_instance() {
333
0
    return reinterpret_cast<const FunctionDef_Node*>(
334
0
               &_FunctionDef_Node_default_instance_);
335
0
  }
336
  static constexpr int kIndexInFileMessages =
337
    2;
338
339
0
  friend void swap(FunctionDef_Node& a, FunctionDef_Node& b) {
340
0
    a.Swap(&b);
341
0
  }
342
0
  inline void Swap(FunctionDef_Node* other) {
343
0
    if (other == this) return;
344
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
345
0
    if (GetOwningArena() != nullptr &&
346
0
        GetOwningArena() == other->GetOwningArena()) {
347
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
348
0
    if (GetOwningArena() == other->GetOwningArena()) {
349
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
350
0
      InternalSwap(other);
351
0
    } else {
352
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
353
0
    }
354
0
  }
355
0
  void UnsafeArenaSwap(FunctionDef_Node* other) {
356
0
    if (other == this) return;
357
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
358
0
    InternalSwap(other);
359
0
  }
360
361
  // implements Message ----------------------------------------------
362
363
0
  FunctionDef_Node* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
364
0
    return CreateMaybeMessage<FunctionDef_Node>(arena);
365
0
  }
366
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
367
  void CopyFrom(const FunctionDef_Node& from);
368
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
369
  void MergeFrom(const FunctionDef_Node& from);
370
  private:
371
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
372
  public:
373
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
374
  bool IsInitialized() const final;
375
376
  size_t ByteSizeLong() const final;
377
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
378
  uint8_t* _InternalSerialize(
379
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
380
0
  int GetCachedSize() const final { return _cached_size_.Get(); }
381
382
  private:
383
  void SharedCtor();
384
  void SharedDtor();
385
  void SetCachedSize(int size) const final;
386
  void InternalSwap(FunctionDef_Node* other);
387
388
  private:
389
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
390
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
391
0
    return "opencv_tensorflow.FunctionDef.Node";
392
0
  }
393
  protected:
394
  explicit FunctionDef_Node(::PROTOBUF_NAMESPACE_ID::Arena* arena,
395
                       bool is_message_owned = false);
396
  private:
397
  static void ArenaDtor(void* object);
398
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
399
  public:
400
401
  static const ClassData _class_data_;
402
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
403
404
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
405
406
  // nested types ----------------------------------------------------
407
408
409
  // accessors -------------------------------------------------------
410
411
  enum : int {
412
    kRetFieldNumber = 1,
413
    kArgFieldNumber = 3,
414
    kDepFieldNumber = 4,
415
    kAttrFieldNumber = 5,
416
    kOpFieldNumber = 2,
417
  };
418
  // repeated string ret = 1;
419
  int ret_size() const;
420
  private:
421
  int _internal_ret_size() const;
422
  public:
423
  void clear_ret();
424
  const std::string& ret(int index) const;
425
  std::string* mutable_ret(int index);
426
  void set_ret(int index, const std::string& value);
427
  void set_ret(int index, std::string&& value);
428
  void set_ret(int index, const char* value);
429
  void set_ret(int index, const char* value, size_t size);
430
  std::string* add_ret();
431
  void add_ret(const std::string& value);
432
  void add_ret(std::string&& value);
433
  void add_ret(const char* value);
434
  void add_ret(const char* value, size_t size);
435
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& ret() const;
436
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_ret();
437
  private:
438
  const std::string& _internal_ret(int index) const;
439
  std::string* _internal_add_ret();
440
  public:
441
442
  // repeated string arg = 3;
443
  int arg_size() const;
444
  private:
445
  int _internal_arg_size() const;
446
  public:
447
  void clear_arg();
448
  const std::string& arg(int index) const;
449
  std::string* mutable_arg(int index);
450
  void set_arg(int index, const std::string& value);
451
  void set_arg(int index, std::string&& value);
452
  void set_arg(int index, const char* value);
453
  void set_arg(int index, const char* value, size_t size);
454
  std::string* add_arg();
455
  void add_arg(const std::string& value);
456
  void add_arg(std::string&& value);
457
  void add_arg(const char* value);
458
  void add_arg(const char* value, size_t size);
459
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& arg() const;
460
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_arg();
461
  private:
462
  const std::string& _internal_arg(int index) const;
463
  std::string* _internal_add_arg();
464
  public:
465
466
  // repeated string dep = 4;
467
  int dep_size() const;
468
  private:
469
  int _internal_dep_size() const;
470
  public:
471
  void clear_dep();
472
  const std::string& dep(int index) const;
473
  std::string* mutable_dep(int index);
474
  void set_dep(int index, const std::string& value);
475
  void set_dep(int index, std::string&& value);
476
  void set_dep(int index, const char* value);
477
  void set_dep(int index, const char* value, size_t size);
478
  std::string* add_dep();
479
  void add_dep(const std::string& value);
480
  void add_dep(std::string&& value);
481
  void add_dep(const char* value);
482
  void add_dep(const char* value, size_t size);
483
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& dep() const;
484
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_dep();
485
  private:
486
  const std::string& _internal_dep(int index) const;
487
  std::string* _internal_add_dep();
488
  public:
489
490
  // map<string, .opencv_tensorflow.AttrValue> attr = 5;
491
  int attr_size() const;
492
  private:
493
  int _internal_attr_size() const;
494
  public:
495
  void clear_attr();
496
  private:
497
  const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >&
498
      _internal_attr() const;
499
  ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >*
500
      _internal_mutable_attr();
501
  public:
502
  const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >&
503
      attr() const;
504
  ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >*
505
      mutable_attr();
506
507
  // string op = 2;
508
  void clear_op();
509
  const std::string& op() const;
510
  template <typename ArgT0 = const std::string&, typename... ArgT>
511
  void set_op(ArgT0&& arg0, ArgT... args);
512
  std::string* mutable_op();
513
  PROTOBUF_NODISCARD std::string* release_op();
514
  void set_allocated_op(std::string* op);
515
  private:
516
  const std::string& _internal_op() const;
517
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_op(const std::string& value);
518
  std::string* _internal_mutable_op();
519
  public:
520
521
  // @@protoc_insertion_point(class_scope:opencv_tensorflow.FunctionDef.Node)
522
 private:
523
  class _Internal;
524
525
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
526
  typedef void InternalArenaConstructable_;
527
  typedef void DestructorSkippable_;
528
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> ret_;
529
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> arg_;
530
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> dep_;
531
  ::PROTOBUF_NAMESPACE_ID::internal::MapField<
532
      FunctionDef_Node_AttrEntry_DoNotUse,
533
      std::string, ::opencv_tensorflow::AttrValue,
534
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
535
      ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> attr_;
536
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr op_;
537
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
538
  friend struct ::TableStruct_function_2eproto;
539
};
540
// -------------------------------------------------------------------
541
542
class FunctionDef final :
543
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.FunctionDef) */ {
544
 public:
545
0
  inline FunctionDef() : FunctionDef(nullptr) {}
546
  ~FunctionDef() override;
547
  explicit constexpr FunctionDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
548
549
  FunctionDef(const FunctionDef& from);
550
  FunctionDef(FunctionDef&& from) noexcept
551
0
    : FunctionDef() {
552
0
    *this = ::std::move(from);
553
0
  }
554
555
0
  inline FunctionDef& operator=(const FunctionDef& from) {
556
0
    CopyFrom(from);
557
0
    return *this;
558
0
  }
559
0
  inline FunctionDef& operator=(FunctionDef&& from) noexcept {
560
0
    if (this == &from) return *this;
561
0
    if (GetOwningArena() == from.GetOwningArena()
562
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
563
0
        && GetOwningArena() != nullptr
564
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
565
0
    ) {
566
0
      InternalSwap(&from);
567
0
    } else {
568
0
      CopyFrom(from);
569
0
    }
570
0
    return *this;
571
0
  }
572
573
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
574
0
    return GetDescriptor();
575
0
  }
576
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
577
0
    return default_instance().GetMetadata().descriptor;
578
0
  }
579
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
580
0
    return default_instance().GetMetadata().reflection;
581
0
  }
582
0
  static const FunctionDef& default_instance() {
583
0
    return *internal_default_instance();
584
0
  }
585
87.1k
  static inline const FunctionDef* internal_default_instance() {
586
87.1k
    return reinterpret_cast<const FunctionDef*>(
587
87.1k
               &_FunctionDef_default_instance_);
588
87.1k
  }
589
  static constexpr int kIndexInFileMessages =
590
    3;
591
592
0
  friend void swap(FunctionDef& a, FunctionDef& b) {
593
0
    a.Swap(&b);
594
0
  }
595
0
  inline void Swap(FunctionDef* other) {
596
0
    if (other == this) return;
597
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
598
0
    if (GetOwningArena() != nullptr &&
599
0
        GetOwningArena() == other->GetOwningArena()) {
600
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
601
0
    if (GetOwningArena() == other->GetOwningArena()) {
602
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
603
0
      InternalSwap(other);
604
0
    } else {
605
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
606
0
    }
607
0
  }
608
0
  void UnsafeArenaSwap(FunctionDef* other) {
609
0
    if (other == this) return;
610
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
611
0
    InternalSwap(other);
612
0
  }
613
614
  // implements Message ----------------------------------------------
615
616
0
  FunctionDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
617
0
    return CreateMaybeMessage<FunctionDef>(arena);
618
0
  }
619
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
620
  void CopyFrom(const FunctionDef& from);
621
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
622
  void MergeFrom(const FunctionDef& from);
623
  private:
624
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
625
  public:
626
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
627
  bool IsInitialized() const final;
628
629
  size_t ByteSizeLong() const final;
630
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
631
  uint8_t* _InternalSerialize(
632
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
633
0
  int GetCachedSize() const final { return _cached_size_.Get(); }
634
635
  private:
636
  void SharedCtor();
637
  void SharedDtor();
638
  void SetCachedSize(int size) const final;
639
  void InternalSwap(FunctionDef* other);
640
641
  private:
642
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
643
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
644
0
    return "opencv_tensorflow.FunctionDef";
645
0
  }
646
  protected:
647
  explicit FunctionDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
648
                       bool is_message_owned = false);
649
  private:
650
  static void ArenaDtor(void* object);
651
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
652
  public:
653
654
  static const ClassData _class_data_;
655
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
656
657
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
658
659
  // nested types ----------------------------------------------------
660
661
  typedef FunctionDef_Node Node;
662
663
  // accessors -------------------------------------------------------
664
665
  enum : int {
666
    kNodeFieldNumber = 2,
667
    kSignatureFieldNumber = 1,
668
  };
669
  // repeated .opencv_tensorflow.FunctionDef.Node node = 2;
670
  int node_size() const;
671
  private:
672
  int _internal_node_size() const;
673
  public:
674
  void clear_node();
675
  ::opencv_tensorflow::FunctionDef_Node* mutable_node(int index);
676
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::FunctionDef_Node >*
677
      mutable_node();
678
  private:
679
  const ::opencv_tensorflow::FunctionDef_Node& _internal_node(int index) const;
680
  ::opencv_tensorflow::FunctionDef_Node* _internal_add_node();
681
  public:
682
  const ::opencv_tensorflow::FunctionDef_Node& node(int index) const;
683
  ::opencv_tensorflow::FunctionDef_Node* add_node();
684
  const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::FunctionDef_Node >&
685
      node() const;
686
687
  // .opencv_tensorflow.OpDef signature = 1;
688
  bool has_signature() const;
689
  private:
690
  bool _internal_has_signature() const;
691
  public:
692
  void clear_signature();
693
  const ::opencv_tensorflow::OpDef& signature() const;
694
  PROTOBUF_NODISCARD ::opencv_tensorflow::OpDef* release_signature();
695
  ::opencv_tensorflow::OpDef* mutable_signature();
696
  void set_allocated_signature(::opencv_tensorflow::OpDef* signature);
697
  private:
698
  const ::opencv_tensorflow::OpDef& _internal_signature() const;
699
  ::opencv_tensorflow::OpDef* _internal_mutable_signature();
700
  public:
701
  void unsafe_arena_set_allocated_signature(
702
      ::opencv_tensorflow::OpDef* signature);
703
  ::opencv_tensorflow::OpDef* unsafe_arena_release_signature();
704
705
  // @@protoc_insertion_point(class_scope:opencv_tensorflow.FunctionDef)
706
 private:
707
  class _Internal;
708
709
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
710
  typedef void InternalArenaConstructable_;
711
  typedef void DestructorSkippable_;
712
  ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::FunctionDef_Node > node_;
713
  ::opencv_tensorflow::OpDef* signature_;
714
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
715
  friend struct ::TableStruct_function_2eproto;
716
};
717
// -------------------------------------------------------------------
718
719
class GradientDef final :
720
    public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.GradientDef) */ {
721
 public:
722
0
  inline GradientDef() : GradientDef(nullptr) {}
723
  ~GradientDef() override;
724
  explicit constexpr GradientDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
725
726
  GradientDef(const GradientDef& from);
727
  GradientDef(GradientDef&& from) noexcept
728
0
    : GradientDef() {
729
0
    *this = ::std::move(from);
730
0
  }
731
732
0
  inline GradientDef& operator=(const GradientDef& from) {
733
0
    CopyFrom(from);
734
0
    return *this;
735
0
  }
736
0
  inline GradientDef& operator=(GradientDef&& from) noexcept {
737
0
    if (this == &from) return *this;
738
0
    if (GetOwningArena() == from.GetOwningArena()
739
0
  #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
740
0
        && GetOwningArena() != nullptr
741
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
742
0
    ) {
743
0
      InternalSwap(&from);
744
0
    } else {
745
0
      CopyFrom(from);
746
0
    }
747
0
    return *this;
748
0
  }
749
750
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
751
0
    return GetDescriptor();
752
0
  }
753
0
  static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
754
0
    return default_instance().GetMetadata().descriptor;
755
0
  }
756
0
  static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
757
0
    return default_instance().GetMetadata().reflection;
758
0
  }
759
0
  static const GradientDef& default_instance() {
760
0
    return *internal_default_instance();
761
0
  }
762
0
  static inline const GradientDef* internal_default_instance() {
763
0
    return reinterpret_cast<const GradientDef*>(
764
0
               &_GradientDef_default_instance_);
765
0
  }
766
  static constexpr int kIndexInFileMessages =
767
    4;
768
769
0
  friend void swap(GradientDef& a, GradientDef& b) {
770
0
    a.Swap(&b);
771
0
  }
772
0
  inline void Swap(GradientDef* other) {
773
0
    if (other == this) return;
774
0
  #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
775
0
    if (GetOwningArena() != nullptr &&
776
0
        GetOwningArena() == other->GetOwningArena()) {
777
0
   #else  // PROTOBUF_FORCE_COPY_IN_SWAP
778
0
    if (GetOwningArena() == other->GetOwningArena()) {
779
0
  #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
780
0
      InternalSwap(other);
781
0
    } else {
782
0
      ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
783
0
    }
784
0
  }
785
0
  void UnsafeArenaSwap(GradientDef* other) {
786
0
    if (other == this) return;
787
0
    GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
788
0
    InternalSwap(other);
789
0
  }
790
791
  // implements Message ----------------------------------------------
792
793
0
  GradientDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
794
0
    return CreateMaybeMessage<GradientDef>(arena);
795
0
  }
796
  using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
797
  void CopyFrom(const GradientDef& from);
798
  using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
799
  void MergeFrom(const GradientDef& from);
800
  private:
801
  static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
802
  public:
803
  PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
804
  bool IsInitialized() const final;
805
806
  size_t ByteSizeLong() const final;
807
  const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
808
  uint8_t* _InternalSerialize(
809
      uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
810
0
  int GetCachedSize() const final { return _cached_size_.Get(); }
811
812
  private:
813
  void SharedCtor();
814
  void SharedDtor();
815
  void SetCachedSize(int size) const final;
816
  void InternalSwap(GradientDef* other);
817
818
  private:
819
  friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
820
0
  static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
821
0
    return "opencv_tensorflow.GradientDef";
822
0
  }
823
  protected:
824
  explicit GradientDef(::PROTOBUF_NAMESPACE_ID::Arena* arena,
825
                       bool is_message_owned = false);
826
  private:
827
  static void ArenaDtor(void* object);
828
  inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
829
  public:
830
831
  static const ClassData _class_data_;
832
  const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
833
834
  ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
835
836
  // nested types ----------------------------------------------------
837
838
  // accessors -------------------------------------------------------
839
840
  enum : int {
841
    kFunctionNameFieldNumber = 1,
842
    kGradientFuncFieldNumber = 2,
843
  };
844
  // string function_name = 1;
845
  void clear_function_name();
846
  const std::string& function_name() const;
847
  template <typename ArgT0 = const std::string&, typename... ArgT>
848
  void set_function_name(ArgT0&& arg0, ArgT... args);
849
  std::string* mutable_function_name();
850
  PROTOBUF_NODISCARD std::string* release_function_name();
851
  void set_allocated_function_name(std::string* function_name);
852
  private:
853
  const std::string& _internal_function_name() const;
854
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_function_name(const std::string& value);
855
  std::string* _internal_mutable_function_name();
856
  public:
857
858
  // string gradient_func = 2;
859
  void clear_gradient_func();
860
  const std::string& gradient_func() const;
861
  template <typename ArgT0 = const std::string&, typename... ArgT>
862
  void set_gradient_func(ArgT0&& arg0, ArgT... args);
863
  std::string* mutable_gradient_func();
864
  PROTOBUF_NODISCARD std::string* release_gradient_func();
865
  void set_allocated_gradient_func(std::string* gradient_func);
866
  private:
867
  const std::string& _internal_gradient_func() const;
868
  inline PROTOBUF_ALWAYS_INLINE void _internal_set_gradient_func(const std::string& value);
869
  std::string* _internal_mutable_gradient_func();
870
  public:
871
872
  // @@protoc_insertion_point(class_scope:opencv_tensorflow.GradientDef)
873
 private:
874
  class _Internal;
875
876
  template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
877
  typedef void InternalArenaConstructable_;
878
  typedef void DestructorSkippable_;
879
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr function_name_;
880
  ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr gradient_func_;
881
  mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
882
  friend struct ::TableStruct_function_2eproto;
883
};
884
// ===================================================================
885
886
887
// ===================================================================
888
889
#ifdef __GNUC__
890
  #pragma GCC diagnostic push
891
  #pragma GCC diagnostic ignored "-Wstrict-aliasing"
892
#endif  // __GNUC__
893
// FunctionDefLibrary
894
895
// repeated .opencv_tensorflow.FunctionDef function = 1;
896
1.31k
inline int FunctionDefLibrary::_internal_function_size() const {
897
1.31k
  return function_.size();
898
1.31k
}
899
0
inline int FunctionDefLibrary::function_size() const {
900
0
  return _internal_function_size();
901
0
}
902
0
inline void FunctionDefLibrary::clear_function() {
903
0
  function_.Clear();
904
0
}
905
0
inline ::opencv_tensorflow::FunctionDef* FunctionDefLibrary::mutable_function(int index) {
906
0
  // @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDefLibrary.function)
907
0
  return function_.Mutable(index);
908
0
}
909
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::FunctionDef >*
910
0
FunctionDefLibrary::mutable_function() {
911
0
  // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDefLibrary.function)
912
0
  return &function_;
913
0
}
914
0
inline const ::opencv_tensorflow::FunctionDef& FunctionDefLibrary::_internal_function(int index) const {
915
0
  return function_.Get(index);
916
0
}
917
0
inline const ::opencv_tensorflow::FunctionDef& FunctionDefLibrary::function(int index) const {
918
0
  // @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDefLibrary.function)
919
0
  return _internal_function(index);
920
0
}
921
50.6k
inline ::opencv_tensorflow::FunctionDef* FunctionDefLibrary::_internal_add_function() {
922
50.6k
  return function_.Add();
923
50.6k
}
924
0
inline ::opencv_tensorflow::FunctionDef* FunctionDefLibrary::add_function() {
925
0
  ::opencv_tensorflow::FunctionDef* _add = _internal_add_function();
926
0
  // @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDefLibrary.function)
927
0
  return _add;
928
0
}
929
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::FunctionDef >&
930
0
FunctionDefLibrary::function() const {
931
0
  // @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDefLibrary.function)
932
0
  return function_;
933
0
}
934
935
// repeated .opencv_tensorflow.GradientDef gradient = 2;
936
1.31k
inline int FunctionDefLibrary::_internal_gradient_size() const {
937
1.31k
  return gradient_.size();
938
1.31k
}
939
0
inline int FunctionDefLibrary::gradient_size() const {
940
0
  return _internal_gradient_size();
941
0
}
942
0
inline void FunctionDefLibrary::clear_gradient() {
943
0
  gradient_.Clear();
944
0
}
945
0
inline ::opencv_tensorflow::GradientDef* FunctionDefLibrary::mutable_gradient(int index) {
946
0
  // @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDefLibrary.gradient)
947
0
  return gradient_.Mutable(index);
948
0
}
949
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::GradientDef >*
950
0
FunctionDefLibrary::mutable_gradient() {
951
0
  // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDefLibrary.gradient)
952
0
  return &gradient_;
953
0
}
954
0
inline const ::opencv_tensorflow::GradientDef& FunctionDefLibrary::_internal_gradient(int index) const {
955
0
  return gradient_.Get(index);
956
0
}
957
0
inline const ::opencv_tensorflow::GradientDef& FunctionDefLibrary::gradient(int index) const {
958
0
  // @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDefLibrary.gradient)
959
0
  return _internal_gradient(index);
960
0
}
961
23.8k
inline ::opencv_tensorflow::GradientDef* FunctionDefLibrary::_internal_add_gradient() {
962
23.8k
  return gradient_.Add();
963
23.8k
}
964
0
inline ::opencv_tensorflow::GradientDef* FunctionDefLibrary::add_gradient() {
965
0
  ::opencv_tensorflow::GradientDef* _add = _internal_add_gradient();
966
0
  // @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDefLibrary.gradient)
967
0
  return _add;
968
0
}
969
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::GradientDef >&
970
0
FunctionDefLibrary::gradient() const {
971
0
  // @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDefLibrary.gradient)
972
0
  return gradient_;
973
0
}
974
975
// -------------------------------------------------------------------
976
977
// -------------------------------------------------------------------
978
979
// FunctionDef_Node
980
981
// repeated string ret = 1;
982
0
inline int FunctionDef_Node::_internal_ret_size() const {
983
0
  return ret_.size();
984
0
}
985
0
inline int FunctionDef_Node::ret_size() const {
986
0
  return _internal_ret_size();
987
0
}
988
0
inline void FunctionDef_Node::clear_ret() {
989
0
  ret_.Clear();
990
0
}
991
0
inline std::string* FunctionDef_Node::add_ret() {
992
0
  std::string* _s = _internal_add_ret();
993
0
  // @@protoc_insertion_point(field_add_mutable:opencv_tensorflow.FunctionDef.Node.ret)
994
0
  return _s;
995
0
}
996
0
inline const std::string& FunctionDef_Node::_internal_ret(int index) const {
997
0
  return ret_.Get(index);
998
0
}
999
0
inline const std::string& FunctionDef_Node::ret(int index) const {
1000
0
  // @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.Node.ret)
1001
0
  return _internal_ret(index);
1002
0
}
1003
0
inline std::string* FunctionDef_Node::mutable_ret(int index) {
1004
0
  // @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.Node.ret)
1005
0
  return ret_.Mutable(index);
1006
0
}
1007
0
inline void FunctionDef_Node::set_ret(int index, const std::string& value) {
1008
0
  ret_.Mutable(index)->assign(value);
1009
0
  // @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.ret)
1010
0
}
1011
0
inline void FunctionDef_Node::set_ret(int index, std::string&& value) {
1012
0
  ret_.Mutable(index)->assign(std::move(value));
1013
0
  // @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.ret)
1014
0
}
1015
0
inline void FunctionDef_Node::set_ret(int index, const char* value) {
1016
0
  GOOGLE_DCHECK(value != nullptr);
1017
0
  ret_.Mutable(index)->assign(value);
1018
0
  // @@protoc_insertion_point(field_set_char:opencv_tensorflow.FunctionDef.Node.ret)
1019
0
}
1020
0
inline void FunctionDef_Node::set_ret(int index, const char* value, size_t size) {
1021
0
  ret_.Mutable(index)->assign(
1022
0
    reinterpret_cast<const char*>(value), size);
1023
0
  // @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.FunctionDef.Node.ret)
1024
0
}
1025
13.2k
inline std::string* FunctionDef_Node::_internal_add_ret() {
1026
13.2k
  return ret_.Add();
1027
13.2k
}
1028
0
inline void FunctionDef_Node::add_ret(const std::string& value) {
1029
0
  ret_.Add()->assign(value);
1030
0
  // @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.ret)
1031
0
}
1032
0
inline void FunctionDef_Node::add_ret(std::string&& value) {
1033
0
  ret_.Add(std::move(value));
1034
0
  // @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.ret)
1035
0
}
1036
0
inline void FunctionDef_Node::add_ret(const char* value) {
1037
0
  GOOGLE_DCHECK(value != nullptr);
1038
0
  ret_.Add()->assign(value);
1039
0
  // @@protoc_insertion_point(field_add_char:opencv_tensorflow.FunctionDef.Node.ret)
1040
0
}
1041
0
inline void FunctionDef_Node::add_ret(const char* value, size_t size) {
1042
0
  ret_.Add()->assign(reinterpret_cast<const char*>(value), size);
1043
0
  // @@protoc_insertion_point(field_add_pointer:opencv_tensorflow.FunctionDef.Node.ret)
1044
0
}
1045
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1046
0
FunctionDef_Node::ret() const {
1047
0
  // @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDef.Node.ret)
1048
0
  return ret_;
1049
0
}
1050
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1051
0
FunctionDef_Node::mutable_ret() {
1052
0
  // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDef.Node.ret)
1053
0
  return &ret_;
1054
0
}
1055
1056
// string op = 2;
1057
0
inline void FunctionDef_Node::clear_op() {
1058
0
  op_.ClearToEmpty();
1059
0
}
1060
0
inline const std::string& FunctionDef_Node::op() const {
1061
0
  // @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.Node.op)
1062
0
  return _internal_op();
1063
0
}
1064
template <typename ArgT0, typename... ArgT>
1065
inline PROTOBUF_ALWAYS_INLINE
1066
void FunctionDef_Node::set_op(ArgT0&& arg0, ArgT... args) {
1067
1068
 op_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1069
  // @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.op)
1070
}
1071
0
inline std::string* FunctionDef_Node::mutable_op() {
1072
0
  std::string* _s = _internal_mutable_op();
1073
0
  // @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.Node.op)
1074
0
  return _s;
1075
0
}
1076
13.0k
inline const std::string& FunctionDef_Node::_internal_op() const {
1077
13.0k
  return op_.Get();
1078
13.0k
}
1079
0
inline void FunctionDef_Node::_internal_set_op(const std::string& value) {
1080
1081
0
  op_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1082
0
}
1083
17.3k
inline std::string* FunctionDef_Node::_internal_mutable_op() {
1084
1085
17.3k
  return op_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1086
17.3k
}
1087
0
inline std::string* FunctionDef_Node::release_op() {
1088
0
  // @@protoc_insertion_point(field_release:opencv_tensorflow.FunctionDef.Node.op)
1089
0
  return op_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1090
0
}
1091
0
inline void FunctionDef_Node::set_allocated_op(std::string* op) {
1092
0
  if (op != nullptr) {
1093
0
1094
0
  } else {
1095
0
1096
0
  }
1097
0
  op_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), op,
1098
0
      GetArenaForAllocation());
1099
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1100
0
  if (op_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1101
0
    op_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1102
0
  }
1103
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1104
0
  // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.FunctionDef.Node.op)
1105
0
}
1106
1107
// repeated string arg = 3;
1108
0
inline int FunctionDef_Node::_internal_arg_size() const {
1109
0
  return arg_.size();
1110
0
}
1111
0
inline int FunctionDef_Node::arg_size() const {
1112
0
  return _internal_arg_size();
1113
0
}
1114
0
inline void FunctionDef_Node::clear_arg() {
1115
0
  arg_.Clear();
1116
0
}
1117
0
inline std::string* FunctionDef_Node::add_arg() {
1118
0
  std::string* _s = _internal_add_arg();
1119
0
  // @@protoc_insertion_point(field_add_mutable:opencv_tensorflow.FunctionDef.Node.arg)
1120
0
  return _s;
1121
0
}
1122
0
inline const std::string& FunctionDef_Node::_internal_arg(int index) const {
1123
0
  return arg_.Get(index);
1124
0
}
1125
0
inline const std::string& FunctionDef_Node::arg(int index) const {
1126
0
  // @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.Node.arg)
1127
0
  return _internal_arg(index);
1128
0
}
1129
0
inline std::string* FunctionDef_Node::mutable_arg(int index) {
1130
0
  // @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.Node.arg)
1131
0
  return arg_.Mutable(index);
1132
0
}
1133
0
inline void FunctionDef_Node::set_arg(int index, const std::string& value) {
1134
0
  arg_.Mutable(index)->assign(value);
1135
0
  // @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.arg)
1136
0
}
1137
0
inline void FunctionDef_Node::set_arg(int index, std::string&& value) {
1138
0
  arg_.Mutable(index)->assign(std::move(value));
1139
0
  // @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.arg)
1140
0
}
1141
0
inline void FunctionDef_Node::set_arg(int index, const char* value) {
1142
0
  GOOGLE_DCHECK(value != nullptr);
1143
0
  arg_.Mutable(index)->assign(value);
1144
0
  // @@protoc_insertion_point(field_set_char:opencv_tensorflow.FunctionDef.Node.arg)
1145
0
}
1146
0
inline void FunctionDef_Node::set_arg(int index, const char* value, size_t size) {
1147
0
  arg_.Mutable(index)->assign(
1148
0
    reinterpret_cast<const char*>(value), size);
1149
0
  // @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.FunctionDef.Node.arg)
1150
0
}
1151
9.16k
inline std::string* FunctionDef_Node::_internal_add_arg() {
1152
9.16k
  return arg_.Add();
1153
9.16k
}
1154
0
inline void FunctionDef_Node::add_arg(const std::string& value) {
1155
0
  arg_.Add()->assign(value);
1156
0
  // @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.arg)
1157
0
}
1158
0
inline void FunctionDef_Node::add_arg(std::string&& value) {
1159
0
  arg_.Add(std::move(value));
1160
0
  // @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.arg)
1161
0
}
1162
0
inline void FunctionDef_Node::add_arg(const char* value) {
1163
0
  GOOGLE_DCHECK(value != nullptr);
1164
0
  arg_.Add()->assign(value);
1165
0
  // @@protoc_insertion_point(field_add_char:opencv_tensorflow.FunctionDef.Node.arg)
1166
0
}
1167
0
inline void FunctionDef_Node::add_arg(const char* value, size_t size) {
1168
0
  arg_.Add()->assign(reinterpret_cast<const char*>(value), size);
1169
0
  // @@protoc_insertion_point(field_add_pointer:opencv_tensorflow.FunctionDef.Node.arg)
1170
0
}
1171
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1172
0
FunctionDef_Node::arg() const {
1173
0
  // @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDef.Node.arg)
1174
0
  return arg_;
1175
0
}
1176
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1177
0
FunctionDef_Node::mutable_arg() {
1178
0
  // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDef.Node.arg)
1179
0
  return &arg_;
1180
0
}
1181
1182
// repeated string dep = 4;
1183
0
inline int FunctionDef_Node::_internal_dep_size() const {
1184
0
  return dep_.size();
1185
0
}
1186
0
inline int FunctionDef_Node::dep_size() const {
1187
0
  return _internal_dep_size();
1188
0
}
1189
0
inline void FunctionDef_Node::clear_dep() {
1190
0
  dep_.Clear();
1191
0
}
1192
0
inline std::string* FunctionDef_Node::add_dep() {
1193
0
  std::string* _s = _internal_add_dep();
1194
0
  // @@protoc_insertion_point(field_add_mutable:opencv_tensorflow.FunctionDef.Node.dep)
1195
0
  return _s;
1196
0
}
1197
0
inline const std::string& FunctionDef_Node::_internal_dep(int index) const {
1198
0
  return dep_.Get(index);
1199
0
}
1200
0
inline const std::string& FunctionDef_Node::dep(int index) const {
1201
0
  // @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.Node.dep)
1202
0
  return _internal_dep(index);
1203
0
}
1204
0
inline std::string* FunctionDef_Node::mutable_dep(int index) {
1205
0
  // @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.Node.dep)
1206
0
  return dep_.Mutable(index);
1207
0
}
1208
0
inline void FunctionDef_Node::set_dep(int index, const std::string& value) {
1209
0
  dep_.Mutable(index)->assign(value);
1210
0
  // @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.dep)
1211
0
}
1212
0
inline void FunctionDef_Node::set_dep(int index, std::string&& value) {
1213
0
  dep_.Mutable(index)->assign(std::move(value));
1214
0
  // @@protoc_insertion_point(field_set:opencv_tensorflow.FunctionDef.Node.dep)
1215
0
}
1216
0
inline void FunctionDef_Node::set_dep(int index, const char* value) {
1217
0
  GOOGLE_DCHECK(value != nullptr);
1218
0
  dep_.Mutable(index)->assign(value);
1219
0
  // @@protoc_insertion_point(field_set_char:opencv_tensorflow.FunctionDef.Node.dep)
1220
0
}
1221
0
inline void FunctionDef_Node::set_dep(int index, const char* value, size_t size) {
1222
0
  dep_.Mutable(index)->assign(
1223
0
    reinterpret_cast<const char*>(value), size);
1224
0
  // @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.FunctionDef.Node.dep)
1225
0
}
1226
6.39k
inline std::string* FunctionDef_Node::_internal_add_dep() {
1227
6.39k
  return dep_.Add();
1228
6.39k
}
1229
0
inline void FunctionDef_Node::add_dep(const std::string& value) {
1230
0
  dep_.Add()->assign(value);
1231
0
  // @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.dep)
1232
0
}
1233
0
inline void FunctionDef_Node::add_dep(std::string&& value) {
1234
0
  dep_.Add(std::move(value));
1235
0
  // @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.Node.dep)
1236
0
}
1237
0
inline void FunctionDef_Node::add_dep(const char* value) {
1238
0
  GOOGLE_DCHECK(value != nullptr);
1239
0
  dep_.Add()->assign(value);
1240
0
  // @@protoc_insertion_point(field_add_char:opencv_tensorflow.FunctionDef.Node.dep)
1241
0
}
1242
0
inline void FunctionDef_Node::add_dep(const char* value, size_t size) {
1243
0
  dep_.Add()->assign(reinterpret_cast<const char*>(value), size);
1244
0
  // @@protoc_insertion_point(field_add_pointer:opencv_tensorflow.FunctionDef.Node.dep)
1245
0
}
1246
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
1247
0
FunctionDef_Node::dep() const {
1248
0
  // @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDef.Node.dep)
1249
0
  return dep_;
1250
0
}
1251
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
1252
0
FunctionDef_Node::mutable_dep() {
1253
0
  // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDef.Node.dep)
1254
0
  return &dep_;
1255
0
}
1256
1257
// map<string, .opencv_tensorflow.AttrValue> attr = 5;
1258
11.4k
inline int FunctionDef_Node::_internal_attr_size() const {
1259
11.4k
  return attr_.size();
1260
11.4k
}
1261
0
inline int FunctionDef_Node::attr_size() const {
1262
0
  return _internal_attr_size();
1263
0
}
1264
inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >&
1265
31.3k
FunctionDef_Node::_internal_attr() const {
1266
31.3k
  return attr_.GetMap();
1267
31.3k
}
1268
inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >&
1269
0
FunctionDef_Node::attr() const {
1270
0
  // @@protoc_insertion_point(field_map:opencv_tensorflow.FunctionDef.Node.attr)
1271
0
  return _internal_attr();
1272
0
}
1273
inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >*
1274
0
FunctionDef_Node::_internal_mutable_attr() {
1275
0
  return attr_.MutableMap();
1276
0
}
1277
inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >*
1278
0
FunctionDef_Node::mutable_attr() {
1279
0
  // @@protoc_insertion_point(field_mutable_map:opencv_tensorflow.FunctionDef.Node.attr)
1280
0
  return _internal_mutable_attr();
1281
0
}
1282
1283
// -------------------------------------------------------------------
1284
1285
// FunctionDef
1286
1287
// .opencv_tensorflow.OpDef signature = 1;
1288
36.4k
inline bool FunctionDef::_internal_has_signature() const {
1289
36.4k
  return this != internal_default_instance() && signature_ != nullptr;
1290
36.4k
}
1291
0
inline bool FunctionDef::has_signature() const {
1292
0
  return _internal_has_signature();
1293
0
}
1294
0
inline const ::opencv_tensorflow::OpDef& FunctionDef::_internal_signature() const {
1295
0
  const ::opencv_tensorflow::OpDef* p = signature_;
1296
0
  return p != nullptr ? *p : reinterpret_cast<const ::opencv_tensorflow::OpDef&>(
1297
0
      ::opencv_tensorflow::_OpDef_default_instance_);
1298
0
}
1299
0
inline const ::opencv_tensorflow::OpDef& FunctionDef::signature() const {
1300
0
  // @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.signature)
1301
0
  return _internal_signature();
1302
0
}
1303
inline void FunctionDef::unsafe_arena_set_allocated_signature(
1304
0
    ::opencv_tensorflow::OpDef* signature) {
1305
0
  if (GetArenaForAllocation() == nullptr) {
1306
0
    delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(signature_);
1307
0
  }
1308
0
  signature_ = signature;
1309
0
  if (signature) {
1310
0
1311
0
  } else {
1312
0
1313
0
  }
1314
0
  // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.FunctionDef.signature)
1315
0
}
1316
0
inline ::opencv_tensorflow::OpDef* FunctionDef::release_signature() {
1317
0
1318
0
  ::opencv_tensorflow::OpDef* temp = signature_;
1319
0
  signature_ = nullptr;
1320
0
#ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
1321
0
  auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
1322
0
  temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1323
0
  if (GetArenaForAllocation() == nullptr) { delete old; }
1324
0
#else  // PROTOBUF_FORCE_COPY_IN_RELEASE
1325
0
  if (GetArenaForAllocation() != nullptr) {
1326
0
    temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
1327
0
  }
1328
0
#endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
1329
0
  return temp;
1330
0
}
1331
0
inline ::opencv_tensorflow::OpDef* FunctionDef::unsafe_arena_release_signature() {
1332
0
  // @@protoc_insertion_point(field_release:opencv_tensorflow.FunctionDef.signature)
1333
0
1334
0
  ::opencv_tensorflow::OpDef* temp = signature_;
1335
0
  signature_ = nullptr;
1336
0
  return temp;
1337
0
}
1338
33.3k
inline ::opencv_tensorflow::OpDef* FunctionDef::_internal_mutable_signature() {
1339
1340
33.3k
  if (signature_ == nullptr) {
1341
31.9k
    auto* p = CreateMaybeMessage<::opencv_tensorflow::OpDef>(GetArenaForAllocation());
1342
31.9k
    signature_ = p;
1343
31.9k
  }
1344
33.3k
  return signature_;
1345
33.3k
}
1346
0
inline ::opencv_tensorflow::OpDef* FunctionDef::mutable_signature() {
1347
0
  ::opencv_tensorflow::OpDef* _msg = _internal_mutable_signature();
1348
0
  // @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.signature)
1349
0
  return _msg;
1350
0
}
1351
0
inline void FunctionDef::set_allocated_signature(::opencv_tensorflow::OpDef* signature) {
1352
0
  ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
1353
0
  if (message_arena == nullptr) {
1354
0
    delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(signature_);
1355
0
  }
1356
0
  if (signature) {
1357
0
    ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
1358
0
        ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
1359
0
            ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
1360
0
                reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(signature));
1361
0
    if (message_arena != submessage_arena) {
1362
0
      signature = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
1363
0
          message_arena, signature, submessage_arena);
1364
0
    }
1365
0
1366
0
  } else {
1367
0
1368
0
  }
1369
0
  signature_ = signature;
1370
0
  // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.FunctionDef.signature)
1371
0
}
1372
1373
// repeated .opencv_tensorflow.FunctionDef.Node node = 2;
1374
36.4k
inline int FunctionDef::_internal_node_size() const {
1375
36.4k
  return node_.size();
1376
36.4k
}
1377
0
inline int FunctionDef::node_size() const {
1378
0
  return _internal_node_size();
1379
0
}
1380
0
inline void FunctionDef::clear_node() {
1381
0
  node_.Clear();
1382
0
}
1383
0
inline ::opencv_tensorflow::FunctionDef_Node* FunctionDef::mutable_node(int index) {
1384
0
  // @@protoc_insertion_point(field_mutable:opencv_tensorflow.FunctionDef.node)
1385
0
  return node_.Mutable(index);
1386
0
}
1387
inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::FunctionDef_Node >*
1388
0
FunctionDef::mutable_node() {
1389
0
  // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.FunctionDef.node)
1390
0
  return &node_;
1391
0
}
1392
0
inline const ::opencv_tensorflow::FunctionDef_Node& FunctionDef::_internal_node(int index) const {
1393
0
  return node_.Get(index);
1394
0
}
1395
0
inline const ::opencv_tensorflow::FunctionDef_Node& FunctionDef::node(int index) const {
1396
0
  // @@protoc_insertion_point(field_get:opencv_tensorflow.FunctionDef.node)
1397
0
  return _internal_node(index);
1398
0
}
1399
15.4k
inline ::opencv_tensorflow::FunctionDef_Node* FunctionDef::_internal_add_node() {
1400
15.4k
  return node_.Add();
1401
15.4k
}
1402
0
inline ::opencv_tensorflow::FunctionDef_Node* FunctionDef::add_node() {
1403
0
  ::opencv_tensorflow::FunctionDef_Node* _add = _internal_add_node();
1404
0
  // @@protoc_insertion_point(field_add:opencv_tensorflow.FunctionDef.node)
1405
0
  return _add;
1406
0
}
1407
inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::FunctionDef_Node >&
1408
0
FunctionDef::node() const {
1409
0
  // @@protoc_insertion_point(field_list:opencv_tensorflow.FunctionDef.node)
1410
0
  return node_;
1411
0
}
1412
1413
// -------------------------------------------------------------------
1414
1415
// GradientDef
1416
1417
// string function_name = 1;
1418
0
inline void GradientDef::clear_function_name() {
1419
0
  function_name_.ClearToEmpty();
1420
0
}
1421
0
inline const std::string& GradientDef::function_name() const {
1422
0
  // @@protoc_insertion_point(field_get:opencv_tensorflow.GradientDef.function_name)
1423
0
  return _internal_function_name();
1424
0
}
1425
template <typename ArgT0, typename... ArgT>
1426
inline PROTOBUF_ALWAYS_INLINE
1427
void GradientDef::set_function_name(ArgT0&& arg0, ArgT... args) {
1428
1429
 function_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1430
  // @@protoc_insertion_point(field_set:opencv_tensorflow.GradientDef.function_name)
1431
}
1432
0
inline std::string* GradientDef::mutable_function_name() {
1433
0
  std::string* _s = _internal_mutable_function_name();
1434
0
  // @@protoc_insertion_point(field_mutable:opencv_tensorflow.GradientDef.function_name)
1435
0
  return _s;
1436
0
}
1437
21.6k
inline const std::string& GradientDef::_internal_function_name() const {
1438
21.6k
  return function_name_.Get();
1439
21.6k
}
1440
0
inline void GradientDef::_internal_set_function_name(const std::string& value) {
1441
1442
0
  function_name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1443
0
}
1444
2.35k
inline std::string* GradientDef::_internal_mutable_function_name() {
1445
1446
2.35k
  return function_name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1447
2.35k
}
1448
0
inline std::string* GradientDef::release_function_name() {
1449
0
  // @@protoc_insertion_point(field_release:opencv_tensorflow.GradientDef.function_name)
1450
0
  return function_name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1451
0
}
1452
0
inline void GradientDef::set_allocated_function_name(std::string* function_name) {
1453
0
  if (function_name != nullptr) {
1454
0
1455
0
  } else {
1456
0
1457
0
  }
1458
0
  function_name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), function_name,
1459
0
      GetArenaForAllocation());
1460
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1461
0
  if (function_name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1462
0
    function_name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1463
0
  }
1464
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1465
0
  // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.GradientDef.function_name)
1466
0
}
1467
1468
// string gradient_func = 2;
1469
0
inline void GradientDef::clear_gradient_func() {
1470
0
  gradient_func_.ClearToEmpty();
1471
0
}
1472
0
inline const std::string& GradientDef::gradient_func() const {
1473
0
  // @@protoc_insertion_point(field_get:opencv_tensorflow.GradientDef.gradient_func)
1474
0
  return _internal_gradient_func();
1475
0
}
1476
template <typename ArgT0, typename... ArgT>
1477
inline PROTOBUF_ALWAYS_INLINE
1478
void GradientDef::set_gradient_func(ArgT0&& arg0, ArgT... args) {
1479
1480
 gradient_func_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1481
  // @@protoc_insertion_point(field_set:opencv_tensorflow.GradientDef.gradient_func)
1482
}
1483
0
inline std::string* GradientDef::mutable_gradient_func() {
1484
0
  std::string* _s = _internal_mutable_gradient_func();
1485
0
  // @@protoc_insertion_point(field_mutable:opencv_tensorflow.GradientDef.gradient_func)
1486
0
  return _s;
1487
0
}
1488
21.6k
inline const std::string& GradientDef::_internal_gradient_func() const {
1489
21.6k
  return gradient_func_.Get();
1490
21.6k
}
1491
0
inline void GradientDef::_internal_set_gradient_func(const std::string& value) {
1492
1493
0
  gradient_func_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
1494
0
}
1495
4.01k
inline std::string* GradientDef::_internal_mutable_gradient_func() {
1496
1497
4.01k
  return gradient_func_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
1498
4.01k
}
1499
0
inline std::string* GradientDef::release_gradient_func() {
1500
0
  // @@protoc_insertion_point(field_release:opencv_tensorflow.GradientDef.gradient_func)
1501
0
  return gradient_func_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
1502
0
}
1503
0
inline void GradientDef::set_allocated_gradient_func(std::string* gradient_func) {
1504
0
  if (gradient_func != nullptr) {
1505
0
1506
0
  } else {
1507
0
1508
0
  }
1509
0
  gradient_func_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), gradient_func,
1510
0
      GetArenaForAllocation());
1511
0
#ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1512
0
  if (gradient_func_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
1513
0
    gradient_func_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
1514
0
  }
1515
0
#endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1516
0
  // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.GradientDef.gradient_func)
1517
0
}
1518
1519
#ifdef __GNUC__
1520
  #pragma GCC diagnostic pop
1521
#endif  // __GNUC__
1522
// -------------------------------------------------------------------
1523
1524
// -------------------------------------------------------------------
1525
1526
// -------------------------------------------------------------------
1527
1528
// -------------------------------------------------------------------
1529
1530
1531
// @@protoc_insertion_point(namespace_scope)
1532
1533
}  // namespace opencv_tensorflow
1534
1535
// @@protoc_insertion_point(global_scope)
1536
1537
#include <google/protobuf/port_undef.inc>
1538
#endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_function_2eproto