Path: blob/master/modules/dnn/misc/tensorflow/tensor.pb.h
16358 views
// Generated by the protocol buffer compiler. DO NOT EDIT!1// source: tensor.proto23#ifndef PROTOBUF_tensor_2eproto__INCLUDED4#define PROTOBUF_tensor_2eproto__INCLUDED56#include <string>78#include <google/protobuf/stubs/common.h>910#if GOOGLE_PROTOBUF_VERSION < 300500011#error This file was generated by a newer version of protoc which is12#error incompatible with your Protocol Buffer headers. Please update13#error your headers.14#endif15#if 3005001 < GOOGLE_PROTOBUF_MIN_PROTOC_VERSION16#error This file was generated by an older version of protoc which is17#error incompatible with your Protocol Buffer headers. Please18#error regenerate this file with a newer version of protoc.19#endif2021#include <google/protobuf/io/coded_stream.h>22#include <google/protobuf/arena.h>23#include <google/protobuf/arenastring.h>24#include <google/protobuf/generated_message_table_driven.h>25#include <google/protobuf/generated_message_util.h>26#include <google/protobuf/metadata.h>27#include <google/protobuf/message.h>28#include <google/protobuf/repeated_field.h> // IWYU pragma: export29#include <google/protobuf/extension_set.h> // IWYU pragma: export30#include <google/protobuf/unknown_field_set.h>31#include "tensor_shape.pb.h"32#include "types.pb.h"33// @@protoc_insertion_point(includes)3435namespace protobuf_tensor_2eproto {36// Internal implementation detail -- do not use these members.37struct TableStruct {38static const ::google::protobuf::internal::ParseTableField entries[];39static const ::google::protobuf::internal::AuxillaryParseTableField aux[];40static const ::google::protobuf::internal::ParseTable schema[1];41static const ::google::protobuf::internal::FieldMetadata field_metadata[];42static const ::google::protobuf::internal::SerializationTable serialization_table[];43static const ::google::protobuf::uint32 offsets[];44};45void AddDescriptors();46void InitDefaultsTensorProtoImpl();47void InitDefaultsTensorProto();48inline void InitDefaults() {49InitDefaultsTensorProto();50}51} // namespace protobuf_tensor_2eproto52namespace opencv_tensorflow {53class TensorProto;54class TensorProtoDefaultTypeInternal;55extern TensorProtoDefaultTypeInternal _TensorProto_default_instance_;56} // namespace opencv_tensorflow57namespace opencv_tensorflow {5859// ===================================================================6061class TensorProto : public ::google::protobuf::Message /* @@protoc_insertion_point(class_definition:opencv_tensorflow.TensorProto) */ {62public:63TensorProto();64virtual ~TensorProto();6566TensorProto(const TensorProto& from);6768inline TensorProto& operator=(const TensorProto& from) {69CopyFrom(from);70return *this;71}72#if LANG_CXX1173TensorProto(TensorProto&& from) noexcept74: TensorProto() {75*this = ::std::move(from);76}7778inline TensorProto& operator=(TensorProto&& from) noexcept {79if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) {80if (this != &from) InternalSwap(&from);81} else {82CopyFrom(from);83}84return *this;85}86#endif87inline ::google::protobuf::Arena* GetArena() const PROTOBUF_FINAL {88return GetArenaNoVirtual();89}90inline void* GetMaybeArenaPointer() const PROTOBUF_FINAL {91return MaybeArenaPtr();92}93static const ::google::protobuf::Descriptor* descriptor();94static const TensorProto& default_instance();9596static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY97static inline const TensorProto* internal_default_instance() {98return reinterpret_cast<const TensorProto*>(99&_TensorProto_default_instance_);100}101static PROTOBUF_CONSTEXPR int const kIndexInFileMessages =1020;103104void UnsafeArenaSwap(TensorProto* other);105void Swap(TensorProto* other);106friend void swap(TensorProto& a, TensorProto& b) {107a.Swap(&b);108}109110// implements Message ----------------------------------------------111112inline TensorProto* New() const PROTOBUF_FINAL { return New(NULL); }113114TensorProto* New(::google::protobuf::Arena* arena) const PROTOBUF_FINAL;115void CopyFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;116void MergeFrom(const ::google::protobuf::Message& from) PROTOBUF_FINAL;117void CopyFrom(const TensorProto& from);118void MergeFrom(const TensorProto& from);119void Clear() PROTOBUF_FINAL;120bool IsInitialized() const PROTOBUF_FINAL;121122size_t ByteSizeLong() const PROTOBUF_FINAL;123bool MergePartialFromCodedStream(124::google::protobuf::io::CodedInputStream* input) PROTOBUF_FINAL;125void SerializeWithCachedSizes(126::google::protobuf::io::CodedOutputStream* output) const PROTOBUF_FINAL;127::google::protobuf::uint8* InternalSerializeWithCachedSizesToArray(128bool deterministic, ::google::protobuf::uint8* target) const PROTOBUF_FINAL;129int GetCachedSize() const PROTOBUF_FINAL { return _cached_size_; }130private:131void SharedCtor();132void SharedDtor();133void SetCachedSize(int size) const PROTOBUF_FINAL;134void InternalSwap(TensorProto* other);135protected:136explicit TensorProto(::google::protobuf::Arena* arena);137private:138static void ArenaDtor(void* object);139inline void RegisterArenaDtor(::google::protobuf::Arena* arena);140private:141inline ::google::protobuf::Arena* GetArenaNoVirtual() const {142return _internal_metadata_.arena();143}144inline void* MaybeArenaPtr() const {145return _internal_metadata_.raw_arena_ptr();146}147public:148149::google::protobuf::Metadata GetMetadata() const PROTOBUF_FINAL;150151// nested types ----------------------------------------------------152153// accessors -------------------------------------------------------154155// repeated float float_val = 5 [packed = true];156int float_val_size() const;157void clear_float_val();158static const int kFloatValFieldNumber = 5;159float float_val(int index) const;160void set_float_val(int index, float value);161void add_float_val(float value);162const ::google::protobuf::RepeatedField< float >&163float_val() const;164::google::protobuf::RepeatedField< float >*165mutable_float_val();166167// repeated double double_val = 6 [packed = true];168int double_val_size() const;169void clear_double_val();170static const int kDoubleValFieldNumber = 6;171double double_val(int index) const;172void set_double_val(int index, double value);173void add_double_val(double value);174const ::google::protobuf::RepeatedField< double >&175double_val() const;176::google::protobuf::RepeatedField< double >*177mutable_double_val();178179// repeated int32 int_val = 7 [packed = true];180int int_val_size() const;181void clear_int_val();182static const int kIntValFieldNumber = 7;183::google::protobuf::int32 int_val(int index) const;184void set_int_val(int index, ::google::protobuf::int32 value);185void add_int_val(::google::protobuf::int32 value);186const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&187int_val() const;188::google::protobuf::RepeatedField< ::google::protobuf::int32 >*189mutable_int_val();190191// repeated bytes string_val = 8;192int string_val_size() const;193void clear_string_val();194static const int kStringValFieldNumber = 8;195const ::std::string& string_val(int index) const;196::std::string* mutable_string_val(int index);197void set_string_val(int index, const ::std::string& value);198#if LANG_CXX11199void set_string_val(int index, ::std::string&& value);200#endif201void set_string_val(int index, const char* value);202void set_string_val(int index, const void* value, size_t size);203::std::string* add_string_val();204void add_string_val(const ::std::string& value);205#if LANG_CXX11206void add_string_val(::std::string&& value);207#endif208void add_string_val(const char* value);209void add_string_val(const void* value, size_t size);210const ::google::protobuf::RepeatedPtrField< ::std::string>& string_val() const;211::google::protobuf::RepeatedPtrField< ::std::string>* mutable_string_val();212213// repeated float scomplex_val = 9 [packed = true];214int scomplex_val_size() const;215void clear_scomplex_val();216static const int kScomplexValFieldNumber = 9;217float scomplex_val(int index) const;218void set_scomplex_val(int index, float value);219void add_scomplex_val(float value);220const ::google::protobuf::RepeatedField< float >&221scomplex_val() const;222::google::protobuf::RepeatedField< float >*223mutable_scomplex_val();224225// repeated int64 int64_val = 10 [packed = true];226int int64_val_size() const;227void clear_int64_val();228static const int kInt64ValFieldNumber = 10;229::google::protobuf::int64 int64_val(int index) const;230void set_int64_val(int index, ::google::protobuf::int64 value);231void add_int64_val(::google::protobuf::int64 value);232const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&233int64_val() const;234::google::protobuf::RepeatedField< ::google::protobuf::int64 >*235mutable_int64_val();236237// repeated bool bool_val = 11 [packed = true];238int bool_val_size() const;239void clear_bool_val();240static const int kBoolValFieldNumber = 11;241bool bool_val(int index) const;242void set_bool_val(int index, bool value);243void add_bool_val(bool value);244const ::google::protobuf::RepeatedField< bool >&245bool_val() const;246::google::protobuf::RepeatedField< bool >*247mutable_bool_val();248249// repeated double dcomplex_val = 12 [packed = true];250int dcomplex_val_size() const;251void clear_dcomplex_val();252static const int kDcomplexValFieldNumber = 12;253double dcomplex_val(int index) const;254void set_dcomplex_val(int index, double value);255void add_dcomplex_val(double value);256const ::google::protobuf::RepeatedField< double >&257dcomplex_val() const;258::google::protobuf::RepeatedField< double >*259mutable_dcomplex_val();260261// repeated int32 half_val = 13 [packed = true];262int half_val_size() const;263void clear_half_val();264static const int kHalfValFieldNumber = 13;265::google::protobuf::int32 half_val(int index) const;266void set_half_val(int index, ::google::protobuf::int32 value);267void add_half_val(::google::protobuf::int32 value);268const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&269half_val() const;270::google::protobuf::RepeatedField< ::google::protobuf::int32 >*271mutable_half_val();272273// bytes tensor_content = 4;274void clear_tensor_content();275static const int kTensorContentFieldNumber = 4;276const ::std::string& tensor_content() const;277void set_tensor_content(const ::std::string& value);278#if LANG_CXX11279void set_tensor_content(::std::string&& value);280#endif281void set_tensor_content(const char* value);282void set_tensor_content(const void* value, size_t size);283::std::string* mutable_tensor_content();284::std::string* release_tensor_content();285void set_allocated_tensor_content(::std::string* tensor_content);286PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"287" string fields are deprecated and will be removed in a"288" future release.")289::std::string* unsafe_arena_release_tensor_content();290PROTOBUF_RUNTIME_DEPRECATED("The unsafe_arena_ accessors for"291" string fields are deprecated and will be removed in a"292" future release.")293void unsafe_arena_set_allocated_tensor_content(294::std::string* tensor_content);295296// .opencv_tensorflow.TensorShapeProto tensor_shape = 2;297bool has_tensor_shape() const;298void clear_tensor_shape();299static const int kTensorShapeFieldNumber = 2;300private:301void _slow_mutable_tensor_shape();302public:303const ::opencv_tensorflow::TensorShapeProto& tensor_shape() const;304::opencv_tensorflow::TensorShapeProto* release_tensor_shape();305::opencv_tensorflow::TensorShapeProto* mutable_tensor_shape();306void set_allocated_tensor_shape(::opencv_tensorflow::TensorShapeProto* tensor_shape);307void unsafe_arena_set_allocated_tensor_shape(308::opencv_tensorflow::TensorShapeProto* tensor_shape);309::opencv_tensorflow::TensorShapeProto* unsafe_arena_release_tensor_shape();310311// .opencv_tensorflow.DataType dtype = 1;312void clear_dtype();313static const int kDtypeFieldNumber = 1;314::opencv_tensorflow::DataType dtype() const;315void set_dtype(::opencv_tensorflow::DataType value);316317// int32 version_number = 3;318void clear_version_number();319static const int kVersionNumberFieldNumber = 3;320::google::protobuf::int32 version_number() const;321void set_version_number(::google::protobuf::int32 value);322323// @@protoc_insertion_point(class_scope:opencv_tensorflow.TensorProto)324private:325326::google::protobuf::internal::InternalMetadataWithArena _internal_metadata_;327template <typename T> friend class ::google::protobuf::Arena::InternalHelper;328typedef void InternalArenaConstructable_;329typedef void DestructorSkippable_;330::google::protobuf::RepeatedField< float > float_val_;331mutable int _float_val_cached_byte_size_;332::google::protobuf::RepeatedField< double > double_val_;333mutable int _double_val_cached_byte_size_;334::google::protobuf::RepeatedField< ::google::protobuf::int32 > int_val_;335mutable int _int_val_cached_byte_size_;336::google::protobuf::RepeatedPtrField< ::std::string> string_val_;337::google::protobuf::RepeatedField< float > scomplex_val_;338mutable int _scomplex_val_cached_byte_size_;339::google::protobuf::RepeatedField< ::google::protobuf::int64 > int64_val_;340mutable int _int64_val_cached_byte_size_;341::google::protobuf::RepeatedField< bool > bool_val_;342mutable int _bool_val_cached_byte_size_;343::google::protobuf::RepeatedField< double > dcomplex_val_;344mutable int _dcomplex_val_cached_byte_size_;345::google::protobuf::RepeatedField< ::google::protobuf::int32 > half_val_;346mutable int _half_val_cached_byte_size_;347::google::protobuf::internal::ArenaStringPtr tensor_content_;348::opencv_tensorflow::TensorShapeProto* tensor_shape_;349int dtype_;350::google::protobuf::int32 version_number_;351mutable int _cached_size_;352friend struct ::protobuf_tensor_2eproto::TableStruct;353friend void ::protobuf_tensor_2eproto::InitDefaultsTensorProtoImpl();354};355// ===================================================================356357358// ===================================================================359360#ifdef __GNUC__361#pragma GCC diagnostic push362#pragma GCC diagnostic ignored "-Wstrict-aliasing"363#endif // __GNUC__364// TensorProto365366// .opencv_tensorflow.DataType dtype = 1;367inline void TensorProto::clear_dtype() {368dtype_ = 0;369}370inline ::opencv_tensorflow::DataType TensorProto::dtype() const {371// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.dtype)372return static_cast< ::opencv_tensorflow::DataType >(dtype_);373}374inline void TensorProto::set_dtype(::opencv_tensorflow::DataType value) {375376dtype_ = value;377// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.dtype)378}379380// .opencv_tensorflow.TensorShapeProto tensor_shape = 2;381inline bool TensorProto::has_tensor_shape() const {382return this != internal_default_instance() && tensor_shape_ != NULL;383}384inline const ::opencv_tensorflow::TensorShapeProto& TensorProto::tensor_shape() const {385const ::opencv_tensorflow::TensorShapeProto* p = tensor_shape_;386// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.tensor_shape)387return p != NULL ? *p : *reinterpret_cast<const ::opencv_tensorflow::TensorShapeProto*>(388&::opencv_tensorflow::_TensorShapeProto_default_instance_);389}390inline ::opencv_tensorflow::TensorShapeProto* TensorProto::release_tensor_shape() {391// @@protoc_insertion_point(field_release:opencv_tensorflow.TensorProto.tensor_shape)392393::opencv_tensorflow::TensorShapeProto* temp = tensor_shape_;394if (GetArenaNoVirtual() != NULL) {395temp = ::google::protobuf::internal::DuplicateIfNonNull(temp, NULL);396}397tensor_shape_ = NULL;398return temp;399}400inline ::opencv_tensorflow::TensorShapeProto* TensorProto::unsafe_arena_release_tensor_shape() {401// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.TensorProto.tensor_shape)402403::opencv_tensorflow::TensorShapeProto* temp = tensor_shape_;404tensor_shape_ = NULL;405return temp;406}407inline ::opencv_tensorflow::TensorShapeProto* TensorProto::mutable_tensor_shape() {408409if (tensor_shape_ == NULL) {410_slow_mutable_tensor_shape();411}412// @@protoc_insertion_point(field_mutable:opencv_tensorflow.TensorProto.tensor_shape)413return tensor_shape_;414}415inline void TensorProto::set_allocated_tensor_shape(::opencv_tensorflow::TensorShapeProto* tensor_shape) {416::google::protobuf::Arena* message_arena = GetArenaNoVirtual();417if (message_arena == NULL) {418delete reinterpret_cast< ::google::protobuf::MessageLite*>(tensor_shape_);419}420if (tensor_shape) {421::google::protobuf::Arena* submessage_arena =422reinterpret_cast< ::google::protobuf::MessageLite*>(tensor_shape)->GetArena();423if (message_arena != submessage_arena) {424tensor_shape = ::google::protobuf::internal::GetOwnedMessage(425message_arena, tensor_shape, submessage_arena);426}427428} else {429430}431tensor_shape_ = tensor_shape;432// @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.TensorProto.tensor_shape)433}434435// int32 version_number = 3;436inline void TensorProto::clear_version_number() {437version_number_ = 0;438}439inline ::google::protobuf::int32 TensorProto::version_number() const {440// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.version_number)441return version_number_;442}443inline void TensorProto::set_version_number(::google::protobuf::int32 value) {444445version_number_ = value;446// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.version_number)447}448449// bytes tensor_content = 4;450inline void TensorProto::clear_tensor_content() {451tensor_content_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());452}453inline const ::std::string& TensorProto::tensor_content() const {454// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.tensor_content)455return tensor_content_.Get();456}457inline void TensorProto::set_tensor_content(const ::std::string& value) {458459tensor_content_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value, GetArenaNoVirtual());460// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.tensor_content)461}462#if LANG_CXX11463inline void TensorProto::set_tensor_content(::std::string&& value) {464465tensor_content_.Set(466&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::move(value), GetArenaNoVirtual());467// @@protoc_insertion_point(field_set_rvalue:opencv_tensorflow.TensorProto.tensor_content)468}469#endif470inline void TensorProto::set_tensor_content(const char* value) {471GOOGLE_DCHECK(value != NULL);472473tensor_content_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(value),474GetArenaNoVirtual());475// @@protoc_insertion_point(field_set_char:opencv_tensorflow.TensorProto.tensor_content)476}477inline void TensorProto::set_tensor_content(const void* value,478size_t size) {479480tensor_content_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::string(481reinterpret_cast<const char*>(value), size), GetArenaNoVirtual());482// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.TensorProto.tensor_content)483}484inline ::std::string* TensorProto::mutable_tensor_content() {485486// @@protoc_insertion_point(field_mutable:opencv_tensorflow.TensorProto.tensor_content)487return tensor_content_.Mutable(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());488}489inline ::std::string* TensorProto::release_tensor_content() {490// @@protoc_insertion_point(field_release:opencv_tensorflow.TensorProto.tensor_content)491492return tensor_content_.Release(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());493}494inline void TensorProto::set_allocated_tensor_content(::std::string* tensor_content) {495if (tensor_content != NULL) {496497} else {498499}500tensor_content_.SetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), tensor_content,501GetArenaNoVirtual());502// @@protoc_insertion_point(field_set_allocated:opencv_tensorflow.TensorProto.tensor_content)503}504inline ::std::string* TensorProto::unsafe_arena_release_tensor_content() {505// @@protoc_insertion_point(field_unsafe_arena_release:opencv_tensorflow.TensorProto.tensor_content)506GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);507508return tensor_content_.UnsafeArenaRelease(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),509GetArenaNoVirtual());510}511inline void TensorProto::unsafe_arena_set_allocated_tensor_content(512::std::string* tensor_content) {513GOOGLE_DCHECK(GetArenaNoVirtual() != NULL);514if (tensor_content != NULL) {515516} else {517518}519tensor_content_.UnsafeArenaSetAllocated(&::google::protobuf::internal::GetEmptyStringAlreadyInited(),520tensor_content, GetArenaNoVirtual());521// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.TensorProto.tensor_content)522}523524// repeated int32 half_val = 13 [packed = true];525inline int TensorProto::half_val_size() const {526return half_val_.size();527}528inline void TensorProto::clear_half_val() {529half_val_.Clear();530}531inline ::google::protobuf::int32 TensorProto::half_val(int index) const {532// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.half_val)533return half_val_.Get(index);534}535inline void TensorProto::set_half_val(int index, ::google::protobuf::int32 value) {536half_val_.Set(index, value);537// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.half_val)538}539inline void TensorProto::add_half_val(::google::protobuf::int32 value) {540half_val_.Add(value);541// @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.half_val)542}543inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&544TensorProto::half_val() const {545// @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.half_val)546return half_val_;547}548inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*549TensorProto::mutable_half_val() {550// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.half_val)551return &half_val_;552}553554// repeated float float_val = 5 [packed = true];555inline int TensorProto::float_val_size() const {556return float_val_.size();557}558inline void TensorProto::clear_float_val() {559float_val_.Clear();560}561inline float TensorProto::float_val(int index) const {562// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.float_val)563return float_val_.Get(index);564}565inline void TensorProto::set_float_val(int index, float value) {566float_val_.Set(index, value);567// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.float_val)568}569inline void TensorProto::add_float_val(float value) {570float_val_.Add(value);571// @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.float_val)572}573inline const ::google::protobuf::RepeatedField< float >&574TensorProto::float_val() const {575// @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.float_val)576return float_val_;577}578inline ::google::protobuf::RepeatedField< float >*579TensorProto::mutable_float_val() {580// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.float_val)581return &float_val_;582}583584// repeated double double_val = 6 [packed = true];585inline int TensorProto::double_val_size() const {586return double_val_.size();587}588inline void TensorProto::clear_double_val() {589double_val_.Clear();590}591inline double TensorProto::double_val(int index) const {592// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.double_val)593return double_val_.Get(index);594}595inline void TensorProto::set_double_val(int index, double value) {596double_val_.Set(index, value);597// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.double_val)598}599inline void TensorProto::add_double_val(double value) {600double_val_.Add(value);601// @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.double_val)602}603inline const ::google::protobuf::RepeatedField< double >&604TensorProto::double_val() const {605// @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.double_val)606return double_val_;607}608inline ::google::protobuf::RepeatedField< double >*609TensorProto::mutable_double_val() {610// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.double_val)611return &double_val_;612}613614// repeated int32 int_val = 7 [packed = true];615inline int TensorProto::int_val_size() const {616return int_val_.size();617}618inline void TensorProto::clear_int_val() {619int_val_.Clear();620}621inline ::google::protobuf::int32 TensorProto::int_val(int index) const {622// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.int_val)623return int_val_.Get(index);624}625inline void TensorProto::set_int_val(int index, ::google::protobuf::int32 value) {626int_val_.Set(index, value);627// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.int_val)628}629inline void TensorProto::add_int_val(::google::protobuf::int32 value) {630int_val_.Add(value);631// @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.int_val)632}633inline const ::google::protobuf::RepeatedField< ::google::protobuf::int32 >&634TensorProto::int_val() const {635// @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.int_val)636return int_val_;637}638inline ::google::protobuf::RepeatedField< ::google::protobuf::int32 >*639TensorProto::mutable_int_val() {640// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.int_val)641return &int_val_;642}643644// repeated bytes string_val = 8;645inline int TensorProto::string_val_size() const {646return string_val_.size();647}648inline void TensorProto::clear_string_val() {649string_val_.Clear();650}651inline const ::std::string& TensorProto::string_val(int index) const {652// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.string_val)653return string_val_.Get(index);654}655inline ::std::string* TensorProto::mutable_string_val(int index) {656// @@protoc_insertion_point(field_mutable:opencv_tensorflow.TensorProto.string_val)657return string_val_.Mutable(index);658}659inline void TensorProto::set_string_val(int index, const ::std::string& value) {660// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.string_val)661string_val_.Mutable(index)->assign(value);662}663#if LANG_CXX11664inline void TensorProto::set_string_val(int index, ::std::string&& value) {665// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.string_val)666string_val_.Mutable(index)->assign(std::move(value));667}668#endif669inline void TensorProto::set_string_val(int index, const char* value) {670GOOGLE_DCHECK(value != NULL);671string_val_.Mutable(index)->assign(value);672// @@protoc_insertion_point(field_set_char:opencv_tensorflow.TensorProto.string_val)673}674inline void TensorProto::set_string_val(int index, const void* value, size_t size) {675string_val_.Mutable(index)->assign(676reinterpret_cast<const char*>(value), size);677// @@protoc_insertion_point(field_set_pointer:opencv_tensorflow.TensorProto.string_val)678}679inline ::std::string* TensorProto::add_string_val() {680// @@protoc_insertion_point(field_add_mutable:opencv_tensorflow.TensorProto.string_val)681return string_val_.Add();682}683inline void TensorProto::add_string_val(const ::std::string& value) {684string_val_.Add()->assign(value);685// @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.string_val)686}687#if LANG_CXX11688inline void TensorProto::add_string_val(::std::string&& value) {689string_val_.Add(std::move(value));690// @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.string_val)691}692#endif693inline void TensorProto::add_string_val(const char* value) {694GOOGLE_DCHECK(value != NULL);695string_val_.Add()->assign(value);696// @@protoc_insertion_point(field_add_char:opencv_tensorflow.TensorProto.string_val)697}698inline void TensorProto::add_string_val(const void* value, size_t size) {699string_val_.Add()->assign(reinterpret_cast<const char*>(value), size);700// @@protoc_insertion_point(field_add_pointer:opencv_tensorflow.TensorProto.string_val)701}702inline const ::google::protobuf::RepeatedPtrField< ::std::string>&703TensorProto::string_val() const {704// @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.string_val)705return string_val_;706}707inline ::google::protobuf::RepeatedPtrField< ::std::string>*708TensorProto::mutable_string_val() {709// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.string_val)710return &string_val_;711}712713// repeated float scomplex_val = 9 [packed = true];714inline int TensorProto::scomplex_val_size() const {715return scomplex_val_.size();716}717inline void TensorProto::clear_scomplex_val() {718scomplex_val_.Clear();719}720inline float TensorProto::scomplex_val(int index) const {721// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.scomplex_val)722return scomplex_val_.Get(index);723}724inline void TensorProto::set_scomplex_val(int index, float value) {725scomplex_val_.Set(index, value);726// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.scomplex_val)727}728inline void TensorProto::add_scomplex_val(float value) {729scomplex_val_.Add(value);730// @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.scomplex_val)731}732inline const ::google::protobuf::RepeatedField< float >&733TensorProto::scomplex_val() const {734// @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.scomplex_val)735return scomplex_val_;736}737inline ::google::protobuf::RepeatedField< float >*738TensorProto::mutable_scomplex_val() {739// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.scomplex_val)740return &scomplex_val_;741}742743// repeated int64 int64_val = 10 [packed = true];744inline int TensorProto::int64_val_size() const {745return int64_val_.size();746}747inline void TensorProto::clear_int64_val() {748int64_val_.Clear();749}750inline ::google::protobuf::int64 TensorProto::int64_val(int index) const {751// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.int64_val)752return int64_val_.Get(index);753}754inline void TensorProto::set_int64_val(int index, ::google::protobuf::int64 value) {755int64_val_.Set(index, value);756// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.int64_val)757}758inline void TensorProto::add_int64_val(::google::protobuf::int64 value) {759int64_val_.Add(value);760// @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.int64_val)761}762inline const ::google::protobuf::RepeatedField< ::google::protobuf::int64 >&763TensorProto::int64_val() const {764// @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.int64_val)765return int64_val_;766}767inline ::google::protobuf::RepeatedField< ::google::protobuf::int64 >*768TensorProto::mutable_int64_val() {769// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.int64_val)770return &int64_val_;771}772773// repeated bool bool_val = 11 [packed = true];774inline int TensorProto::bool_val_size() const {775return bool_val_.size();776}777inline void TensorProto::clear_bool_val() {778bool_val_.Clear();779}780inline bool TensorProto::bool_val(int index) const {781// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.bool_val)782return bool_val_.Get(index);783}784inline void TensorProto::set_bool_val(int index, bool value) {785bool_val_.Set(index, value);786// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.bool_val)787}788inline void TensorProto::add_bool_val(bool value) {789bool_val_.Add(value);790// @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.bool_val)791}792inline const ::google::protobuf::RepeatedField< bool >&793TensorProto::bool_val() const {794// @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.bool_val)795return bool_val_;796}797inline ::google::protobuf::RepeatedField< bool >*798TensorProto::mutable_bool_val() {799// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.bool_val)800return &bool_val_;801}802803// repeated double dcomplex_val = 12 [packed = true];804inline int TensorProto::dcomplex_val_size() const {805return dcomplex_val_.size();806}807inline void TensorProto::clear_dcomplex_val() {808dcomplex_val_.Clear();809}810inline double TensorProto::dcomplex_val(int index) const {811// @@protoc_insertion_point(field_get:opencv_tensorflow.TensorProto.dcomplex_val)812return dcomplex_val_.Get(index);813}814inline void TensorProto::set_dcomplex_val(int index, double value) {815dcomplex_val_.Set(index, value);816// @@protoc_insertion_point(field_set:opencv_tensorflow.TensorProto.dcomplex_val)817}818inline void TensorProto::add_dcomplex_val(double value) {819dcomplex_val_.Add(value);820// @@protoc_insertion_point(field_add:opencv_tensorflow.TensorProto.dcomplex_val)821}822inline const ::google::protobuf::RepeatedField< double >&823TensorProto::dcomplex_val() const {824// @@protoc_insertion_point(field_list:opencv_tensorflow.TensorProto.dcomplex_val)825return dcomplex_val_;826}827inline ::google::protobuf::RepeatedField< double >*828TensorProto::mutable_dcomplex_val() {829// @@protoc_insertion_point(field_mutable_list:opencv_tensorflow.TensorProto.dcomplex_val)830return &dcomplex_val_;831}832833#ifdef __GNUC__834#pragma GCC diagnostic pop835#endif // __GNUC__836837// @@protoc_insertion_point(namespace_scope)838839} // namespace opencv_tensorflow840841// @@protoc_insertion_point(global_scope)842843#endif // PROTOBUF_tensor_2eproto__INCLUDED844845846