1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: tensorflow/core/framework/tensor.proto
3 
4 #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2ftensor_2eproto
5 #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2ftensor_2eproto
6 
7 #include <cstdint>
8 #include <limits>
9 #include <string>
10 
11 #include <google/protobuf/port_def.inc>
12 #if PROTOBUF_VERSION < 3021000
13 #error This file was generated by a newer version of protoc which is
14 #error incompatible with your Protocol Buffer headers. Please update
15 #error your headers.
16 #endif
17 #if 3021012 < PROTOBUF_MIN_PROTOC_VERSION
18 #error This file was generated by an older version of protoc which is
19 #error incompatible with your Protocol Buffer headers. Please
20 #error regenerate this file with a newer version of protoc.
21 #endif
22 
23 #include <google/protobuf/port_undef.inc>
24 #include <google/protobuf/io/coded_stream.h>
25 #include <google/protobuf/arena.h>
26 #include <google/protobuf/arenastring.h>
27 #include <google/protobuf/generated_message_util.h>
28 #include <google/protobuf/metadata_lite.h>
29 #include <google/protobuf/message_lite.h>
30 #include <google/protobuf/repeated_field.h>  // IWYU pragma: export
31 #include <google/protobuf/extension_set.h>  // IWYU pragma: export
32 #include "tensorflow/core/framework/resource_handle.pb.h"
33 #include "tensorflow/core/framework/tensor_shape.pb.h"
34 #include "tensorflow/core/framework/types.pb.h"
35 // @@protoc_insertion_point(includes)
36 #include <google/protobuf/port_def.inc>
37 #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fframework_2ftensor_2eproto
38 PROTOBUF_NAMESPACE_OPEN
39 namespace internal {
40 class AnyMetadata;
41 }  // namespace internal
42 PROTOBUF_NAMESPACE_CLOSE
43 
44 // Internal implementation detail -- do not use these members.
45 struct TableStruct_tensorflow_2fcore_2fframework_2ftensor_2eproto {
46   static const ::uint32_t offsets[];
47 };
48 namespace tensorflow {
49 class TensorProto;
50 struct TensorProtoDefaultTypeInternal;
51 extern TensorProtoDefaultTypeInternal _TensorProto_default_instance_;
52 class VariantTensorDataProto;
53 struct VariantTensorDataProtoDefaultTypeInternal;
54 extern VariantTensorDataProtoDefaultTypeInternal _VariantTensorDataProto_default_instance_;
55 }  // namespace tensorflow
56 PROTOBUF_NAMESPACE_OPEN
57 template<> ::tensorflow::TensorProto* Arena::CreateMaybeMessage<::tensorflow::TensorProto>(Arena*);
58 template<> ::tensorflow::VariantTensorDataProto* Arena::CreateMaybeMessage<::tensorflow::VariantTensorDataProto>(Arena*);
59 PROTOBUF_NAMESPACE_CLOSE
60 namespace tensorflow {
61 
62 // ===================================================================
63 
64 class TensorProto final :
65     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.TensorProto) */ {
66  public:
TensorProto()67   inline TensorProto() : TensorProto(nullptr) {}
68   ~TensorProto() override;
69   explicit PROTOBUF_CONSTEXPR TensorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
70 
71   TensorProto(const TensorProto& from);
TensorProto(TensorProto && from)72   TensorProto(TensorProto&& from) noexcept
73     : TensorProto() {
74     *this = ::std::move(from);
75   }
76 
77   inline TensorProto& operator=(const TensorProto& from) {
78     if (this == &from) return *this;
79     CopyFrom(from);
80     return *this;
81   }
82   inline TensorProto& operator=(TensorProto&& from) noexcept {
83     if (this == &from) return *this;
84     if (GetOwningArena() == from.GetOwningArena()
85   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
86         && GetOwningArena() != nullptr
87   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
88     ) {
89       InternalSwap(&from);
90     } else {
91       CopyFrom(from);
92     }
93     return *this;
94   }
95 
default_instance()96   static const TensorProto& default_instance() {
97     return *internal_default_instance();
98   }
internal_default_instance()99   static inline const TensorProto* internal_default_instance() {
100     return reinterpret_cast<const TensorProto*>(
101                &_TensorProto_default_instance_);
102   }
103   static constexpr int kIndexInFileMessages =
104     0;
105 
swap(TensorProto & a,TensorProto & b)106   friend void swap(TensorProto& a, TensorProto& b) {
107     a.Swap(&b);
108   }
Swap(TensorProto * other)109   inline void Swap(TensorProto* other) {
110     if (other == this) return;
111   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
112     if (GetOwningArena() != nullptr &&
113         GetOwningArena() == other->GetOwningArena()) {
114    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
115     if (GetOwningArena() == other->GetOwningArena()) {
116   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
117       InternalSwap(other);
118     } else {
119       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
120     }
121   }
122   void UnsafeArenaSwap(TensorProto* other) {
123     if (other == this) return;
124     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
125     InternalSwap(other);
126   }
127 
128   // implements Message ----------------------------------------------
129 
130   TensorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
131     return CreateMaybeMessage<TensorProto>(arena);
132   }
133   TensorProto* New() const {
134     return New(nullptr);
135   }
136   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
137   void CopyFrom(const TensorProto& from);
138   void MergeFrom(const TensorProto& from);
139   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
140   bool IsInitialized() const final;
141 
142   size_t ByteSizeLong() const final;
143   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
144   ::uint8_t* _InternalSerialize(
145       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
146   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
147 
148   private:
149   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
150   void SharedDtor();
151   void SetCachedSize(int size) const;
152   void InternalSwap(TensorProto* other);
153 
154   private:
155   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
156   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
157     return "tensorflow.TensorProto";
158   }
159   protected:
160   explicit TensorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
161                        bool is_message_owned = false);
162   public:
163 
164   std::string GetTypeName() const final;
165 
166   // nested types ----------------------------------------------------
167 
168   // accessors -------------------------------------------------------
169 
170   enum : int {
171     kFloatValFieldNumber = 5,
172     kDoubleValFieldNumber = 6,
173     kIntValFieldNumber = 7,
174     kStringValFieldNumber = 8,
175     kScomplexValFieldNumber = 9,
176     kInt64ValFieldNumber = 10,
177     kBoolValFieldNumber = 11,
178     kDcomplexValFieldNumber = 12,
179     kHalfValFieldNumber = 13,
180     kResourceHandleValFieldNumber = 14,
181     kVariantValFieldNumber = 15,
182     kUint32ValFieldNumber = 16,
183     kUint64ValFieldNumber = 17,
184     kTensorContentFieldNumber = 4,
185     kTensorShapeFieldNumber = 2,
186     kDtypeFieldNumber = 1,
187     kVersionNumberFieldNumber = 3,
188   };
189   // repeated float float_val = 5 [packed = true];
190   int float_val_size() const;
191   private:
192   int _internal_float_val_size() const;
193   public:
194   void clear_float_val();
195   private:
196   float _internal_float_val(int index) const;
197   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
198       _internal_float_val() const;
199   void _internal_add_float_val(float value);
200   ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
201       _internal_mutable_float_val();
202   public:
203   float float_val(int index) const;
204   void set_float_val(int index, float value);
205   void add_float_val(float value);
206   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
207       float_val() const;
208   ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
209       mutable_float_val();
210 
211   // repeated double double_val = 6 [packed = true];
212   int double_val_size() const;
213   private:
214   int _internal_double_val_size() const;
215   public:
216   void clear_double_val();
217   private:
218   double _internal_double_val(int index) const;
219   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
220       _internal_double_val() const;
221   void _internal_add_double_val(double value);
222   ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
223       _internal_mutable_double_val();
224   public:
225   double double_val(int index) const;
226   void set_double_val(int index, double value);
227   void add_double_val(double value);
228   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
229       double_val() const;
230   ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
231       mutable_double_val();
232 
233   // repeated int32 int_val = 7 [packed = true];
234   int int_val_size() const;
235   private:
236   int _internal_int_val_size() const;
237   public:
238   void clear_int_val();
239   private:
240   ::int32_t _internal_int_val(int index) const;
241   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
242       _internal_int_val() const;
243   void _internal_add_int_val(::int32_t value);
244   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
245       _internal_mutable_int_val();
246   public:
247   ::int32_t int_val(int index) const;
248   void set_int_val(int index, ::int32_t value);
249   void add_int_val(::int32_t value);
250   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
251       int_val() const;
252   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
253       mutable_int_val();
254 
255   // repeated bytes string_val = 8;
256   int string_val_size() const;
257   private:
258   int _internal_string_val_size() const;
259   public:
260   void clear_string_val();
261   const std::string& string_val(int index) const;
262   std::string* mutable_string_val(int index);
263   void set_string_val(int index, const std::string& value);
264   void set_string_val(int index, std::string&& value);
265   void set_string_val(int index, const char* value);
266   void set_string_val(int index, const void* value, size_t size);
267   std::string* add_string_val();
268   void add_string_val(const std::string& value);
269   void add_string_val(std::string&& value);
270   void add_string_val(const char* value);
271   void add_string_val(const void* value, size_t size);
272   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& string_val() const;
273   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_string_val();
274   private:
275   const std::string& _internal_string_val(int index) const;
276   std::string* _internal_add_string_val();
277   public:
278 
279   // repeated float scomplex_val = 9 [packed = true];
280   int scomplex_val_size() const;
281   private:
282   int _internal_scomplex_val_size() const;
283   public:
284   void clear_scomplex_val();
285   private:
286   float _internal_scomplex_val(int index) const;
287   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
288       _internal_scomplex_val() const;
289   void _internal_add_scomplex_val(float value);
290   ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
291       _internal_mutable_scomplex_val();
292   public:
293   float scomplex_val(int index) const;
294   void set_scomplex_val(int index, float value);
295   void add_scomplex_val(float value);
296   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
297       scomplex_val() const;
298   ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
299       mutable_scomplex_val();
300 
301   // repeated int64 int64_val = 10 [packed = true];
302   int int64_val_size() const;
303   private:
304   int _internal_int64_val_size() const;
305   public:
306   void clear_int64_val();
307   private:
308   ::int64_t _internal_int64_val(int index) const;
309   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
310       _internal_int64_val() const;
311   void _internal_add_int64_val(::int64_t value);
312   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
313       _internal_mutable_int64_val();
314   public:
315   ::int64_t int64_val(int index) const;
316   void set_int64_val(int index, ::int64_t value);
317   void add_int64_val(::int64_t value);
318   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
319       int64_val() const;
320   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
321       mutable_int64_val();
322 
323   // repeated bool bool_val = 11 [packed = true];
324   int bool_val_size() const;
325   private:
326   int _internal_bool_val_size() const;
327   public:
328   void clear_bool_val();
329   private:
330   bool _internal_bool_val(int index) const;
331   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
332       _internal_bool_val() const;
333   void _internal_add_bool_val(bool value);
334   ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
335       _internal_mutable_bool_val();
336   public:
337   bool bool_val(int index) const;
338   void set_bool_val(int index, bool value);
339   void add_bool_val(bool value);
340   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
341       bool_val() const;
342   ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
343       mutable_bool_val();
344 
345   // repeated double dcomplex_val = 12 [packed = true];
346   int dcomplex_val_size() const;
347   private:
348   int _internal_dcomplex_val_size() const;
349   public:
350   void clear_dcomplex_val();
351   private:
352   double _internal_dcomplex_val(int index) const;
353   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
354       _internal_dcomplex_val() const;
355   void _internal_add_dcomplex_val(double value);
356   ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
357       _internal_mutable_dcomplex_val();
358   public:
359   double dcomplex_val(int index) const;
360   void set_dcomplex_val(int index, double value);
361   void add_dcomplex_val(double value);
362   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
363       dcomplex_val() const;
364   ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
365       mutable_dcomplex_val();
366 
367   // repeated int32 half_val = 13 [packed = true];
368   int half_val_size() const;
369   private:
370   int _internal_half_val_size() const;
371   public:
372   void clear_half_val();
373   private:
374   ::int32_t _internal_half_val(int index) const;
375   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
376       _internal_half_val() const;
377   void _internal_add_half_val(::int32_t value);
378   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
379       _internal_mutable_half_val();
380   public:
381   ::int32_t half_val(int index) const;
382   void set_half_val(int index, ::int32_t value);
383   void add_half_val(::int32_t value);
384   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
385       half_val() const;
386   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
387       mutable_half_val();
388 
389   // repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
390   int resource_handle_val_size() const;
391   private:
392   int _internal_resource_handle_val_size() const;
393   public:
394   void clear_resource_handle_val();
395   ::tensorflow::ResourceHandleProto* mutable_resource_handle_val(int index);
396   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ResourceHandleProto >*
397       mutable_resource_handle_val();
398   private:
399   const ::tensorflow::ResourceHandleProto& _internal_resource_handle_val(int index) const;
400   ::tensorflow::ResourceHandleProto* _internal_add_resource_handle_val();
401   public:
402   const ::tensorflow::ResourceHandleProto& resource_handle_val(int index) const;
403   ::tensorflow::ResourceHandleProto* add_resource_handle_val();
404   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ResourceHandleProto >&
405       resource_handle_val() const;
406 
407   // repeated .tensorflow.VariantTensorDataProto variant_val = 15;
408   int variant_val_size() const;
409   private:
410   int _internal_variant_val_size() const;
411   public:
412   void clear_variant_val();
413   ::tensorflow::VariantTensorDataProto* mutable_variant_val(int index);
414   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::VariantTensorDataProto >*
415       mutable_variant_val();
416   private:
417   const ::tensorflow::VariantTensorDataProto& _internal_variant_val(int index) const;
418   ::tensorflow::VariantTensorDataProto* _internal_add_variant_val();
419   public:
420   const ::tensorflow::VariantTensorDataProto& variant_val(int index) const;
421   ::tensorflow::VariantTensorDataProto* add_variant_val();
422   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::VariantTensorDataProto >&
423       variant_val() const;
424 
425   // repeated uint32 uint32_val = 16 [packed = true];
426   int uint32_val_size() const;
427   private:
428   int _internal_uint32_val_size() const;
429   public:
430   void clear_uint32_val();
431   private:
432   ::uint32_t _internal_uint32_val(int index) const;
433   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint32_t >&
434       _internal_uint32_val() const;
435   void _internal_add_uint32_val(::uint32_t value);
436   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint32_t >*
437       _internal_mutable_uint32_val();
438   public:
439   ::uint32_t uint32_val(int index) const;
440   void set_uint32_val(int index, ::uint32_t value);
441   void add_uint32_val(::uint32_t value);
442   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint32_t >&
443       uint32_val() const;
444   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint32_t >*
445       mutable_uint32_val();
446 
447   // repeated uint64 uint64_val = 17 [packed = true];
448   int uint64_val_size() const;
449   private:
450   int _internal_uint64_val_size() const;
451   public:
452   void clear_uint64_val();
453   private:
454   ::uint64_t _internal_uint64_val(int index) const;
455   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >&
456       _internal_uint64_val() const;
457   void _internal_add_uint64_val(::uint64_t value);
458   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >*
459       _internal_mutable_uint64_val();
460   public:
461   ::uint64_t uint64_val(int index) const;
462   void set_uint64_val(int index, ::uint64_t value);
463   void add_uint64_val(::uint64_t value);
464   const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >&
465       uint64_val() const;
466   ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >*
467       mutable_uint64_val();
468 
469   // bytes tensor_content = 4;
470   void clear_tensor_content();
471   const std::string& tensor_content() const;
472   template <typename ArgT0 = const std::string&, typename... ArgT>
473   void set_tensor_content(ArgT0&& arg0, ArgT... args);
474   std::string* mutable_tensor_content();
475   PROTOBUF_NODISCARD std::string* release_tensor_content();
476   void set_allocated_tensor_content(std::string* tensor_content);
477   private:
478   const std::string& _internal_tensor_content() const;
479   inline PROTOBUF_ALWAYS_INLINE void _internal_set_tensor_content(const std::string& value);
480   std::string* _internal_mutable_tensor_content();
481   public:
482 
483   // .tensorflow.TensorShapeProto tensor_shape = 2;
484   bool has_tensor_shape() const;
485   private:
486   bool _internal_has_tensor_shape() const;
487   public:
488   void clear_tensor_shape();
489   const ::tensorflow::TensorShapeProto& tensor_shape() const;
490   PROTOBUF_NODISCARD ::tensorflow::TensorShapeProto* release_tensor_shape();
491   ::tensorflow::TensorShapeProto* mutable_tensor_shape();
492   void set_allocated_tensor_shape(::tensorflow::TensorShapeProto* tensor_shape);
493   private:
494   const ::tensorflow::TensorShapeProto& _internal_tensor_shape() const;
495   ::tensorflow::TensorShapeProto* _internal_mutable_tensor_shape();
496   public:
497   void unsafe_arena_set_allocated_tensor_shape(
498       ::tensorflow::TensorShapeProto* tensor_shape);
499   ::tensorflow::TensorShapeProto* unsafe_arena_release_tensor_shape();
500 
501   // .tensorflow.DataType dtype = 1;
502   void clear_dtype();
503   ::tensorflow::DataType dtype() const;
504   void set_dtype(::tensorflow::DataType value);
505   private:
506   ::tensorflow::DataType _internal_dtype() const;
507   void _internal_set_dtype(::tensorflow::DataType value);
508   public:
509 
510   // int32 version_number = 3;
511   void clear_version_number();
512   ::int32_t version_number() const;
513   void set_version_number(::int32_t value);
514   private:
515   ::int32_t _internal_version_number() const;
516   void _internal_set_version_number(::int32_t value);
517   public:
518 
519   // @@protoc_insertion_point(class_scope:tensorflow.TensorProto)
520  private:
521   class _Internal;
522 
523   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
524   typedef void InternalArenaConstructable_;
525   typedef void DestructorSkippable_;
526   struct Impl_ {
527     ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > float_val_;
528     ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > double_val_;
529     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > int_val_;
530     mutable std::atomic<int> _int_val_cached_byte_size_;
531     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> string_val_;
532     ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > scomplex_val_;
533     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t > int64_val_;
534     mutable std::atomic<int> _int64_val_cached_byte_size_;
535     ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool > bool_val_;
536     ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > dcomplex_val_;
537     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t > half_val_;
538     mutable std::atomic<int> _half_val_cached_byte_size_;
539     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ResourceHandleProto > resource_handle_val_;
540     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::VariantTensorDataProto > variant_val_;
541     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint32_t > uint32_val_;
542     mutable std::atomic<int> _uint32_val_cached_byte_size_;
543     ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t > uint64_val_;
544     mutable std::atomic<int> _uint64_val_cached_byte_size_;
545     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tensor_content_;
546     ::tensorflow::TensorShapeProto* tensor_shape_;
547     int dtype_;
548     ::int32_t version_number_;
549     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
550   };
551   union { Impl_ _impl_; };
552   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ftensor_2eproto;
553 };
554 // -------------------------------------------------------------------
555 
556 class VariantTensorDataProto final :
557     public ::PROTOBUF_NAMESPACE_ID::MessageLite /* @@protoc_insertion_point(class_definition:tensorflow.VariantTensorDataProto) */ {
558  public:
VariantTensorDataProto()559   inline VariantTensorDataProto() : VariantTensorDataProto(nullptr) {}
560   ~VariantTensorDataProto() override;
561   explicit PROTOBUF_CONSTEXPR VariantTensorDataProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
562 
563   VariantTensorDataProto(const VariantTensorDataProto& from);
VariantTensorDataProto(VariantTensorDataProto && from)564   VariantTensorDataProto(VariantTensorDataProto&& from) noexcept
565     : VariantTensorDataProto() {
566     *this = ::std::move(from);
567   }
568 
569   inline VariantTensorDataProto& operator=(const VariantTensorDataProto& from) {
570     if (this == &from) return *this;
571     CopyFrom(from);
572     return *this;
573   }
574   inline VariantTensorDataProto& operator=(VariantTensorDataProto&& from) noexcept {
575     if (this == &from) return *this;
576     if (GetOwningArena() == from.GetOwningArena()
577   #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
578         && GetOwningArena() != nullptr
579   #endif  // !PROTOBUF_FORCE_COPY_IN_MOVE
580     ) {
581       InternalSwap(&from);
582     } else {
583       CopyFrom(from);
584     }
585     return *this;
586   }
587 
default_instance()588   static const VariantTensorDataProto& default_instance() {
589     return *internal_default_instance();
590   }
internal_default_instance()591   static inline const VariantTensorDataProto* internal_default_instance() {
592     return reinterpret_cast<const VariantTensorDataProto*>(
593                &_VariantTensorDataProto_default_instance_);
594   }
595   static constexpr int kIndexInFileMessages =
596     1;
597 
swap(VariantTensorDataProto & a,VariantTensorDataProto & b)598   friend void swap(VariantTensorDataProto& a, VariantTensorDataProto& b) {
599     a.Swap(&b);
600   }
Swap(VariantTensorDataProto * other)601   inline void Swap(VariantTensorDataProto* other) {
602     if (other == this) return;
603   #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
604     if (GetOwningArena() != nullptr &&
605         GetOwningArena() == other->GetOwningArena()) {
606    #else  // PROTOBUF_FORCE_COPY_IN_SWAP
607     if (GetOwningArena() == other->GetOwningArena()) {
608   #endif  // !PROTOBUF_FORCE_COPY_IN_SWAP
609       InternalSwap(other);
610     } else {
611       ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
612     }
613   }
614   void UnsafeArenaSwap(VariantTensorDataProto* other) {
615     if (other == this) return;
616     GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
617     InternalSwap(other);
618   }
619 
620   // implements Message ----------------------------------------------
621 
622   VariantTensorDataProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final {
623     return CreateMaybeMessage<VariantTensorDataProto>(arena);
624   }
625   VariantTensorDataProto* New() const {
626     return New(nullptr);
627   }
628   void CheckTypeAndMergeFrom(const ::PROTOBUF_NAMESPACE_ID::MessageLite& from)  final;
629   void CopyFrom(const VariantTensorDataProto& from);
630   void MergeFrom(const VariantTensorDataProto& from);
631   PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
632   bool IsInitialized() const final;
633 
634   size_t ByteSizeLong() const final;
635   const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
636   ::uint8_t* _InternalSerialize(
637       ::uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
638   int GetCachedSize() const final { return _impl_._cached_size_.Get(); }
639 
640   private:
641   void SharedCtor(::PROTOBUF_NAMESPACE_ID::Arena* arena, bool is_message_owned);
642   void SharedDtor();
643   void SetCachedSize(int size) const;
644   void InternalSwap(VariantTensorDataProto* other);
645 
646   private:
647   friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
648   static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
649     return "tensorflow.VariantTensorDataProto";
650   }
651   protected:
652   explicit VariantTensorDataProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
653                        bool is_message_owned = false);
654   public:
655 
656   std::string GetTypeName() const final;
657 
658   // nested types ----------------------------------------------------
659 
660   // accessors -------------------------------------------------------
661 
662   enum : int {
663     kTensorsFieldNumber = 3,
664     kTypeNameFieldNumber = 1,
665     kMetadataFieldNumber = 2,
666   };
667   // repeated .tensorflow.TensorProto tensors = 3;
668   int tensors_size() const;
669   private:
670   int _internal_tensors_size() const;
671   public:
672   void clear_tensors();
673   ::tensorflow::TensorProto* mutable_tensors(int index);
674   ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >*
675       mutable_tensors();
676   private:
677   const ::tensorflow::TensorProto& _internal_tensors(int index) const;
678   ::tensorflow::TensorProto* _internal_add_tensors();
679   public:
680   const ::tensorflow::TensorProto& tensors(int index) const;
681   ::tensorflow::TensorProto* add_tensors();
682   const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >&
683       tensors() const;
684 
685   // string type_name = 1;
686   void clear_type_name();
687   const std::string& type_name() const;
688   template <typename ArgT0 = const std::string&, typename... ArgT>
689   void set_type_name(ArgT0&& arg0, ArgT... args);
690   std::string* mutable_type_name();
691   PROTOBUF_NODISCARD std::string* release_type_name();
692   void set_allocated_type_name(std::string* type_name);
693   private:
694   const std::string& _internal_type_name() const;
695   inline PROTOBUF_ALWAYS_INLINE void _internal_set_type_name(const std::string& value);
696   std::string* _internal_mutable_type_name();
697   public:
698 
699   // bytes metadata = 2;
700   void clear_metadata();
701   const std::string& metadata() const;
702   template <typename ArgT0 = const std::string&, typename... ArgT>
703   void set_metadata(ArgT0&& arg0, ArgT... args);
704   std::string* mutable_metadata();
705   PROTOBUF_NODISCARD std::string* release_metadata();
706   void set_allocated_metadata(std::string* metadata);
707   private:
708   const std::string& _internal_metadata() const;
709   inline PROTOBUF_ALWAYS_INLINE void _internal_set_metadata(const std::string& value);
710   std::string* _internal_mutable_metadata();
711   public:
712 
713   // @@protoc_insertion_point(class_scope:tensorflow.VariantTensorDataProto)
714  private:
715   class _Internal;
716 
717   template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
718   typedef void InternalArenaConstructable_;
719   typedef void DestructorSkippable_;
720   struct Impl_ {
721     ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto > tensors_;
722     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr type_name_;
723     ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr metadata_;
724     mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
725   };
726   union { Impl_ _impl_; };
727   friend struct ::TableStruct_tensorflow_2fcore_2fframework_2ftensor_2eproto;
728 };
729 // ===================================================================
730 
731 
732 // ===================================================================
733 
734 #ifdef __GNUC__
735   #pragma GCC diagnostic push
736   #pragma GCC diagnostic ignored "-Wstrict-aliasing"
737 #endif  // __GNUC__
738 // TensorProto
739 
740 // .tensorflow.DataType dtype = 1;
clear_dtype()741 inline void TensorProto::clear_dtype() {
742   _impl_.dtype_ = 0;
743 }
_internal_dtype()744 inline ::tensorflow::DataType TensorProto::_internal_dtype() const {
745   return static_cast< ::tensorflow::DataType >(_impl_.dtype_);
746 }
dtype()747 inline ::tensorflow::DataType TensorProto::dtype() const {
748   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.dtype)
749   return _internal_dtype();
750 }
_internal_set_dtype(::tensorflow::DataType value)751 inline void TensorProto::_internal_set_dtype(::tensorflow::DataType value) {
752 
753   _impl_.dtype_ = value;
754 }
set_dtype(::tensorflow::DataType value)755 inline void TensorProto::set_dtype(::tensorflow::DataType value) {
756   _internal_set_dtype(value);
757   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.dtype)
758 }
759 
760 // .tensorflow.TensorShapeProto tensor_shape = 2;
_internal_has_tensor_shape()761 inline bool TensorProto::_internal_has_tensor_shape() const {
762   return this != internal_default_instance() && _impl_.tensor_shape_ != nullptr;
763 }
has_tensor_shape()764 inline bool TensorProto::has_tensor_shape() const {
765   return _internal_has_tensor_shape();
766 }
_internal_tensor_shape()767 inline const ::tensorflow::TensorShapeProto& TensorProto::_internal_tensor_shape() const {
768   const ::tensorflow::TensorShapeProto* p = _impl_.tensor_shape_;
769   return p != nullptr ? *p : reinterpret_cast<const ::tensorflow::TensorShapeProto&>(
770       ::tensorflow::_TensorShapeProto_default_instance_);
771 }
tensor_shape()772 inline const ::tensorflow::TensorShapeProto& TensorProto::tensor_shape() const {
773   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.tensor_shape)
774   return _internal_tensor_shape();
775 }
unsafe_arena_set_allocated_tensor_shape(::tensorflow::TensorShapeProto * tensor_shape)776 inline void TensorProto::unsafe_arena_set_allocated_tensor_shape(
777     ::tensorflow::TensorShapeProto* tensor_shape) {
778   if (GetArenaForAllocation() == nullptr) {
779     delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tensor_shape_);
780   }
781   _impl_.tensor_shape_ = tensor_shape;
782   // @@protoc_insertion_point(field_unsafe_arena_set_allocated:tensorflow.TensorProto.tensor_shape)
783 }
release_tensor_shape()784 inline ::tensorflow::TensorShapeProto* TensorProto::release_tensor_shape() {
785 
786   ::tensorflow::TensorShapeProto* temp = _impl_.tensor_shape_;
787   _impl_.tensor_shape_ = nullptr;
788 #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
789   auto* old =  reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
790   temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
791   if (GetArenaForAllocation() == nullptr) { delete old; }
792 #else  // PROTOBUF_FORCE_COPY_IN_RELEASE
793   if (GetArenaForAllocation() != nullptr) {
794     temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
795   }
796 #endif  // !PROTOBUF_FORCE_COPY_IN_RELEASE
797   return temp;
798 }
unsafe_arena_release_tensor_shape()799 inline ::tensorflow::TensorShapeProto* TensorProto::unsafe_arena_release_tensor_shape() {
800   // @@protoc_insertion_point(field_release:tensorflow.TensorProto.tensor_shape)
801 
802   ::tensorflow::TensorShapeProto* temp = _impl_.tensor_shape_;
803   _impl_.tensor_shape_ = nullptr;
804   return temp;
805 }
_internal_mutable_tensor_shape()806 inline ::tensorflow::TensorShapeProto* TensorProto::_internal_mutable_tensor_shape() {
807 
808   if (_impl_.tensor_shape_ == nullptr) {
809     auto* p = CreateMaybeMessage<::tensorflow::TensorShapeProto>(GetArenaForAllocation());
810     _impl_.tensor_shape_ = p;
811   }
812   return _impl_.tensor_shape_;
813 }
mutable_tensor_shape()814 inline ::tensorflow::TensorShapeProto* TensorProto::mutable_tensor_shape() {
815   ::tensorflow::TensorShapeProto* _msg = _internal_mutable_tensor_shape();
816   // @@protoc_insertion_point(field_mutable:tensorflow.TensorProto.tensor_shape)
817   return _msg;
818 }
set_allocated_tensor_shape(::tensorflow::TensorShapeProto * tensor_shape)819 inline void TensorProto::set_allocated_tensor_shape(::tensorflow::TensorShapeProto* tensor_shape) {
820   ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
821   if (message_arena == nullptr) {
822     delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(_impl_.tensor_shape_);
823   }
824   if (tensor_shape) {
825     ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
826         ::PROTOBUF_NAMESPACE_ID::Arena::InternalGetOwningArena(
827                 reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_shape));
828     if (message_arena != submessage_arena) {
829       tensor_shape = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
830           message_arena, tensor_shape, submessage_arena);
831     }
832 
833   } else {
834 
835   }
836   _impl_.tensor_shape_ = tensor_shape;
837   // @@protoc_insertion_point(field_set_allocated:tensorflow.TensorProto.tensor_shape)
838 }
839 
840 // int32 version_number = 3;
clear_version_number()841 inline void TensorProto::clear_version_number() {
842   _impl_.version_number_ = 0;
843 }
_internal_version_number()844 inline ::int32_t TensorProto::_internal_version_number() const {
845   return _impl_.version_number_;
846 }
version_number()847 inline ::int32_t TensorProto::version_number() const {
848   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.version_number)
849   return _internal_version_number();
850 }
_internal_set_version_number(::int32_t value)851 inline void TensorProto::_internal_set_version_number(::int32_t value) {
852 
853   _impl_.version_number_ = value;
854 }
set_version_number(::int32_t value)855 inline void TensorProto::set_version_number(::int32_t value) {
856   _internal_set_version_number(value);
857   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.version_number)
858 }
859 
860 // bytes tensor_content = 4;
clear_tensor_content()861 inline void TensorProto::clear_tensor_content() {
862   _impl_.tensor_content_.ClearToEmpty();
863 }
tensor_content()864 inline const std::string& TensorProto::tensor_content() const {
865   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.tensor_content)
866   return _internal_tensor_content();
867 }
868 template <typename ArgT0, typename... ArgT>
869 inline PROTOBUF_ALWAYS_INLINE
set_tensor_content(ArgT0 && arg0,ArgT...args)870 void TensorProto::set_tensor_content(ArgT0&& arg0, ArgT... args) {
871 
872  _impl_.tensor_content_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
873   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.tensor_content)
874 }
mutable_tensor_content()875 inline std::string* TensorProto::mutable_tensor_content() {
876   std::string* _s = _internal_mutable_tensor_content();
877   // @@protoc_insertion_point(field_mutable:tensorflow.TensorProto.tensor_content)
878   return _s;
879 }
_internal_tensor_content()880 inline const std::string& TensorProto::_internal_tensor_content() const {
881   return _impl_.tensor_content_.Get();
882 }
_internal_set_tensor_content(const std::string & value)883 inline void TensorProto::_internal_set_tensor_content(const std::string& value) {
884 
885   _impl_.tensor_content_.Set(value, GetArenaForAllocation());
886 }
_internal_mutable_tensor_content()887 inline std::string* TensorProto::_internal_mutable_tensor_content() {
888 
889   return _impl_.tensor_content_.Mutable(GetArenaForAllocation());
890 }
release_tensor_content()891 inline std::string* TensorProto::release_tensor_content() {
892   // @@protoc_insertion_point(field_release:tensorflow.TensorProto.tensor_content)
893   return _impl_.tensor_content_.Release();
894 }
set_allocated_tensor_content(std::string * tensor_content)895 inline void TensorProto::set_allocated_tensor_content(std::string* tensor_content) {
896   _impl_.tensor_content_.SetAllocated(tensor_content, GetArenaForAllocation());
897 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
898   if (_impl_.tensor_content_.IsDefault()) {
899     _impl_.tensor_content_.Set("", GetArenaForAllocation());
900   }
901 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
902   // @@protoc_insertion_point(field_set_allocated:tensorflow.TensorProto.tensor_content)
903 }
904 
905 // repeated int32 half_val = 13 [packed = true];
_internal_half_val_size()906 inline int TensorProto::_internal_half_val_size() const {
907   return _impl_.half_val_.size();
908 }
half_val_size()909 inline int TensorProto::half_val_size() const {
910   return _internal_half_val_size();
911 }
clear_half_val()912 inline void TensorProto::clear_half_val() {
913   _impl_.half_val_.Clear();
914 }
_internal_half_val(int index)915 inline ::int32_t TensorProto::_internal_half_val(int index) const {
916   return _impl_.half_val_.Get(index);
917 }
half_val(int index)918 inline ::int32_t TensorProto::half_val(int index) const {
919   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.half_val)
920   return _internal_half_val(index);
921 }
set_half_val(int index,::int32_t value)922 inline void TensorProto::set_half_val(int index, ::int32_t value) {
923   _impl_.half_val_.Set(index, value);
924   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.half_val)
925 }
_internal_add_half_val(::int32_t value)926 inline void TensorProto::_internal_add_half_val(::int32_t value) {
927   _impl_.half_val_.Add(value);
928 }
add_half_val(::int32_t value)929 inline void TensorProto::add_half_val(::int32_t value) {
930   _internal_add_half_val(value);
931   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.half_val)
932 }
933 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
_internal_half_val()934 TensorProto::_internal_half_val() const {
935   return _impl_.half_val_;
936 }
937 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
half_val()938 TensorProto::half_val() const {
939   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.half_val)
940   return _internal_half_val();
941 }
942 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
_internal_mutable_half_val()943 TensorProto::_internal_mutable_half_val() {
944   return &_impl_.half_val_;
945 }
946 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
mutable_half_val()947 TensorProto::mutable_half_val() {
948   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.half_val)
949   return _internal_mutable_half_val();
950 }
951 
952 // repeated float float_val = 5 [packed = true];
_internal_float_val_size()953 inline int TensorProto::_internal_float_val_size() const {
954   return _impl_.float_val_.size();
955 }
float_val_size()956 inline int TensorProto::float_val_size() const {
957   return _internal_float_val_size();
958 }
clear_float_val()959 inline void TensorProto::clear_float_val() {
960   _impl_.float_val_.Clear();
961 }
_internal_float_val(int index)962 inline float TensorProto::_internal_float_val(int index) const {
963   return _impl_.float_val_.Get(index);
964 }
float_val(int index)965 inline float TensorProto::float_val(int index) const {
966   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.float_val)
967   return _internal_float_val(index);
968 }
set_float_val(int index,float value)969 inline void TensorProto::set_float_val(int index, float value) {
970   _impl_.float_val_.Set(index, value);
971   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.float_val)
972 }
_internal_add_float_val(float value)973 inline void TensorProto::_internal_add_float_val(float value) {
974   _impl_.float_val_.Add(value);
975 }
add_float_val(float value)976 inline void TensorProto::add_float_val(float value) {
977   _internal_add_float_val(value);
978   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.float_val)
979 }
980 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
_internal_float_val()981 TensorProto::_internal_float_val() const {
982   return _impl_.float_val_;
983 }
984 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
float_val()985 TensorProto::float_val() const {
986   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.float_val)
987   return _internal_float_val();
988 }
989 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
_internal_mutable_float_val()990 TensorProto::_internal_mutable_float_val() {
991   return &_impl_.float_val_;
992 }
993 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
mutable_float_val()994 TensorProto::mutable_float_val() {
995   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.float_val)
996   return _internal_mutable_float_val();
997 }
998 
999 // repeated double double_val = 6 [packed = true];
_internal_double_val_size()1000 inline int TensorProto::_internal_double_val_size() const {
1001   return _impl_.double_val_.size();
1002 }
double_val_size()1003 inline int TensorProto::double_val_size() const {
1004   return _internal_double_val_size();
1005 }
clear_double_val()1006 inline void TensorProto::clear_double_val() {
1007   _impl_.double_val_.Clear();
1008 }
_internal_double_val(int index)1009 inline double TensorProto::_internal_double_val(int index) const {
1010   return _impl_.double_val_.Get(index);
1011 }
double_val(int index)1012 inline double TensorProto::double_val(int index) const {
1013   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.double_val)
1014   return _internal_double_val(index);
1015 }
set_double_val(int index,double value)1016 inline void TensorProto::set_double_val(int index, double value) {
1017   _impl_.double_val_.Set(index, value);
1018   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.double_val)
1019 }
_internal_add_double_val(double value)1020 inline void TensorProto::_internal_add_double_val(double value) {
1021   _impl_.double_val_.Add(value);
1022 }
add_double_val(double value)1023 inline void TensorProto::add_double_val(double value) {
1024   _internal_add_double_val(value);
1025   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.double_val)
1026 }
1027 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
_internal_double_val()1028 TensorProto::_internal_double_val() const {
1029   return _impl_.double_val_;
1030 }
1031 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
double_val()1032 TensorProto::double_val() const {
1033   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.double_val)
1034   return _internal_double_val();
1035 }
1036 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
_internal_mutable_double_val()1037 TensorProto::_internal_mutable_double_val() {
1038   return &_impl_.double_val_;
1039 }
1040 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
mutable_double_val()1041 TensorProto::mutable_double_val() {
1042   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.double_val)
1043   return _internal_mutable_double_val();
1044 }
1045 
1046 // repeated int32 int_val = 7 [packed = true];
_internal_int_val_size()1047 inline int TensorProto::_internal_int_val_size() const {
1048   return _impl_.int_val_.size();
1049 }
int_val_size()1050 inline int TensorProto::int_val_size() const {
1051   return _internal_int_val_size();
1052 }
clear_int_val()1053 inline void TensorProto::clear_int_val() {
1054   _impl_.int_val_.Clear();
1055 }
_internal_int_val(int index)1056 inline ::int32_t TensorProto::_internal_int_val(int index) const {
1057   return _impl_.int_val_.Get(index);
1058 }
int_val(int index)1059 inline ::int32_t TensorProto::int_val(int index) const {
1060   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.int_val)
1061   return _internal_int_val(index);
1062 }
set_int_val(int index,::int32_t value)1063 inline void TensorProto::set_int_val(int index, ::int32_t value) {
1064   _impl_.int_val_.Set(index, value);
1065   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.int_val)
1066 }
_internal_add_int_val(::int32_t value)1067 inline void TensorProto::_internal_add_int_val(::int32_t value) {
1068   _impl_.int_val_.Add(value);
1069 }
add_int_val(::int32_t value)1070 inline void TensorProto::add_int_val(::int32_t value) {
1071   _internal_add_int_val(value);
1072   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.int_val)
1073 }
1074 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
_internal_int_val()1075 TensorProto::_internal_int_val() const {
1076   return _impl_.int_val_;
1077 }
1078 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >&
int_val()1079 TensorProto::int_val() const {
1080   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.int_val)
1081   return _internal_int_val();
1082 }
1083 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
_internal_mutable_int_val()1084 TensorProto::_internal_mutable_int_val() {
1085   return &_impl_.int_val_;
1086 }
1087 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int32_t >*
mutable_int_val()1088 TensorProto::mutable_int_val() {
1089   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.int_val)
1090   return _internal_mutable_int_val();
1091 }
1092 
1093 // repeated bytes string_val = 8;
_internal_string_val_size()1094 inline int TensorProto::_internal_string_val_size() const {
1095   return _impl_.string_val_.size();
1096 }
string_val_size()1097 inline int TensorProto::string_val_size() const {
1098   return _internal_string_val_size();
1099 }
clear_string_val()1100 inline void TensorProto::clear_string_val() {
1101   _impl_.string_val_.Clear();
1102 }
add_string_val()1103 inline std::string* TensorProto::add_string_val() {
1104   std::string* _s = _internal_add_string_val();
1105   // @@protoc_insertion_point(field_add_mutable:tensorflow.TensorProto.string_val)
1106   return _s;
1107 }
_internal_string_val(int index)1108 inline const std::string& TensorProto::_internal_string_val(int index) const {
1109   return _impl_.string_val_.Get(index);
1110 }
string_val(int index)1111 inline const std::string& TensorProto::string_val(int index) const {
1112   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.string_val)
1113   return _internal_string_val(index);
1114 }
mutable_string_val(int index)1115 inline std::string* TensorProto::mutable_string_val(int index) {
1116   // @@protoc_insertion_point(field_mutable:tensorflow.TensorProto.string_val)
1117   return _impl_.string_val_.Mutable(index);
1118 }
set_string_val(int index,const std::string & value)1119 inline void TensorProto::set_string_val(int index, const std::string& value) {
1120   _impl_.string_val_.Mutable(index)->assign(value);
1121   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.string_val)
1122 }
set_string_val(int index,std::string && value)1123 inline void TensorProto::set_string_val(int index, std::string&& value) {
1124   _impl_.string_val_.Mutable(index)->assign(std::move(value));
1125   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.string_val)
1126 }
set_string_val(int index,const char * value)1127 inline void TensorProto::set_string_val(int index, const char* value) {
1128   GOOGLE_DCHECK(value != nullptr);
1129   _impl_.string_val_.Mutable(index)->assign(value);
1130   // @@protoc_insertion_point(field_set_char:tensorflow.TensorProto.string_val)
1131 }
set_string_val(int index,const void * value,size_t size)1132 inline void TensorProto::set_string_val(int index, const void* value, size_t size) {
1133   _impl_.string_val_.Mutable(index)->assign(
1134     reinterpret_cast<const char*>(value), size);
1135   // @@protoc_insertion_point(field_set_pointer:tensorflow.TensorProto.string_val)
1136 }
_internal_add_string_val()1137 inline std::string* TensorProto::_internal_add_string_val() {
1138   return _impl_.string_val_.Add();
1139 }
add_string_val(const std::string & value)1140 inline void TensorProto::add_string_val(const std::string& value) {
1141   _impl_.string_val_.Add()->assign(value);
1142   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.string_val)
1143 }
add_string_val(std::string && value)1144 inline void TensorProto::add_string_val(std::string&& value) {
1145   _impl_.string_val_.Add(std::move(value));
1146   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.string_val)
1147 }
add_string_val(const char * value)1148 inline void TensorProto::add_string_val(const char* value) {
1149   GOOGLE_DCHECK(value != nullptr);
1150   _impl_.string_val_.Add()->assign(value);
1151   // @@protoc_insertion_point(field_add_char:tensorflow.TensorProto.string_val)
1152 }
add_string_val(const void * value,size_t size)1153 inline void TensorProto::add_string_val(const void* value, size_t size) {
1154   _impl_.string_val_.Add()->assign(reinterpret_cast<const char*>(value), size);
1155   // @@protoc_insertion_point(field_add_pointer:tensorflow.TensorProto.string_val)
1156 }
1157 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
string_val()1158 TensorProto::string_val() const {
1159   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.string_val)
1160   return _impl_.string_val_;
1161 }
1162 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
mutable_string_val()1163 TensorProto::mutable_string_val() {
1164   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.string_val)
1165   return &_impl_.string_val_;
1166 }
1167 
1168 // repeated float scomplex_val = 9 [packed = true];
_internal_scomplex_val_size()1169 inline int TensorProto::_internal_scomplex_val_size() const {
1170   return _impl_.scomplex_val_.size();
1171 }
scomplex_val_size()1172 inline int TensorProto::scomplex_val_size() const {
1173   return _internal_scomplex_val_size();
1174 }
clear_scomplex_val()1175 inline void TensorProto::clear_scomplex_val() {
1176   _impl_.scomplex_val_.Clear();
1177 }
_internal_scomplex_val(int index)1178 inline float TensorProto::_internal_scomplex_val(int index) const {
1179   return _impl_.scomplex_val_.Get(index);
1180 }
scomplex_val(int index)1181 inline float TensorProto::scomplex_val(int index) const {
1182   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.scomplex_val)
1183   return _internal_scomplex_val(index);
1184 }
set_scomplex_val(int index,float value)1185 inline void TensorProto::set_scomplex_val(int index, float value) {
1186   _impl_.scomplex_val_.Set(index, value);
1187   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.scomplex_val)
1188 }
_internal_add_scomplex_val(float value)1189 inline void TensorProto::_internal_add_scomplex_val(float value) {
1190   _impl_.scomplex_val_.Add(value);
1191 }
add_scomplex_val(float value)1192 inline void TensorProto::add_scomplex_val(float value) {
1193   _internal_add_scomplex_val(value);
1194   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.scomplex_val)
1195 }
1196 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
_internal_scomplex_val()1197 TensorProto::_internal_scomplex_val() const {
1198   return _impl_.scomplex_val_;
1199 }
1200 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
scomplex_val()1201 TensorProto::scomplex_val() const {
1202   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.scomplex_val)
1203   return _internal_scomplex_val();
1204 }
1205 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
_internal_mutable_scomplex_val()1206 TensorProto::_internal_mutable_scomplex_val() {
1207   return &_impl_.scomplex_val_;
1208 }
1209 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
mutable_scomplex_val()1210 TensorProto::mutable_scomplex_val() {
1211   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.scomplex_val)
1212   return _internal_mutable_scomplex_val();
1213 }
1214 
1215 // repeated int64 int64_val = 10 [packed = true];
_internal_int64_val_size()1216 inline int TensorProto::_internal_int64_val_size() const {
1217   return _impl_.int64_val_.size();
1218 }
int64_val_size()1219 inline int TensorProto::int64_val_size() const {
1220   return _internal_int64_val_size();
1221 }
clear_int64_val()1222 inline void TensorProto::clear_int64_val() {
1223   _impl_.int64_val_.Clear();
1224 }
_internal_int64_val(int index)1225 inline ::int64_t TensorProto::_internal_int64_val(int index) const {
1226   return _impl_.int64_val_.Get(index);
1227 }
int64_val(int index)1228 inline ::int64_t TensorProto::int64_val(int index) const {
1229   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.int64_val)
1230   return _internal_int64_val(index);
1231 }
set_int64_val(int index,::int64_t value)1232 inline void TensorProto::set_int64_val(int index, ::int64_t value) {
1233   _impl_.int64_val_.Set(index, value);
1234   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.int64_val)
1235 }
_internal_add_int64_val(::int64_t value)1236 inline void TensorProto::_internal_add_int64_val(::int64_t value) {
1237   _impl_.int64_val_.Add(value);
1238 }
add_int64_val(::int64_t value)1239 inline void TensorProto::add_int64_val(::int64_t value) {
1240   _internal_add_int64_val(value);
1241   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.int64_val)
1242 }
1243 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
_internal_int64_val()1244 TensorProto::_internal_int64_val() const {
1245   return _impl_.int64_val_;
1246 }
1247 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >&
int64_val()1248 TensorProto::int64_val() const {
1249   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.int64_val)
1250   return _internal_int64_val();
1251 }
1252 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
_internal_mutable_int64_val()1253 TensorProto::_internal_mutable_int64_val() {
1254   return &_impl_.int64_val_;
1255 }
1256 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::int64_t >*
mutable_int64_val()1257 TensorProto::mutable_int64_val() {
1258   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.int64_val)
1259   return _internal_mutable_int64_val();
1260 }
1261 
1262 // repeated bool bool_val = 11 [packed = true];
_internal_bool_val_size()1263 inline int TensorProto::_internal_bool_val_size() const {
1264   return _impl_.bool_val_.size();
1265 }
bool_val_size()1266 inline int TensorProto::bool_val_size() const {
1267   return _internal_bool_val_size();
1268 }
clear_bool_val()1269 inline void TensorProto::clear_bool_val() {
1270   _impl_.bool_val_.Clear();
1271 }
_internal_bool_val(int index)1272 inline bool TensorProto::_internal_bool_val(int index) const {
1273   return _impl_.bool_val_.Get(index);
1274 }
bool_val(int index)1275 inline bool TensorProto::bool_val(int index) const {
1276   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.bool_val)
1277   return _internal_bool_val(index);
1278 }
set_bool_val(int index,bool value)1279 inline void TensorProto::set_bool_val(int index, bool value) {
1280   _impl_.bool_val_.Set(index, value);
1281   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.bool_val)
1282 }
_internal_add_bool_val(bool value)1283 inline void TensorProto::_internal_add_bool_val(bool value) {
1284   _impl_.bool_val_.Add(value);
1285 }
add_bool_val(bool value)1286 inline void TensorProto::add_bool_val(bool value) {
1287   _internal_add_bool_val(value);
1288   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.bool_val)
1289 }
1290 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
_internal_bool_val()1291 TensorProto::_internal_bool_val() const {
1292   return _impl_.bool_val_;
1293 }
1294 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
bool_val()1295 TensorProto::bool_val() const {
1296   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.bool_val)
1297   return _internal_bool_val();
1298 }
1299 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
_internal_mutable_bool_val()1300 TensorProto::_internal_mutable_bool_val() {
1301   return &_impl_.bool_val_;
1302 }
1303 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
mutable_bool_val()1304 TensorProto::mutable_bool_val() {
1305   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.bool_val)
1306   return _internal_mutable_bool_val();
1307 }
1308 
1309 // repeated double dcomplex_val = 12 [packed = true];
_internal_dcomplex_val_size()1310 inline int TensorProto::_internal_dcomplex_val_size() const {
1311   return _impl_.dcomplex_val_.size();
1312 }
dcomplex_val_size()1313 inline int TensorProto::dcomplex_val_size() const {
1314   return _internal_dcomplex_val_size();
1315 }
clear_dcomplex_val()1316 inline void TensorProto::clear_dcomplex_val() {
1317   _impl_.dcomplex_val_.Clear();
1318 }
_internal_dcomplex_val(int index)1319 inline double TensorProto::_internal_dcomplex_val(int index) const {
1320   return _impl_.dcomplex_val_.Get(index);
1321 }
dcomplex_val(int index)1322 inline double TensorProto::dcomplex_val(int index) const {
1323   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.dcomplex_val)
1324   return _internal_dcomplex_val(index);
1325 }
set_dcomplex_val(int index,double value)1326 inline void TensorProto::set_dcomplex_val(int index, double value) {
1327   _impl_.dcomplex_val_.Set(index, value);
1328   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.dcomplex_val)
1329 }
_internal_add_dcomplex_val(double value)1330 inline void TensorProto::_internal_add_dcomplex_val(double value) {
1331   _impl_.dcomplex_val_.Add(value);
1332 }
add_dcomplex_val(double value)1333 inline void TensorProto::add_dcomplex_val(double value) {
1334   _internal_add_dcomplex_val(value);
1335   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.dcomplex_val)
1336 }
1337 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
_internal_dcomplex_val()1338 TensorProto::_internal_dcomplex_val() const {
1339   return _impl_.dcomplex_val_;
1340 }
1341 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
dcomplex_val()1342 TensorProto::dcomplex_val() const {
1343   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.dcomplex_val)
1344   return _internal_dcomplex_val();
1345 }
1346 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
_internal_mutable_dcomplex_val()1347 TensorProto::_internal_mutable_dcomplex_val() {
1348   return &_impl_.dcomplex_val_;
1349 }
1350 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
mutable_dcomplex_val()1351 TensorProto::mutable_dcomplex_val() {
1352   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.dcomplex_val)
1353   return _internal_mutable_dcomplex_val();
1354 }
1355 
1356 // repeated .tensorflow.ResourceHandleProto resource_handle_val = 14;
_internal_resource_handle_val_size()1357 inline int TensorProto::_internal_resource_handle_val_size() const {
1358   return _impl_.resource_handle_val_.size();
1359 }
resource_handle_val_size()1360 inline int TensorProto::resource_handle_val_size() const {
1361   return _internal_resource_handle_val_size();
1362 }
mutable_resource_handle_val(int index)1363 inline ::tensorflow::ResourceHandleProto* TensorProto::mutable_resource_handle_val(int index) {
1364   // @@protoc_insertion_point(field_mutable:tensorflow.TensorProto.resource_handle_val)
1365   return _impl_.resource_handle_val_.Mutable(index);
1366 }
1367 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ResourceHandleProto >*
mutable_resource_handle_val()1368 TensorProto::mutable_resource_handle_val() {
1369   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.resource_handle_val)
1370   return &_impl_.resource_handle_val_;
1371 }
_internal_resource_handle_val(int index)1372 inline const ::tensorflow::ResourceHandleProto& TensorProto::_internal_resource_handle_val(int index) const {
1373   return _impl_.resource_handle_val_.Get(index);
1374 }
resource_handle_val(int index)1375 inline const ::tensorflow::ResourceHandleProto& TensorProto::resource_handle_val(int index) const {
1376   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.resource_handle_val)
1377   return _internal_resource_handle_val(index);
1378 }
_internal_add_resource_handle_val()1379 inline ::tensorflow::ResourceHandleProto* TensorProto::_internal_add_resource_handle_val() {
1380   return _impl_.resource_handle_val_.Add();
1381 }
add_resource_handle_val()1382 inline ::tensorflow::ResourceHandleProto* TensorProto::add_resource_handle_val() {
1383   ::tensorflow::ResourceHandleProto* _add = _internal_add_resource_handle_val();
1384   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.resource_handle_val)
1385   return _add;
1386 }
1387 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::ResourceHandleProto >&
resource_handle_val()1388 TensorProto::resource_handle_val() const {
1389   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.resource_handle_val)
1390   return _impl_.resource_handle_val_;
1391 }
1392 
1393 // repeated .tensorflow.VariantTensorDataProto variant_val = 15;
_internal_variant_val_size()1394 inline int TensorProto::_internal_variant_val_size() const {
1395   return _impl_.variant_val_.size();
1396 }
variant_val_size()1397 inline int TensorProto::variant_val_size() const {
1398   return _internal_variant_val_size();
1399 }
clear_variant_val()1400 inline void TensorProto::clear_variant_val() {
1401   _impl_.variant_val_.Clear();
1402 }
mutable_variant_val(int index)1403 inline ::tensorflow::VariantTensorDataProto* TensorProto::mutable_variant_val(int index) {
1404   // @@protoc_insertion_point(field_mutable:tensorflow.TensorProto.variant_val)
1405   return _impl_.variant_val_.Mutable(index);
1406 }
1407 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::VariantTensorDataProto >*
mutable_variant_val()1408 TensorProto::mutable_variant_val() {
1409   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.variant_val)
1410   return &_impl_.variant_val_;
1411 }
_internal_variant_val(int index)1412 inline const ::tensorflow::VariantTensorDataProto& TensorProto::_internal_variant_val(int index) const {
1413   return _impl_.variant_val_.Get(index);
1414 }
variant_val(int index)1415 inline const ::tensorflow::VariantTensorDataProto& TensorProto::variant_val(int index) const {
1416   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.variant_val)
1417   return _internal_variant_val(index);
1418 }
_internal_add_variant_val()1419 inline ::tensorflow::VariantTensorDataProto* TensorProto::_internal_add_variant_val() {
1420   return _impl_.variant_val_.Add();
1421 }
add_variant_val()1422 inline ::tensorflow::VariantTensorDataProto* TensorProto::add_variant_val() {
1423   ::tensorflow::VariantTensorDataProto* _add = _internal_add_variant_val();
1424   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.variant_val)
1425   return _add;
1426 }
1427 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::VariantTensorDataProto >&
variant_val()1428 TensorProto::variant_val() const {
1429   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.variant_val)
1430   return _impl_.variant_val_;
1431 }
1432 
1433 // repeated uint32 uint32_val = 16 [packed = true];
_internal_uint32_val_size()1434 inline int TensorProto::_internal_uint32_val_size() const {
1435   return _impl_.uint32_val_.size();
1436 }
uint32_val_size()1437 inline int TensorProto::uint32_val_size() const {
1438   return _internal_uint32_val_size();
1439 }
clear_uint32_val()1440 inline void TensorProto::clear_uint32_val() {
1441   _impl_.uint32_val_.Clear();
1442 }
_internal_uint32_val(int index)1443 inline ::uint32_t TensorProto::_internal_uint32_val(int index) const {
1444   return _impl_.uint32_val_.Get(index);
1445 }
uint32_val(int index)1446 inline ::uint32_t TensorProto::uint32_val(int index) const {
1447   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.uint32_val)
1448   return _internal_uint32_val(index);
1449 }
set_uint32_val(int index,::uint32_t value)1450 inline void TensorProto::set_uint32_val(int index, ::uint32_t value) {
1451   _impl_.uint32_val_.Set(index, value);
1452   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.uint32_val)
1453 }
_internal_add_uint32_val(::uint32_t value)1454 inline void TensorProto::_internal_add_uint32_val(::uint32_t value) {
1455   _impl_.uint32_val_.Add(value);
1456 }
add_uint32_val(::uint32_t value)1457 inline void TensorProto::add_uint32_val(::uint32_t value) {
1458   _internal_add_uint32_val(value);
1459   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.uint32_val)
1460 }
1461 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint32_t >&
_internal_uint32_val()1462 TensorProto::_internal_uint32_val() const {
1463   return _impl_.uint32_val_;
1464 }
1465 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint32_t >&
uint32_val()1466 TensorProto::uint32_val() const {
1467   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.uint32_val)
1468   return _internal_uint32_val();
1469 }
1470 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint32_t >*
_internal_mutable_uint32_val()1471 TensorProto::_internal_mutable_uint32_val() {
1472   return &_impl_.uint32_val_;
1473 }
1474 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint32_t >*
mutable_uint32_val()1475 TensorProto::mutable_uint32_val() {
1476   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.uint32_val)
1477   return _internal_mutable_uint32_val();
1478 }
1479 
1480 // repeated uint64 uint64_val = 17 [packed = true];
_internal_uint64_val_size()1481 inline int TensorProto::_internal_uint64_val_size() const {
1482   return _impl_.uint64_val_.size();
1483 }
uint64_val_size()1484 inline int TensorProto::uint64_val_size() const {
1485   return _internal_uint64_val_size();
1486 }
clear_uint64_val()1487 inline void TensorProto::clear_uint64_val() {
1488   _impl_.uint64_val_.Clear();
1489 }
_internal_uint64_val(int index)1490 inline ::uint64_t TensorProto::_internal_uint64_val(int index) const {
1491   return _impl_.uint64_val_.Get(index);
1492 }
uint64_val(int index)1493 inline ::uint64_t TensorProto::uint64_val(int index) const {
1494   // @@protoc_insertion_point(field_get:tensorflow.TensorProto.uint64_val)
1495   return _internal_uint64_val(index);
1496 }
set_uint64_val(int index,::uint64_t value)1497 inline void TensorProto::set_uint64_val(int index, ::uint64_t value) {
1498   _impl_.uint64_val_.Set(index, value);
1499   // @@protoc_insertion_point(field_set:tensorflow.TensorProto.uint64_val)
1500 }
_internal_add_uint64_val(::uint64_t value)1501 inline void TensorProto::_internal_add_uint64_val(::uint64_t value) {
1502   _impl_.uint64_val_.Add(value);
1503 }
add_uint64_val(::uint64_t value)1504 inline void TensorProto::add_uint64_val(::uint64_t value) {
1505   _internal_add_uint64_val(value);
1506   // @@protoc_insertion_point(field_add:tensorflow.TensorProto.uint64_val)
1507 }
1508 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >&
_internal_uint64_val()1509 TensorProto::_internal_uint64_val() const {
1510   return _impl_.uint64_val_;
1511 }
1512 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >&
uint64_val()1513 TensorProto::uint64_val() const {
1514   // @@protoc_insertion_point(field_list:tensorflow.TensorProto.uint64_val)
1515   return _internal_uint64_val();
1516 }
1517 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >*
_internal_mutable_uint64_val()1518 TensorProto::_internal_mutable_uint64_val() {
1519   return &_impl_.uint64_val_;
1520 }
1521 inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::uint64_t >*
mutable_uint64_val()1522 TensorProto::mutable_uint64_val() {
1523   // @@protoc_insertion_point(field_mutable_list:tensorflow.TensorProto.uint64_val)
1524   return _internal_mutable_uint64_val();
1525 }
1526 
1527 // -------------------------------------------------------------------
1528 
1529 // VariantTensorDataProto
1530 
1531 // string type_name = 1;
clear_type_name()1532 inline void VariantTensorDataProto::clear_type_name() {
1533   _impl_.type_name_.ClearToEmpty();
1534 }
type_name()1535 inline const std::string& VariantTensorDataProto::type_name() const {
1536   // @@protoc_insertion_point(field_get:tensorflow.VariantTensorDataProto.type_name)
1537   return _internal_type_name();
1538 }
1539 template <typename ArgT0, typename... ArgT>
1540 inline PROTOBUF_ALWAYS_INLINE
set_type_name(ArgT0 && arg0,ArgT...args)1541 void VariantTensorDataProto::set_type_name(ArgT0&& arg0, ArgT... args) {
1542 
1543  _impl_.type_name_.Set(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1544   // @@protoc_insertion_point(field_set:tensorflow.VariantTensorDataProto.type_name)
1545 }
mutable_type_name()1546 inline std::string* VariantTensorDataProto::mutable_type_name() {
1547   std::string* _s = _internal_mutable_type_name();
1548   // @@protoc_insertion_point(field_mutable:tensorflow.VariantTensorDataProto.type_name)
1549   return _s;
1550 }
_internal_type_name()1551 inline const std::string& VariantTensorDataProto::_internal_type_name() const {
1552   return _impl_.type_name_.Get();
1553 }
_internal_set_type_name(const std::string & value)1554 inline void VariantTensorDataProto::_internal_set_type_name(const std::string& value) {
1555 
1556   _impl_.type_name_.Set(value, GetArenaForAllocation());
1557 }
_internal_mutable_type_name()1558 inline std::string* VariantTensorDataProto::_internal_mutable_type_name() {
1559 
1560   return _impl_.type_name_.Mutable(GetArenaForAllocation());
1561 }
release_type_name()1562 inline std::string* VariantTensorDataProto::release_type_name() {
1563   // @@protoc_insertion_point(field_release:tensorflow.VariantTensorDataProto.type_name)
1564   return _impl_.type_name_.Release();
1565 }
set_allocated_type_name(std::string * type_name)1566 inline void VariantTensorDataProto::set_allocated_type_name(std::string* type_name) {
1567   _impl_.type_name_.SetAllocated(type_name, GetArenaForAllocation());
1568 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1569   if (_impl_.type_name_.IsDefault()) {
1570     _impl_.type_name_.Set("", GetArenaForAllocation());
1571   }
1572 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1573   // @@protoc_insertion_point(field_set_allocated:tensorflow.VariantTensorDataProto.type_name)
1574 }
1575 
1576 // bytes metadata = 2;
clear_metadata()1577 inline void VariantTensorDataProto::clear_metadata() {
1578   _impl_.metadata_.ClearToEmpty();
1579 }
metadata()1580 inline const std::string& VariantTensorDataProto::metadata() const {
1581   // @@protoc_insertion_point(field_get:tensorflow.VariantTensorDataProto.metadata)
1582   return _internal_metadata();
1583 }
1584 template <typename ArgT0, typename... ArgT>
1585 inline PROTOBUF_ALWAYS_INLINE
set_metadata(ArgT0 && arg0,ArgT...args)1586 void VariantTensorDataProto::set_metadata(ArgT0&& arg0, ArgT... args) {
1587 
1588  _impl_.metadata_.SetBytes(static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
1589   // @@protoc_insertion_point(field_set:tensorflow.VariantTensorDataProto.metadata)
1590 }
mutable_metadata()1591 inline std::string* VariantTensorDataProto::mutable_metadata() {
1592   std::string* _s = _internal_mutable_metadata();
1593   // @@protoc_insertion_point(field_mutable:tensorflow.VariantTensorDataProto.metadata)
1594   return _s;
1595 }
_internal_metadata()1596 inline const std::string& VariantTensorDataProto::_internal_metadata() const {
1597   return _impl_.metadata_.Get();
1598 }
_internal_set_metadata(const std::string & value)1599 inline void VariantTensorDataProto::_internal_set_metadata(const std::string& value) {
1600 
1601   _impl_.metadata_.Set(value, GetArenaForAllocation());
1602 }
_internal_mutable_metadata()1603 inline std::string* VariantTensorDataProto::_internal_mutable_metadata() {
1604 
1605   return _impl_.metadata_.Mutable(GetArenaForAllocation());
1606 }
release_metadata()1607 inline std::string* VariantTensorDataProto::release_metadata() {
1608   // @@protoc_insertion_point(field_release:tensorflow.VariantTensorDataProto.metadata)
1609   return _impl_.metadata_.Release();
1610 }
set_allocated_metadata(std::string * metadata)1611 inline void VariantTensorDataProto::set_allocated_metadata(std::string* metadata) {
1612   _impl_.metadata_.SetAllocated(metadata, GetArenaForAllocation());
1613 #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
1614   if (_impl_.metadata_.IsDefault()) {
1615     _impl_.metadata_.Set("", GetArenaForAllocation());
1616   }
1617 #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
1618   // @@protoc_insertion_point(field_set_allocated:tensorflow.VariantTensorDataProto.metadata)
1619 }
1620 
1621 // repeated .tensorflow.TensorProto tensors = 3;
_internal_tensors_size()1622 inline int VariantTensorDataProto::_internal_tensors_size() const {
1623   return _impl_.tensors_.size();
1624 }
tensors_size()1625 inline int VariantTensorDataProto::tensors_size() const {
1626   return _internal_tensors_size();
1627 }
clear_tensors()1628 inline void VariantTensorDataProto::clear_tensors() {
1629   _impl_.tensors_.Clear();
1630 }
mutable_tensors(int index)1631 inline ::tensorflow::TensorProto* VariantTensorDataProto::mutable_tensors(int index) {
1632   // @@protoc_insertion_point(field_mutable:tensorflow.VariantTensorDataProto.tensors)
1633   return _impl_.tensors_.Mutable(index);
1634 }
1635 inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >*
mutable_tensors()1636 VariantTensorDataProto::mutable_tensors() {
1637   // @@protoc_insertion_point(field_mutable_list:tensorflow.VariantTensorDataProto.tensors)
1638   return &_impl_.tensors_;
1639 }
_internal_tensors(int index)1640 inline const ::tensorflow::TensorProto& VariantTensorDataProto::_internal_tensors(int index) const {
1641   return _impl_.tensors_.Get(index);
1642 }
tensors(int index)1643 inline const ::tensorflow::TensorProto& VariantTensorDataProto::tensors(int index) const {
1644   // @@protoc_insertion_point(field_get:tensorflow.VariantTensorDataProto.tensors)
1645   return _internal_tensors(index);
1646 }
_internal_add_tensors()1647 inline ::tensorflow::TensorProto* VariantTensorDataProto::_internal_add_tensors() {
1648   return _impl_.tensors_.Add();
1649 }
add_tensors()1650 inline ::tensorflow::TensorProto* VariantTensorDataProto::add_tensors() {
1651   ::tensorflow::TensorProto* _add = _internal_add_tensors();
1652   // @@protoc_insertion_point(field_add:tensorflow.VariantTensorDataProto.tensors)
1653   return _add;
1654 }
1655 inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorProto >&
tensors()1656 VariantTensorDataProto::tensors() const {
1657   // @@protoc_insertion_point(field_list:tensorflow.VariantTensorDataProto.tensors)
1658   return _impl_.tensors_;
1659 }
1660 
1661 #ifdef __GNUC__
1662   #pragma GCC diagnostic pop
1663 #endif  // __GNUC__
1664 // -------------------------------------------------------------------
1665 
1666 
1667 // @@protoc_insertion_point(namespace_scope)
1668 
1669 }  // namespace tensorflow
1670 
1671 // @@protoc_insertion_point(global_scope)
1672 
1673 #include <google/protobuf/port_undef.inc>
1674 #endif  // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fframework_2ftensor_2eproto
1675