123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062 |
- // Generated by the protocol buffer compiler. DO NOT EDIT!
- // source: graph.proto
- #ifndef GOOGLE_PROTOBUF_INCLUDED_graph_2eproto
- #define GOOGLE_PROTOBUF_INCLUDED_graph_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/map.h> // IWYU pragma: export
- #include <google/protobuf/map_entry.h>
- #include <google/protobuf/map_field_inl.h>
- #include <google/protobuf/unknown_field_set.h>
- #include "attr_value.pb.h"
- #include "function.pb.h"
- #include "versions.pb.h"
- // @@protoc_insertion_point(includes)
- #include <google/protobuf/port_def.inc>
- #define PROTOBUF_INTERNAL_EXPORT_graph_2eproto
- PROTOBUF_NAMESPACE_OPEN
- namespace internal {
- class AnyMetadata;
- } // namespace internal
- PROTOBUF_NAMESPACE_CLOSE
- // Internal implementation detail -- do not use these members.
- struct TableStruct_graph_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[3]
- 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_graph_2eproto;
- namespace opencv_tensorflow {
- class GraphDef;
- struct GraphDefDefaultTypeInternal;
- extern GraphDefDefaultTypeInternal _GraphDef_default_instance_;
- class NodeDef;
- struct NodeDefDefaultTypeInternal;
- extern NodeDefDefaultTypeInternal _NodeDef_default_instance_;
- class NodeDef_AttrEntry_DoNotUse;
- struct NodeDef_AttrEntry_DoNotUseDefaultTypeInternal;
- extern NodeDef_AttrEntry_DoNotUseDefaultTypeInternal _NodeDef_AttrEntry_DoNotUse_default_instance_;
- } // namespace opencv_tensorflow
- PROTOBUF_NAMESPACE_OPEN
- template<> ::opencv_tensorflow::GraphDef* Arena::CreateMaybeMessage<::opencv_tensorflow::GraphDef>(Arena*);
- template<> ::opencv_tensorflow::NodeDef* Arena::CreateMaybeMessage<::opencv_tensorflow::NodeDef>(Arena*);
- template<> ::opencv_tensorflow::NodeDef_AttrEntry_DoNotUse* Arena::CreateMaybeMessage<::opencv_tensorflow::NodeDef_AttrEntry_DoNotUse>(Arena*);
- PROTOBUF_NAMESPACE_CLOSE
- namespace opencv_tensorflow {
- // ===================================================================
- class GraphDef final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.GraphDef) */ {
- public:
- inline GraphDef() : GraphDef(nullptr) {}
- ~GraphDef() override;
- explicit constexpr GraphDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- GraphDef(const GraphDef& from);
- GraphDef(GraphDef&& from) noexcept
- : GraphDef() {
- *this = ::std::move(from);
- }
- inline GraphDef& operator=(const GraphDef& from) {
- CopyFrom(from);
- return *this;
- }
- inline GraphDef& operator=(GraphDef&& 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 GraphDef& default_instance() {
- return *internal_default_instance();
- }
- static inline const GraphDef* internal_default_instance() {
- return reinterpret_cast<const GraphDef*>(
- &_GraphDef_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 0;
- friend void swap(GraphDef& a, GraphDef& b) {
- a.Swap(&b);
- }
- inline void Swap(GraphDef* 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(GraphDef* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- GraphDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<GraphDef>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const GraphDef& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const GraphDef& 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(GraphDef* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opencv_tensorflow.GraphDef";
- }
- protected:
- explicit GraphDef(::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 {
- kNodeFieldNumber = 1,
- kLibraryFieldNumber = 2,
- kVersionsFieldNumber = 4,
- kVersionFieldNumber = 3,
- };
- // repeated .opencv_tensorflow.NodeDef node = 1;
- int node_size() const;
- private:
- int _internal_node_size() const;
- public:
- void clear_node();
- ::opencv_tensorflow::NodeDef* mutable_node(int index);
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::NodeDef >*
- mutable_node();
- private:
- const ::opencv_tensorflow::NodeDef& _internal_node(int index) const;
- ::opencv_tensorflow::NodeDef* _internal_add_node();
- public:
- const ::opencv_tensorflow::NodeDef& node(int index) const;
- ::opencv_tensorflow::NodeDef* add_node();
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::NodeDef >&
- node() const;
- // .opencv_tensorflow.FunctionDefLibrary library = 2;
- bool has_library() const;
- private:
- bool _internal_has_library() const;
- public:
- void clear_library();
- const ::opencv_tensorflow::FunctionDefLibrary& library() const;
- PROTOBUF_NODISCARD ::opencv_tensorflow::FunctionDefLibrary* release_library();
- ::opencv_tensorflow::FunctionDefLibrary* mutable_library();
- void set_allocated_library(::opencv_tensorflow::FunctionDefLibrary* library);
- private:
- const ::opencv_tensorflow::FunctionDefLibrary& _internal_library() const;
- ::opencv_tensorflow::FunctionDefLibrary* _internal_mutable_library();
- public:
- void unsafe_arena_set_allocated_library(
- ::opencv_tensorflow::FunctionDefLibrary* library);
- ::opencv_tensorflow::FunctionDefLibrary* unsafe_arena_release_library();
- // .opencv_tensorflow.VersionDef versions = 4;
- bool has_versions() const;
- private:
- bool _internal_has_versions() const;
- public:
- void clear_versions();
- const ::opencv_tensorflow::VersionDef& versions() const;
- PROTOBUF_NODISCARD ::opencv_tensorflow::VersionDef* release_versions();
- ::opencv_tensorflow::VersionDef* mutable_versions();
- void set_allocated_versions(::opencv_tensorflow::VersionDef* versions);
- private:
- const ::opencv_tensorflow::VersionDef& _internal_versions() const;
- ::opencv_tensorflow::VersionDef* _internal_mutable_versions();
- public:
- void unsafe_arena_set_allocated_versions(
- ::opencv_tensorflow::VersionDef* versions);
- ::opencv_tensorflow::VersionDef* unsafe_arena_release_versions();
- // int32 version = 3 [deprecated = true];
- PROTOBUF_DEPRECATED void clear_version();
- PROTOBUF_DEPRECATED int32_t version() const;
- PROTOBUF_DEPRECATED void set_version(int32_t value);
- private:
- int32_t _internal_version() const;
- void _internal_set_version(int32_t value);
- public:
- // @@protoc_insertion_point(class_scope:opencv_tensorflow.GraphDef)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::NodeDef > node_;
- ::opencv_tensorflow::FunctionDefLibrary* library_;
- ::opencv_tensorflow::VersionDef* versions_;
- int32_t version_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_graph_2eproto;
- };
- // -------------------------------------------------------------------
- class NodeDef_AttrEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<NodeDef_AttrEntry_DoNotUse,
- std::string, ::opencv_tensorflow::AttrValue,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> {
- public:
- typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<NodeDef_AttrEntry_DoNotUse,
- std::string, ::opencv_tensorflow::AttrValue,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> SuperType;
- NodeDef_AttrEntry_DoNotUse();
- explicit constexpr NodeDef_AttrEntry_DoNotUse(
- ::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- explicit NodeDef_AttrEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena);
- void MergeFrom(const NodeDef_AttrEntry_DoNotUse& other);
- static const NodeDef_AttrEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const NodeDef_AttrEntry_DoNotUse*>(&_NodeDef_AttrEntry_DoNotUse_default_instance_); }
- static bool ValidateKey(std::string* s) {
- return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), static_cast<int>(s->size()), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "opencv_tensorflow.NodeDef.AttrEntry.key");
- }
- static bool ValidateValue(void*) { return true; }
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final;
- };
- // -------------------------------------------------------------------
- class NodeDef final :
- public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.NodeDef) */ {
- public:
- inline NodeDef() : NodeDef(nullptr) {}
- ~NodeDef() override;
- explicit constexpr NodeDef(::PROTOBUF_NAMESPACE_ID::internal::ConstantInitialized);
- NodeDef(const NodeDef& from);
- NodeDef(NodeDef&& from) noexcept
- : NodeDef() {
- *this = ::std::move(from);
- }
- inline NodeDef& operator=(const NodeDef& from) {
- CopyFrom(from);
- return *this;
- }
- inline NodeDef& operator=(NodeDef&& 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 NodeDef& default_instance() {
- return *internal_default_instance();
- }
- static inline const NodeDef* internal_default_instance() {
- return reinterpret_cast<const NodeDef*>(
- &_NodeDef_default_instance_);
- }
- static constexpr int kIndexInFileMessages =
- 2;
- friend void swap(NodeDef& a, NodeDef& b) {
- a.Swap(&b);
- }
- inline void Swap(NodeDef* 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(NodeDef* other) {
- if (other == this) return;
- GOOGLE_DCHECK(GetOwningArena() == other->GetOwningArena());
- InternalSwap(other);
- }
- // implements Message ----------------------------------------------
- NodeDef* New(::PROTOBUF_NAMESPACE_ID::Arena* arena = nullptr) const final {
- return CreateMaybeMessage<NodeDef>(arena);
- }
- using ::PROTOBUF_NAMESPACE_ID::Message::CopyFrom;
- void CopyFrom(const NodeDef& from);
- using ::PROTOBUF_NAMESPACE_ID::Message::MergeFrom;
- void MergeFrom(const NodeDef& 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(NodeDef* other);
- private:
- friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata;
- static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() {
- return "opencv_tensorflow.NodeDef";
- }
- protected:
- explicit NodeDef(::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 {
- kInputFieldNumber = 3,
- kAttrFieldNumber = 5,
- kNameFieldNumber = 1,
- kOpFieldNumber = 2,
- kDeviceFieldNumber = 4,
- };
- // repeated string input = 3;
- int input_size() const;
- private:
- int _internal_input_size() const;
- public:
- void clear_input();
- const std::string& input(int index) const;
- std::string* mutable_input(int index);
- void set_input(int index, const std::string& value);
- void set_input(int index, std::string&& value);
- void set_input(int index, const char* value);
- void set_input(int index, const char* value, size_t size);
- std::string* add_input();
- void add_input(const std::string& value);
- void add_input(std::string&& value);
- void add_input(const char* value);
- void add_input(const char* value, size_t size);
- const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& input() const;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_input();
- private:
- const std::string& _internal_input(int index) const;
- std::string* _internal_add_input();
- public:
- // map<string, .opencv_tensorflow.AttrValue> attr = 5;
- int attr_size() const;
- private:
- int _internal_attr_size() const;
- public:
- void clear_attr();
- private:
- const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >&
- _internal_attr() const;
- ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >*
- _internal_mutable_attr();
- public:
- const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >&
- attr() const;
- ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >*
- mutable_attr();
- // string name = 1;
- void clear_name();
- const std::string& name() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_name(ArgT0&& arg0, ArgT... args);
- std::string* mutable_name();
- PROTOBUF_NODISCARD std::string* release_name();
- void set_allocated_name(std::string* name);
- private:
- const std::string& _internal_name() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_name(const std::string& value);
- std::string* _internal_mutable_name();
- public:
- // string op = 2;
- void clear_op();
- const std::string& op() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_op(ArgT0&& arg0, ArgT... args);
- std::string* mutable_op();
- PROTOBUF_NODISCARD std::string* release_op();
- void set_allocated_op(std::string* op);
- private:
- const std::string& _internal_op() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_op(const std::string& value);
- std::string* _internal_mutable_op();
- public:
- // string device = 4;
- void clear_device();
- const std::string& device() const;
- template <typename ArgT0 = const std::string&, typename... ArgT>
- void set_device(ArgT0&& arg0, ArgT... args);
- std::string* mutable_device();
- PROTOBUF_NODISCARD std::string* release_device();
- void set_allocated_device(std::string* device);
- private:
- const std::string& _internal_device() const;
- inline PROTOBUF_ALWAYS_INLINE void _internal_set_device(const std::string& value);
- std::string* _internal_mutable_device();
- public:
- // @@protoc_insertion_point(class_scope:opencv_tensorflow.NodeDef)
- private:
- class _Internal;
- template <typename T> friend class ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper;
- typedef void InternalArenaConstructable_;
- typedef void DestructorSkippable_;
- ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> input_;
- ::PROTOBUF_NAMESPACE_ID::internal::MapField<
- NodeDef_AttrEntry_DoNotUse,
- std::string, ::opencv_tensorflow::AttrValue,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING,
- ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE> attr_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr op_;
- ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr device_;
- mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_;
- friend struct ::TableStruct_graph_2eproto;
- };
- // ===================================================================
- // ===================================================================
- #ifdef __GNUC__
- #pragma GCC diagnostic push
- #pragma GCC diagnostic ignored "-Wstrict-aliasing"
- #endif // __GNUC__
- // GraphDef
- // repeated .opencv_tensorflow.NodeDef node = 1;
- inline int GraphDef::_internal_node_size() const {
- return node_.size();
- }
- inline int GraphDef::node_size() const {
- return _internal_node_size();
- }
- inline void GraphDef::clear_node() {
- node_.Clear();
- }
- inline ::opencv_tensorflow::NodeDef* GraphDef::mutable_node(int index) {
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.GraphDef.node)
- return node_.Mutable(index);
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::NodeDef >*
- GraphDef::mutable_node() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.GraphDef.node)
- return &node_;
- }
- inline const ::opencv_tensorflow::NodeDef& GraphDef::_internal_node(int index) const {
- return node_.Get(index);
- }
- inline const ::opencv_tensorflow::NodeDef& GraphDef::node(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.GraphDef.node)
- return _internal_node(index);
- }
- inline ::opencv_tensorflow::NodeDef* GraphDef::_internal_add_node() {
- return node_.Add();
- }
- inline ::opencv_tensorflow::NodeDef* GraphDef::add_node() {
- ::opencv_tensorflow::NodeDef* _add = _internal_add_node();
- // @@protoc_insertion_point(field_add:opencv_tensorflow.GraphDef.node)
- return _add;
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::opencv_tensorflow::NodeDef >&
- GraphDef::node() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.GraphDef.node)
- return node_;
- }
- // .opencv_tensorflow.VersionDef versions = 4;
- inline bool GraphDef::_internal_has_versions() const {
- return this != internal_default_instance() && versions_ != nullptr;
- }
- inline bool GraphDef::has_versions() const {
- return _internal_has_versions();
- }
- inline const ::opencv_tensorflow::VersionDef& GraphDef::_internal_versions() const {
- const ::opencv_tensorflow::VersionDef* p = versions_;
- return p != nullptr ? *p : reinterpret_cast<const ::opencv_tensorflow::VersionDef&>(
- ::opencv_tensorflow::_VersionDef_default_instance_);
- }
- inline const ::opencv_tensorflow::VersionDef& GraphDef::versions() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.GraphDef.versions)
- return _internal_versions();
- }
- inline void GraphDef::unsafe_arena_set_allocated_versions(
- ::opencv_tensorflow::VersionDef* versions) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(versions_);
- }
- versions_ = versions;
- if (versions) {
- } else {
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.GraphDef.versions)
- }
- inline ::opencv_tensorflow::VersionDef* GraphDef::release_versions() {
- ::opencv_tensorflow::VersionDef* temp = versions_;
- versions_ = 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::VersionDef* GraphDef::unsafe_arena_release_versions() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.GraphDef.versions)
- ::opencv_tensorflow::VersionDef* temp = versions_;
- versions_ = nullptr;
- return temp;
- }
- inline ::opencv_tensorflow::VersionDef* GraphDef::_internal_mutable_versions() {
- if (versions_ == nullptr) {
- auto* p = CreateMaybeMessage<::opencv_tensorflow::VersionDef>(GetArenaForAllocation());
- versions_ = p;
- }
- return versions_;
- }
- inline ::opencv_tensorflow::VersionDef* GraphDef::mutable_versions() {
- ::opencv_tensorflow::VersionDef* _msg = _internal_mutable_versions();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.GraphDef.versions)
- return _msg;
- }
- inline void GraphDef::set_allocated_versions(::opencv_tensorflow::VersionDef* versions) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(versions_);
- }
- if (versions) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
- ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(versions));
- if (message_arena != submessage_arena) {
- versions = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, versions, submessage_arena);
- }
- } else {
- }
- versions_ = versions;
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.GraphDef.versions)
- }
- // int32 version = 3 [deprecated = true];
- inline void GraphDef::clear_version() {
- version_ = 0;
- }
- inline int32_t GraphDef::_internal_version() const {
- return version_;
- }
- inline int32_t GraphDef::version() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.GraphDef.version)
- return _internal_version();
- }
- inline void GraphDef::_internal_set_version(int32_t value) {
- version_ = value;
- }
- inline void GraphDef::set_version(int32_t value) {
- _internal_set_version(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.GraphDef.version)
- }
- // .opencv_tensorflow.FunctionDefLibrary library = 2;
- inline bool GraphDef::_internal_has_library() const {
- return this != internal_default_instance() && library_ != nullptr;
- }
- inline bool GraphDef::has_library() const {
- return _internal_has_library();
- }
- inline const ::opencv_tensorflow::FunctionDefLibrary& GraphDef::_internal_library() const {
- const ::opencv_tensorflow::FunctionDefLibrary* p = library_;
- return p != nullptr ? *p : reinterpret_cast<const ::opencv_tensorflow::FunctionDefLibrary&>(
- ::opencv_tensorflow::_FunctionDefLibrary_default_instance_);
- }
- inline const ::opencv_tensorflow::FunctionDefLibrary& GraphDef::library() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.GraphDef.library)
- return _internal_library();
- }
- inline void GraphDef::unsafe_arena_set_allocated_library(
- ::opencv_tensorflow::FunctionDefLibrary* library) {
- if (GetArenaForAllocation() == nullptr) {
- delete reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(library_);
- }
- library_ = library;
- if (library) {
- } else {
- }
- // @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.GraphDef.library)
- }
- inline ::opencv_tensorflow::FunctionDefLibrary* GraphDef::release_library() {
- ::opencv_tensorflow::FunctionDefLibrary* temp = library_;
- library_ = 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::FunctionDefLibrary* GraphDef::unsafe_arena_release_library() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.GraphDef.library)
- ::opencv_tensorflow::FunctionDefLibrary* temp = library_;
- library_ = nullptr;
- return temp;
- }
- inline ::opencv_tensorflow::FunctionDefLibrary* GraphDef::_internal_mutable_library() {
- if (library_ == nullptr) {
- auto* p = CreateMaybeMessage<::opencv_tensorflow::FunctionDefLibrary>(GetArenaForAllocation());
- library_ = p;
- }
- return library_;
- }
- inline ::opencv_tensorflow::FunctionDefLibrary* GraphDef::mutable_library() {
- ::opencv_tensorflow::FunctionDefLibrary* _msg = _internal_mutable_library();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.GraphDef.library)
- return _msg;
- }
- inline void GraphDef::set_allocated_library(::opencv_tensorflow::FunctionDefLibrary* library) {
- ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaForAllocation();
- if (message_arena == nullptr) {
- delete reinterpret_cast< ::PROTOBUF_NAMESPACE_ID::MessageLite*>(library_);
- }
- if (library) {
- ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena =
- ::PROTOBUF_NAMESPACE_ID::Arena::InternalHelper<
- ::PROTOBUF_NAMESPACE_ID::MessageLite>::GetOwningArena(
- reinterpret_cast<::PROTOBUF_NAMESPACE_ID::MessageLite*>(library));
- if (message_arena != submessage_arena) {
- library = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage(
- message_arena, library, submessage_arena);
- }
- } else {
- }
- library_ = library;
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.GraphDef.library)
- }
- // -------------------------------------------------------------------
- // -------------------------------------------------------------------
- // NodeDef
- // string name = 1;
- inline void NodeDef::clear_name() {
- name_.ClearToEmpty();
- }
- inline const std::string& NodeDef::name() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.NodeDef.name)
- return _internal_name();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void NodeDef::set_name(ArgT0&& arg0, ArgT... args) {
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.NodeDef.name)
- }
- inline std::string* NodeDef::mutable_name() {
- std::string* _s = _internal_mutable_name();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.NodeDef.name)
- return _s;
- }
- inline const std::string& NodeDef::_internal_name() const {
- return name_.Get();
- }
- inline void NodeDef::_internal_set_name(const std::string& value) {
- name_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* NodeDef::_internal_mutable_name() {
- return name_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* NodeDef::release_name() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.NodeDef.name)
- return name_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void NodeDef::set_allocated_name(std::string* name) {
- if (name != nullptr) {
- } else {
- }
- name_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (name_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- name_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.NodeDef.name)
- }
- // string op = 2;
- inline void NodeDef::clear_op() {
- op_.ClearToEmpty();
- }
- inline const std::string& NodeDef::op() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.NodeDef.op)
- return _internal_op();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void NodeDef::set_op(ArgT0&& arg0, ArgT... args) {
- op_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.NodeDef.op)
- }
- inline std::string* NodeDef::mutable_op() {
- std::string* _s = _internal_mutable_op();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.NodeDef.op)
- return _s;
- }
- inline const std::string& NodeDef::_internal_op() const {
- return op_.Get();
- }
- inline void NodeDef::_internal_set_op(const std::string& value) {
- op_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* NodeDef::_internal_mutable_op() {
- return op_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* NodeDef::release_op() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.NodeDef.op)
- return op_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void NodeDef::set_allocated_op(std::string* op) {
- if (op != nullptr) {
- } else {
- }
- op_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), op,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (op_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- op_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.NodeDef.op)
- }
- // repeated string input = 3;
- inline int NodeDef::_internal_input_size() const {
- return input_.size();
- }
- inline int NodeDef::input_size() const {
- return _internal_input_size();
- }
- inline void NodeDef::clear_input() {
- input_.Clear();
- }
- inline std::string* NodeDef::add_input() {
- std::string* _s = _internal_add_input();
- // @@protoc_insertion_point(field_add_mutable:opencv_tensorflow.NodeDef.input)
- return _s;
- }
- inline const std::string& NodeDef::_internal_input(int index) const {
- return input_.Get(index);
- }
- inline const std::string& NodeDef::input(int index) const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.NodeDef.input)
- return _internal_input(index);
- }
- inline std::string* NodeDef::mutable_input(int index) {
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.NodeDef.input)
- return input_.Mutable(index);
- }
- inline void NodeDef::set_input(int index, const std::string& value) {
- input_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set:opencv_tensorflow.NodeDef.input)
- }
- inline void NodeDef::set_input(int index, std::string&& value) {
- input_.Mutable(index)->assign(std::move(value));
- // @@protoc_insertion_point(field_set:opencv_tensorflow.NodeDef.input)
- }
- inline void NodeDef::set_input(int index, const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- input_.Mutable(index)->assign(value);
- // @@protoc_insertion_point(field_set_char:opencv_tensorflow.NodeDef.input)
- }
- inline void NodeDef::set_input(int index, const char* value, size_t size) {
- input_.Mutable(index)->assign(
- reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.NodeDef.input)
- }
- inline std::string* NodeDef::_internal_add_input() {
- return input_.Add();
- }
- inline void NodeDef::add_input(const std::string& value) {
- input_.Add()->assign(value);
- // @@protoc_insertion_point(field_add:opencv_tensorflow.NodeDef.input)
- }
- inline void NodeDef::add_input(std::string&& value) {
- input_.Add(std::move(value));
- // @@protoc_insertion_point(field_add:opencv_tensorflow.NodeDef.input)
- }
- inline void NodeDef::add_input(const char* value) {
- GOOGLE_DCHECK(value != nullptr);
- input_.Add()->assign(value);
- // @@protoc_insertion_point(field_add_char:opencv_tensorflow.NodeDef.input)
- }
- inline void NodeDef::add_input(const char* value, size_t size) {
- input_.Add()->assign(reinterpret_cast<const char*>(value), size);
- // @@protoc_insertion_point(field_add_pointer:opencv_tensorflow.NodeDef.input)
- }
- inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>&
- NodeDef::input() const {
- // @@protoc_insertion_point(field_list:opencv_tensorflow.NodeDef.input)
- return input_;
- }
- inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>*
- NodeDef::mutable_input() {
- // @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.NodeDef.input)
- return &input_;
- }
- // string device = 4;
- inline void NodeDef::clear_device() {
- device_.ClearToEmpty();
- }
- inline const std::string& NodeDef::device() const {
- // @@protoc_insertion_point(field_get:opencv_tensorflow.NodeDef.device)
- return _internal_device();
- }
- template <typename ArgT0, typename... ArgT>
- inline PROTOBUF_ALWAYS_INLINE
- void NodeDef::set_device(ArgT0&& arg0, ArgT... args) {
- device_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, static_cast<ArgT0 &&>(arg0), args..., GetArenaForAllocation());
- // @@protoc_insertion_point(field_set:opencv_tensorflow.NodeDef.device)
- }
- inline std::string* NodeDef::mutable_device() {
- std::string* _s = _internal_mutable_device();
- // @@protoc_insertion_point(field_mutable:opencv_tensorflow.NodeDef.device)
- return _s;
- }
- inline const std::string& NodeDef::_internal_device() const {
- return device_.Get();
- }
- inline void NodeDef::_internal_set_device(const std::string& value) {
- device_.Set(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, value, GetArenaForAllocation());
- }
- inline std::string* NodeDef::_internal_mutable_device() {
- return device_.Mutable(::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr::EmptyDefault{}, GetArenaForAllocation());
- }
- inline std::string* NodeDef::release_device() {
- // @@protoc_insertion_point(field_release:opencv_tensorflow.NodeDef.device)
- return device_.Release(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), GetArenaForAllocation());
- }
- inline void NodeDef::set_allocated_device(std::string* device) {
- if (device != nullptr) {
- } else {
- }
- device_.SetAllocated(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), device,
- GetArenaForAllocation());
- #ifdef PROTOBUF_FORCE_COPY_DEFAULT_STRING
- if (device_.IsDefault(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited())) {
- device_.Set(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), "", GetArenaForAllocation());
- }
- #endif // PROTOBUF_FORCE_COPY_DEFAULT_STRING
- // @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.NodeDef.device)
- }
- // map<string, .opencv_tensorflow.AttrValue> attr = 5;
- inline int NodeDef::_internal_attr_size() const {
- return attr_.size();
- }
- inline int NodeDef::attr_size() const {
- return _internal_attr_size();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >&
- NodeDef::_internal_attr() const {
- return attr_.GetMap();
- }
- inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >&
- NodeDef::attr() const {
- // @@protoc_insertion_point(field_map:opencv_tensorflow.NodeDef.attr)
- return _internal_attr();
- }
- inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >*
- NodeDef::_internal_mutable_attr() {
- return attr_.MutableMap();
- }
- inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::opencv_tensorflow::AttrValue >*
- NodeDef::mutable_attr() {
- // @@protoc_insertion_point(field_mutable_map:opencv_tensorflow.NodeDef.attr)
- return _internal_mutable_attr();
- }
- #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_graph_2eproto
|