1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: tensor.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_tensor_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_tensor_2eproto
- #include <limits>
- #include <string>
- #include <google/protobuf/port_def.inc>
- #if PROTOBUF_VERSION < 3019000
- #error This file was generated by a newer version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please update
- #error your headers.
- #endif
- #if 3019001 < PROTOBUF_MIN_PROTOC_VERSION
- #error This file was generated by an older version of protoc which is
- #error incompatible with your Protocol Buffer headers. Please
- #error regenerate this file with a newer version of protoc.
- #endif
- #include <google/protobuf/port_undef.inc>
- #include <google/protobuf/io/coded_stream.h>
- #include <google/protobuf/arena.h>
- #include <google/protobuf/arenastring.h>
- #include <google/protobuf/generated_message_table_driven.h>
- #include <google/protobuf/generated_message_util.h>
- #include <google/protobuf/metadata_lite.h>
- #include <google/protobuf/generated_message_reflection.h>
- #include <google/protobuf/message.h>
- #include <google/protobuf/repeated_field.h> // IWYU pragma: export
- #include <google/protobuf/extension_set.h> // IWYU pragma: export
- #include <google/protobuf/unknown_field_set.h>
- #include "tensor_shape.pb.h"
- #include "types.pb.h"
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_tensor_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_tensor_2eproto {
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::AuxiliaryParseTableField aux[]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[1]
- PROTOBUF_SECTION_VARIABLE(protodesc_cold);
- static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[];
- static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[];
- static const uint32_t offsets[];
- };
- extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensor_2eproto;
- namespace opencv_tensorflow {
- class TensorProto;
- struct TensorProtoDefaultTypeInternal;
- extern TensorProtoDefaultTypeInternal _TensorProto_default_instance_;
- } // namespace opencv_tensorflow
- PROTOBUF_NAMESPACE_OPEN
- template<> ::opencv_tensorflow::TensorProto* Arena::CreateMaybeMessage<::opencv_tensorflow::TensorProto>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace opencv_tensorflow {
- // ===================================================================
- class TensorProto final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.TensorProto) */ {
- public:
- inline TensorProto() : TensorProto(nullptr) {}
- ~TensorProto() override;
- explicit constexpr TensorProto(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- TensorProto(const TensorProto& from);
- TensorProto(TensorProto&& from) noexcept
- : TensorProto() {
- *this = ::std::move(from);
- }
- inline TensorProto& operator=(const TensorProto& from) {
- CopyFrom(from);
- return *this;
- }
- inline TensorProto& operator=(TensorProto&& from) noexcept {
- if (this == &from) return *this;
- if (GetOwningArena() == from.GetOwningArena()
- #ifdef PROTOBUF_FORCE_COPY_IN_MOVE
- && GetOwningArena() != nullptr
- #endif // !PROTOBUF_FORCE_COPY_IN_MOVE
- ) {
- InternalSwap(&from);
- } else {
- CopyFrom(from);
- }
- return *this;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() {
- return GetDescriptor();
- }
- static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() {
- return default_instance().GetMetadata().descriptor;
- }
- static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() {
- return default_instance().GetMetadata().reflection;
- }
- static const TensorProto& default_instance() {
- return *internal_default_instance();
- }
- static inline const TensorProto* internal_default_instance() {
- return reinterpret_cast<const TensorProto*>(
- &_TensorProto_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(TensorProto& a, TensorProto& b) {
- a.Swap(&b);
- }
- inline void Swap(TensorProto* other) {
- if (other == this) return;
- #ifdef PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() != nullptr &&
- GetOwningArena() == other->GetOwningArena()) {
- #else // PROTOBUF_FORCE_COPY_IN_SWAP
- if (GetOwningArena() == other->GetOwningArena()) {
- #endif // !PROTOBUF_FORCE_COPY_IN_SWAP
- InternalSwap(other);
- } else {
- ::PROTOBUF_NAMESPACE_ID::internal::GenericSwap(this, other);
- }
- }
- void UnsafeArenaSwap(TensorProto* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- TensorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<TensorProto>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const TensorProto& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const TensorProto& from);
- private:
- static void MergeImpl(::PROTOBUF_NAMESPACE_ID::Message* to, const ::PROTOBUF_NAMESPACE_ID::Message& from);
- public:
- PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final;
- bool IsInitialized() const final;
- size_t ByteSizeLong() const final;
- const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final;
- uint8_t* _InternalSerialize(
- uint8_t* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const final;
- int GetCachedSize() const final { return _cached_size_.Get(); }
- private:
- void SharedCtor();
- void SharedDtor();
- void SetCachedSize(int size) const final;
- void InternalSwap(TensorProto* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opencv_tensorflow.TensorProto";
- }
- protected:
- explicit TensorProto(::PROTOBUF_NAMESPACE_ID::Arena* arena,
- bool is_message_owned = false);
- private:
- static void ArenaDtor(void* object);
- inline void RegisterArenaDtor(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- public:
- static const ClassData _class_data_;
- const ::PROTOBUF_NAMESPACE_ID::Message::ClassData*GetClassData() const final;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- // nested types ----------------------------------------------------
- // accessors -------------------------------------------------------
- enum : int {
- kFloatValFieldNumber = 5,
- kDoubleValFieldNumber = 6,
- kIntValFieldNumber = 7,
- kStringValFieldNumber = 8,
- kScomplexValFieldNumber = 9,
- kInt64ValFieldNumber = 10,
- kBoolValFieldNumber = 11,
- kDcomplexValFieldNumber = 12,
- kHalfValFieldNumber = 13,
- kTensorContentFieldNumber = 4,
- kTensorShapeFieldNumber = 2,
- kDtypeFieldNumber = 1,
- kVersionNumberFieldNumber = 3,
- };
- // repeated float float_val = 5 [packed = true];
- int float_val_size() const;
- private:
- int _internal_float_val_size() const;
- public:
- void clear_float_val();
- private:
- float _internal_float_val(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- _internal_float_val() const;
- void _internal_add_float_val(float value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- _internal_mutable_float_val();
- public:
- float float_val(int index) const;
- void set_float_val(int index, float value);
- void add_float_val(float value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- float_val() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- mutable_float_val();
- // repeated double double_val = 6 [packed = true];
- int double_val_size() const;
- private:
- int _internal_double_val_size() const;
- public:
- void clear_double_val();
- private:
- double _internal_double_val(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
- _internal_double_val() const;
- void _internal_add_double_val(double value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
- _internal_mutable_double_val();
- public:
- double double_val(int index) const;
- void set_double_val(int index, double value);
- void add_double_val(double value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
- double_val() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
- mutable_double_val();
- // repeated int32 int_val = 7 [packed = true];
- int int_val_size() const;
- private:
- int _internal_int_val_size() const;
- public:
- void clear_int_val();
- private:
- int32_t _internal_int_val(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- _internal_int_val() const;
- void _internal_add_int_val(int32_t value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- _internal_mutable_int_val();
- public:
- int32_t int_val(int index) const;
- void set_int_val(int index, int32_t value);
- void add_int_val(int32_t value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- int_val() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- mutable_int_val();
- // repeated bytes string_val = 8;
- int string_val_size() const;
- private:
- int _internal_string_val_size() const;
- public:
- void clear_string_val();
- const std::string& string_val(int index) const;
- std::string* mutable_string_val(int index);
- void set_string_val(int index, const std::string& value);
- void set_string_val(int index, std::string&& value);
- void set_string_val(int index, const char* value);
- void set_string_val(int index, const void* value, size_t size);
- std::string* add_string_val();
- void add_string_val(const std::string& value);
- void add_string_val(std::string&& value);
- void add_string_val(const char* value);
- void add_string_val(const void* value, size_t size);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& string_val() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_string_val();
- private:
- const std::string& _internal_string_val(int index) const;
- std::string* _internal_add_string_val();
- public:
- // repeated float scomplex_val = 9 [packed = true];
- int scomplex_val_size() const;
- private:
- int _internal_scomplex_val_size() const;
- public:
- void clear_scomplex_val();
- private:
- float _internal_scomplex_val(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- _internal_scomplex_val() const;
- void _internal_add_scomplex_val(float value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- _internal_mutable_scomplex_val();
- public:
- float scomplex_val(int index) const;
- void set_scomplex_val(int index, float value);
- void add_scomplex_val(float value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- scomplex_val() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- mutable_scomplex_val();
- // repeated int64 int64_val = 10 [packed = true];
- int int64_val_size() const;
- private:
- int _internal_int64_val_size() const;
- public:
- void clear_int64_val();
- private:
- int64_t _internal_int64_val(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
- _internal_int64_val() const;
- void _internal_add_int64_val(int64_t value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
- _internal_mutable_int64_val();
- public:
- int64_t int64_val(int index) const;
- void set_int64_val(int index, int64_t value);
- void add_int64_val(int64_t value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
- int64_val() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
- mutable_int64_val();
- // repeated bool bool_val = 11 [packed = true];
- int bool_val_size() const;
- private:
- int _internal_bool_val_size() const;
- public:
- void clear_bool_val();
- private:
- bool _internal_bool_val(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
- _internal_bool_val() const;
- void _internal_add_bool_val(bool value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
- _internal_mutable_bool_val();
- public:
- bool bool_val(int index) const;
- void set_bool_val(int index, bool value);
- void add_bool_val(bool value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
- bool_val() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
- mutable_bool_val();
- // repeated double dcomplex_val = 12 [packed = true];
- int dcomplex_val_size() const;
- private:
- int _internal_dcomplex_val_size() const;
- public:
- void clear_dcomplex_val();
- private:
- double _internal_dcomplex_val(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
- _internal_dcomplex_val() const;
- void _internal_add_dcomplex_val(double value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
- _internal_mutable_dcomplex_val();
- public:
- double dcomplex_val(int index) const;
- void set_dcomplex_val(int index, double value);
- void add_dcomplex_val(double value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
- dcomplex_val() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
- mutable_dcomplex_val();
- // repeated int32 half_val = 13 [packed = true];
- int half_val_size() const;
- private:
- int _internal_half_val_size() const;
- public:
- void clear_half_val();
- private:
- int32_t _internal_half_val(int index) const;
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- _internal_half_val() const;
- void _internal_add_half_val(int32_t value);
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- _internal_mutable_half_val();
- public:
- int32_t half_val(int index) const;
- void set_half_val(int index, int32_t value);
- void add_half_val(int32_t value);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- half_val() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- mutable_half_val();
- // bytes tensor_content = 4;
- void clear_tensor_content();
- const std::string& tensor_content() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_tensor_content(ArgT0&& arg0, ArgT... args);
- std::string* mutable_tensor_content();
- PROTOBUF_NODISCARD std::string* release_tensor_content();
- void set_allocated_tensor_content(std::string* tensor_content);
- private:
- const std::string& _internal_tensor_content() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_tensor_content(const std::string& value);
- std::string* _internal_mutable_tensor_content();
- public:
- // .opencv_tensorflow.TensorShapeProto tensor_shape = 2;
- bool has_tensor_shape() const;
- private:
- bool _internal_has_tensor_shape() const;
- public:
- void clear_tensor_shape();
- const ::opencv_tensorflow::TensorShapeProto& tensor_shape() const;
- PROTOBUF_NODISCARD ::opencv_tensorflow::TensorShapeProto* release_tensor_shape();
- ::opencv_tensorflow::TensorShapeProto* mutable_tensor_shape();
- void set_allocated_tensor_shape(::opencv_tensorflow::TensorShapeProto* tensor_shape);
- private:
- const ::opencv_tensorflow::TensorShapeProto& _internal_tensor_shape() const;
- ::opencv_tensorflow::TensorShapeProto* _internal_mutable_tensor_shape();
- public:
- void unsafe_arena_set_allocated_tensor_shape(
- ::opencv_tensorflow::TensorShapeProto* tensor_shape);
- ::opencv_tensorflow::TensorShapeProto* unsafe_arena_release_tensor_shape();
- // .opencv_tensorflow.DataType dtype = 1;
- void clear_dtype();
- ::opencv_tensorflow::DataType dtype() const;
- void set_dtype(::opencv_tensorflow::DataType value);
- private:
- ::opencv_tensorflow::DataType _internal_dtype() const;
- void _internal_set_dtype(::opencv_tensorflow::DataType value);
- public:
- // int32 version_number = 3;
- void clear_version_number();
- int32_t version_number() const;
- void set_version_number(int32_t value);
- private:
- int32_t _internal_version_number() const;
- void _internal_set_version_number(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:opencv_tensorflow.TensorProto)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > float_val_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > double_val_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > int_val_;
- mutable std::atomic<int> _int_val_cached_byte_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> string_val_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< float > scomplex_val_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t > int64_val_;
- mutable std::atomic<int> _int64_val_cached_byte_size_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool > bool_val_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > dcomplex_val_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t > half_val_;
- mutable std::atomic<int> _half_val_cached_byte_size_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr tensor_content_;
- ::opencv_tensorflow::TensorShapeProto* tensor_shape_;
- int dtype_;
- int32_t version_number_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_tensor_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // TensorProto
- // .opencv_tensorflow.DataType dtype = 1;
- inline void TensorProto::clear_dtype() {
- dtype_ = 0;
- }
- inline ::opencv_tensorflow::DataType TensorProto::_internal_dtype() const {
- return static_cast< ::opencv_tensorflow::DataType >(dtype_);
- }
- inline ::opencv_tensorflow::DataType TensorProto::dtype() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.dtype)
- return _internal_dtype();
- }
- inline void TensorProto::_internal_set_dtype(::opencv_tensorflow::DataType value) {
- dtype_ = value;
- }
- inline void TensorProto::set_dtype(::opencv_tensorflow::DataType value) {
- _internal_set_dtype(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.dtype)
- }
- // .opencv_tensorflow.TensorShapeProto tensor_shape = 2;
- inline bool TensorProto::_internal_has_tensor_shape() const {
- return this != internal_default_instance() && tensor_shape_ != nullptr;
- }
- inline bool TensorProto::has_tensor_shape() const {
- return _internal_has_tensor_shape();
- }
- inline const ::opencv_tensorflow::TensorShapeProto& TensorProto::_internal_tensor_shape() const {
- const ::opencv_tensorflow::TensorShapeProto* p = tensor_shape_;
- return p != nullptr ? *p : reinterpret_cast<const ::opencv_tensorflow::TensorShapeProto&>(
- ::opencv_tensorflow::_TensorShapeProto_default_instance_);
- }
- inline const ::opencv_tensorflow::TensorShapeProto& TensorProto::tensor_shape() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.tensor_shape)
- return _internal_tensor_shape();
- }
- inline void TensorProto::unsafe_arena_set_allocated_tensor_shape(
- ::opencv_tensorflow::TensorShapeProto* tensor_shape) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_shape_);
- }
- tensor_shape_ = tensor_shape;
- if (tensor_shape) {
- } else {
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.TensorProto.tensor_shape)
- }
- inline ::opencv_tensorflow::TensorShapeProto* TensorProto::release_tensor_shape() {
- ::opencv_tensorflow::TensorShapeProto* temp = tensor_shape_;
- tensor_shape_ = nullptr;
- #ifdef PROTOBUF_FORCE_COPY_IN_RELEASE
- auto* old = reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(temp);
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- if (GetArenaForAllocation() == nullptr) { delete old; }
- #else // PROTOBUF_FORCE_COPY_IN_RELEASE
- if (GetArenaForAllocation() != nullptr) {
- temp = ::PROTOBUF_NAMESPACE_ID::internal::DuplicateIfNonNull(temp);
- }
- #endif // !PROTOBUF_FORCE_COPY_IN_RELEASE
- return temp;
- }
- inline ::opencv_tensorflow::TensorShapeProto* TensorProto::unsafe_arena_release_tensor_shape() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.TensorProto.tensor_shape)
- ::opencv_tensorflow::TensorShapeProto* temp = tensor_shape_;
- tensor_shape_ = nullptr;
- return temp;
- }
- inline ::opencv_tensorflow::TensorShapeProto* TensorProto::_internal_mutable_tensor_shape() {
- if (tensor_shape_ == nullptr) {
- auto* p = CreateMaybeMessage<::opencv_tensorflow::TensorShapeProto>(GetArenaForAllocation());
- tensor_shape_ = p;
- }
- return tensor_shape_;
- }
- inline ::opencv_tensorflow::TensorShapeProto* TensorProto::mutable_tensor_shape() {
- ::opencv_tensorflow::TensorShapeProto* _msg = _internal_mutable_tensor_shape();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.TensorProto.tensor_shape)
- return _msg;
- }
- inline void TensorProto::set_allocated_tensor_shape(::opencv_tensorflow::TensorShapeProto* tensor_shape) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_shape_);
- }
- if (tensor_shape) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
- ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(tensor_shape));
- if (message_arena != submessage_arena) {
- tensor_shape = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, tensor_shape, submessage_arena);
- }
- } else {
- }
- tensor_shape_ = tensor_shape;
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.TensorProto.tensor_shape)
- }
- // int32 version_number = 3;
- inline void TensorProto::clear_version_number() {
- version_number_ = 0;
- }
- inline int32_t TensorProto::_internal_version_number() const {
- return version_number_;
- }
- inline int32_t TensorProto::version_number() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.version_number)
- return _internal_version_number();
- }
- inline void TensorProto::_internal_set_version_number(int32_t value) {
- version_number_ = value;
- }
- inline void TensorProto::set_version_number(int32_t value) {
- _internal_set_version_number(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.version_number)
- }
- // bytes tensor_content = 4;
- inline void TensorProto::clear_tensor_content() {
- tensor_content_.ClearToEmpty();
- }
- inline const std::string& TensorProto::tensor_content() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.tensor_content)
- return _internal_tensor_content();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void TensorProto::set_tensor_content(ArgT0&& arg0, ArgT... args) {
- tensor_content_.SetBytes(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.tensor_content)
- }
- inline std::string* TensorProto::mutable_tensor_content() {
- std::string* _s = _internal_mutable_tensor_content();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.TensorProto.tensor_content)
- return _s;
- }
- inline const std::string& TensorProto::_internal_tensor_content() const {
- return tensor_content_.Get();
- }
- inline void TensorProto::_internal_set_tensor_content(const std::string& value) {
- tensor_content_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* TensorProto::_internal_mutable_tensor_content() {
- return tensor_content_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* TensorProto::release_tensor_content() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.TensorProto.tensor_content)
- return tensor_content_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void TensorProto::set_allocated_tensor_content(std::string* tensor_content) {
- if (tensor_content != nullptr) {
- } else {
- }
- tensor_content_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), tensor_content,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (tensor_content_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- tensor_content_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.TensorProto.tensor_content)
- }
- // repeated int32 half_val = 13 [packed = true];
- inline int TensorProto::_internal_half_val_size() const {
- return half_val_.size();
- }
- inline int TensorProto::half_val_size() const {
- return _internal_half_val_size();
- }
- inline void TensorProto::clear_half_val() {
- half_val_.Clear();
- }
- inline int32_t TensorProto::_internal_half_val(int index) const {
- return half_val_.Get(index);
- }
- inline int32_t TensorProto::half_val(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.half_val)
- return _internal_half_val(index);
- }
- inline void TensorProto::set_half_val(int index, int32_t value) {
- half_val_.Set(index, value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.half_val)
- }
- inline void TensorProto::_internal_add_half_val(int32_t value) {
- half_val_.Add(value);
- }
- inline void TensorProto::add_half_val(int32_t value) {
- _internal_add_half_val(value);
- // @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.half_val)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- TensorProto::_internal_half_val() const {
- return half_val_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- TensorProto::half_val() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.half_val)
- return _internal_half_val();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- TensorProto::_internal_mutable_half_val() {
- return &half_val_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- TensorProto::mutable_half_val() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.half_val)
- return _internal_mutable_half_val();
- }
- // repeated float float_val = 5 [packed = true];
- inline int TensorProto::_internal_float_val_size() const {
- return float_val_.size();
- }
- inline int TensorProto::float_val_size() const {
- return _internal_float_val_size();
- }
- inline void TensorProto::clear_float_val() {
- float_val_.Clear();
- }
- inline float TensorProto::_internal_float_val(int index) const {
- return float_val_.Get(index);
- }
- inline float TensorProto::float_val(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.float_val)
- return _internal_float_val(index);
- }
- inline void TensorProto::set_float_val(int index, float value) {
- float_val_.Set(index, value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.float_val)
- }
- inline void TensorProto::_internal_add_float_val(float value) {
- float_val_.Add(value);
- }
- inline void TensorProto::add_float_val(float value) {
- _internal_add_float_val(value);
- // @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.float_val)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- TensorProto::_internal_float_val() const {
- return float_val_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- TensorProto::float_val() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.float_val)
- return _internal_float_val();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- TensorProto::_internal_mutable_float_val() {
- return &float_val_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- TensorProto::mutable_float_val() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.float_val)
- return _internal_mutable_float_val();
- }
- // repeated double double_val = 6 [packed = true];
- inline int TensorProto::_internal_double_val_size() const {
- return double_val_.size();
- }
- inline int TensorProto::double_val_size() const {
- return _internal_double_val_size();
- }
- inline void TensorProto::clear_double_val() {
- double_val_.Clear();
- }
- inline double TensorProto::_internal_double_val(int index) const {
- return double_val_.Get(index);
- }
- inline double TensorProto::double_val(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.double_val)
- return _internal_double_val(index);
- }
- inline void TensorProto::set_double_val(int index, double value) {
- double_val_.Set(index, value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.double_val)
- }
- inline void TensorProto::_internal_add_double_val(double value) {
- double_val_.Add(value);
- }
- inline void TensorProto::add_double_val(double value) {
- _internal_add_double_val(value);
- // @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.double_val)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
- TensorProto::_internal_double_val() const {
- return double_val_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
- TensorProto::double_val() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.double_val)
- return _internal_double_val();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
- TensorProto::_internal_mutable_double_val() {
- return &double_val_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
- TensorProto::mutable_double_val() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.double_val)
- return _internal_mutable_double_val();
- }
- // repeated int32 int_val = 7 [packed = true];
- inline int TensorProto::_internal_int_val_size() const {
- return int_val_.size();
- }
- inline int TensorProto::int_val_size() const {
- return _internal_int_val_size();
- }
- inline void TensorProto::clear_int_val() {
- int_val_.Clear();
- }
- inline int32_t TensorProto::_internal_int_val(int index) const {
- return int_val_.Get(index);
- }
- inline int32_t TensorProto::int_val(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.int_val)
- return _internal_int_val(index);
- }
- inline void TensorProto::set_int_val(int index, int32_t value) {
- int_val_.Set(index, value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.int_val)
- }
- inline void TensorProto::_internal_add_int_val(int32_t value) {
- int_val_.Add(value);
- }
- inline void TensorProto::add_int_val(int32_t value) {
- _internal_add_int_val(value);
- // @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.int_val)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- TensorProto::_internal_int_val() const {
- return int_val_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >&
- TensorProto::int_val() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.int_val)
- return _internal_int_val();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- TensorProto::_internal_mutable_int_val() {
- return &int_val_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int32_t >*
- TensorProto::mutable_int_val() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.int_val)
- return _internal_mutable_int_val();
- }
- // repeated bytes string_val = 8;
- inline int TensorProto::_internal_string_val_size() const {
- return string_val_.size();
- }
- inline int TensorProto::string_val_size() const {
- return _internal_string_val_size();
- }
- inline void TensorProto::clear_string_val() {
- string_val_.Clear();
- }
- inline std::string* TensorProto::add_string_val() {
- std::string* _s = _internal_add_string_val();
- // @@protoc_insertion_point(field_add_mutable:opencv_tensorflow.TensorProto.string_val)
- return _s;
- }
- inline const std::string& TensorProto::_internal_string_val(int index) const {
- return string_val_.Get(index);
- }
- inline const std::string& TensorProto::string_val(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.string_val)
- return _internal_string_val(index);
- }
- inline std::string* TensorProto::mutable_string_val(int index) {
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.TensorProto.string_val)
- return string_val_.Mutable(index);
- }
- inline void TensorProto::set_string_val(int index, const std::string& value) {
- string_val_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.string_val)
- }
- inline void TensorProto::set_string_val(int index, std::string&& value) {
- string_val_.Mutable(index)->assign(std::move(value));
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.string_val)
- }
- inline void TensorProto::set_string_val(int index, const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- string_val_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:opencv_tensorflow.TensorProto.string_val)
- }
- inline void TensorProto::set_string_val(int index, const void* value, size_t size) {
- string_val_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.TensorProto.string_val)
- }
- inline std::string* TensorProto::_internal_add_string_val() {
- return string_val_.Add();
- }
- inline void TensorProto::add_string_val(const std::string& value) {
- string_val_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.string_val)
- }
- inline void TensorProto::add_string_val(std::string&& value) {
- string_val_.Add(std::move(value));
- // @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.string_val)
- }
- inline void TensorProto::add_string_val(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- string_val_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:opencv_tensorflow.TensorProto.string_val)
- }
- inline void TensorProto::add_string_val(const void* value, size_t size) {
- string_val_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:opencv_tensorflow.TensorProto.string_val)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
- TensorProto::string_val() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.string_val)
- return string_val_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
- TensorProto::mutable_string_val() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.string_val)
- return &string_val_;
- }
- // repeated float scomplex_val = 9 [packed = true];
- inline int TensorProto::_internal_scomplex_val_size() const {
- return scomplex_val_.size();
- }
- inline int TensorProto::scomplex_val_size() const {
- return _internal_scomplex_val_size();
- }
- inline void TensorProto::clear_scomplex_val() {
- scomplex_val_.Clear();
- }
- inline float TensorProto::_internal_scomplex_val(int index) const {
- return scomplex_val_.Get(index);
- }
- inline float TensorProto::scomplex_val(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.scomplex_val)
- return _internal_scomplex_val(index);
- }
- inline void TensorProto::set_scomplex_val(int index, float value) {
- scomplex_val_.Set(index, value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.scomplex_val)
- }
- inline void TensorProto::_internal_add_scomplex_val(float value) {
- scomplex_val_.Add(value);
- }
- inline void TensorProto::add_scomplex_val(float value) {
- _internal_add_scomplex_val(value);
- // @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.scomplex_val)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- TensorProto::_internal_scomplex_val() const {
- return scomplex_val_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >&
- TensorProto::scomplex_val() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.scomplex_val)
- return _internal_scomplex_val();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- TensorProto::_internal_mutable_scomplex_val() {
- return &scomplex_val_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< float >*
- TensorProto::mutable_scomplex_val() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.scomplex_val)
- return _internal_mutable_scomplex_val();
- }
- // repeated int64 int64_val = 10 [packed = true];
- inline int TensorProto::_internal_int64_val_size() const {
- return int64_val_.size();
- }
- inline int TensorProto::int64_val_size() const {
- return _internal_int64_val_size();
- }
- inline void TensorProto::clear_int64_val() {
- int64_val_.Clear();
- }
- inline int64_t TensorProto::_internal_int64_val(int index) const {
- return int64_val_.Get(index);
- }
- inline int64_t TensorProto::int64_val(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.int64_val)
- return _internal_int64_val(index);
- }
- inline void TensorProto::set_int64_val(int index, int64_t value) {
- int64_val_.Set(index, value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.int64_val)
- }
- inline void TensorProto::_internal_add_int64_val(int64_t value) {
- int64_val_.Add(value);
- }
- inline void TensorProto::add_int64_val(int64_t value) {
- _internal_add_int64_val(value);
- // @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.int64_val)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
- TensorProto::_internal_int64_val() const {
- return int64_val_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >&
- TensorProto::int64_val() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.int64_val)
- return _internal_int64_val();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
- TensorProto::_internal_mutable_int64_val() {
- return &int64_val_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< int64_t >*
- TensorProto::mutable_int64_val() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.int64_val)
- return _internal_mutable_int64_val();
- }
- // repeated bool bool_val = 11 [packed = true];
- inline int TensorProto::_internal_bool_val_size() const {
- return bool_val_.size();
- }
- inline int TensorProto::bool_val_size() const {
- return _internal_bool_val_size();
- }
- inline void TensorProto::clear_bool_val() {
- bool_val_.Clear();
- }
- inline bool TensorProto::_internal_bool_val(int index) const {
- return bool_val_.Get(index);
- }
- inline bool TensorProto::bool_val(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.bool_val)
- return _internal_bool_val(index);
- }
- inline void TensorProto::set_bool_val(int index, bool value) {
- bool_val_.Set(index, value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.bool_val)
- }
- inline void TensorProto::_internal_add_bool_val(bool value) {
- bool_val_.Add(value);
- }
- inline void TensorProto::add_bool_val(bool value) {
- _internal_add_bool_val(value);
- // @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.bool_val)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
- TensorProto::_internal_bool_val() const {
- return bool_val_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >&
- TensorProto::bool_val() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.bool_val)
- return _internal_bool_val();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
- TensorProto::_internal_mutable_bool_val() {
- return &bool_val_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< bool >*
- TensorProto::mutable_bool_val() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.bool_val)
- return _internal_mutable_bool_val();
- }
- // repeated double dcomplex_val = 12 [packed = true];
- inline int TensorProto::_internal_dcomplex_val_size() const {
- return dcomplex_val_.size();
- }
- inline int TensorProto::dcomplex_val_size() const {
- return _internal_dcomplex_val_size();
- }
- inline void TensorProto::clear_dcomplex_val() {
- dcomplex_val_.Clear();
- }
- inline double TensorProto::_internal_dcomplex_val(int index) const {
- return dcomplex_val_.Get(index);
- }
- inline double TensorProto::dcomplex_val(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.dcomplex_val)
- return _internal_dcomplex_val(index);
- }
- inline void TensorProto::set_dcomplex_val(int index, double value) {
- dcomplex_val_.Set(index, value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.dcomplex_val)
- }
- inline void TensorProto::_internal_add_dcomplex_val(double value) {
- dcomplex_val_.Add(value);
- }
- inline void TensorProto::add_dcomplex_val(double value) {
- _internal_add_dcomplex_val(value);
- // @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.dcomplex_val)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
- TensorProto::_internal_dcomplex_val() const {
- return dcomplex_val_;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >&
- TensorProto::dcomplex_val() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.dcomplex_val)
- return _internal_dcomplex_val();
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
- TensorProto::_internal_mutable_dcomplex_val() {
- return &dcomplex_val_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >*
- TensorProto::mutable_dcomplex_val() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.dcomplex_val)
- return _internal_mutable_dcomplex_val();
- }
- #ifdef __GNUC__
- #pragma GCC diagnostic pop
- #endif // __GNUC__
- // @@protoc_insertion_point(namespace_scope)
- } // namespace opencv_tensorflow
- // @@protoc_insertion_point(global_scope)
- #include <google/protobuf/port_undef.inc>
- #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensor_2eproto
|