1 | // Generated by the protocol buffer compiler. DO NOT EDIT! |
2 | // source: tensorflow/core/profiler/tfprof_output.proto |
3 | |
4 | #ifndef GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto |
5 | #define GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto |
6 | |
7 | #include <limits> |
8 | #include <string> |
9 | |
10 | #include <google/protobuf/port_def.inc> |
11 | #if PROTOBUF_VERSION < 3009000 |
12 | #error This file was generated by a newer version of protoc which is |
13 | #error incompatible with your Protocol Buffer headers. Please update |
14 | #error your headers. |
15 | #endif |
16 | #if 3009002 < PROTOBUF_MIN_PROTOC_VERSION |
17 | #error This file was generated by an older version of protoc which is |
18 | #error incompatible with your Protocol Buffer headers. Please |
19 | #error regenerate this file with a newer version of protoc. |
20 | #endif |
21 | |
22 | #include <google/protobuf/port_undef.inc> |
23 | #include <google/protobuf/io/coded_stream.h> |
24 | #include <google/protobuf/arena.h> |
25 | #include <google/protobuf/arenastring.h> |
26 | #include <google/protobuf/generated_message_table_driven.h> |
27 | #include <google/protobuf/generated_message_util.h> |
28 | #include <google/protobuf/inlined_string_field.h> |
29 | #include <google/protobuf/metadata.h> |
30 | #include <google/protobuf/generated_message_reflection.h> |
31 | #include <google/protobuf/message.h> |
32 | #include <google/protobuf/repeated_field.h> // IWYU pragma: export |
33 | #include <google/protobuf/extension_set.h> // IWYU pragma: export |
34 | #include <google/protobuf/map.h> // IWYU pragma: export |
35 | #include <google/protobuf/map_entry.h> |
36 | #include <google/protobuf/map_field_inl.h> |
37 | #include <google/protobuf/unknown_field_set.h> |
38 | #include "tensorflow/core/framework/tensor_shape.pb.h" |
39 | #include "tensorflow/core/framework/types.pb.h" |
40 | // @@protoc_insertion_point(includes) |
41 | #include <google/protobuf/port_def.inc> |
42 | #define PROTOBUF_INTERNAL_EXPORT_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto |
43 | PROTOBUF_NAMESPACE_OPEN |
44 | namespace internal { |
45 | class AnyMetadata; |
46 | } // namespace internal |
47 | PROTOBUF_NAMESPACE_CLOSE |
48 | |
49 | // Internal implementation detail -- do not use these members. |
50 | struct TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto { |
51 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTableField entries[] |
52 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
53 | static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[] |
54 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
55 | static const ::PROTOBUF_NAMESPACE_ID::internal::ParseTable schema[7] |
56 | PROTOBUF_SECTION_VARIABLE(protodesc_cold); |
57 | static const ::PROTOBUF_NAMESPACE_ID::internal::FieldMetadata field_metadata[]; |
58 | static const ::PROTOBUF_NAMESPACE_ID::internal::SerializationTable serialization_table[]; |
59 | static const ::PROTOBUF_NAMESPACE_ID::uint32 offsets[]; |
60 | }; |
61 | extern const ::PROTOBUF_NAMESPACE_ID::internal::DescriptorTable descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto; |
62 | namespace tensorflow { |
63 | namespace tfprof { |
64 | class AdviceProto; |
65 | class AdviceProtoDefaultTypeInternal; |
66 | extern AdviceProtoDefaultTypeInternal _AdviceProto_default_instance_; |
67 | class AdviceProto_Checker; |
68 | class AdviceProto_CheckerDefaultTypeInternal; |
69 | extern AdviceProto_CheckerDefaultTypeInternal _AdviceProto_Checker_default_instance_; |
70 | class AdviceProto_CheckersEntry_DoNotUse; |
71 | class AdviceProto_CheckersEntry_DoNotUseDefaultTypeInternal; |
72 | extern AdviceProto_CheckersEntry_DoNotUseDefaultTypeInternal _AdviceProto_CheckersEntry_DoNotUse_default_instance_; |
73 | class GraphNodeProto; |
74 | class GraphNodeProtoDefaultTypeInternal; |
75 | extern GraphNodeProtoDefaultTypeInternal _GraphNodeProto_default_instance_; |
76 | class GraphNodeProto_InputShapesEntry_DoNotUse; |
77 | class GraphNodeProto_InputShapesEntry_DoNotUseDefaultTypeInternal; |
78 | extern GraphNodeProto_InputShapesEntry_DoNotUseDefaultTypeInternal _GraphNodeProto_InputShapesEntry_DoNotUse_default_instance_; |
79 | class MultiGraphNodeProto; |
80 | class MultiGraphNodeProtoDefaultTypeInternal; |
81 | extern MultiGraphNodeProtoDefaultTypeInternal _MultiGraphNodeProto_default_instance_; |
82 | class TFProfTensorProto; |
83 | class TFProfTensorProtoDefaultTypeInternal; |
84 | extern TFProfTensorProtoDefaultTypeInternal _TFProfTensorProto_default_instance_; |
85 | } // namespace tfprof |
86 | } // namespace tensorflow |
87 | PROTOBUF_NAMESPACE_OPEN |
88 | template<> ::tensorflow::tfprof::AdviceProto* Arena::CreateMaybeMessage<::tensorflow::tfprof::AdviceProto>(Arena*); |
89 | template<> ::tensorflow::tfprof::AdviceProto_Checker* Arena::CreateMaybeMessage<::tensorflow::tfprof::AdviceProto_Checker>(Arena*); |
90 | template<> ::tensorflow::tfprof::AdviceProto_CheckersEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::AdviceProto_CheckersEntry_DoNotUse>(Arena*); |
91 | template<> ::tensorflow::tfprof::GraphNodeProto* Arena::CreateMaybeMessage<::tensorflow::tfprof::GraphNodeProto>(Arena*); |
92 | template<> ::tensorflow::tfprof::GraphNodeProto_InputShapesEntry_DoNotUse* Arena::CreateMaybeMessage<::tensorflow::tfprof::GraphNodeProto_InputShapesEntry_DoNotUse>(Arena*); |
93 | template<> ::tensorflow::tfprof::MultiGraphNodeProto* Arena::CreateMaybeMessage<::tensorflow::tfprof::MultiGraphNodeProto>(Arena*); |
94 | template<> ::tensorflow::tfprof::TFProfTensorProto* Arena::CreateMaybeMessage<::tensorflow::tfprof::TFProfTensorProto>(Arena*); |
95 | PROTOBUF_NAMESPACE_CLOSE |
96 | namespace tensorflow { |
97 | namespace tfprof { |
98 | |
99 | // =================================================================== |
100 | |
101 | class TFProfTensorProto : |
102 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.TFProfTensorProto) */ { |
103 | public: |
104 | TFProfTensorProto(); |
105 | virtual ~TFProfTensorProto(); |
106 | |
107 | TFProfTensorProto(const TFProfTensorProto& from); |
108 | TFProfTensorProto(TFProfTensorProto&& from) noexcept |
109 | : TFProfTensorProto() { |
110 | *this = ::std::move(from); |
111 | } |
112 | |
113 | inline TFProfTensorProto& operator=(const TFProfTensorProto& from) { |
114 | CopyFrom(from); |
115 | return *this; |
116 | } |
117 | inline TFProfTensorProto& operator=(TFProfTensorProto&& from) noexcept { |
118 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
119 | if (this != &from) InternalSwap(&from); |
120 | } else { |
121 | CopyFrom(from); |
122 | } |
123 | return *this; |
124 | } |
125 | |
126 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
127 | return GetDescriptor(); |
128 | } |
129 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
130 | return GetMetadataStatic().descriptor; |
131 | } |
132 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
133 | return GetMetadataStatic().reflection; |
134 | } |
135 | static const TFProfTensorProto& default_instance(); |
136 | |
137 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
138 | static inline const TFProfTensorProto* internal_default_instance() { |
139 | return reinterpret_cast<const TFProfTensorProto*>( |
140 | &_TFProfTensorProto_default_instance_); |
141 | } |
142 | static constexpr int kIndexInFileMessages = |
143 | 0; |
144 | |
145 | friend void swap(TFProfTensorProto& a, TFProfTensorProto& b) { |
146 | a.Swap(&b); |
147 | } |
148 | inline void Swap(TFProfTensorProto* other) { |
149 | if (other == this) return; |
150 | InternalSwap(other); |
151 | } |
152 | |
153 | // implements Message ---------------------------------------------- |
154 | |
155 | inline TFProfTensorProto* New() const final { |
156 | return CreateMaybeMessage<TFProfTensorProto>(nullptr); |
157 | } |
158 | |
159 | TFProfTensorProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
160 | return CreateMaybeMessage<TFProfTensorProto>(arena); |
161 | } |
162 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
163 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
164 | void CopyFrom(const TFProfTensorProto& from); |
165 | void MergeFrom(const TFProfTensorProto& from); |
166 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
167 | bool IsInitialized() const final; |
168 | |
169 | size_t ByteSizeLong() const final; |
170 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
171 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
172 | #else |
173 | bool MergePartialFromCodedStream( |
174 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
175 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
176 | void SerializeWithCachedSizes( |
177 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
178 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
179 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
180 | int GetCachedSize() const final { return _cached_size_.Get(); } |
181 | |
182 | private: |
183 | inline void SharedCtor(); |
184 | inline void SharedDtor(); |
185 | void SetCachedSize(int size) const final; |
186 | void InternalSwap(TFProfTensorProto* other); |
187 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
188 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
189 | return "tensorflow.tfprof.TFProfTensorProto" ; |
190 | } |
191 | private: |
192 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
193 | return nullptr; |
194 | } |
195 | inline void* MaybeArenaPtr() const { |
196 | return nullptr; |
197 | } |
198 | public: |
199 | |
200 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
201 | private: |
202 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
203 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto); |
204 | return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto.file_level_metadata[kIndexInFileMessages]; |
205 | } |
206 | |
207 | public: |
208 | |
209 | // nested types ---------------------------------------------------- |
210 | |
211 | // accessors ------------------------------------------------------- |
212 | |
213 | enum : int { |
214 | kValueDoubleFieldNumber = 2, |
215 | kValueInt64FieldNumber = 3, |
216 | kValueStrFieldNumber = 4, |
217 | kDtypeFieldNumber = 1, |
218 | }; |
219 | // repeated double value_double = 2; |
220 | int value_double_size() const; |
221 | void clear_value_double(); |
222 | double value_double(int index) const; |
223 | void set_value_double(int index, double value); |
224 | void add_value_double(double value); |
225 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >& |
226 | value_double() const; |
227 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >* |
228 | mutable_value_double(); |
229 | |
230 | // repeated int64 value_int64 = 3; |
231 | int value_int64_size() const; |
232 | void clear_value_int64(); |
233 | ::PROTOBUF_NAMESPACE_ID::int64 value_int64(int index) const; |
234 | void set_value_int64(int index, ::PROTOBUF_NAMESPACE_ID::int64 value); |
235 | void add_value_int64(::PROTOBUF_NAMESPACE_ID::int64 value); |
236 | const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >& |
237 | value_int64() const; |
238 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >* |
239 | mutable_value_int64(); |
240 | |
241 | // repeated string value_str = 4; |
242 | int value_str_size() const; |
243 | void clear_value_str(); |
244 | const std::string& value_str(int index) const; |
245 | std::string* mutable_value_str(int index); |
246 | void set_value_str(int index, const std::string& value); |
247 | void set_value_str(int index, std::string&& value); |
248 | void set_value_str(int index, const char* value); |
249 | void set_value_str(int index, const char* value, size_t size); |
250 | std::string* add_value_str(); |
251 | void add_value_str(const std::string& value); |
252 | void add_value_str(std::string&& value); |
253 | void add_value_str(const char* value); |
254 | void add_value_str(const char* value, size_t size); |
255 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& value_str() const; |
256 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_value_str(); |
257 | |
258 | // .tensorflow.DataType dtype = 1; |
259 | void clear_dtype(); |
260 | ::tensorflow::DataType dtype() const; |
261 | void set_dtype(::tensorflow::DataType value); |
262 | |
263 | // @@protoc_insertion_point(class_scope:tensorflow.tfprof.TFProfTensorProto) |
264 | private: |
265 | class _Internal; |
266 | |
267 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
268 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< double > value_double_; |
269 | mutable std::atomic<int> _value_double_cached_byte_size_; |
270 | ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 > value_int64_; |
271 | mutable std::atomic<int> _value_int64_cached_byte_size_; |
272 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> value_str_; |
273 | int dtype_; |
274 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
275 | friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto; |
276 | }; |
277 | // ------------------------------------------------------------------- |
278 | |
279 | class GraphNodeProto_InputShapesEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<GraphNodeProto_InputShapesEntry_DoNotUse, |
280 | ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::TensorShapeProto, |
281 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32, |
282 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, |
283 | 0 > { |
284 | public: |
285 | typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<GraphNodeProto_InputShapesEntry_DoNotUse, |
286 | ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::TensorShapeProto, |
287 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32, |
288 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, |
289 | 0 > SuperType; |
290 | GraphNodeProto_InputShapesEntry_DoNotUse(); |
291 | GraphNodeProto_InputShapesEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
292 | void MergeFrom(const GraphNodeProto_InputShapesEntry_DoNotUse& other); |
293 | static const GraphNodeProto_InputShapesEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const GraphNodeProto_InputShapesEntry_DoNotUse*>(&_GraphNodeProto_InputShapesEntry_DoNotUse_default_instance_); } |
294 | static bool ValidateKey(void*) { return true; } |
295 | static bool ValidateValue(void*) { return true; } |
296 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; |
297 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
298 | private: |
299 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
300 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto); |
301 | return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto.file_level_metadata[1]; |
302 | } |
303 | |
304 | public: |
305 | }; |
306 | |
307 | // ------------------------------------------------------------------- |
308 | |
309 | class GraphNodeProto : |
310 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.GraphNodeProto) */ { |
311 | public: |
312 | GraphNodeProto(); |
313 | virtual ~GraphNodeProto(); |
314 | |
315 | GraphNodeProto(const GraphNodeProto& from); |
316 | GraphNodeProto(GraphNodeProto&& from) noexcept |
317 | : GraphNodeProto() { |
318 | *this = ::std::move(from); |
319 | } |
320 | |
321 | inline GraphNodeProto& operator=(const GraphNodeProto& from) { |
322 | CopyFrom(from); |
323 | return *this; |
324 | } |
325 | inline GraphNodeProto& operator=(GraphNodeProto&& from) noexcept { |
326 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
327 | if (this != &from) InternalSwap(&from); |
328 | } else { |
329 | CopyFrom(from); |
330 | } |
331 | return *this; |
332 | } |
333 | |
334 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
335 | return GetDescriptor(); |
336 | } |
337 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
338 | return GetMetadataStatic().descriptor; |
339 | } |
340 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
341 | return GetMetadataStatic().reflection; |
342 | } |
343 | static const GraphNodeProto& default_instance(); |
344 | |
345 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
346 | static inline const GraphNodeProto* internal_default_instance() { |
347 | return reinterpret_cast<const GraphNodeProto*>( |
348 | &_GraphNodeProto_default_instance_); |
349 | } |
350 | static constexpr int kIndexInFileMessages = |
351 | 2; |
352 | |
353 | friend void swap(GraphNodeProto& a, GraphNodeProto& b) { |
354 | a.Swap(&b); |
355 | } |
356 | inline void Swap(GraphNodeProto* other) { |
357 | if (other == this) return; |
358 | InternalSwap(other); |
359 | } |
360 | |
361 | // implements Message ---------------------------------------------- |
362 | |
363 | inline GraphNodeProto* New() const final { |
364 | return CreateMaybeMessage<GraphNodeProto>(nullptr); |
365 | } |
366 | |
367 | GraphNodeProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
368 | return CreateMaybeMessage<GraphNodeProto>(arena); |
369 | } |
370 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
371 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
372 | void CopyFrom(const GraphNodeProto& from); |
373 | void MergeFrom(const GraphNodeProto& from); |
374 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
375 | bool IsInitialized() const final; |
376 | |
377 | size_t ByteSizeLong() const final; |
378 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
379 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
380 | #else |
381 | bool MergePartialFromCodedStream( |
382 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
383 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
384 | void SerializeWithCachedSizes( |
385 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
386 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
387 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
388 | int GetCachedSize() const final { return _cached_size_.Get(); } |
389 | |
390 | private: |
391 | inline void SharedCtor(); |
392 | inline void SharedDtor(); |
393 | void SetCachedSize(int size) const final; |
394 | void InternalSwap(GraphNodeProto* other); |
395 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
396 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
397 | return "tensorflow.tfprof.GraphNodeProto" ; |
398 | } |
399 | private: |
400 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
401 | return nullptr; |
402 | } |
403 | inline void* MaybeArenaPtr() const { |
404 | return nullptr; |
405 | } |
406 | public: |
407 | |
408 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
409 | private: |
410 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
411 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto); |
412 | return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto.file_level_metadata[kIndexInFileMessages]; |
413 | } |
414 | |
415 | public: |
416 | |
417 | // nested types ---------------------------------------------------- |
418 | |
419 | |
420 | // accessors ------------------------------------------------------- |
421 | |
422 | enum : int { |
423 | kDevicesFieldNumber = 10, |
424 | kShapesFieldNumber = 11, |
425 | kChildrenFieldNumber = 12, |
426 | kInputShapesFieldNumber = 16, |
427 | kNameFieldNumber = 1, |
428 | kTensorValueFieldNumber = 15, |
429 | kExecMicrosFieldNumber = 2, |
430 | kRequestedBytesFieldNumber = 3, |
431 | kParametersFieldNumber = 4, |
432 | kTotalExecMicrosFieldNumber = 6, |
433 | kTotalRequestedBytesFieldNumber = 7, |
434 | kTotalParametersFieldNumber = 8, |
435 | kFloatOpsFieldNumber = 13, |
436 | kTotalFloatOpsFieldNumber = 14, |
437 | kAcceleratorExecMicrosFieldNumber = 17, |
438 | kCpuExecMicrosFieldNumber = 18, |
439 | kTotalAcceleratorExecMicrosFieldNumber = 19, |
440 | kTotalCpuExecMicrosFieldNumber = 20, |
441 | kRunCountFieldNumber = 21, |
442 | kTotalRunCountFieldNumber = 22, |
443 | kTotalDefinitionCountFieldNumber = 23, |
444 | kPeakBytesFieldNumber = 24, |
445 | kResidualBytesFieldNumber = 25, |
446 | kOutputBytesFieldNumber = 26, |
447 | kTotalPeakBytesFieldNumber = 27, |
448 | kTotalResidualBytesFieldNumber = 28, |
449 | kTotalOutputBytesFieldNumber = 29, |
450 | }; |
451 | // repeated string devices = 10; |
452 | int devices_size() const; |
453 | void clear_devices(); |
454 | const std::string& devices(int index) const; |
455 | std::string* mutable_devices(int index); |
456 | void set_devices(int index, const std::string& value); |
457 | void set_devices(int index, std::string&& value); |
458 | void set_devices(int index, const char* value); |
459 | void set_devices(int index, const char* value, size_t size); |
460 | std::string* add_devices(); |
461 | void add_devices(const std::string& value); |
462 | void add_devices(std::string&& value); |
463 | void add_devices(const char* value); |
464 | void add_devices(const char* value, size_t size); |
465 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& devices() const; |
466 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_devices(); |
467 | |
468 | // repeated .tensorflow.TensorShapeProto shapes = 11; |
469 | int shapes_size() const; |
470 | void clear_shapes(); |
471 | ::tensorflow::TensorShapeProto* mutable_shapes(int index); |
472 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorShapeProto >* |
473 | mutable_shapes(); |
474 | const ::tensorflow::TensorShapeProto& shapes(int index) const; |
475 | ::tensorflow::TensorShapeProto* add_shapes(); |
476 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorShapeProto >& |
477 | shapes() const; |
478 | |
479 | // repeated .tensorflow.tfprof.GraphNodeProto children = 12; |
480 | int children_size() const; |
481 | void clear_children(); |
482 | ::tensorflow::tfprof::GraphNodeProto* mutable_children(int index); |
483 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::GraphNodeProto >* |
484 | mutable_children(); |
485 | const ::tensorflow::tfprof::GraphNodeProto& children(int index) const; |
486 | ::tensorflow::tfprof::GraphNodeProto* add_children(); |
487 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::GraphNodeProto >& |
488 | children() const; |
489 | |
490 | // map<int32, .tensorflow.TensorShapeProto> input_shapes = 16; |
491 | int input_shapes_size() const; |
492 | void clear_input_shapes(); |
493 | const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::TensorShapeProto >& |
494 | input_shapes() const; |
495 | ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::TensorShapeProto >* |
496 | mutable_input_shapes(); |
497 | |
498 | // string name = 1; |
499 | void clear_name(); |
500 | const std::string& name() const; |
501 | void set_name(const std::string& value); |
502 | void set_name(std::string&& value); |
503 | void set_name(const char* value); |
504 | void set_name(const char* value, size_t size); |
505 | std::string* mutable_name(); |
506 | std::string* release_name(); |
507 | void set_allocated_name(std::string* name); |
508 | |
509 | // .tensorflow.tfprof.TFProfTensorProto tensor_value = 15; |
510 | bool has_tensor_value() const; |
511 | void clear_tensor_value(); |
512 | const ::tensorflow::tfprof::TFProfTensorProto& tensor_value() const; |
513 | ::tensorflow::tfprof::TFProfTensorProto* release_tensor_value(); |
514 | ::tensorflow::tfprof::TFProfTensorProto* mutable_tensor_value(); |
515 | void set_allocated_tensor_value(::tensorflow::tfprof::TFProfTensorProto* tensor_value); |
516 | |
517 | // int64 exec_micros = 2; |
518 | void clear_exec_micros(); |
519 | ::PROTOBUF_NAMESPACE_ID::int64 exec_micros() const; |
520 | void set_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
521 | |
522 | // int64 requested_bytes = 3; |
523 | void clear_requested_bytes(); |
524 | ::PROTOBUF_NAMESPACE_ID::int64 requested_bytes() const; |
525 | void set_requested_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
526 | |
527 | // int64 parameters = 4; |
528 | void clear_parameters(); |
529 | ::PROTOBUF_NAMESPACE_ID::int64 parameters() const; |
530 | void set_parameters(::PROTOBUF_NAMESPACE_ID::int64 value); |
531 | |
532 | // int64 total_exec_micros = 6; |
533 | void clear_total_exec_micros(); |
534 | ::PROTOBUF_NAMESPACE_ID::int64 total_exec_micros() const; |
535 | void set_total_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
536 | |
537 | // int64 total_requested_bytes = 7; |
538 | void clear_total_requested_bytes(); |
539 | ::PROTOBUF_NAMESPACE_ID::int64 total_requested_bytes() const; |
540 | void set_total_requested_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
541 | |
542 | // int64 total_parameters = 8; |
543 | void clear_total_parameters(); |
544 | ::PROTOBUF_NAMESPACE_ID::int64 total_parameters() const; |
545 | void set_total_parameters(::PROTOBUF_NAMESPACE_ID::int64 value); |
546 | |
547 | // int64 float_ops = 13; |
548 | void clear_float_ops(); |
549 | ::PROTOBUF_NAMESPACE_ID::int64 float_ops() const; |
550 | void set_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value); |
551 | |
552 | // int64 total_float_ops = 14; |
553 | void clear_total_float_ops(); |
554 | ::PROTOBUF_NAMESPACE_ID::int64 total_float_ops() const; |
555 | void set_total_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value); |
556 | |
557 | // int64 accelerator_exec_micros = 17; |
558 | void clear_accelerator_exec_micros(); |
559 | ::PROTOBUF_NAMESPACE_ID::int64 accelerator_exec_micros() const; |
560 | void set_accelerator_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
561 | |
562 | // int64 cpu_exec_micros = 18; |
563 | void clear_cpu_exec_micros(); |
564 | ::PROTOBUF_NAMESPACE_ID::int64 cpu_exec_micros() const; |
565 | void set_cpu_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
566 | |
567 | // int64 total_accelerator_exec_micros = 19; |
568 | void clear_total_accelerator_exec_micros(); |
569 | ::PROTOBUF_NAMESPACE_ID::int64 total_accelerator_exec_micros() const; |
570 | void set_total_accelerator_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
571 | |
572 | // int64 total_cpu_exec_micros = 20; |
573 | void clear_total_cpu_exec_micros(); |
574 | ::PROTOBUF_NAMESPACE_ID::int64 total_cpu_exec_micros() const; |
575 | void set_total_cpu_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
576 | |
577 | // int64 run_count = 21; |
578 | void clear_run_count(); |
579 | ::PROTOBUF_NAMESPACE_ID::int64 run_count() const; |
580 | void set_run_count(::PROTOBUF_NAMESPACE_ID::int64 value); |
581 | |
582 | // int64 total_run_count = 22; |
583 | void clear_total_run_count(); |
584 | ::PROTOBUF_NAMESPACE_ID::int64 total_run_count() const; |
585 | void set_total_run_count(::PROTOBUF_NAMESPACE_ID::int64 value); |
586 | |
587 | // int64 total_definition_count = 23; |
588 | void clear_total_definition_count(); |
589 | ::PROTOBUF_NAMESPACE_ID::int64 total_definition_count() const; |
590 | void set_total_definition_count(::PROTOBUF_NAMESPACE_ID::int64 value); |
591 | |
592 | // int64 peak_bytes = 24; |
593 | void clear_peak_bytes(); |
594 | ::PROTOBUF_NAMESPACE_ID::int64 peak_bytes() const; |
595 | void set_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
596 | |
597 | // int64 residual_bytes = 25; |
598 | void clear_residual_bytes(); |
599 | ::PROTOBUF_NAMESPACE_ID::int64 residual_bytes() const; |
600 | void set_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
601 | |
602 | // int64 output_bytes = 26; |
603 | void clear_output_bytes(); |
604 | ::PROTOBUF_NAMESPACE_ID::int64 output_bytes() const; |
605 | void set_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
606 | |
607 | // int64 total_peak_bytes = 27; |
608 | void clear_total_peak_bytes(); |
609 | ::PROTOBUF_NAMESPACE_ID::int64 total_peak_bytes() const; |
610 | void set_total_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
611 | |
612 | // int64 total_residual_bytes = 28; |
613 | void clear_total_residual_bytes(); |
614 | ::PROTOBUF_NAMESPACE_ID::int64 total_residual_bytes() const; |
615 | void set_total_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
616 | |
617 | // int64 total_output_bytes = 29; |
618 | void clear_total_output_bytes(); |
619 | ::PROTOBUF_NAMESPACE_ID::int64 total_output_bytes() const; |
620 | void set_total_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
621 | |
622 | // @@protoc_insertion_point(class_scope:tensorflow.tfprof.GraphNodeProto) |
623 | private: |
624 | class _Internal; |
625 | |
626 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
627 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> devices_; |
628 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorShapeProto > shapes_; |
629 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::GraphNodeProto > children_; |
630 | ::PROTOBUF_NAMESPACE_ID::internal::MapField< |
631 | GraphNodeProto_InputShapesEntry_DoNotUse, |
632 | ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::TensorShapeProto, |
633 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_INT32, |
634 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, |
635 | 0 > input_shapes_; |
636 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
637 | ::tensorflow::tfprof::TFProfTensorProto* tensor_value_; |
638 | ::PROTOBUF_NAMESPACE_ID::int64 exec_micros_; |
639 | ::PROTOBUF_NAMESPACE_ID::int64 requested_bytes_; |
640 | ::PROTOBUF_NAMESPACE_ID::int64 parameters_; |
641 | ::PROTOBUF_NAMESPACE_ID::int64 total_exec_micros_; |
642 | ::PROTOBUF_NAMESPACE_ID::int64 total_requested_bytes_; |
643 | ::PROTOBUF_NAMESPACE_ID::int64 total_parameters_; |
644 | ::PROTOBUF_NAMESPACE_ID::int64 float_ops_; |
645 | ::PROTOBUF_NAMESPACE_ID::int64 total_float_ops_; |
646 | ::PROTOBUF_NAMESPACE_ID::int64 accelerator_exec_micros_; |
647 | ::PROTOBUF_NAMESPACE_ID::int64 cpu_exec_micros_; |
648 | ::PROTOBUF_NAMESPACE_ID::int64 total_accelerator_exec_micros_; |
649 | ::PROTOBUF_NAMESPACE_ID::int64 total_cpu_exec_micros_; |
650 | ::PROTOBUF_NAMESPACE_ID::int64 run_count_; |
651 | ::PROTOBUF_NAMESPACE_ID::int64 total_run_count_; |
652 | ::PROTOBUF_NAMESPACE_ID::int64 total_definition_count_; |
653 | ::PROTOBUF_NAMESPACE_ID::int64 peak_bytes_; |
654 | ::PROTOBUF_NAMESPACE_ID::int64 residual_bytes_; |
655 | ::PROTOBUF_NAMESPACE_ID::int64 output_bytes_; |
656 | ::PROTOBUF_NAMESPACE_ID::int64 total_peak_bytes_; |
657 | ::PROTOBUF_NAMESPACE_ID::int64 total_residual_bytes_; |
658 | ::PROTOBUF_NAMESPACE_ID::int64 total_output_bytes_; |
659 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
660 | friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto; |
661 | }; |
662 | // ------------------------------------------------------------------- |
663 | |
664 | class MultiGraphNodeProto : |
665 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.MultiGraphNodeProto) */ { |
666 | public: |
667 | MultiGraphNodeProto(); |
668 | virtual ~MultiGraphNodeProto(); |
669 | |
670 | MultiGraphNodeProto(const MultiGraphNodeProto& from); |
671 | MultiGraphNodeProto(MultiGraphNodeProto&& from) noexcept |
672 | : MultiGraphNodeProto() { |
673 | *this = ::std::move(from); |
674 | } |
675 | |
676 | inline MultiGraphNodeProto& operator=(const MultiGraphNodeProto& from) { |
677 | CopyFrom(from); |
678 | return *this; |
679 | } |
680 | inline MultiGraphNodeProto& operator=(MultiGraphNodeProto&& from) noexcept { |
681 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
682 | if (this != &from) InternalSwap(&from); |
683 | } else { |
684 | CopyFrom(from); |
685 | } |
686 | return *this; |
687 | } |
688 | |
689 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
690 | return GetDescriptor(); |
691 | } |
692 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
693 | return GetMetadataStatic().descriptor; |
694 | } |
695 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
696 | return GetMetadataStatic().reflection; |
697 | } |
698 | static const MultiGraphNodeProto& default_instance(); |
699 | |
700 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
701 | static inline const MultiGraphNodeProto* internal_default_instance() { |
702 | return reinterpret_cast<const MultiGraphNodeProto*>( |
703 | &_MultiGraphNodeProto_default_instance_); |
704 | } |
705 | static constexpr int kIndexInFileMessages = |
706 | 3; |
707 | |
708 | friend void swap(MultiGraphNodeProto& a, MultiGraphNodeProto& b) { |
709 | a.Swap(&b); |
710 | } |
711 | inline void Swap(MultiGraphNodeProto* other) { |
712 | if (other == this) return; |
713 | InternalSwap(other); |
714 | } |
715 | |
716 | // implements Message ---------------------------------------------- |
717 | |
718 | inline MultiGraphNodeProto* New() const final { |
719 | return CreateMaybeMessage<MultiGraphNodeProto>(nullptr); |
720 | } |
721 | |
722 | MultiGraphNodeProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
723 | return CreateMaybeMessage<MultiGraphNodeProto>(arena); |
724 | } |
725 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
726 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
727 | void CopyFrom(const MultiGraphNodeProto& from); |
728 | void MergeFrom(const MultiGraphNodeProto& from); |
729 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
730 | bool IsInitialized() const final; |
731 | |
732 | size_t ByteSizeLong() const final; |
733 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
734 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
735 | #else |
736 | bool MergePartialFromCodedStream( |
737 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
738 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
739 | void SerializeWithCachedSizes( |
740 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
741 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
742 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
743 | int GetCachedSize() const final { return _cached_size_.Get(); } |
744 | |
745 | private: |
746 | inline void SharedCtor(); |
747 | inline void SharedDtor(); |
748 | void SetCachedSize(int size) const final; |
749 | void InternalSwap(MultiGraphNodeProto* other); |
750 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
751 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
752 | return "tensorflow.tfprof.MultiGraphNodeProto" ; |
753 | } |
754 | private: |
755 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
756 | return nullptr; |
757 | } |
758 | inline void* MaybeArenaPtr() const { |
759 | return nullptr; |
760 | } |
761 | public: |
762 | |
763 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
764 | private: |
765 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
766 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto); |
767 | return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto.file_level_metadata[kIndexInFileMessages]; |
768 | } |
769 | |
770 | public: |
771 | |
772 | // nested types ---------------------------------------------------- |
773 | |
774 | // accessors ------------------------------------------------------- |
775 | |
776 | enum : int { |
777 | kGraphNodesFieldNumber = 10, |
778 | kChildrenFieldNumber = 11, |
779 | kNameFieldNumber = 1, |
780 | kExecMicrosFieldNumber = 2, |
781 | kRequestedBytesFieldNumber = 3, |
782 | kParametersFieldNumber = 4, |
783 | kFloatOpsFieldNumber = 5, |
784 | kTotalExecMicrosFieldNumber = 6, |
785 | kTotalRequestedBytesFieldNumber = 7, |
786 | kTotalParametersFieldNumber = 8, |
787 | kTotalFloatOpsFieldNumber = 9, |
788 | kAcceleratorExecMicrosFieldNumber = 12, |
789 | kCpuExecMicrosFieldNumber = 13, |
790 | kTotalAcceleratorExecMicrosFieldNumber = 14, |
791 | kTotalCpuExecMicrosFieldNumber = 15, |
792 | kPeakBytesFieldNumber = 16, |
793 | kResidualBytesFieldNumber = 17, |
794 | kOutputBytesFieldNumber = 18, |
795 | kTotalPeakBytesFieldNumber = 19, |
796 | kTotalResidualBytesFieldNumber = 20, |
797 | kTotalOutputBytesFieldNumber = 21, |
798 | }; |
799 | // repeated .tensorflow.tfprof.GraphNodeProto graph_nodes = 10; |
800 | int graph_nodes_size() const; |
801 | void clear_graph_nodes(); |
802 | ::tensorflow::tfprof::GraphNodeProto* mutable_graph_nodes(int index); |
803 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::GraphNodeProto >* |
804 | mutable_graph_nodes(); |
805 | const ::tensorflow::tfprof::GraphNodeProto& graph_nodes(int index) const; |
806 | ::tensorflow::tfprof::GraphNodeProto* add_graph_nodes(); |
807 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::GraphNodeProto >& |
808 | graph_nodes() const; |
809 | |
810 | // repeated .tensorflow.tfprof.MultiGraphNodeProto children = 11; |
811 | int children_size() const; |
812 | void clear_children(); |
813 | ::tensorflow::tfprof::MultiGraphNodeProto* mutable_children(int index); |
814 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::MultiGraphNodeProto >* |
815 | mutable_children(); |
816 | const ::tensorflow::tfprof::MultiGraphNodeProto& children(int index) const; |
817 | ::tensorflow::tfprof::MultiGraphNodeProto* add_children(); |
818 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::MultiGraphNodeProto >& |
819 | children() const; |
820 | |
821 | // string name = 1; |
822 | void clear_name(); |
823 | const std::string& name() const; |
824 | void set_name(const std::string& value); |
825 | void set_name(std::string&& value); |
826 | void set_name(const char* value); |
827 | void set_name(const char* value, size_t size); |
828 | std::string* mutable_name(); |
829 | std::string* release_name(); |
830 | void set_allocated_name(std::string* name); |
831 | |
832 | // int64 exec_micros = 2; |
833 | void clear_exec_micros(); |
834 | ::PROTOBUF_NAMESPACE_ID::int64 exec_micros() const; |
835 | void set_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
836 | |
837 | // int64 requested_bytes = 3; |
838 | void clear_requested_bytes(); |
839 | ::PROTOBUF_NAMESPACE_ID::int64 requested_bytes() const; |
840 | void set_requested_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
841 | |
842 | // int64 parameters = 4; |
843 | void clear_parameters(); |
844 | ::PROTOBUF_NAMESPACE_ID::int64 parameters() const; |
845 | void set_parameters(::PROTOBUF_NAMESPACE_ID::int64 value); |
846 | |
847 | // int64 float_ops = 5; |
848 | void clear_float_ops(); |
849 | ::PROTOBUF_NAMESPACE_ID::int64 float_ops() const; |
850 | void set_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value); |
851 | |
852 | // int64 total_exec_micros = 6; |
853 | void clear_total_exec_micros(); |
854 | ::PROTOBUF_NAMESPACE_ID::int64 total_exec_micros() const; |
855 | void set_total_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
856 | |
857 | // int64 total_requested_bytes = 7; |
858 | void clear_total_requested_bytes(); |
859 | ::PROTOBUF_NAMESPACE_ID::int64 total_requested_bytes() const; |
860 | void set_total_requested_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
861 | |
862 | // int64 total_parameters = 8; |
863 | void clear_total_parameters(); |
864 | ::PROTOBUF_NAMESPACE_ID::int64 total_parameters() const; |
865 | void set_total_parameters(::PROTOBUF_NAMESPACE_ID::int64 value); |
866 | |
867 | // int64 total_float_ops = 9; |
868 | void clear_total_float_ops(); |
869 | ::PROTOBUF_NAMESPACE_ID::int64 total_float_ops() const; |
870 | void set_total_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value); |
871 | |
872 | // int64 accelerator_exec_micros = 12; |
873 | void clear_accelerator_exec_micros(); |
874 | ::PROTOBUF_NAMESPACE_ID::int64 accelerator_exec_micros() const; |
875 | void set_accelerator_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
876 | |
877 | // int64 cpu_exec_micros = 13; |
878 | void clear_cpu_exec_micros(); |
879 | ::PROTOBUF_NAMESPACE_ID::int64 cpu_exec_micros() const; |
880 | void set_cpu_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
881 | |
882 | // int64 total_accelerator_exec_micros = 14; |
883 | void clear_total_accelerator_exec_micros(); |
884 | ::PROTOBUF_NAMESPACE_ID::int64 total_accelerator_exec_micros() const; |
885 | void set_total_accelerator_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
886 | |
887 | // int64 total_cpu_exec_micros = 15; |
888 | void clear_total_cpu_exec_micros(); |
889 | ::PROTOBUF_NAMESPACE_ID::int64 total_cpu_exec_micros() const; |
890 | void set_total_cpu_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value); |
891 | |
892 | // int64 peak_bytes = 16; |
893 | void clear_peak_bytes(); |
894 | ::PROTOBUF_NAMESPACE_ID::int64 peak_bytes() const; |
895 | void set_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
896 | |
897 | // int64 residual_bytes = 17; |
898 | void clear_residual_bytes(); |
899 | ::PROTOBUF_NAMESPACE_ID::int64 residual_bytes() const; |
900 | void set_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
901 | |
902 | // int64 output_bytes = 18; |
903 | void clear_output_bytes(); |
904 | ::PROTOBUF_NAMESPACE_ID::int64 output_bytes() const; |
905 | void set_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
906 | |
907 | // int64 total_peak_bytes = 19; |
908 | void clear_total_peak_bytes(); |
909 | ::PROTOBUF_NAMESPACE_ID::int64 total_peak_bytes() const; |
910 | void set_total_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
911 | |
912 | // int64 total_residual_bytes = 20; |
913 | void clear_total_residual_bytes(); |
914 | ::PROTOBUF_NAMESPACE_ID::int64 total_residual_bytes() const; |
915 | void set_total_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
916 | |
917 | // int64 total_output_bytes = 21; |
918 | void clear_total_output_bytes(); |
919 | ::PROTOBUF_NAMESPACE_ID::int64 total_output_bytes() const; |
920 | void set_total_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value); |
921 | |
922 | // @@protoc_insertion_point(class_scope:tensorflow.tfprof.MultiGraphNodeProto) |
923 | private: |
924 | class _Internal; |
925 | |
926 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
927 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::GraphNodeProto > graph_nodes_; |
928 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::MultiGraphNodeProto > children_; |
929 | ::PROTOBUF_NAMESPACE_ID::internal::ArenaStringPtr name_; |
930 | ::PROTOBUF_NAMESPACE_ID::int64 exec_micros_; |
931 | ::PROTOBUF_NAMESPACE_ID::int64 requested_bytes_; |
932 | ::PROTOBUF_NAMESPACE_ID::int64 parameters_; |
933 | ::PROTOBUF_NAMESPACE_ID::int64 float_ops_; |
934 | ::PROTOBUF_NAMESPACE_ID::int64 total_exec_micros_; |
935 | ::PROTOBUF_NAMESPACE_ID::int64 total_requested_bytes_; |
936 | ::PROTOBUF_NAMESPACE_ID::int64 total_parameters_; |
937 | ::PROTOBUF_NAMESPACE_ID::int64 total_float_ops_; |
938 | ::PROTOBUF_NAMESPACE_ID::int64 accelerator_exec_micros_; |
939 | ::PROTOBUF_NAMESPACE_ID::int64 cpu_exec_micros_; |
940 | ::PROTOBUF_NAMESPACE_ID::int64 total_accelerator_exec_micros_; |
941 | ::PROTOBUF_NAMESPACE_ID::int64 total_cpu_exec_micros_; |
942 | ::PROTOBUF_NAMESPACE_ID::int64 peak_bytes_; |
943 | ::PROTOBUF_NAMESPACE_ID::int64 residual_bytes_; |
944 | ::PROTOBUF_NAMESPACE_ID::int64 output_bytes_; |
945 | ::PROTOBUF_NAMESPACE_ID::int64 total_peak_bytes_; |
946 | ::PROTOBUF_NAMESPACE_ID::int64 total_residual_bytes_; |
947 | ::PROTOBUF_NAMESPACE_ID::int64 total_output_bytes_; |
948 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
949 | friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto; |
950 | }; |
951 | // ------------------------------------------------------------------- |
952 | |
953 | class AdviceProto_CheckersEntry_DoNotUse : public ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<AdviceProto_CheckersEntry_DoNotUse, |
954 | std::string, ::tensorflow::tfprof::AdviceProto_Checker, |
955 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
956 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, |
957 | 0 > { |
958 | public: |
959 | typedef ::PROTOBUF_NAMESPACE_ID::internal::MapEntry<AdviceProto_CheckersEntry_DoNotUse, |
960 | std::string, ::tensorflow::tfprof::AdviceProto_Checker, |
961 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
962 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, |
963 | 0 > SuperType; |
964 | AdviceProto_CheckersEntry_DoNotUse(); |
965 | AdviceProto_CheckersEntry_DoNotUse(::PROTOBUF_NAMESPACE_ID::Arena* arena); |
966 | void MergeFrom(const AdviceProto_CheckersEntry_DoNotUse& other); |
967 | static const AdviceProto_CheckersEntry_DoNotUse* internal_default_instance() { return reinterpret_cast<const AdviceProto_CheckersEntry_DoNotUse*>(&_AdviceProto_CheckersEntry_DoNotUse_default_instance_); } |
968 | static bool ValidateKey(std::string* s) { |
969 | return ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::VerifyUtf8String(s->data(), s->size(), ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::PARSE, "tensorflow.tfprof.AdviceProto.CheckersEntry.key" ); |
970 | } |
971 | static bool ValidateValue(void*) { return true; } |
972 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& other) final; |
973 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
974 | private: |
975 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
976 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto); |
977 | return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto.file_level_metadata[4]; |
978 | } |
979 | |
980 | public: |
981 | }; |
982 | |
983 | // ------------------------------------------------------------------- |
984 | |
985 | class AdviceProto_Checker : |
986 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.AdviceProto.Checker) */ { |
987 | public: |
988 | AdviceProto_Checker(); |
989 | virtual ~AdviceProto_Checker(); |
990 | |
991 | AdviceProto_Checker(const AdviceProto_Checker& from); |
992 | AdviceProto_Checker(AdviceProto_Checker&& from) noexcept |
993 | : AdviceProto_Checker() { |
994 | *this = ::std::move(from); |
995 | } |
996 | |
997 | inline AdviceProto_Checker& operator=(const AdviceProto_Checker& from) { |
998 | CopyFrom(from); |
999 | return *this; |
1000 | } |
1001 | inline AdviceProto_Checker& operator=(AdviceProto_Checker&& from) noexcept { |
1002 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1003 | if (this != &from) InternalSwap(&from); |
1004 | } else { |
1005 | CopyFrom(from); |
1006 | } |
1007 | return *this; |
1008 | } |
1009 | |
1010 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1011 | return GetDescriptor(); |
1012 | } |
1013 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1014 | return GetMetadataStatic().descriptor; |
1015 | } |
1016 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1017 | return GetMetadataStatic().reflection; |
1018 | } |
1019 | static const AdviceProto_Checker& default_instance(); |
1020 | |
1021 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1022 | static inline const AdviceProto_Checker* internal_default_instance() { |
1023 | return reinterpret_cast<const AdviceProto_Checker*>( |
1024 | &_AdviceProto_Checker_default_instance_); |
1025 | } |
1026 | static constexpr int kIndexInFileMessages = |
1027 | 5; |
1028 | |
1029 | friend void swap(AdviceProto_Checker& a, AdviceProto_Checker& b) { |
1030 | a.Swap(&b); |
1031 | } |
1032 | inline void Swap(AdviceProto_Checker* other) { |
1033 | if (other == this) return; |
1034 | InternalSwap(other); |
1035 | } |
1036 | |
1037 | // implements Message ---------------------------------------------- |
1038 | |
1039 | inline AdviceProto_Checker* New() const final { |
1040 | return CreateMaybeMessage<AdviceProto_Checker>(nullptr); |
1041 | } |
1042 | |
1043 | AdviceProto_Checker* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1044 | return CreateMaybeMessage<AdviceProto_Checker>(arena); |
1045 | } |
1046 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1047 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1048 | void CopyFrom(const AdviceProto_Checker& from); |
1049 | void MergeFrom(const AdviceProto_Checker& from); |
1050 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1051 | bool IsInitialized() const final; |
1052 | |
1053 | size_t ByteSizeLong() const final; |
1054 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1055 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1056 | #else |
1057 | bool MergePartialFromCodedStream( |
1058 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
1059 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1060 | void SerializeWithCachedSizes( |
1061 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
1062 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
1063 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
1064 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1065 | |
1066 | private: |
1067 | inline void SharedCtor(); |
1068 | inline void SharedDtor(); |
1069 | void SetCachedSize(int size) const final; |
1070 | void InternalSwap(AdviceProto_Checker* other); |
1071 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1072 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1073 | return "tensorflow.tfprof.AdviceProto.Checker" ; |
1074 | } |
1075 | private: |
1076 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1077 | return nullptr; |
1078 | } |
1079 | inline void* MaybeArenaPtr() const { |
1080 | return nullptr; |
1081 | } |
1082 | public: |
1083 | |
1084 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1085 | private: |
1086 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1087 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto); |
1088 | return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto.file_level_metadata[kIndexInFileMessages]; |
1089 | } |
1090 | |
1091 | public: |
1092 | |
1093 | // nested types ---------------------------------------------------- |
1094 | |
1095 | // accessors ------------------------------------------------------- |
1096 | |
1097 | enum : int { |
1098 | kReportsFieldNumber = 2, |
1099 | }; |
1100 | // repeated string reports = 2; |
1101 | int reports_size() const; |
1102 | void clear_reports(); |
1103 | const std::string& reports(int index) const; |
1104 | std::string* mutable_reports(int index); |
1105 | void set_reports(int index, const std::string& value); |
1106 | void set_reports(int index, std::string&& value); |
1107 | void set_reports(int index, const char* value); |
1108 | void set_reports(int index, const char* value, size_t size); |
1109 | std::string* add_reports(); |
1110 | void add_reports(const std::string& value); |
1111 | void add_reports(std::string&& value); |
1112 | void add_reports(const char* value); |
1113 | void add_reports(const char* value, size_t size); |
1114 | const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& reports() const; |
1115 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* mutable_reports(); |
1116 | |
1117 | // @@protoc_insertion_point(class_scope:tensorflow.tfprof.AdviceProto.Checker) |
1118 | private: |
1119 | class _Internal; |
1120 | |
1121 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1122 | ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string> reports_; |
1123 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1124 | friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto; |
1125 | }; |
1126 | // ------------------------------------------------------------------- |
1127 | |
1128 | class AdviceProto : |
1129 | public ::PROTOBUF_NAMESPACE_ID::Message /* @@protoc_insertion_point(class_definition:tensorflow.tfprof.AdviceProto) */ { |
1130 | public: |
1131 | AdviceProto(); |
1132 | virtual ~AdviceProto(); |
1133 | |
1134 | AdviceProto(const AdviceProto& from); |
1135 | AdviceProto(AdviceProto&& from) noexcept |
1136 | : AdviceProto() { |
1137 | *this = ::std::move(from); |
1138 | } |
1139 | |
1140 | inline AdviceProto& operator=(const AdviceProto& from) { |
1141 | CopyFrom(from); |
1142 | return *this; |
1143 | } |
1144 | inline AdviceProto& operator=(AdviceProto&& from) noexcept { |
1145 | if (GetArenaNoVirtual() == from.GetArenaNoVirtual()) { |
1146 | if (this != &from) InternalSwap(&from); |
1147 | } else { |
1148 | CopyFrom(from); |
1149 | } |
1150 | return *this; |
1151 | } |
1152 | |
1153 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* descriptor() { |
1154 | return GetDescriptor(); |
1155 | } |
1156 | static const ::PROTOBUF_NAMESPACE_ID::Descriptor* GetDescriptor() { |
1157 | return GetMetadataStatic().descriptor; |
1158 | } |
1159 | static const ::PROTOBUF_NAMESPACE_ID::Reflection* GetReflection() { |
1160 | return GetMetadataStatic().reflection; |
1161 | } |
1162 | static const AdviceProto& default_instance(); |
1163 | |
1164 | static void InitAsDefaultInstance(); // FOR INTERNAL USE ONLY |
1165 | static inline const AdviceProto* internal_default_instance() { |
1166 | return reinterpret_cast<const AdviceProto*>( |
1167 | &_AdviceProto_default_instance_); |
1168 | } |
1169 | static constexpr int kIndexInFileMessages = |
1170 | 6; |
1171 | |
1172 | friend void swap(AdviceProto& a, AdviceProto& b) { |
1173 | a.Swap(&b); |
1174 | } |
1175 | inline void Swap(AdviceProto* other) { |
1176 | if (other == this) return; |
1177 | InternalSwap(other); |
1178 | } |
1179 | |
1180 | // implements Message ---------------------------------------------- |
1181 | |
1182 | inline AdviceProto* New() const final { |
1183 | return CreateMaybeMessage<AdviceProto>(nullptr); |
1184 | } |
1185 | |
1186 | AdviceProto* New(::PROTOBUF_NAMESPACE_ID::Arena* arena) const final { |
1187 | return CreateMaybeMessage<AdviceProto>(arena); |
1188 | } |
1189 | void CopyFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1190 | void MergeFrom(const ::PROTOBUF_NAMESPACE_ID::Message& from) final; |
1191 | void CopyFrom(const AdviceProto& from); |
1192 | void MergeFrom(const AdviceProto& from); |
1193 | PROTOBUF_ATTRIBUTE_REINITIALIZES void Clear() final; |
1194 | bool IsInitialized() const final; |
1195 | |
1196 | size_t ByteSizeLong() const final; |
1197 | #if GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1198 | const char* _InternalParse(const char* ptr, ::PROTOBUF_NAMESPACE_ID::internal::ParseContext* ctx) final; |
1199 | #else |
1200 | bool MergePartialFromCodedStream( |
1201 | ::PROTOBUF_NAMESPACE_ID::io::CodedInputStream* input) final; |
1202 | #endif // GOOGLE_PROTOBUF_ENABLE_EXPERIMENTAL_PARSER |
1203 | void SerializeWithCachedSizes( |
1204 | ::PROTOBUF_NAMESPACE_ID::io::CodedOutputStream* output) const final; |
1205 | ::PROTOBUF_NAMESPACE_ID::uint8* InternalSerializeWithCachedSizesToArray( |
1206 | ::PROTOBUF_NAMESPACE_ID::uint8* target) const final; |
1207 | int GetCachedSize() const final { return _cached_size_.Get(); } |
1208 | |
1209 | private: |
1210 | inline void SharedCtor(); |
1211 | inline void SharedDtor(); |
1212 | void SetCachedSize(int size) const final; |
1213 | void InternalSwap(AdviceProto* other); |
1214 | friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; |
1215 | static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { |
1216 | return "tensorflow.tfprof.AdviceProto" ; |
1217 | } |
1218 | private: |
1219 | inline ::PROTOBUF_NAMESPACE_ID::Arena* GetArenaNoVirtual() const { |
1220 | return nullptr; |
1221 | } |
1222 | inline void* MaybeArenaPtr() const { |
1223 | return nullptr; |
1224 | } |
1225 | public: |
1226 | |
1227 | ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadata() const final; |
1228 | private: |
1229 | static ::PROTOBUF_NAMESPACE_ID::Metadata GetMetadataStatic() { |
1230 | ::PROTOBUF_NAMESPACE_ID::internal::AssignDescriptors(&::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto); |
1231 | return ::descriptor_table_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto.file_level_metadata[kIndexInFileMessages]; |
1232 | } |
1233 | |
1234 | public: |
1235 | |
1236 | // nested types ---------------------------------------------------- |
1237 | |
1238 | typedef AdviceProto_Checker Checker; |
1239 | |
1240 | // accessors ------------------------------------------------------- |
1241 | |
1242 | enum : int { |
1243 | kCheckersFieldNumber = 1, |
1244 | }; |
1245 | // map<string, .tensorflow.tfprof.AdviceProto.Checker> checkers = 1; |
1246 | int checkers_size() const; |
1247 | void clear_checkers(); |
1248 | const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::AdviceProto_Checker >& |
1249 | checkers() const; |
1250 | ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::AdviceProto_Checker >* |
1251 | mutable_checkers(); |
1252 | |
1253 | // @@protoc_insertion_point(class_scope:tensorflow.tfprof.AdviceProto) |
1254 | private: |
1255 | class _Internal; |
1256 | |
1257 | ::PROTOBUF_NAMESPACE_ID::internal::InternalMetadataWithArena _internal_metadata_; |
1258 | ::PROTOBUF_NAMESPACE_ID::internal::MapField< |
1259 | AdviceProto_CheckersEntry_DoNotUse, |
1260 | std::string, ::tensorflow::tfprof::AdviceProto_Checker, |
1261 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_STRING, |
1262 | ::PROTOBUF_NAMESPACE_ID::internal::WireFormatLite::TYPE_MESSAGE, |
1263 | 0 > checkers_; |
1264 | mutable ::PROTOBUF_NAMESPACE_ID::internal::CachedSize _cached_size_; |
1265 | friend struct ::TableStruct_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto; |
1266 | }; |
1267 | // =================================================================== |
1268 | |
1269 | |
1270 | // =================================================================== |
1271 | |
1272 | #ifdef __GNUC__ |
1273 | #pragma GCC diagnostic push |
1274 | #pragma GCC diagnostic ignored "-Wstrict-aliasing" |
1275 | #endif // __GNUC__ |
1276 | // TFProfTensorProto |
1277 | |
1278 | // .tensorflow.DataType dtype = 1; |
1279 | inline void TFProfTensorProto::clear_dtype() { |
1280 | dtype_ = 0; |
1281 | } |
1282 | inline ::tensorflow::DataType TFProfTensorProto::dtype() const { |
1283 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.TFProfTensorProto.dtype) |
1284 | return static_cast< ::tensorflow::DataType >(dtype_); |
1285 | } |
1286 | inline void TFProfTensorProto::set_dtype(::tensorflow::DataType value) { |
1287 | |
1288 | dtype_ = value; |
1289 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.TFProfTensorProto.dtype) |
1290 | } |
1291 | |
1292 | // repeated double value_double = 2; |
1293 | inline int TFProfTensorProto::value_double_size() const { |
1294 | return value_double_.size(); |
1295 | } |
1296 | inline void TFProfTensorProto::clear_value_double() { |
1297 | value_double_.Clear(); |
1298 | } |
1299 | inline double TFProfTensorProto::value_double(int index) const { |
1300 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.TFProfTensorProto.value_double) |
1301 | return value_double_.Get(index); |
1302 | } |
1303 | inline void TFProfTensorProto::set_value_double(int index, double value) { |
1304 | value_double_.Set(index, value); |
1305 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.TFProfTensorProto.value_double) |
1306 | } |
1307 | inline void TFProfTensorProto::add_value_double(double value) { |
1308 | value_double_.Add(value); |
1309 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.TFProfTensorProto.value_double) |
1310 | } |
1311 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >& |
1312 | TFProfTensorProto::value_double() const { |
1313 | // @@protoc_insertion_point(field_list:tensorflow.tfprof.TFProfTensorProto.value_double) |
1314 | return value_double_; |
1315 | } |
1316 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< double >* |
1317 | TFProfTensorProto::mutable_value_double() { |
1318 | // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.TFProfTensorProto.value_double) |
1319 | return &value_double_; |
1320 | } |
1321 | |
1322 | // repeated int64 value_int64 = 3; |
1323 | inline int TFProfTensorProto::value_int64_size() const { |
1324 | return value_int64_.size(); |
1325 | } |
1326 | inline void TFProfTensorProto::clear_value_int64() { |
1327 | value_int64_.Clear(); |
1328 | } |
1329 | inline ::PROTOBUF_NAMESPACE_ID::int64 TFProfTensorProto::value_int64(int index) const { |
1330 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.TFProfTensorProto.value_int64) |
1331 | return value_int64_.Get(index); |
1332 | } |
1333 | inline void TFProfTensorProto::set_value_int64(int index, ::PROTOBUF_NAMESPACE_ID::int64 value) { |
1334 | value_int64_.Set(index, value); |
1335 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.TFProfTensorProto.value_int64) |
1336 | } |
1337 | inline void TFProfTensorProto::add_value_int64(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1338 | value_int64_.Add(value); |
1339 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.TFProfTensorProto.value_int64) |
1340 | } |
1341 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >& |
1342 | TFProfTensorProto::value_int64() const { |
1343 | // @@protoc_insertion_point(field_list:tensorflow.tfprof.TFProfTensorProto.value_int64) |
1344 | return value_int64_; |
1345 | } |
1346 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedField< ::PROTOBUF_NAMESPACE_ID::int64 >* |
1347 | TFProfTensorProto::mutable_value_int64() { |
1348 | // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.TFProfTensorProto.value_int64) |
1349 | return &value_int64_; |
1350 | } |
1351 | |
1352 | // repeated string value_str = 4; |
1353 | inline int TFProfTensorProto::value_str_size() const { |
1354 | return value_str_.size(); |
1355 | } |
1356 | inline void TFProfTensorProto::clear_value_str() { |
1357 | value_str_.Clear(); |
1358 | } |
1359 | inline const std::string& TFProfTensorProto::value_str(int index) const { |
1360 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.TFProfTensorProto.value_str) |
1361 | return value_str_.Get(index); |
1362 | } |
1363 | inline std::string* TFProfTensorProto::mutable_value_str(int index) { |
1364 | // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.TFProfTensorProto.value_str) |
1365 | return value_str_.Mutable(index); |
1366 | } |
1367 | inline void TFProfTensorProto::set_value_str(int index, const std::string& value) { |
1368 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.TFProfTensorProto.value_str) |
1369 | value_str_.Mutable(index)->assign(value); |
1370 | } |
1371 | inline void TFProfTensorProto::set_value_str(int index, std::string&& value) { |
1372 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.TFProfTensorProto.value_str) |
1373 | value_str_.Mutable(index)->assign(std::move(value)); |
1374 | } |
1375 | inline void TFProfTensorProto::set_value_str(int index, const char* value) { |
1376 | GOOGLE_DCHECK(value != nullptr); |
1377 | value_str_.Mutable(index)->assign(value); |
1378 | // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.TFProfTensorProto.value_str) |
1379 | } |
1380 | inline void TFProfTensorProto::set_value_str(int index, const char* value, size_t size) { |
1381 | value_str_.Mutable(index)->assign( |
1382 | reinterpret_cast<const char*>(value), size); |
1383 | // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.TFProfTensorProto.value_str) |
1384 | } |
1385 | inline std::string* TFProfTensorProto::add_value_str() { |
1386 | // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.TFProfTensorProto.value_str) |
1387 | return value_str_.Add(); |
1388 | } |
1389 | inline void TFProfTensorProto::add_value_str(const std::string& value) { |
1390 | value_str_.Add()->assign(value); |
1391 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.TFProfTensorProto.value_str) |
1392 | } |
1393 | inline void TFProfTensorProto::add_value_str(std::string&& value) { |
1394 | value_str_.Add(std::move(value)); |
1395 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.TFProfTensorProto.value_str) |
1396 | } |
1397 | inline void TFProfTensorProto::add_value_str(const char* value) { |
1398 | GOOGLE_DCHECK(value != nullptr); |
1399 | value_str_.Add()->assign(value); |
1400 | // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.TFProfTensorProto.value_str) |
1401 | } |
1402 | inline void TFProfTensorProto::add_value_str(const char* value, size_t size) { |
1403 | value_str_.Add()->assign(reinterpret_cast<const char*>(value), size); |
1404 | // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.TFProfTensorProto.value_str) |
1405 | } |
1406 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
1407 | TFProfTensorProto::value_str() const { |
1408 | // @@protoc_insertion_point(field_list:tensorflow.tfprof.TFProfTensorProto.value_str) |
1409 | return value_str_; |
1410 | } |
1411 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
1412 | TFProfTensorProto::mutable_value_str() { |
1413 | // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.TFProfTensorProto.value_str) |
1414 | return &value_str_; |
1415 | } |
1416 | |
1417 | // ------------------------------------------------------------------- |
1418 | |
1419 | // ------------------------------------------------------------------- |
1420 | |
1421 | // GraphNodeProto |
1422 | |
1423 | // string name = 1; |
1424 | inline void GraphNodeProto::clear_name() { |
1425 | name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1426 | } |
1427 | inline const std::string& GraphNodeProto::name() const { |
1428 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.name) |
1429 | return name_.GetNoArena(); |
1430 | } |
1431 | inline void GraphNodeProto::set_name(const std::string& value) { |
1432 | |
1433 | name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1434 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.name) |
1435 | } |
1436 | inline void GraphNodeProto::set_name(std::string&& value) { |
1437 | |
1438 | name_.SetNoArena( |
1439 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1440 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.GraphNodeProto.name) |
1441 | } |
1442 | inline void GraphNodeProto::set_name(const char* value) { |
1443 | GOOGLE_DCHECK(value != nullptr); |
1444 | |
1445 | name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1446 | // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.GraphNodeProto.name) |
1447 | } |
1448 | inline void GraphNodeProto::set_name(const char* value, size_t size) { |
1449 | |
1450 | name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1451 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1452 | // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.GraphNodeProto.name) |
1453 | } |
1454 | inline std::string* GraphNodeProto::mutable_name() { |
1455 | |
1456 | // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.GraphNodeProto.name) |
1457 | return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1458 | } |
1459 | inline std::string* GraphNodeProto::release_name() { |
1460 | // @@protoc_insertion_point(field_release:tensorflow.tfprof.GraphNodeProto.name) |
1461 | |
1462 | return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1463 | } |
1464 | inline void GraphNodeProto::set_allocated_name(std::string* name) { |
1465 | if (name != nullptr) { |
1466 | |
1467 | } else { |
1468 | |
1469 | } |
1470 | name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); |
1471 | // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.GraphNodeProto.name) |
1472 | } |
1473 | |
1474 | // .tensorflow.tfprof.TFProfTensorProto tensor_value = 15; |
1475 | inline bool GraphNodeProto::has_tensor_value() const { |
1476 | return this != internal_default_instance() && tensor_value_ != nullptr; |
1477 | } |
1478 | inline void GraphNodeProto::clear_tensor_value() { |
1479 | if (GetArenaNoVirtual() == nullptr && tensor_value_ != nullptr) { |
1480 | delete tensor_value_; |
1481 | } |
1482 | tensor_value_ = nullptr; |
1483 | } |
1484 | inline const ::tensorflow::tfprof::TFProfTensorProto& GraphNodeProto::tensor_value() const { |
1485 | const ::tensorflow::tfprof::TFProfTensorProto* p = tensor_value_; |
1486 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.tensor_value) |
1487 | return p != nullptr ? *p : *reinterpret_cast<const ::tensorflow::tfprof::TFProfTensorProto*>( |
1488 | &::tensorflow::tfprof::_TFProfTensorProto_default_instance_); |
1489 | } |
1490 | inline ::tensorflow::tfprof::TFProfTensorProto* GraphNodeProto::release_tensor_value() { |
1491 | // @@protoc_insertion_point(field_release:tensorflow.tfprof.GraphNodeProto.tensor_value) |
1492 | |
1493 | ::tensorflow::tfprof::TFProfTensorProto* temp = tensor_value_; |
1494 | tensor_value_ = nullptr; |
1495 | return temp; |
1496 | } |
1497 | inline ::tensorflow::tfprof::TFProfTensorProto* GraphNodeProto::mutable_tensor_value() { |
1498 | |
1499 | if (tensor_value_ == nullptr) { |
1500 | auto* p = CreateMaybeMessage<::tensorflow::tfprof::TFProfTensorProto>(GetArenaNoVirtual()); |
1501 | tensor_value_ = p; |
1502 | } |
1503 | // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.GraphNodeProto.tensor_value) |
1504 | return tensor_value_; |
1505 | } |
1506 | inline void GraphNodeProto::set_allocated_tensor_value(::tensorflow::tfprof::TFProfTensorProto* tensor_value) { |
1507 | ::PROTOBUF_NAMESPACE_ID::Arena* message_arena = GetArenaNoVirtual(); |
1508 | if (message_arena == nullptr) { |
1509 | delete tensor_value_; |
1510 | } |
1511 | if (tensor_value) { |
1512 | ::PROTOBUF_NAMESPACE_ID::Arena* submessage_arena = nullptr; |
1513 | if (message_arena != submessage_arena) { |
1514 | tensor_value = ::PROTOBUF_NAMESPACE_ID::internal::GetOwnedMessage( |
1515 | message_arena, tensor_value, submessage_arena); |
1516 | } |
1517 | |
1518 | } else { |
1519 | |
1520 | } |
1521 | tensor_value_ = tensor_value; |
1522 | // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.GraphNodeProto.tensor_value) |
1523 | } |
1524 | |
1525 | // int64 run_count = 21; |
1526 | inline void GraphNodeProto::clear_run_count() { |
1527 | run_count_ = PROTOBUF_LONGLONG(0); |
1528 | } |
1529 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::run_count() const { |
1530 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.run_count) |
1531 | return run_count_; |
1532 | } |
1533 | inline void GraphNodeProto::set_run_count(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1534 | |
1535 | run_count_ = value; |
1536 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.run_count) |
1537 | } |
1538 | |
1539 | // int64 exec_micros = 2; |
1540 | inline void GraphNodeProto::clear_exec_micros() { |
1541 | exec_micros_ = PROTOBUF_LONGLONG(0); |
1542 | } |
1543 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::exec_micros() const { |
1544 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.exec_micros) |
1545 | return exec_micros_; |
1546 | } |
1547 | inline void GraphNodeProto::set_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1548 | |
1549 | exec_micros_ = value; |
1550 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.exec_micros) |
1551 | } |
1552 | |
1553 | // int64 accelerator_exec_micros = 17; |
1554 | inline void GraphNodeProto::clear_accelerator_exec_micros() { |
1555 | accelerator_exec_micros_ = PROTOBUF_LONGLONG(0); |
1556 | } |
1557 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::accelerator_exec_micros() const { |
1558 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.accelerator_exec_micros) |
1559 | return accelerator_exec_micros_; |
1560 | } |
1561 | inline void GraphNodeProto::set_accelerator_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1562 | |
1563 | accelerator_exec_micros_ = value; |
1564 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.accelerator_exec_micros) |
1565 | } |
1566 | |
1567 | // int64 cpu_exec_micros = 18; |
1568 | inline void GraphNodeProto::clear_cpu_exec_micros() { |
1569 | cpu_exec_micros_ = PROTOBUF_LONGLONG(0); |
1570 | } |
1571 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::cpu_exec_micros() const { |
1572 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.cpu_exec_micros) |
1573 | return cpu_exec_micros_; |
1574 | } |
1575 | inline void GraphNodeProto::set_cpu_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1576 | |
1577 | cpu_exec_micros_ = value; |
1578 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.cpu_exec_micros) |
1579 | } |
1580 | |
1581 | // int64 requested_bytes = 3; |
1582 | inline void GraphNodeProto::clear_requested_bytes() { |
1583 | requested_bytes_ = PROTOBUF_LONGLONG(0); |
1584 | } |
1585 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::requested_bytes() const { |
1586 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.requested_bytes) |
1587 | return requested_bytes_; |
1588 | } |
1589 | inline void GraphNodeProto::set_requested_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1590 | |
1591 | requested_bytes_ = value; |
1592 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.requested_bytes) |
1593 | } |
1594 | |
1595 | // int64 peak_bytes = 24; |
1596 | inline void GraphNodeProto::clear_peak_bytes() { |
1597 | peak_bytes_ = PROTOBUF_LONGLONG(0); |
1598 | } |
1599 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::peak_bytes() const { |
1600 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.peak_bytes) |
1601 | return peak_bytes_; |
1602 | } |
1603 | inline void GraphNodeProto::set_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1604 | |
1605 | peak_bytes_ = value; |
1606 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.peak_bytes) |
1607 | } |
1608 | |
1609 | // int64 residual_bytes = 25; |
1610 | inline void GraphNodeProto::clear_residual_bytes() { |
1611 | residual_bytes_ = PROTOBUF_LONGLONG(0); |
1612 | } |
1613 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::residual_bytes() const { |
1614 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.residual_bytes) |
1615 | return residual_bytes_; |
1616 | } |
1617 | inline void GraphNodeProto::set_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1618 | |
1619 | residual_bytes_ = value; |
1620 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.residual_bytes) |
1621 | } |
1622 | |
1623 | // int64 output_bytes = 26; |
1624 | inline void GraphNodeProto::clear_output_bytes() { |
1625 | output_bytes_ = PROTOBUF_LONGLONG(0); |
1626 | } |
1627 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::output_bytes() const { |
1628 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.output_bytes) |
1629 | return output_bytes_; |
1630 | } |
1631 | inline void GraphNodeProto::set_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1632 | |
1633 | output_bytes_ = value; |
1634 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.output_bytes) |
1635 | } |
1636 | |
1637 | // int64 parameters = 4; |
1638 | inline void GraphNodeProto::clear_parameters() { |
1639 | parameters_ = PROTOBUF_LONGLONG(0); |
1640 | } |
1641 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::parameters() const { |
1642 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.parameters) |
1643 | return parameters_; |
1644 | } |
1645 | inline void GraphNodeProto::set_parameters(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1646 | |
1647 | parameters_ = value; |
1648 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.parameters) |
1649 | } |
1650 | |
1651 | // int64 float_ops = 13; |
1652 | inline void GraphNodeProto::clear_float_ops() { |
1653 | float_ops_ = PROTOBUF_LONGLONG(0); |
1654 | } |
1655 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::float_ops() const { |
1656 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.float_ops) |
1657 | return float_ops_; |
1658 | } |
1659 | inline void GraphNodeProto::set_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1660 | |
1661 | float_ops_ = value; |
1662 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.float_ops) |
1663 | } |
1664 | |
1665 | // repeated string devices = 10; |
1666 | inline int GraphNodeProto::devices_size() const { |
1667 | return devices_.size(); |
1668 | } |
1669 | inline void GraphNodeProto::clear_devices() { |
1670 | devices_.Clear(); |
1671 | } |
1672 | inline const std::string& GraphNodeProto::devices(int index) const { |
1673 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.devices) |
1674 | return devices_.Get(index); |
1675 | } |
1676 | inline std::string* GraphNodeProto::mutable_devices(int index) { |
1677 | // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.GraphNodeProto.devices) |
1678 | return devices_.Mutable(index); |
1679 | } |
1680 | inline void GraphNodeProto::set_devices(int index, const std::string& value) { |
1681 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.devices) |
1682 | devices_.Mutable(index)->assign(value); |
1683 | } |
1684 | inline void GraphNodeProto::set_devices(int index, std::string&& value) { |
1685 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.devices) |
1686 | devices_.Mutable(index)->assign(std::move(value)); |
1687 | } |
1688 | inline void GraphNodeProto::set_devices(int index, const char* value) { |
1689 | GOOGLE_DCHECK(value != nullptr); |
1690 | devices_.Mutable(index)->assign(value); |
1691 | // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.GraphNodeProto.devices) |
1692 | } |
1693 | inline void GraphNodeProto::set_devices(int index, const char* value, size_t size) { |
1694 | devices_.Mutable(index)->assign( |
1695 | reinterpret_cast<const char*>(value), size); |
1696 | // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.GraphNodeProto.devices) |
1697 | } |
1698 | inline std::string* GraphNodeProto::add_devices() { |
1699 | // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.GraphNodeProto.devices) |
1700 | return devices_.Add(); |
1701 | } |
1702 | inline void GraphNodeProto::add_devices(const std::string& value) { |
1703 | devices_.Add()->assign(value); |
1704 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.GraphNodeProto.devices) |
1705 | } |
1706 | inline void GraphNodeProto::add_devices(std::string&& value) { |
1707 | devices_.Add(std::move(value)); |
1708 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.GraphNodeProto.devices) |
1709 | } |
1710 | inline void GraphNodeProto::add_devices(const char* value) { |
1711 | GOOGLE_DCHECK(value != nullptr); |
1712 | devices_.Add()->assign(value); |
1713 | // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.GraphNodeProto.devices) |
1714 | } |
1715 | inline void GraphNodeProto::add_devices(const char* value, size_t size) { |
1716 | devices_.Add()->assign(reinterpret_cast<const char*>(value), size); |
1717 | // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.GraphNodeProto.devices) |
1718 | } |
1719 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
1720 | GraphNodeProto::devices() const { |
1721 | // @@protoc_insertion_point(field_list:tensorflow.tfprof.GraphNodeProto.devices) |
1722 | return devices_; |
1723 | } |
1724 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
1725 | GraphNodeProto::mutable_devices() { |
1726 | // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.GraphNodeProto.devices) |
1727 | return &devices_; |
1728 | } |
1729 | |
1730 | // int64 total_definition_count = 23; |
1731 | inline void GraphNodeProto::clear_total_definition_count() { |
1732 | total_definition_count_ = PROTOBUF_LONGLONG(0); |
1733 | } |
1734 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_definition_count() const { |
1735 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_definition_count) |
1736 | return total_definition_count_; |
1737 | } |
1738 | inline void GraphNodeProto::set_total_definition_count(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1739 | |
1740 | total_definition_count_ = value; |
1741 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_definition_count) |
1742 | } |
1743 | |
1744 | // int64 total_run_count = 22; |
1745 | inline void GraphNodeProto::clear_total_run_count() { |
1746 | total_run_count_ = PROTOBUF_LONGLONG(0); |
1747 | } |
1748 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_run_count() const { |
1749 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_run_count) |
1750 | return total_run_count_; |
1751 | } |
1752 | inline void GraphNodeProto::set_total_run_count(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1753 | |
1754 | total_run_count_ = value; |
1755 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_run_count) |
1756 | } |
1757 | |
1758 | // int64 total_exec_micros = 6; |
1759 | inline void GraphNodeProto::clear_total_exec_micros() { |
1760 | total_exec_micros_ = PROTOBUF_LONGLONG(0); |
1761 | } |
1762 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_exec_micros() const { |
1763 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_exec_micros) |
1764 | return total_exec_micros_; |
1765 | } |
1766 | inline void GraphNodeProto::set_total_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1767 | |
1768 | total_exec_micros_ = value; |
1769 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_exec_micros) |
1770 | } |
1771 | |
1772 | // int64 total_accelerator_exec_micros = 19; |
1773 | inline void GraphNodeProto::clear_total_accelerator_exec_micros() { |
1774 | total_accelerator_exec_micros_ = PROTOBUF_LONGLONG(0); |
1775 | } |
1776 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_accelerator_exec_micros() const { |
1777 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_accelerator_exec_micros) |
1778 | return total_accelerator_exec_micros_; |
1779 | } |
1780 | inline void GraphNodeProto::set_total_accelerator_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1781 | |
1782 | total_accelerator_exec_micros_ = value; |
1783 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_accelerator_exec_micros) |
1784 | } |
1785 | |
1786 | // int64 total_cpu_exec_micros = 20; |
1787 | inline void GraphNodeProto::clear_total_cpu_exec_micros() { |
1788 | total_cpu_exec_micros_ = PROTOBUF_LONGLONG(0); |
1789 | } |
1790 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_cpu_exec_micros() const { |
1791 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_cpu_exec_micros) |
1792 | return total_cpu_exec_micros_; |
1793 | } |
1794 | inline void GraphNodeProto::set_total_cpu_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1795 | |
1796 | total_cpu_exec_micros_ = value; |
1797 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_cpu_exec_micros) |
1798 | } |
1799 | |
1800 | // int64 total_requested_bytes = 7; |
1801 | inline void GraphNodeProto::clear_total_requested_bytes() { |
1802 | total_requested_bytes_ = PROTOBUF_LONGLONG(0); |
1803 | } |
1804 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_requested_bytes() const { |
1805 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_requested_bytes) |
1806 | return total_requested_bytes_; |
1807 | } |
1808 | inline void GraphNodeProto::set_total_requested_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1809 | |
1810 | total_requested_bytes_ = value; |
1811 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_requested_bytes) |
1812 | } |
1813 | |
1814 | // int64 total_peak_bytes = 27; |
1815 | inline void GraphNodeProto::clear_total_peak_bytes() { |
1816 | total_peak_bytes_ = PROTOBUF_LONGLONG(0); |
1817 | } |
1818 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_peak_bytes() const { |
1819 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_peak_bytes) |
1820 | return total_peak_bytes_; |
1821 | } |
1822 | inline void GraphNodeProto::set_total_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1823 | |
1824 | total_peak_bytes_ = value; |
1825 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_peak_bytes) |
1826 | } |
1827 | |
1828 | // int64 total_residual_bytes = 28; |
1829 | inline void GraphNodeProto::clear_total_residual_bytes() { |
1830 | total_residual_bytes_ = PROTOBUF_LONGLONG(0); |
1831 | } |
1832 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_residual_bytes() const { |
1833 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_residual_bytes) |
1834 | return total_residual_bytes_; |
1835 | } |
1836 | inline void GraphNodeProto::set_total_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1837 | |
1838 | total_residual_bytes_ = value; |
1839 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_residual_bytes) |
1840 | } |
1841 | |
1842 | // int64 total_output_bytes = 29; |
1843 | inline void GraphNodeProto::clear_total_output_bytes() { |
1844 | total_output_bytes_ = PROTOBUF_LONGLONG(0); |
1845 | } |
1846 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_output_bytes() const { |
1847 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_output_bytes) |
1848 | return total_output_bytes_; |
1849 | } |
1850 | inline void GraphNodeProto::set_total_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1851 | |
1852 | total_output_bytes_ = value; |
1853 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_output_bytes) |
1854 | } |
1855 | |
1856 | // int64 total_parameters = 8; |
1857 | inline void GraphNodeProto::clear_total_parameters() { |
1858 | total_parameters_ = PROTOBUF_LONGLONG(0); |
1859 | } |
1860 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_parameters() const { |
1861 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_parameters) |
1862 | return total_parameters_; |
1863 | } |
1864 | inline void GraphNodeProto::set_total_parameters(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1865 | |
1866 | total_parameters_ = value; |
1867 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_parameters) |
1868 | } |
1869 | |
1870 | // int64 total_float_ops = 14; |
1871 | inline void GraphNodeProto::clear_total_float_ops() { |
1872 | total_float_ops_ = PROTOBUF_LONGLONG(0); |
1873 | } |
1874 | inline ::PROTOBUF_NAMESPACE_ID::int64 GraphNodeProto::total_float_ops() const { |
1875 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.total_float_ops) |
1876 | return total_float_ops_; |
1877 | } |
1878 | inline void GraphNodeProto::set_total_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value) { |
1879 | |
1880 | total_float_ops_ = value; |
1881 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.GraphNodeProto.total_float_ops) |
1882 | } |
1883 | |
1884 | // repeated .tensorflow.TensorShapeProto shapes = 11; |
1885 | inline int GraphNodeProto::shapes_size() const { |
1886 | return shapes_.size(); |
1887 | } |
1888 | inline ::tensorflow::TensorShapeProto* GraphNodeProto::mutable_shapes(int index) { |
1889 | // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.GraphNodeProto.shapes) |
1890 | return shapes_.Mutable(index); |
1891 | } |
1892 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorShapeProto >* |
1893 | GraphNodeProto::mutable_shapes() { |
1894 | // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.GraphNodeProto.shapes) |
1895 | return &shapes_; |
1896 | } |
1897 | inline const ::tensorflow::TensorShapeProto& GraphNodeProto::shapes(int index) const { |
1898 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.shapes) |
1899 | return shapes_.Get(index); |
1900 | } |
1901 | inline ::tensorflow::TensorShapeProto* GraphNodeProto::add_shapes() { |
1902 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.GraphNodeProto.shapes) |
1903 | return shapes_.Add(); |
1904 | } |
1905 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::TensorShapeProto >& |
1906 | GraphNodeProto::shapes() const { |
1907 | // @@protoc_insertion_point(field_list:tensorflow.tfprof.GraphNodeProto.shapes) |
1908 | return shapes_; |
1909 | } |
1910 | |
1911 | // map<int32, .tensorflow.TensorShapeProto> input_shapes = 16; |
1912 | inline int GraphNodeProto::input_shapes_size() const { |
1913 | return input_shapes_.size(); |
1914 | } |
1915 | inline const ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::TensorShapeProto >& |
1916 | GraphNodeProto::input_shapes() const { |
1917 | // @@protoc_insertion_point(field_map:tensorflow.tfprof.GraphNodeProto.input_shapes) |
1918 | return input_shapes_.GetMap(); |
1919 | } |
1920 | inline ::PROTOBUF_NAMESPACE_ID::Map< ::PROTOBUF_NAMESPACE_ID::int32, ::tensorflow::TensorShapeProto >* |
1921 | GraphNodeProto::mutable_input_shapes() { |
1922 | // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.GraphNodeProto.input_shapes) |
1923 | return input_shapes_.MutableMap(); |
1924 | } |
1925 | |
1926 | // repeated .tensorflow.tfprof.GraphNodeProto children = 12; |
1927 | inline int GraphNodeProto::children_size() const { |
1928 | return children_.size(); |
1929 | } |
1930 | inline void GraphNodeProto::clear_children() { |
1931 | children_.Clear(); |
1932 | } |
1933 | inline ::tensorflow::tfprof::GraphNodeProto* GraphNodeProto::mutable_children(int index) { |
1934 | // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.GraphNodeProto.children) |
1935 | return children_.Mutable(index); |
1936 | } |
1937 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::GraphNodeProto >* |
1938 | GraphNodeProto::mutable_children() { |
1939 | // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.GraphNodeProto.children) |
1940 | return &children_; |
1941 | } |
1942 | inline const ::tensorflow::tfprof::GraphNodeProto& GraphNodeProto::children(int index) const { |
1943 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.GraphNodeProto.children) |
1944 | return children_.Get(index); |
1945 | } |
1946 | inline ::tensorflow::tfprof::GraphNodeProto* GraphNodeProto::add_children() { |
1947 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.GraphNodeProto.children) |
1948 | return children_.Add(); |
1949 | } |
1950 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::GraphNodeProto >& |
1951 | GraphNodeProto::children() const { |
1952 | // @@protoc_insertion_point(field_list:tensorflow.tfprof.GraphNodeProto.children) |
1953 | return children_; |
1954 | } |
1955 | |
1956 | // ------------------------------------------------------------------- |
1957 | |
1958 | // MultiGraphNodeProto |
1959 | |
1960 | // string name = 1; |
1961 | inline void MultiGraphNodeProto::clear_name() { |
1962 | name_.ClearToEmptyNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1963 | } |
1964 | inline const std::string& MultiGraphNodeProto::name() const { |
1965 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.name) |
1966 | return name_.GetNoArena(); |
1967 | } |
1968 | inline void MultiGraphNodeProto::set_name(const std::string& value) { |
1969 | |
1970 | name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), value); |
1971 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.name) |
1972 | } |
1973 | inline void MultiGraphNodeProto::set_name(std::string&& value) { |
1974 | |
1975 | name_.SetNoArena( |
1976 | &::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::move(value)); |
1977 | // @@protoc_insertion_point(field_set_rvalue:tensorflow.tfprof.MultiGraphNodeProto.name) |
1978 | } |
1979 | inline void MultiGraphNodeProto::set_name(const char* value) { |
1980 | GOOGLE_DCHECK(value != nullptr); |
1981 | |
1982 | name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), ::std::string(value)); |
1983 | // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.MultiGraphNodeProto.name) |
1984 | } |
1985 | inline void MultiGraphNodeProto::set_name(const char* value, size_t size) { |
1986 | |
1987 | name_.SetNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), |
1988 | ::std::string(reinterpret_cast<const char*>(value), size)); |
1989 | // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.MultiGraphNodeProto.name) |
1990 | } |
1991 | inline std::string* MultiGraphNodeProto::mutable_name() { |
1992 | |
1993 | // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.MultiGraphNodeProto.name) |
1994 | return name_.MutableNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
1995 | } |
1996 | inline std::string* MultiGraphNodeProto::release_name() { |
1997 | // @@protoc_insertion_point(field_release:tensorflow.tfprof.MultiGraphNodeProto.name) |
1998 | |
1999 | return name_.ReleaseNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited()); |
2000 | } |
2001 | inline void MultiGraphNodeProto::set_allocated_name(std::string* name) { |
2002 | if (name != nullptr) { |
2003 | |
2004 | } else { |
2005 | |
2006 | } |
2007 | name_.SetAllocatedNoArena(&::PROTOBUF_NAMESPACE_ID::internal::GetEmptyStringAlreadyInited(), name); |
2008 | // @@protoc_insertion_point(field_set_allocated:tensorflow.tfprof.MultiGraphNodeProto.name) |
2009 | } |
2010 | |
2011 | // int64 exec_micros = 2; |
2012 | inline void MultiGraphNodeProto::clear_exec_micros() { |
2013 | exec_micros_ = PROTOBUF_LONGLONG(0); |
2014 | } |
2015 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::exec_micros() const { |
2016 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.exec_micros) |
2017 | return exec_micros_; |
2018 | } |
2019 | inline void MultiGraphNodeProto::set_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2020 | |
2021 | exec_micros_ = value; |
2022 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.exec_micros) |
2023 | } |
2024 | |
2025 | // int64 accelerator_exec_micros = 12; |
2026 | inline void MultiGraphNodeProto::clear_accelerator_exec_micros() { |
2027 | accelerator_exec_micros_ = PROTOBUF_LONGLONG(0); |
2028 | } |
2029 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::accelerator_exec_micros() const { |
2030 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.accelerator_exec_micros) |
2031 | return accelerator_exec_micros_; |
2032 | } |
2033 | inline void MultiGraphNodeProto::set_accelerator_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2034 | |
2035 | accelerator_exec_micros_ = value; |
2036 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.accelerator_exec_micros) |
2037 | } |
2038 | |
2039 | // int64 cpu_exec_micros = 13; |
2040 | inline void MultiGraphNodeProto::clear_cpu_exec_micros() { |
2041 | cpu_exec_micros_ = PROTOBUF_LONGLONG(0); |
2042 | } |
2043 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::cpu_exec_micros() const { |
2044 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.cpu_exec_micros) |
2045 | return cpu_exec_micros_; |
2046 | } |
2047 | inline void MultiGraphNodeProto::set_cpu_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2048 | |
2049 | cpu_exec_micros_ = value; |
2050 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.cpu_exec_micros) |
2051 | } |
2052 | |
2053 | // int64 requested_bytes = 3; |
2054 | inline void MultiGraphNodeProto::clear_requested_bytes() { |
2055 | requested_bytes_ = PROTOBUF_LONGLONG(0); |
2056 | } |
2057 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::requested_bytes() const { |
2058 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.requested_bytes) |
2059 | return requested_bytes_; |
2060 | } |
2061 | inline void MultiGraphNodeProto::set_requested_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2062 | |
2063 | requested_bytes_ = value; |
2064 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.requested_bytes) |
2065 | } |
2066 | |
2067 | // int64 peak_bytes = 16; |
2068 | inline void MultiGraphNodeProto::clear_peak_bytes() { |
2069 | peak_bytes_ = PROTOBUF_LONGLONG(0); |
2070 | } |
2071 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::peak_bytes() const { |
2072 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.peak_bytes) |
2073 | return peak_bytes_; |
2074 | } |
2075 | inline void MultiGraphNodeProto::set_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2076 | |
2077 | peak_bytes_ = value; |
2078 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.peak_bytes) |
2079 | } |
2080 | |
2081 | // int64 residual_bytes = 17; |
2082 | inline void MultiGraphNodeProto::clear_residual_bytes() { |
2083 | residual_bytes_ = PROTOBUF_LONGLONG(0); |
2084 | } |
2085 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::residual_bytes() const { |
2086 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.residual_bytes) |
2087 | return residual_bytes_; |
2088 | } |
2089 | inline void MultiGraphNodeProto::set_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2090 | |
2091 | residual_bytes_ = value; |
2092 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.residual_bytes) |
2093 | } |
2094 | |
2095 | // int64 output_bytes = 18; |
2096 | inline void MultiGraphNodeProto::clear_output_bytes() { |
2097 | output_bytes_ = PROTOBUF_LONGLONG(0); |
2098 | } |
2099 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::output_bytes() const { |
2100 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.output_bytes) |
2101 | return output_bytes_; |
2102 | } |
2103 | inline void MultiGraphNodeProto::set_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2104 | |
2105 | output_bytes_ = value; |
2106 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.output_bytes) |
2107 | } |
2108 | |
2109 | // int64 parameters = 4; |
2110 | inline void MultiGraphNodeProto::clear_parameters() { |
2111 | parameters_ = PROTOBUF_LONGLONG(0); |
2112 | } |
2113 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::parameters() const { |
2114 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.parameters) |
2115 | return parameters_; |
2116 | } |
2117 | inline void MultiGraphNodeProto::set_parameters(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2118 | |
2119 | parameters_ = value; |
2120 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.parameters) |
2121 | } |
2122 | |
2123 | // int64 float_ops = 5; |
2124 | inline void MultiGraphNodeProto::clear_float_ops() { |
2125 | float_ops_ = PROTOBUF_LONGLONG(0); |
2126 | } |
2127 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::float_ops() const { |
2128 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.float_ops) |
2129 | return float_ops_; |
2130 | } |
2131 | inline void MultiGraphNodeProto::set_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2132 | |
2133 | float_ops_ = value; |
2134 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.float_ops) |
2135 | } |
2136 | |
2137 | // int64 total_exec_micros = 6; |
2138 | inline void MultiGraphNodeProto::clear_total_exec_micros() { |
2139 | total_exec_micros_ = PROTOBUF_LONGLONG(0); |
2140 | } |
2141 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::total_exec_micros() const { |
2142 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.total_exec_micros) |
2143 | return total_exec_micros_; |
2144 | } |
2145 | inline void MultiGraphNodeProto::set_total_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2146 | |
2147 | total_exec_micros_ = value; |
2148 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.total_exec_micros) |
2149 | } |
2150 | |
2151 | // int64 total_accelerator_exec_micros = 14; |
2152 | inline void MultiGraphNodeProto::clear_total_accelerator_exec_micros() { |
2153 | total_accelerator_exec_micros_ = PROTOBUF_LONGLONG(0); |
2154 | } |
2155 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::total_accelerator_exec_micros() const { |
2156 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.total_accelerator_exec_micros) |
2157 | return total_accelerator_exec_micros_; |
2158 | } |
2159 | inline void MultiGraphNodeProto::set_total_accelerator_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2160 | |
2161 | total_accelerator_exec_micros_ = value; |
2162 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.total_accelerator_exec_micros) |
2163 | } |
2164 | |
2165 | // int64 total_cpu_exec_micros = 15; |
2166 | inline void MultiGraphNodeProto::clear_total_cpu_exec_micros() { |
2167 | total_cpu_exec_micros_ = PROTOBUF_LONGLONG(0); |
2168 | } |
2169 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::total_cpu_exec_micros() const { |
2170 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.total_cpu_exec_micros) |
2171 | return total_cpu_exec_micros_; |
2172 | } |
2173 | inline void MultiGraphNodeProto::set_total_cpu_exec_micros(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2174 | |
2175 | total_cpu_exec_micros_ = value; |
2176 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.total_cpu_exec_micros) |
2177 | } |
2178 | |
2179 | // int64 total_requested_bytes = 7; |
2180 | inline void MultiGraphNodeProto::clear_total_requested_bytes() { |
2181 | total_requested_bytes_ = PROTOBUF_LONGLONG(0); |
2182 | } |
2183 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::total_requested_bytes() const { |
2184 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.total_requested_bytes) |
2185 | return total_requested_bytes_; |
2186 | } |
2187 | inline void MultiGraphNodeProto::set_total_requested_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2188 | |
2189 | total_requested_bytes_ = value; |
2190 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.total_requested_bytes) |
2191 | } |
2192 | |
2193 | // int64 total_peak_bytes = 19; |
2194 | inline void MultiGraphNodeProto::clear_total_peak_bytes() { |
2195 | total_peak_bytes_ = PROTOBUF_LONGLONG(0); |
2196 | } |
2197 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::total_peak_bytes() const { |
2198 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.total_peak_bytes) |
2199 | return total_peak_bytes_; |
2200 | } |
2201 | inline void MultiGraphNodeProto::set_total_peak_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2202 | |
2203 | total_peak_bytes_ = value; |
2204 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.total_peak_bytes) |
2205 | } |
2206 | |
2207 | // int64 total_residual_bytes = 20; |
2208 | inline void MultiGraphNodeProto::clear_total_residual_bytes() { |
2209 | total_residual_bytes_ = PROTOBUF_LONGLONG(0); |
2210 | } |
2211 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::total_residual_bytes() const { |
2212 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.total_residual_bytes) |
2213 | return total_residual_bytes_; |
2214 | } |
2215 | inline void MultiGraphNodeProto::set_total_residual_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2216 | |
2217 | total_residual_bytes_ = value; |
2218 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.total_residual_bytes) |
2219 | } |
2220 | |
2221 | // int64 total_output_bytes = 21; |
2222 | inline void MultiGraphNodeProto::clear_total_output_bytes() { |
2223 | total_output_bytes_ = PROTOBUF_LONGLONG(0); |
2224 | } |
2225 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::total_output_bytes() const { |
2226 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.total_output_bytes) |
2227 | return total_output_bytes_; |
2228 | } |
2229 | inline void MultiGraphNodeProto::set_total_output_bytes(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2230 | |
2231 | total_output_bytes_ = value; |
2232 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.total_output_bytes) |
2233 | } |
2234 | |
2235 | // int64 total_parameters = 8; |
2236 | inline void MultiGraphNodeProto::clear_total_parameters() { |
2237 | total_parameters_ = PROTOBUF_LONGLONG(0); |
2238 | } |
2239 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::total_parameters() const { |
2240 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.total_parameters) |
2241 | return total_parameters_; |
2242 | } |
2243 | inline void MultiGraphNodeProto::set_total_parameters(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2244 | |
2245 | total_parameters_ = value; |
2246 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.total_parameters) |
2247 | } |
2248 | |
2249 | // int64 total_float_ops = 9; |
2250 | inline void MultiGraphNodeProto::clear_total_float_ops() { |
2251 | total_float_ops_ = PROTOBUF_LONGLONG(0); |
2252 | } |
2253 | inline ::PROTOBUF_NAMESPACE_ID::int64 MultiGraphNodeProto::total_float_ops() const { |
2254 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.total_float_ops) |
2255 | return total_float_ops_; |
2256 | } |
2257 | inline void MultiGraphNodeProto::set_total_float_ops(::PROTOBUF_NAMESPACE_ID::int64 value) { |
2258 | |
2259 | total_float_ops_ = value; |
2260 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.MultiGraphNodeProto.total_float_ops) |
2261 | } |
2262 | |
2263 | // repeated .tensorflow.tfprof.GraphNodeProto graph_nodes = 10; |
2264 | inline int MultiGraphNodeProto::graph_nodes_size() const { |
2265 | return graph_nodes_.size(); |
2266 | } |
2267 | inline void MultiGraphNodeProto::clear_graph_nodes() { |
2268 | graph_nodes_.Clear(); |
2269 | } |
2270 | inline ::tensorflow::tfprof::GraphNodeProto* MultiGraphNodeProto::mutable_graph_nodes(int index) { |
2271 | // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.MultiGraphNodeProto.graph_nodes) |
2272 | return graph_nodes_.Mutable(index); |
2273 | } |
2274 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::GraphNodeProto >* |
2275 | MultiGraphNodeProto::mutable_graph_nodes() { |
2276 | // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.MultiGraphNodeProto.graph_nodes) |
2277 | return &graph_nodes_; |
2278 | } |
2279 | inline const ::tensorflow::tfprof::GraphNodeProto& MultiGraphNodeProto::graph_nodes(int index) const { |
2280 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.graph_nodes) |
2281 | return graph_nodes_.Get(index); |
2282 | } |
2283 | inline ::tensorflow::tfprof::GraphNodeProto* MultiGraphNodeProto::add_graph_nodes() { |
2284 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.MultiGraphNodeProto.graph_nodes) |
2285 | return graph_nodes_.Add(); |
2286 | } |
2287 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::GraphNodeProto >& |
2288 | MultiGraphNodeProto::graph_nodes() const { |
2289 | // @@protoc_insertion_point(field_list:tensorflow.tfprof.MultiGraphNodeProto.graph_nodes) |
2290 | return graph_nodes_; |
2291 | } |
2292 | |
2293 | // repeated .tensorflow.tfprof.MultiGraphNodeProto children = 11; |
2294 | inline int MultiGraphNodeProto::children_size() const { |
2295 | return children_.size(); |
2296 | } |
2297 | inline void MultiGraphNodeProto::clear_children() { |
2298 | children_.Clear(); |
2299 | } |
2300 | inline ::tensorflow::tfprof::MultiGraphNodeProto* MultiGraphNodeProto::mutable_children(int index) { |
2301 | // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.MultiGraphNodeProto.children) |
2302 | return children_.Mutable(index); |
2303 | } |
2304 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::MultiGraphNodeProto >* |
2305 | MultiGraphNodeProto::mutable_children() { |
2306 | // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.MultiGraphNodeProto.children) |
2307 | return &children_; |
2308 | } |
2309 | inline const ::tensorflow::tfprof::MultiGraphNodeProto& MultiGraphNodeProto::children(int index) const { |
2310 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.MultiGraphNodeProto.children) |
2311 | return children_.Get(index); |
2312 | } |
2313 | inline ::tensorflow::tfprof::MultiGraphNodeProto* MultiGraphNodeProto::add_children() { |
2314 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.MultiGraphNodeProto.children) |
2315 | return children_.Add(); |
2316 | } |
2317 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField< ::tensorflow::tfprof::MultiGraphNodeProto >& |
2318 | MultiGraphNodeProto::children() const { |
2319 | // @@protoc_insertion_point(field_list:tensorflow.tfprof.MultiGraphNodeProto.children) |
2320 | return children_; |
2321 | } |
2322 | |
2323 | // ------------------------------------------------------------------- |
2324 | |
2325 | // ------------------------------------------------------------------- |
2326 | |
2327 | // AdviceProto_Checker |
2328 | |
2329 | // repeated string reports = 2; |
2330 | inline int AdviceProto_Checker::reports_size() const { |
2331 | return reports_.size(); |
2332 | } |
2333 | inline void AdviceProto_Checker::clear_reports() { |
2334 | reports_.Clear(); |
2335 | } |
2336 | inline const std::string& AdviceProto_Checker::reports(int index) const { |
2337 | // @@protoc_insertion_point(field_get:tensorflow.tfprof.AdviceProto.Checker.reports) |
2338 | return reports_.Get(index); |
2339 | } |
2340 | inline std::string* AdviceProto_Checker::mutable_reports(int index) { |
2341 | // @@protoc_insertion_point(field_mutable:tensorflow.tfprof.AdviceProto.Checker.reports) |
2342 | return reports_.Mutable(index); |
2343 | } |
2344 | inline void AdviceProto_Checker::set_reports(int index, const std::string& value) { |
2345 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.AdviceProto.Checker.reports) |
2346 | reports_.Mutable(index)->assign(value); |
2347 | } |
2348 | inline void AdviceProto_Checker::set_reports(int index, std::string&& value) { |
2349 | // @@protoc_insertion_point(field_set:tensorflow.tfprof.AdviceProto.Checker.reports) |
2350 | reports_.Mutable(index)->assign(std::move(value)); |
2351 | } |
2352 | inline void AdviceProto_Checker::set_reports(int index, const char* value) { |
2353 | GOOGLE_DCHECK(value != nullptr); |
2354 | reports_.Mutable(index)->assign(value); |
2355 | // @@protoc_insertion_point(field_set_char:tensorflow.tfprof.AdviceProto.Checker.reports) |
2356 | } |
2357 | inline void AdviceProto_Checker::set_reports(int index, const char* value, size_t size) { |
2358 | reports_.Mutable(index)->assign( |
2359 | reinterpret_cast<const char*>(value), size); |
2360 | // @@protoc_insertion_point(field_set_pointer:tensorflow.tfprof.AdviceProto.Checker.reports) |
2361 | } |
2362 | inline std::string* AdviceProto_Checker::add_reports() { |
2363 | // @@protoc_insertion_point(field_add_mutable:tensorflow.tfprof.AdviceProto.Checker.reports) |
2364 | return reports_.Add(); |
2365 | } |
2366 | inline void AdviceProto_Checker::add_reports(const std::string& value) { |
2367 | reports_.Add()->assign(value); |
2368 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.AdviceProto.Checker.reports) |
2369 | } |
2370 | inline void AdviceProto_Checker::add_reports(std::string&& value) { |
2371 | reports_.Add(std::move(value)); |
2372 | // @@protoc_insertion_point(field_add:tensorflow.tfprof.AdviceProto.Checker.reports) |
2373 | } |
2374 | inline void AdviceProto_Checker::add_reports(const char* value) { |
2375 | GOOGLE_DCHECK(value != nullptr); |
2376 | reports_.Add()->assign(value); |
2377 | // @@protoc_insertion_point(field_add_char:tensorflow.tfprof.AdviceProto.Checker.reports) |
2378 | } |
2379 | inline void AdviceProto_Checker::add_reports(const char* value, size_t size) { |
2380 | reports_.Add()->assign(reinterpret_cast<const char*>(value), size); |
2381 | // @@protoc_insertion_point(field_add_pointer:tensorflow.tfprof.AdviceProto.Checker.reports) |
2382 | } |
2383 | inline const ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>& |
2384 | AdviceProto_Checker::reports() const { |
2385 | // @@protoc_insertion_point(field_list:tensorflow.tfprof.AdviceProto.Checker.reports) |
2386 | return reports_; |
2387 | } |
2388 | inline ::PROTOBUF_NAMESPACE_ID::RepeatedPtrField<std::string>* |
2389 | AdviceProto_Checker::mutable_reports() { |
2390 | // @@protoc_insertion_point(field_mutable_list:tensorflow.tfprof.AdviceProto.Checker.reports) |
2391 | return &reports_; |
2392 | } |
2393 | |
2394 | // ------------------------------------------------------------------- |
2395 | |
2396 | // AdviceProto |
2397 | |
2398 | // map<string, .tensorflow.tfprof.AdviceProto.Checker> checkers = 1; |
2399 | inline int AdviceProto::checkers_size() const { |
2400 | return checkers_.size(); |
2401 | } |
2402 | inline void AdviceProto::clear_checkers() { |
2403 | checkers_.Clear(); |
2404 | } |
2405 | inline const ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::AdviceProto_Checker >& |
2406 | AdviceProto::checkers() const { |
2407 | // @@protoc_insertion_point(field_map:tensorflow.tfprof.AdviceProto.checkers) |
2408 | return checkers_.GetMap(); |
2409 | } |
2410 | inline ::PROTOBUF_NAMESPACE_ID::Map< std::string, ::tensorflow::tfprof::AdviceProto_Checker >* |
2411 | AdviceProto::mutable_checkers() { |
2412 | // @@protoc_insertion_point(field_mutable_map:tensorflow.tfprof.AdviceProto.checkers) |
2413 | return checkers_.MutableMap(); |
2414 | } |
2415 | |
2416 | #ifdef __GNUC__ |
2417 | #pragma GCC diagnostic pop |
2418 | #endif // __GNUC__ |
2419 | // ------------------------------------------------------------------- |
2420 | |
2421 | // ------------------------------------------------------------------- |
2422 | |
2423 | // ------------------------------------------------------------------- |
2424 | |
2425 | // ------------------------------------------------------------------- |
2426 | |
2427 | // ------------------------------------------------------------------- |
2428 | |
2429 | // ------------------------------------------------------------------- |
2430 | |
2431 | |
2432 | // @@protoc_insertion_point(namespace_scope) |
2433 | |
2434 | } // namespace tfprof |
2435 | } // namespace tensorflow |
2436 | |
2437 | // @@protoc_insertion_point(global_scope) |
2438 | |
2439 | #include <google/protobuf/port_undef.inc> |
2440 | #endif // GOOGLE_PROTOBUF_INCLUDED_GOOGLE_PROTOBUF_INCLUDED_tensorflow_2fcore_2fprofiler_2ftfprof_5foutput_2eproto |
2441 | |