Path: blob/master/modules/dnn/misc/tensorflow/tensor.pb.cc
16358 views
// Generated by the protocol buffer compiler. DO NOT EDIT!1// source: tensor.proto23#include "tensor.pb.h"45#include <algorithm>67#include <google/protobuf/stubs/common.h>8#include <google/protobuf/stubs/port.h>9#include <google/protobuf/stubs/once.h>10#include <google/protobuf/io/coded_stream.h>11#include <google/protobuf/wire_format_lite_inl.h>12#include <google/protobuf/descriptor.h>13#include <google/protobuf/generated_message_reflection.h>14#include <google/protobuf/reflection_ops.h>15#include <google/protobuf/wire_format.h>16// This is a temporary google only hack17#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS18#include "third_party/protobuf/version.h"19#endif20// @@protoc_insertion_point(includes)21namespace opencv_tensorflow {22class TensorProtoDefaultTypeInternal {23public:24::google::protobuf::internal::ExplicitlyConstructed<TensorProto>25_instance;26} _TensorProto_default_instance_;27} // namespace opencv_tensorflow28namespace protobuf_tensor_2eproto {29void InitDefaultsTensorProtoImpl() {30GOOGLE_PROTOBUF_VERIFY_VERSION;3132#ifdef GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS33::google::protobuf::internal::InitProtobufDefaultsForceUnique();34#else35::google::protobuf::internal::InitProtobufDefaults();36#endif // GOOGLE_PROTOBUF_ENFORCE_UNIQUENESS37protobuf_tensor_5fshape_2eproto::InitDefaultsTensorShapeProto();38{39void* ptr = &::opencv_tensorflow::_TensorProto_default_instance_;40new (ptr) ::opencv_tensorflow::TensorProto();41::google::protobuf::internal::OnShutdownDestroyMessage(ptr);42}43::opencv_tensorflow::TensorProto::InitAsDefaultInstance();44}4546void InitDefaultsTensorProto() {47static GOOGLE_PROTOBUF_DECLARE_ONCE(once);48::google::protobuf::GoogleOnceInit(&once, &InitDefaultsTensorProtoImpl);49}5051::google::protobuf::Metadata file_level_metadata[1];5253const ::google::protobuf::uint32 TableStruct::offsets[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {54~0u, // no _has_bits_55GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, _internal_metadata_),56~0u, // no _extensions_57~0u, // no _oneof_case_58~0u, // no _weak_field_map_59GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, dtype_),60GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, tensor_shape_),61GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, version_number_),62GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, tensor_content_),63GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, half_val_),64GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, float_val_),65GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, double_val_),66GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, int_val_),67GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, string_val_),68GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, scomplex_val_),69GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, int64_val_),70GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, bool_val_),71GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(::opencv_tensorflow::TensorProto, dcomplex_val_),72};73static const ::google::protobuf::internal::MigrationSchema schemas[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {74{ 0, -1, sizeof(::opencv_tensorflow::TensorProto)},75};7677static ::google::protobuf::Message const * const file_default_instances[] = {78reinterpret_cast<const ::google::protobuf::Message*>(&::opencv_tensorflow::_TensorProto_default_instance_),79};8081void protobuf_AssignDescriptors() {82AddDescriptors();83::google::protobuf::MessageFactory* factory = NULL;84AssignDescriptors(85"tensor.proto", schemas, file_default_instances, TableStruct::offsets, factory,86file_level_metadata, NULL, NULL);87}8889void protobuf_AssignDescriptorsOnce() {90static GOOGLE_PROTOBUF_DECLARE_ONCE(once);91::google::protobuf::GoogleOnceInit(&once, &protobuf_AssignDescriptors);92}9394void protobuf_RegisterTypes(const ::std::string&) GOOGLE_PROTOBUF_ATTRIBUTE_COLD;95void protobuf_RegisterTypes(const ::std::string&) {96protobuf_AssignDescriptorsOnce();97::google::protobuf::internal::RegisterAllTypes(file_level_metadata, 1);98}99100void AddDescriptorsImpl() {101InitDefaults();102static const char descriptor[] GOOGLE_PROTOBUF_ATTRIBUTE_SECTION_VARIABLE(protodesc_cold) = {103"\n\014tensor.proto\022\021opencv_tensorflow\032\022tenso"104"r_shape.proto\032\013types.proto\"\363\002\n\013TensorPro"105"to\022*\n\005dtype\030\001 \001(\0162\033.opencv_tensorflow.Da"106"taType\0229\n\014tensor_shape\030\002 \001(\0132#.opencv_te"107"nsorflow.TensorShapeProto\022\026\n\016version_num"108"ber\030\003 \001(\005\022\026\n\016tensor_content\030\004 \001(\014\022\024\n\010hal"109"f_val\030\r \003(\005B\002\020\001\022\025\n\tfloat_val\030\005 \003(\002B\002\020\001\022\026"110"\n\ndouble_val\030\006 \003(\001B\002\020\001\022\023\n\007int_val\030\007 \003(\005B"111"\002\020\001\022\022\n\nstring_val\030\010 \003(\014\022\030\n\014scomplex_val\030"112"\t \003(\002B\002\020\001\022\025\n\tint64_val\030\n \003(\003B\002\020\001\022\024\n\010bool"113"_val\030\013 \003(\010B\002\020\001\022\030\n\014dcomplex_val\030\014 \003(\001B\002\020\001"114"B-\n\030org.tensorflow.frameworkB\014TensorProt"115"osP\001\370\001\001b\006proto3"116};117::google::protobuf::DescriptorPool::InternalAddGeneratedFile(118descriptor, 495);119::google::protobuf::MessageFactory::InternalRegisterGeneratedFile(120"tensor.proto", &protobuf_RegisterTypes);121::protobuf_tensor_5fshape_2eproto::AddDescriptors();122::protobuf_types_2eproto::AddDescriptors();123}124125void AddDescriptors() {126static GOOGLE_PROTOBUF_DECLARE_ONCE(once);127::google::protobuf::GoogleOnceInit(&once, &AddDescriptorsImpl);128}129// Force AddDescriptors() to be called at dynamic initialization time.130struct StaticDescriptorInitializer {131StaticDescriptorInitializer() {132AddDescriptors();133}134} static_descriptor_initializer;135} // namespace protobuf_tensor_2eproto136namespace opencv_tensorflow {137138// ===================================================================139140void TensorProto::InitAsDefaultInstance() {141::opencv_tensorflow::_TensorProto_default_instance_._instance.get_mutable()->tensor_shape_ = const_cast< ::opencv_tensorflow::TensorShapeProto*>(142::opencv_tensorflow::TensorShapeProto::internal_default_instance());143}144void TensorProto::_slow_mutable_tensor_shape() {145tensor_shape_ = ::google::protobuf::Arena::CreateMessage< ::opencv_tensorflow::TensorShapeProto >(146GetArenaNoVirtual());147}148void TensorProto::unsafe_arena_set_allocated_tensor_shape(149::opencv_tensorflow::TensorShapeProto* tensor_shape) {150if (GetArenaNoVirtual() == NULL) {151delete tensor_shape_;152}153tensor_shape_ = tensor_shape;154if (tensor_shape) {155156} else {157158}159// @@protoc_insertion_point(field_unsafe_arena_set_allocated:opencv_tensorflow.TensorProto.tensor_shape)160}161void TensorProto::clear_tensor_shape() {162if (GetArenaNoVirtual() == NULL && tensor_shape_ != NULL) {163delete tensor_shape_;164}165tensor_shape_ = NULL;166}167#if !defined(_MSC_VER) || _MSC_VER >= 1900168const int TensorProto::kDtypeFieldNumber;169const int TensorProto::kTensorShapeFieldNumber;170const int TensorProto::kVersionNumberFieldNumber;171const int TensorProto::kTensorContentFieldNumber;172const int TensorProto::kHalfValFieldNumber;173const int TensorProto::kFloatValFieldNumber;174const int TensorProto::kDoubleValFieldNumber;175const int TensorProto::kIntValFieldNumber;176const int TensorProto::kStringValFieldNumber;177const int TensorProto::kScomplexValFieldNumber;178const int TensorProto::kInt64ValFieldNumber;179const int TensorProto::kBoolValFieldNumber;180const int TensorProto::kDcomplexValFieldNumber;181#endif // !defined(_MSC_VER) || _MSC_VER >= 1900182183TensorProto::TensorProto()184: ::google::protobuf::Message(), _internal_metadata_(NULL) {185if (GOOGLE_PREDICT_TRUE(this != internal_default_instance())) {186::protobuf_tensor_2eproto::InitDefaultsTensorProto();187}188SharedCtor();189// @@protoc_insertion_point(constructor:opencv_tensorflow.TensorProto)190}191TensorProto::TensorProto(::google::protobuf::Arena* arena)192: ::google::protobuf::Message(),193_internal_metadata_(arena),194float_val_(arena),195double_val_(arena),196int_val_(arena),197string_val_(arena),198scomplex_val_(arena),199int64_val_(arena),200bool_val_(arena),201dcomplex_val_(arena),202half_val_(arena) {203::protobuf_tensor_2eproto::InitDefaultsTensorProto();204SharedCtor();205RegisterArenaDtor(arena);206// @@protoc_insertion_point(arena_constructor:opencv_tensorflow.TensorProto)207}208TensorProto::TensorProto(const TensorProto& from)209: ::google::protobuf::Message(),210_internal_metadata_(NULL),211float_val_(from.float_val_),212double_val_(from.double_val_),213int_val_(from.int_val_),214string_val_(from.string_val_),215scomplex_val_(from.scomplex_val_),216int64_val_(from.int64_val_),217bool_val_(from.bool_val_),218dcomplex_val_(from.dcomplex_val_),219half_val_(from.half_val_),220_cached_size_(0) {221_internal_metadata_.MergeFrom(from._internal_metadata_);222tensor_content_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());223if (from.tensor_content().size() > 0) {224tensor_content_.Set(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from.tensor_content(),225GetArenaNoVirtual());226}227if (from.has_tensor_shape()) {228tensor_shape_ = new ::opencv_tensorflow::TensorShapeProto(*from.tensor_shape_);229} else {230tensor_shape_ = NULL;231}232::memcpy(&dtype_, &from.dtype_,233static_cast<size_t>(reinterpret_cast<char*>(&version_number_) -234reinterpret_cast<char*>(&dtype_)) + sizeof(version_number_));235// @@protoc_insertion_point(copy_constructor:opencv_tensorflow.TensorProto)236}237238void TensorProto::SharedCtor() {239tensor_content_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited());240::memset(&tensor_shape_, 0, static_cast<size_t>(241reinterpret_cast<char*>(&version_number_) -242reinterpret_cast<char*>(&tensor_shape_)) + sizeof(version_number_));243_cached_size_ = 0;244}245246TensorProto::~TensorProto() {247// @@protoc_insertion_point(destructor:opencv_tensorflow.TensorProto)248SharedDtor();249}250251void TensorProto::SharedDtor() {252GOOGLE_DCHECK(GetArenaNoVirtual() == NULL);253tensor_content_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited());254if (this != internal_default_instance()) delete tensor_shape_;255}256257void TensorProto::ArenaDtor(void* object) {258TensorProto* _this = reinterpret_cast< TensorProto* >(object);259(void)_this;260}261void TensorProto::RegisterArenaDtor(::google::protobuf::Arena* arena) {262}263void TensorProto::SetCachedSize(int size) const {264GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();265_cached_size_ = size;266GOOGLE_SAFE_CONCURRENT_WRITES_END();267}268const ::google::protobuf::Descriptor* TensorProto::descriptor() {269::protobuf_tensor_2eproto::protobuf_AssignDescriptorsOnce();270return ::protobuf_tensor_2eproto::file_level_metadata[kIndexInFileMessages].descriptor;271}272273const TensorProto& TensorProto::default_instance() {274::protobuf_tensor_2eproto::InitDefaultsTensorProto();275return *internal_default_instance();276}277278TensorProto* TensorProto::New(::google::protobuf::Arena* arena) const {279return ::google::protobuf::Arena::CreateMessage<TensorProto>(arena);280}281282void TensorProto::Clear() {283// @@protoc_insertion_point(message_clear_start:opencv_tensorflow.TensorProto)284::google::protobuf::uint32 cached_has_bits = 0;285// Prevent compiler warnings about cached_has_bits being unused286(void) cached_has_bits;287288float_val_.Clear();289double_val_.Clear();290int_val_.Clear();291string_val_.Clear();292scomplex_val_.Clear();293int64_val_.Clear();294bool_val_.Clear();295dcomplex_val_.Clear();296half_val_.Clear();297tensor_content_.ClearToEmpty(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), GetArenaNoVirtual());298if (GetArenaNoVirtual() == NULL && tensor_shape_ != NULL) {299delete tensor_shape_;300}301tensor_shape_ = NULL;302::memset(&dtype_, 0, static_cast<size_t>(303reinterpret_cast<char*>(&version_number_) -304reinterpret_cast<char*>(&dtype_)) + sizeof(version_number_));305_internal_metadata_.Clear();306}307308bool TensorProto::MergePartialFromCodedStream(309::google::protobuf::io::CodedInputStream* input) {310#define DO_(EXPRESSION) if (!GOOGLE_PREDICT_TRUE(EXPRESSION)) goto failure311::google::protobuf::uint32 tag;312// @@protoc_insertion_point(parse_start:opencv_tensorflow.TensorProto)313for (;;) {314::std::pair< ::google::protobuf::uint32, bool> p = input->ReadTagWithCutoffNoLastTag(127u);315tag = p.first;316if (!p.second) goto handle_unusual;317switch (::google::protobuf::internal::WireFormatLite::GetTagFieldNumber(tag)) {318// .opencv_tensorflow.DataType dtype = 1;319case 1: {320if (static_cast< ::google::protobuf::uint8>(tag) ==321static_cast< ::google::protobuf::uint8>(8u /* 8 & 0xFF */)) {322int value;323DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<324int, ::google::protobuf::internal::WireFormatLite::TYPE_ENUM>(325input, &value)));326set_dtype(static_cast< ::opencv_tensorflow::DataType >(value));327} else {328goto handle_unusual;329}330break;331}332333// .opencv_tensorflow.TensorShapeProto tensor_shape = 2;334case 2: {335if (static_cast< ::google::protobuf::uint8>(tag) ==336static_cast< ::google::protobuf::uint8>(18u /* 18 & 0xFF */)) {337DO_(::google::protobuf::internal::WireFormatLite::ReadMessage(338input, mutable_tensor_shape()));339} else {340goto handle_unusual;341}342break;343}344345// int32 version_number = 3;346case 3: {347if (static_cast< ::google::protobuf::uint8>(tag) ==348static_cast< ::google::protobuf::uint8>(24u /* 24 & 0xFF */)) {349350DO_((::google::protobuf::internal::WireFormatLite::ReadPrimitive<351::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(352input, &version_number_)));353} else {354goto handle_unusual;355}356break;357}358359// bytes tensor_content = 4;360case 4: {361if (static_cast< ::google::protobuf::uint8>(tag) ==362static_cast< ::google::protobuf::uint8>(34u /* 34 & 0xFF */)) {363DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(364input, this->mutable_tensor_content()));365} else {366goto handle_unusual;367}368break;369}370371// repeated float float_val = 5 [packed = true];372case 5: {373if (static_cast< ::google::protobuf::uint8>(tag) ==374static_cast< ::google::protobuf::uint8>(42u /* 42 & 0xFF */)) {375DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<376float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(377input, this->mutable_float_val())));378} else if (379static_cast< ::google::protobuf::uint8>(tag) ==380static_cast< ::google::protobuf::uint8>(45u /* 45 & 0xFF */)) {381DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<382float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(3831, 42u, input, this->mutable_float_val())));384} else {385goto handle_unusual;386}387break;388}389390// repeated double double_val = 6 [packed = true];391case 6: {392if (static_cast< ::google::protobuf::uint8>(tag) ==393static_cast< ::google::protobuf::uint8>(50u /* 50 & 0xFF */)) {394DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<395double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(396input, this->mutable_double_val())));397} else if (398static_cast< ::google::protobuf::uint8>(tag) ==399static_cast< ::google::protobuf::uint8>(49u /* 49 & 0xFF */)) {400DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<401double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(4021, 50u, input, this->mutable_double_val())));403} else {404goto handle_unusual;405}406break;407}408409// repeated int32 int_val = 7 [packed = true];410case 7: {411if (static_cast< ::google::protobuf::uint8>(tag) ==412static_cast< ::google::protobuf::uint8>(58u /* 58 & 0xFF */)) {413DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<414::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(415input, this->mutable_int_val())));416} else if (417static_cast< ::google::protobuf::uint8>(tag) ==418static_cast< ::google::protobuf::uint8>(56u /* 56 & 0xFF */)) {419DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<420::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(4211, 58u, input, this->mutable_int_val())));422} else {423goto handle_unusual;424}425break;426}427428// repeated bytes string_val = 8;429case 8: {430if (static_cast< ::google::protobuf::uint8>(tag) ==431static_cast< ::google::protobuf::uint8>(66u /* 66 & 0xFF */)) {432DO_(::google::protobuf::internal::WireFormatLite::ReadBytes(433input, this->add_string_val()));434} else {435goto handle_unusual;436}437break;438}439440// repeated float scomplex_val = 9 [packed = true];441case 9: {442if (static_cast< ::google::protobuf::uint8>(tag) ==443static_cast< ::google::protobuf::uint8>(74u /* 74 & 0xFF */)) {444DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<445float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(446input, this->mutable_scomplex_val())));447} else if (448static_cast< ::google::protobuf::uint8>(tag) ==449static_cast< ::google::protobuf::uint8>(77u /* 77 & 0xFF */)) {450DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<451float, ::google::protobuf::internal::WireFormatLite::TYPE_FLOAT>(4521, 74u, input, this->mutable_scomplex_val())));453} else {454goto handle_unusual;455}456break;457}458459// repeated int64 int64_val = 10 [packed = true];460case 10: {461if (static_cast< ::google::protobuf::uint8>(tag) ==462static_cast< ::google::protobuf::uint8>(82u /* 82 & 0xFF */)) {463DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<464::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(465input, this->mutable_int64_val())));466} else if (467static_cast< ::google::protobuf::uint8>(tag) ==468static_cast< ::google::protobuf::uint8>(80u /* 80 & 0xFF */)) {469DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<470::google::protobuf::int64, ::google::protobuf::internal::WireFormatLite::TYPE_INT64>(4711, 82u, input, this->mutable_int64_val())));472} else {473goto handle_unusual;474}475break;476}477478// repeated bool bool_val = 11 [packed = true];479case 11: {480if (static_cast< ::google::protobuf::uint8>(tag) ==481static_cast< ::google::protobuf::uint8>(90u /* 90 & 0xFF */)) {482DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<483bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(484input, this->mutable_bool_val())));485} else if (486static_cast< ::google::protobuf::uint8>(tag) ==487static_cast< ::google::protobuf::uint8>(88u /* 88 & 0xFF */)) {488DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<489bool, ::google::protobuf::internal::WireFormatLite::TYPE_BOOL>(4901, 90u, input, this->mutable_bool_val())));491} else {492goto handle_unusual;493}494break;495}496497// repeated double dcomplex_val = 12 [packed = true];498case 12: {499if (static_cast< ::google::protobuf::uint8>(tag) ==500static_cast< ::google::protobuf::uint8>(98u /* 98 & 0xFF */)) {501DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<502double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(503input, this->mutable_dcomplex_val())));504} else if (505static_cast< ::google::protobuf::uint8>(tag) ==506static_cast< ::google::protobuf::uint8>(97u /* 97 & 0xFF */)) {507DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<508double, ::google::protobuf::internal::WireFormatLite::TYPE_DOUBLE>(5091, 98u, input, this->mutable_dcomplex_val())));510} else {511goto handle_unusual;512}513break;514}515516// repeated int32 half_val = 13 [packed = true];517case 13: {518if (static_cast< ::google::protobuf::uint8>(tag) ==519static_cast< ::google::protobuf::uint8>(106u /* 106 & 0xFF */)) {520DO_((::google::protobuf::internal::WireFormatLite::ReadPackedPrimitive<521::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(522input, this->mutable_half_val())));523} else if (524static_cast< ::google::protobuf::uint8>(tag) ==525static_cast< ::google::protobuf::uint8>(104u /* 104 & 0xFF */)) {526DO_((::google::protobuf::internal::WireFormatLite::ReadRepeatedPrimitiveNoInline<527::google::protobuf::int32, ::google::protobuf::internal::WireFormatLite::TYPE_INT32>(5281, 106u, input, this->mutable_half_val())));529} else {530goto handle_unusual;531}532break;533}534535default: {536handle_unusual:537if (tag == 0) {538goto success;539}540DO_(::google::protobuf::internal::WireFormat::SkipField(541input, tag, _internal_metadata_.mutable_unknown_fields()));542break;543}544}545}546success:547// @@protoc_insertion_point(parse_success:opencv_tensorflow.TensorProto)548return true;549failure:550// @@protoc_insertion_point(parse_failure:opencv_tensorflow.TensorProto)551return false;552#undef DO_553}554555void TensorProto::SerializeWithCachedSizes(556::google::protobuf::io::CodedOutputStream* output) const {557// @@protoc_insertion_point(serialize_start:opencv_tensorflow.TensorProto)558::google::protobuf::uint32 cached_has_bits = 0;559(void) cached_has_bits;560561// .opencv_tensorflow.DataType dtype = 1;562if (this->dtype() != 0) {563::google::protobuf::internal::WireFormatLite::WriteEnum(5641, this->dtype(), output);565}566567// .opencv_tensorflow.TensorShapeProto tensor_shape = 2;568if (this->has_tensor_shape()) {569::google::protobuf::internal::WireFormatLite::WriteMessageMaybeToArray(5702, *this->tensor_shape_, output);571}572573// int32 version_number = 3;574if (this->version_number() != 0) {575::google::protobuf::internal::WireFormatLite::WriteInt32(3, this->version_number(), output);576}577578// bytes tensor_content = 4;579if (this->tensor_content().size() > 0) {580::google::protobuf::internal::WireFormatLite::WriteBytesMaybeAliased(5814, this->tensor_content(), output);582}583584// repeated float float_val = 5 [packed = true];585if (this->float_val_size() > 0) {586::google::protobuf::internal::WireFormatLite::WriteTag(5, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);587output->WriteVarint32(static_cast< ::google::protobuf::uint32>(588_float_val_cached_byte_size_));589::google::protobuf::internal::WireFormatLite::WriteFloatArray(590this->float_val().data(), this->float_val_size(), output);591}592593// repeated double double_val = 6 [packed = true];594if (this->double_val_size() > 0) {595::google::protobuf::internal::WireFormatLite::WriteTag(6, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);596output->WriteVarint32(static_cast< ::google::protobuf::uint32>(597_double_val_cached_byte_size_));598::google::protobuf::internal::WireFormatLite::WriteDoubleArray(599this->double_val().data(), this->double_val_size(), output);600}601602// repeated int32 int_val = 7 [packed = true];603if (this->int_val_size() > 0) {604::google::protobuf::internal::WireFormatLite::WriteTag(7, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);605output->WriteVarint32(static_cast< ::google::protobuf::uint32>(606_int_val_cached_byte_size_));607}608for (int i = 0, n = this->int_val_size(); i < n; i++) {609::google::protobuf::internal::WireFormatLite::WriteInt32NoTag(610this->int_val(i), output);611}612613// repeated bytes string_val = 8;614for (int i = 0, n = this->string_val_size(); i < n; i++) {615::google::protobuf::internal::WireFormatLite::WriteBytes(6168, this->string_val(i), output);617}618619// repeated float scomplex_val = 9 [packed = true];620if (this->scomplex_val_size() > 0) {621::google::protobuf::internal::WireFormatLite::WriteTag(9, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);622output->WriteVarint32(static_cast< ::google::protobuf::uint32>(623_scomplex_val_cached_byte_size_));624::google::protobuf::internal::WireFormatLite::WriteFloatArray(625this->scomplex_val().data(), this->scomplex_val_size(), output);626}627628// repeated int64 int64_val = 10 [packed = true];629if (this->int64_val_size() > 0) {630::google::protobuf::internal::WireFormatLite::WriteTag(10, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);631output->WriteVarint32(static_cast< ::google::protobuf::uint32>(632_int64_val_cached_byte_size_));633}634for (int i = 0, n = this->int64_val_size(); i < n; i++) {635::google::protobuf::internal::WireFormatLite::WriteInt64NoTag(636this->int64_val(i), output);637}638639// repeated bool bool_val = 11 [packed = true];640if (this->bool_val_size() > 0) {641::google::protobuf::internal::WireFormatLite::WriteTag(11, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);642output->WriteVarint32(static_cast< ::google::protobuf::uint32>(643_bool_val_cached_byte_size_));644::google::protobuf::internal::WireFormatLite::WriteBoolArray(645this->bool_val().data(), this->bool_val_size(), output);646}647648// repeated double dcomplex_val = 12 [packed = true];649if (this->dcomplex_val_size() > 0) {650::google::protobuf::internal::WireFormatLite::WriteTag(12, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);651output->WriteVarint32(static_cast< ::google::protobuf::uint32>(652_dcomplex_val_cached_byte_size_));653::google::protobuf::internal::WireFormatLite::WriteDoubleArray(654this->dcomplex_val().data(), this->dcomplex_val_size(), output);655}656657// repeated int32 half_val = 13 [packed = true];658if (this->half_val_size() > 0) {659::google::protobuf::internal::WireFormatLite::WriteTag(13, ::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED, output);660output->WriteVarint32(static_cast< ::google::protobuf::uint32>(661_half_val_cached_byte_size_));662}663for (int i = 0, n = this->half_val_size(); i < n; i++) {664::google::protobuf::internal::WireFormatLite::WriteInt32NoTag(665this->half_val(i), output);666}667668if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {669::google::protobuf::internal::WireFormat::SerializeUnknownFields(670(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), output);671}672// @@protoc_insertion_point(serialize_end:opencv_tensorflow.TensorProto)673}674675::google::protobuf::uint8* TensorProto::InternalSerializeWithCachedSizesToArray(676bool deterministic, ::google::protobuf::uint8* target) const {677(void)deterministic; // Unused678// @@protoc_insertion_point(serialize_to_array_start:opencv_tensorflow.TensorProto)679::google::protobuf::uint32 cached_has_bits = 0;680(void) cached_has_bits;681682// .opencv_tensorflow.DataType dtype = 1;683if (this->dtype() != 0) {684target = ::google::protobuf::internal::WireFormatLite::WriteEnumToArray(6851, this->dtype(), target);686}687688// .opencv_tensorflow.TensorShapeProto tensor_shape = 2;689if (this->has_tensor_shape()) {690target = ::google::protobuf::internal::WireFormatLite::691InternalWriteMessageToArray(6922, *this->tensor_shape_, deterministic, target);693}694695// int32 version_number = 3;696if (this->version_number() != 0) {697target = ::google::protobuf::internal::WireFormatLite::WriteInt32ToArray(3, this->version_number(), target);698}699700// bytes tensor_content = 4;701if (this->tensor_content().size() > 0) {702target =703::google::protobuf::internal::WireFormatLite::WriteBytesToArray(7044, this->tensor_content(), target);705}706707// repeated float float_val = 5 [packed = true];708if (this->float_val_size() > 0) {709target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(7105,711::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,712target);713target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(714static_cast< ::google::protobuf::int32>(715_float_val_cached_byte_size_), target);716target = ::google::protobuf::internal::WireFormatLite::717WriteFloatNoTagToArray(this->float_val_, target);718}719720// repeated double double_val = 6 [packed = true];721if (this->double_val_size() > 0) {722target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(7236,724::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,725target);726target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(727static_cast< ::google::protobuf::int32>(728_double_val_cached_byte_size_), target);729target = ::google::protobuf::internal::WireFormatLite::730WriteDoubleNoTagToArray(this->double_val_, target);731}732733// repeated int32 int_val = 7 [packed = true];734if (this->int_val_size() > 0) {735target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(7367,737::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,738target);739target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(740static_cast< ::google::protobuf::int32>(741_int_val_cached_byte_size_), target);742target = ::google::protobuf::internal::WireFormatLite::743WriteInt32NoTagToArray(this->int_val_, target);744}745746// repeated bytes string_val = 8;747for (int i = 0, n = this->string_val_size(); i < n; i++) {748target = ::google::protobuf::internal::WireFormatLite::749WriteBytesToArray(8, this->string_val(i), target);750}751752// repeated float scomplex_val = 9 [packed = true];753if (this->scomplex_val_size() > 0) {754target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(7559,756::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,757target);758target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(759static_cast< ::google::protobuf::int32>(760_scomplex_val_cached_byte_size_), target);761target = ::google::protobuf::internal::WireFormatLite::762WriteFloatNoTagToArray(this->scomplex_val_, target);763}764765// repeated int64 int64_val = 10 [packed = true];766if (this->int64_val_size() > 0) {767target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(76810,769::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,770target);771target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(772static_cast< ::google::protobuf::int32>(773_int64_val_cached_byte_size_), target);774target = ::google::protobuf::internal::WireFormatLite::775WriteInt64NoTagToArray(this->int64_val_, target);776}777778// repeated bool bool_val = 11 [packed = true];779if (this->bool_val_size() > 0) {780target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(78111,782::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,783target);784target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(785static_cast< ::google::protobuf::int32>(786_bool_val_cached_byte_size_), target);787target = ::google::protobuf::internal::WireFormatLite::788WriteBoolNoTagToArray(this->bool_val_, target);789}790791// repeated double dcomplex_val = 12 [packed = true];792if (this->dcomplex_val_size() > 0) {793target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(79412,795::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,796target);797target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(798static_cast< ::google::protobuf::int32>(799_dcomplex_val_cached_byte_size_), target);800target = ::google::protobuf::internal::WireFormatLite::801WriteDoubleNoTagToArray(this->dcomplex_val_, target);802}803804// repeated int32 half_val = 13 [packed = true];805if (this->half_val_size() > 0) {806target = ::google::protobuf::internal::WireFormatLite::WriteTagToArray(80713,808::google::protobuf::internal::WireFormatLite::WIRETYPE_LENGTH_DELIMITED,809target);810target = ::google::protobuf::io::CodedOutputStream::WriteVarint32ToArray(811static_cast< ::google::protobuf::int32>(812_half_val_cached_byte_size_), target);813target = ::google::protobuf::internal::WireFormatLite::814WriteInt32NoTagToArray(this->half_val_, target);815}816817if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {818target = ::google::protobuf::internal::WireFormat::SerializeUnknownFieldsToArray(819(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()), target);820}821// @@protoc_insertion_point(serialize_to_array_end:opencv_tensorflow.TensorProto)822return target;823}824825size_t TensorProto::ByteSizeLong() const {826// @@protoc_insertion_point(message_byte_size_start:opencv_tensorflow.TensorProto)827size_t total_size = 0;828829if ((_internal_metadata_.have_unknown_fields() && ::google::protobuf::internal::GetProto3PreserveUnknownsDefault())) {830total_size +=831::google::protobuf::internal::WireFormat::ComputeUnknownFieldsSize(832(::google::protobuf::internal::GetProto3PreserveUnknownsDefault() ? _internal_metadata_.unknown_fields() : _internal_metadata_.default_instance()));833}834// repeated float float_val = 5 [packed = true];835{836unsigned int count = static_cast<unsigned int>(this->float_val_size());837size_t data_size = 4UL * count;838if (data_size > 0) {839total_size += 1 +840::google::protobuf::internal::WireFormatLite::Int32Size(841static_cast< ::google::protobuf::int32>(data_size));842}843int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);844GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();845_float_val_cached_byte_size_ = cached_size;846GOOGLE_SAFE_CONCURRENT_WRITES_END();847total_size += data_size;848}849850// repeated double double_val = 6 [packed = true];851{852unsigned int count = static_cast<unsigned int>(this->double_val_size());853size_t data_size = 8UL * count;854if (data_size > 0) {855total_size += 1 +856::google::protobuf::internal::WireFormatLite::Int32Size(857static_cast< ::google::protobuf::int32>(data_size));858}859int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);860GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();861_double_val_cached_byte_size_ = cached_size;862GOOGLE_SAFE_CONCURRENT_WRITES_END();863total_size += data_size;864}865866// repeated int32 int_val = 7 [packed = true];867{868size_t data_size = ::google::protobuf::internal::WireFormatLite::869Int32Size(this->int_val_);870if (data_size > 0) {871total_size += 1 +872::google::protobuf::internal::WireFormatLite::Int32Size(873static_cast< ::google::protobuf::int32>(data_size));874}875int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);876GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();877_int_val_cached_byte_size_ = cached_size;878GOOGLE_SAFE_CONCURRENT_WRITES_END();879total_size += data_size;880}881882// repeated bytes string_val = 8;883total_size += 1 *884::google::protobuf::internal::FromIntSize(this->string_val_size());885for (int i = 0, n = this->string_val_size(); i < n; i++) {886total_size += ::google::protobuf::internal::WireFormatLite::BytesSize(887this->string_val(i));888}889890// repeated float scomplex_val = 9 [packed = true];891{892unsigned int count = static_cast<unsigned int>(this->scomplex_val_size());893size_t data_size = 4UL * count;894if (data_size > 0) {895total_size += 1 +896::google::protobuf::internal::WireFormatLite::Int32Size(897static_cast< ::google::protobuf::int32>(data_size));898}899int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);900GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();901_scomplex_val_cached_byte_size_ = cached_size;902GOOGLE_SAFE_CONCURRENT_WRITES_END();903total_size += data_size;904}905906// repeated int64 int64_val = 10 [packed = true];907{908size_t data_size = ::google::protobuf::internal::WireFormatLite::909Int64Size(this->int64_val_);910if (data_size > 0) {911total_size += 1 +912::google::protobuf::internal::WireFormatLite::Int32Size(913static_cast< ::google::protobuf::int32>(data_size));914}915int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);916GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();917_int64_val_cached_byte_size_ = cached_size;918GOOGLE_SAFE_CONCURRENT_WRITES_END();919total_size += data_size;920}921922// repeated bool bool_val = 11 [packed = true];923{924unsigned int count = static_cast<unsigned int>(this->bool_val_size());925size_t data_size = 1UL * count;926if (data_size > 0) {927total_size += 1 +928::google::protobuf::internal::WireFormatLite::Int32Size(929static_cast< ::google::protobuf::int32>(data_size));930}931int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);932GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();933_bool_val_cached_byte_size_ = cached_size;934GOOGLE_SAFE_CONCURRENT_WRITES_END();935total_size += data_size;936}937938// repeated double dcomplex_val = 12 [packed = true];939{940unsigned int count = static_cast<unsigned int>(this->dcomplex_val_size());941size_t data_size = 8UL * count;942if (data_size > 0) {943total_size += 1 +944::google::protobuf::internal::WireFormatLite::Int32Size(945static_cast< ::google::protobuf::int32>(data_size));946}947int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);948GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();949_dcomplex_val_cached_byte_size_ = cached_size;950GOOGLE_SAFE_CONCURRENT_WRITES_END();951total_size += data_size;952}953954// repeated int32 half_val = 13 [packed = true];955{956size_t data_size = ::google::protobuf::internal::WireFormatLite::957Int32Size(this->half_val_);958if (data_size > 0) {959total_size += 1 +960::google::protobuf::internal::WireFormatLite::Int32Size(961static_cast< ::google::protobuf::int32>(data_size));962}963int cached_size = ::google::protobuf::internal::ToCachedSize(data_size);964GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();965_half_val_cached_byte_size_ = cached_size;966GOOGLE_SAFE_CONCURRENT_WRITES_END();967total_size += data_size;968}969970// bytes tensor_content = 4;971if (this->tensor_content().size() > 0) {972total_size += 1 +973::google::protobuf::internal::WireFormatLite::BytesSize(974this->tensor_content());975}976977// .opencv_tensorflow.TensorShapeProto tensor_shape = 2;978if (this->has_tensor_shape()) {979total_size += 1 +980::google::protobuf::internal::WireFormatLite::MessageSize(981*this->tensor_shape_);982}983984// .opencv_tensorflow.DataType dtype = 1;985if (this->dtype() != 0) {986total_size += 1 +987::google::protobuf::internal::WireFormatLite::EnumSize(this->dtype());988}989990// int32 version_number = 3;991if (this->version_number() != 0) {992total_size += 1 +993::google::protobuf::internal::WireFormatLite::Int32Size(994this->version_number());995}996997int cached_size = ::google::protobuf::internal::ToCachedSize(total_size);998GOOGLE_SAFE_CONCURRENT_WRITES_BEGIN();999_cached_size_ = cached_size;1000GOOGLE_SAFE_CONCURRENT_WRITES_END();1001return total_size;1002}10031004void TensorProto::MergeFrom(const ::google::protobuf::Message& from) {1005// @@protoc_insertion_point(generalized_merge_from_start:opencv_tensorflow.TensorProto)1006GOOGLE_DCHECK_NE(&from, this);1007const TensorProto* source =1008::google::protobuf::internal::DynamicCastToGenerated<const TensorProto>(1009&from);1010if (source == NULL) {1011// @@protoc_insertion_point(generalized_merge_from_cast_fail:opencv_tensorflow.TensorProto)1012::google::protobuf::internal::ReflectionOps::Merge(from, this);1013} else {1014// @@protoc_insertion_point(generalized_merge_from_cast_success:opencv_tensorflow.TensorProto)1015MergeFrom(*source);1016}1017}10181019void TensorProto::MergeFrom(const TensorProto& from) {1020// @@protoc_insertion_point(class_specific_merge_from_start:opencv_tensorflow.TensorProto)1021GOOGLE_DCHECK_NE(&from, this);1022_internal_metadata_.MergeFrom(from._internal_metadata_);1023::google::protobuf::uint32 cached_has_bits = 0;1024(void) cached_has_bits;10251026float_val_.MergeFrom(from.float_val_);1027double_val_.MergeFrom(from.double_val_);1028int_val_.MergeFrom(from.int_val_);1029string_val_.MergeFrom(from.string_val_);1030scomplex_val_.MergeFrom(from.scomplex_val_);1031int64_val_.MergeFrom(from.int64_val_);1032bool_val_.MergeFrom(from.bool_val_);1033dcomplex_val_.MergeFrom(from.dcomplex_val_);1034half_val_.MergeFrom(from.half_val_);1035if (from.tensor_content().size() > 0) {1036set_tensor_content(from.tensor_content());1037}1038if (from.has_tensor_shape()) {1039mutable_tensor_shape()->::opencv_tensorflow::TensorShapeProto::MergeFrom(from.tensor_shape());1040}1041if (from.dtype() != 0) {1042set_dtype(from.dtype());1043}1044if (from.version_number() != 0) {1045set_version_number(from.version_number());1046}1047}10481049void TensorProto::CopyFrom(const ::google::protobuf::Message& from) {1050// @@protoc_insertion_point(generalized_copy_from_start:opencv_tensorflow.TensorProto)1051if (&from == this) return;1052Clear();1053MergeFrom(from);1054}10551056void TensorProto::CopyFrom(const TensorProto& from) {1057// @@protoc_insertion_point(class_specific_copy_from_start:opencv_tensorflow.TensorProto)1058if (&from == this) return;1059Clear();1060MergeFrom(from);1061}10621063bool TensorProto::IsInitialized() const {1064return true;1065}10661067void TensorProto::Swap(TensorProto* other) {1068if (other == this) return;1069if (GetArenaNoVirtual() == other->GetArenaNoVirtual()) {1070InternalSwap(other);1071} else {1072TensorProto* temp = New(GetArenaNoVirtual());1073temp->MergeFrom(*other);1074other->CopyFrom(*this);1075InternalSwap(temp);1076if (GetArenaNoVirtual() == NULL) {1077delete temp;1078}1079}1080}1081void TensorProto::UnsafeArenaSwap(TensorProto* other) {1082if (other == this) return;1083GOOGLE_DCHECK(GetArenaNoVirtual() == other->GetArenaNoVirtual());1084InternalSwap(other);1085}1086void TensorProto::InternalSwap(TensorProto* other) {1087using std::swap;1088float_val_.InternalSwap(&other->float_val_);1089double_val_.InternalSwap(&other->double_val_);1090int_val_.InternalSwap(&other->int_val_);1091string_val_.InternalSwap(&other->string_val_);1092scomplex_val_.InternalSwap(&other->scomplex_val_);1093int64_val_.InternalSwap(&other->int64_val_);1094bool_val_.InternalSwap(&other->bool_val_);1095dcomplex_val_.InternalSwap(&other->dcomplex_val_);1096half_val_.InternalSwap(&other->half_val_);1097tensor_content_.Swap(&other->tensor_content_);1098swap(tensor_shape_, other->tensor_shape_);1099swap(dtype_, other->dtype_);1100swap(version_number_, other->version_number_);1101_internal_metadata_.Swap(&other->_internal_metadata_);1102swap(_cached_size_, other->_cached_size_);1103}11041105::google::protobuf::Metadata TensorProto::GetMetadata() const {1106protobuf_tensor_2eproto::protobuf_AssignDescriptorsOnce();1107return ::protobuf_tensor_2eproto::file_level_metadata[kIndexInFileMessages];1108}110911101111// @@protoc_insertion_point(namespace_scope)1112} // namespace opencv_tensorflow11131114// @@protoc_insertion_point(global_scope)111511161117