FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
TensorFlow.NET/src/TensorFlowNET.Core/Protobuf/Summary.cs at master · feelsyt/TensorFlow.NET · GitHub
TensorFlow.NET/src/TensorFlowNET.Core/Protobuf/Summary.cs at master · feelsyt/TensorFlow.NET · GitHub
Skip to content
Navigation Menu
Sign in
Appearance settings
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
feelsyt
/
TensorFlow.NET
Public
forked from
SciSharp/TensorFlow.NET
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
Protobuf
/
Summary.cs
Copy path
More file actions
More file actions
Latest commit
History
History
History
2336 lines (2169 loc) · 88.9 KB
Breadcrumbs
TensorFlow.NET
/
src
/
TensorFlowNET.Core
/
Protobuf
/
Summary.cs
Copy path
File metadata and controls
2336 lines (2169 loc) · 88.9 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// <auto-generated>
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: tensorflow/core/framework/summary.proto
// </auto-generated>
#pragma warning disable
1591
,
0612
,
3021
,
8981
#region Designer generated code
using
pb
=
global
::
Google
.
Protobuf
;
using
pbc
=
global
::
Google
.
Protobuf
.
Collections
;
using
pbr
=
global
::
Google
.
Protobuf
.
Reflection
;
using
scg
=
global
::
System
.
Collections
.
Generic
;
namespace
Tensorflow
{
/// <summary>Holder for reflection information generated from tensorflow/core/framework/summary.proto</summary>
public
static
partial
class
SummaryReflection
{
#region Descriptor
/// <summary>File descriptor for tensorflow/core/framework/summary.proto</summary>
public
static
pbr
::
FileDescriptor
Descriptor
{
get
{
return
descriptor
;
}
}
private
static
pbr
::
FileDescriptor
descriptor
;
static
SummaryReflection
(
)
{
byte
[
]
descriptorData
=
global
::
System
.
Convert
.
FromBase64String
(
string
.
Concat
(
"Cid0ZW5zb3JmbG93L2NvcmUvZnJhbWV3b3JrL3N1bW1hcnkucHJvdG8SCnRl"
,
"bnNvcmZsb3caJ3RlbnNvcmZsb3cvdHNsL3Byb3RvYnVmL2hpc3RvZ3JhbS5w"
,
"cm90bxomdGVuc29yZmxvdy9jb3JlL2ZyYW1ld29yay90ZW5zb3IucHJvdG8i"
,
"JwoSU3VtbWFyeURlc2NyaXB0aW9uEhEKCXR5cGVfaGludBgBIAEoCSLgAQoP"
,
"U3VtbWFyeU1ldGFkYXRhEjsKC3BsdWdpbl9kYXRhGAEgASgLMiYudGVuc29y"
,
"Zmxvdy5TdW1tYXJ5TWV0YWRhdGEuUGx1Z2luRGF0YRIUCgxkaXNwbGF5X25h"
,
"bWUYAiABKAkSGwoTc3VtbWFyeV9kZXNjcmlwdGlvbhgDIAEoCRIpCgpkYXRh"
,
"X2NsYXNzGAQgASgOMhUudGVuc29yZmxvdy5EYXRhQ2xhc3MaMgoKUGx1Z2lu"
,
"RGF0YRITCgtwbHVnaW5fbmFtZRgBIAEoCRIPCgdjb250ZW50GAIgASgMIt4E"
,
"CgdTdW1tYXJ5EigKBXZhbHVlGAEgAygLMhkudGVuc29yZmxvdy5TdW1tYXJ5"
,
"LlZhbHVlGlgKBUltYWdlEg4KBmhlaWdodBgBIAEoBRINCgV3aWR0aBgCIAEo"
,
"BRISCgpjb2xvcnNwYWNlGAMgASgFEhwKFGVuY29kZWRfaW1hZ2Vfc3RyaW5n"
,
"GAQgASgMGn0KBUF1ZGlvEhMKC3NhbXBsZV9yYXRlGAEgASgCEhQKDG51bV9j"
,
"aGFubmVscxgCIAEoAxIVCg1sZW5ndGhfZnJhbWVzGAMgASgDEhwKFGVuY29k"
,
"ZWRfYXVkaW9fc3RyaW5nGAQgASgMEhQKDGNvbnRlbnRfdHlwZRgFIAEoCRrP"
,
"AgoFVmFsdWUSEQoJbm9kZV9uYW1lGAcgASgJEgsKA3RhZxgBIAEoCRItCght"
,
"ZXRhZGF0YRgJIAEoCzIbLnRlbnNvcmZsb3cuU3VtbWFyeU1ldGFkYXRhEhYK"
,
"DHNpbXBsZV92YWx1ZRgCIAEoAkgAEiYKHG9ic29sZXRlX29sZF9zdHlsZV9o"
,
"aXN0b2dyYW0YAyABKAxIABIqCgVpbWFnZRgEIAEoCzIZLnRlbnNvcmZsb3cu"
,
"U3VtbWFyeS5JbWFnZUgAEisKBWhpc3RvGAUgASgLMhoudGVuc29yZmxvdy5I"
,
"aXN0b2dyYW1Qcm90b0gAEioKBWF1ZGlvGAYgASgLMhkudGVuc29yZmxvdy5T"
,
"dW1tYXJ5LkF1ZGlvSAASKQoGdGVuc29yGAggASgLMhcudGVuc29yZmxvdy5U"
,
"ZW5zb3JQcm90b0gAQgcKBXZhbHVlKm8KCURhdGFDbGFzcxIWChJEQVRBX0NM"
,
"QVNTX1VOS05PV04QABIVChFEQVRBX0NMQVNTX1NDQUxBUhABEhUKEURBVEFf"
,
"Q0xBU1NfVEVOU09SEAISHAoYREFUQV9DTEFTU19CTE9CX1NFUVVFTkNFEANC"
,
"fgoYb3JnLnRlbnNvcmZsb3cuZnJhbWV3b3JrQg1TdW1tYXJ5UHJvdG9zUAFa"
,
"TmdpdGh1Yi5jb20vdGVuc29yZmxvdy90ZW5zb3JmbG93L3RlbnNvcmZsb3cv"
,
"Z28vY29yZS9mcmFtZXdvcmsvc3VtbWFyeV9nb19wcm90b/gBAVAAYgZwcm90"
,
"bzM="
)
)
;
descriptor
=
pbr
::
FileDescriptor
.
FromGeneratedCode
(
descriptorData
,
new
pbr
::
FileDescriptor
[
]
{
global
::
Tensorflow
.
HistogramReflection
.
Descriptor
,
global
::
Tensorflow
.
TensorReflection
.
Descriptor
,
}
,
new
pbr
::
GeneratedClrTypeInfo
(
new
[
]
{
typeof
(
global
::
Tensorflow
.
DataClass
)
,
}
,
null
,
new
pbr
::
GeneratedClrTypeInfo
[
]
{
new
pbr
::
GeneratedClrTypeInfo
(
typeof
(
global
::
Tensorflow
.
SummaryDescription
)
,
global
::
Tensorflow
.
SummaryDescription
.
Parser
,
new
[
]
{
"TypeHint"
}
,
null
,
null
,
null
,
null
)
,
new
pbr
::
GeneratedClrTypeInfo
(
typeof
(
global
::
Tensorflow
.
SummaryMetadata
)
,
global
::
Tensorflow
.
SummaryMetadata
.
Parser
,
new
[
]
{
"PluginData"
,
"DisplayName"
,
"SummaryDescription"
,
"DataClass"
}
,
null
,
null
,
null
,
new
pbr
::
GeneratedClrTypeInfo
[
]
{
new
pbr
::
GeneratedClrTypeInfo
(
typeof
(
global
::
Tensorflow
.
SummaryMetadata
.
Types
.
PluginData
)
,
global
::
Tensorflow
.
SummaryMetadata
.
Types
.
PluginData
.
Parser
,
new
[
]
{
"PluginName"
,
"Content"
}
,
null
,
null
,
null
,
null
)
}
)
,
new
pbr
::
GeneratedClrTypeInfo
(
typeof
(
global
::
Tensorflow
.
Summary
)
,
global
::
Tensorflow
.
Summary
.
Parser
,
new
[
]
{
"Value"
}
,
null
,
null
,
null
,
new
pbr
::
GeneratedClrTypeInfo
[
]
{
new
pbr
::
GeneratedClrTypeInfo
(
typeof
(
global
::
Tensorflow
.
Summary
.
Types
.
Image
)
,
global
::
Tensorflow
.
Summary
.
Types
.
Image
.
Parser
,
new
[
]
{
"Height"
,
"Width"
,
"Colorspace"
,
"EncodedImageString"
}
,
null
,
null
,
null
,
null
)
,
new
pbr
::
GeneratedClrTypeInfo
(
typeof
(
global
::
Tensorflow
.
Summary
.
Types
.
Audio
)
,
global
::
Tensorflow
.
Summary
.
Types
.
Audio
.
Parser
,
new
[
]
{
"SampleRate"
,
"NumChannels"
,
"LengthFrames"
,
"EncodedAudioString"
,
"ContentType"
}
,
null
,
null
,
null
,
null
)
,
new
pbr
::
GeneratedClrTypeInfo
(
typeof
(
global
::
Tensorflow
.
Summary
.
Types
.
Value
)
,
global
::
Tensorflow
.
Summary
.
Types
.
Value
.
Parser
,
new
[
]
{
"NodeName"
,
"Tag"
,
"Metadata"
,
"SimpleValue"
,
"ObsoleteOldStyleHistogram"
,
"Image"
,
"Histo"
,
"Audio"
,
"Tensor"
}
,
new
[
]
{
"Value"
}
,
null
,
null
,
null
)
}
)
}
)
)
;
}
#endregion
}
#region Enums
public
enum
DataClass
{
/// <summary>
/// Unknown data class, used (implicitly) for legacy data. Will not be
/// processed by data ingestion pipelines.
/// </summary>
[
pbr
::
OriginalName
(
"DATA_CLASS_UNKNOWN"
)
]
Unknown
=
0
,
/// <summary>
/// Scalar time series. Each `Value` for the corresponding tag must have
/// `tensor` set to a rank-0 tensor of type `DT_FLOAT` (float32).
/// </summary>
[
pbr
::
OriginalName
(
"DATA_CLASS_SCALAR"
)
]
Scalar
=
1
,
/// <summary>
/// Tensor time series. Each `Value` for the corresponding tag must have
/// `tensor` set. The tensor value is arbitrary, but should be small to
/// accommodate direct storage in database backends: an upper bound of a few
/// kilobytes is a reasonable rule of thumb.
/// </summary>
[
pbr
::
OriginalName
(
"DATA_CLASS_TENSOR"
)
]
Tensor
=
2
,
/// <summary>
/// Blob sequence time series. Each `Value` for the corresponding tag must
/// have `tensor` set to a rank-1 tensor of bytestring dtype.
/// </summary>
[
pbr
::
OriginalName
(
"DATA_CLASS_BLOB_SEQUENCE"
)
]
BlobSequence
=
3
,
}
#endregion
#region Messages
/// <summary>
/// Metadata associated with a series of Summary data
/// </summary>
public
sealed
partial
class
SummaryDescription
:
pb
::
IMessage
<
SummaryDescription
>
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
,
pb
::
IBufferMessage
#endif
{
private
static
readonly
pb
::
MessageParser
<
SummaryDescription
>
_parser
=
new
pb
::
MessageParser
<
SummaryDescription
>
(
(
)
=>
new
SummaryDescription
(
)
)
;
private
pb
::
UnknownFieldSet
_unknownFields
;
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
static
pb
::
MessageParser
<
SummaryDescription
>
Parser
{
get
{
return
_parser
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Tensorflow
.
SummaryReflection
.
Descriptor
.
MessageTypes
[
0
]
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
get
{
return
Descriptor
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
SummaryDescription
(
)
{
OnConstruction
(
)
;
}
partial
void
OnConstruction
(
)
;
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
SummaryDescription
(
SummaryDescription
other
)
:
this
(
)
{
typeHint_
=
other
.
typeHint_
;
_unknownFields
=
pb
::
UnknownFieldSet
.
Clone
(
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
SummaryDescription
Clone
(
)
{
return
new
SummaryDescription
(
this
)
;
}
/// <summary>Field number for the "type_hint" field.</summary>
public
const
int
TypeHintFieldNumber
=
1
;
private
string
typeHint_
=
""
;
/// <summary>
/// Hint on how plugins should process the data in this series.
/// Supported values include "scalar", "histogram", "image", "audio"
/// </summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
string
TypeHint
{
get
{
return
typeHint_
;
}
set
{
typeHint_
=
pb
::
ProtoPreconditions
.
CheckNotNull
(
value
,
"value"
)
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
bool
Equals
(
object
other
)
{
return
Equals
(
other
as
SummaryDescription
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
bool
Equals
(
SummaryDescription
other
)
{
if
(
ReferenceEquals
(
other
,
null
)
)
{
return
false
;
}
if
(
ReferenceEquals
(
other
,
this
)
)
{
return
true
;
}
if
(
TypeHint
!=
other
.
TypeHint
)
return
false
;
return
Equals
(
_unknownFields
,
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
int
GetHashCode
(
)
{
int
hash
=
1
;
if
(
TypeHint
.
Length
!=
0
)
hash
^=
TypeHint
.
GetHashCode
(
)
;
if
(
_unknownFields
!=
null
)
{
hash
^=
_unknownFields
.
GetHashCode
(
)
;
}
return
hash
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
string
ToString
(
)
{
return
pb
::
JsonFormatter
.
ToDiagnosticString
(
this
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
void
WriteTo
(
pb
::
CodedOutputStream
output
)
{
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output
.
WriteRawMessage
(
this
)
;
#else
if
(
TypeHint
.
Length
!=
0
)
{
output
.
WriteRawTag
(
10
)
;
output
.
WriteString
(
TypeHint
)
;
}
if
(
_unknownFields
!=
null
)
{
_unknownFields
.
WriteTo
(
output
)
;
}
#endif
}
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
void
pb
::
IBufferMessage
.
InternalWriteTo
(
ref
pb
::
WriteContext
output
)
{
if
(
TypeHint
.
Length
!=
0
)
{
output
.
WriteRawTag
(
10
)
;
output
.
WriteString
(
TypeHint
)
;
}
if
(
_unknownFields
!=
null
)
{
_unknownFields
.
WriteTo
(
ref
output
)
;
}
}
#endif
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
int
CalculateSize
(
)
{
int
size
=
0
;
if
(
TypeHint
.
Length
!=
0
)
{
size
+=
1
+
pb
::
CodedOutputStream
.
ComputeStringSize
(
TypeHint
)
;
}
if
(
_unknownFields
!=
null
)
{
size
+=
_unknownFields
.
CalculateSize
(
)
;
}
return
size
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
void
MergeFrom
(
SummaryDescription
other
)
{
if
(
other
==
null
)
{
return
;
}
if
(
other
.
TypeHint
.
Length
!=
0
)
{
TypeHint
=
other
.
TypeHint
;
}
_unknownFields
=
pb
::
UnknownFieldSet
.
MergeFrom
(
_unknownFields
,
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
void
MergeFrom
(
pb
::
CodedInputStream
input
)
{
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input
.
ReadRawMessage
(
this
)
;
#else
uint
tag
;
while
(
(
tag
=
input
.
ReadTag
(
)
)
!=
0
)
{
switch
(
tag
)
{
default
:
_unknownFields
=
pb
::
UnknownFieldSet
.
MergeFieldFrom
(
_unknownFields
,
input
)
;
break
;
case
10
:
{
TypeHint
=
input
.
ReadString
(
)
;
break
;
}
}
}
#endif
}
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
void
pb
::
IBufferMessage
.
InternalMergeFrom
(
ref
pb
::
ParseContext
input
)
{
uint
tag
;
while
(
(
tag
=
input
.
ReadTag
(
)
)
!=
0
)
{
switch
(
tag
)
{
default
:
_unknownFields
=
pb
::
UnknownFieldSet
.
MergeFieldFrom
(
_unknownFields
,
ref
input
)
;
break
;
case
10
:
{
TypeHint
=
input
.
ReadString
(
)
;
break
;
}
}
}
}
#endif
}
/// <summary>
/// A SummaryMetadata encapsulates information on which plugins are able to make
/// use of a certain summary value.
/// </summary>
public
sealed
partial
class
SummaryMetadata
:
pb
::
IMessage
<
SummaryMetadata
>
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
,
pb
::
IBufferMessage
#endif
{
private
static
readonly
pb
::
MessageParser
<
SummaryMetadata
>
_parser
=
new
pb
::
MessageParser
<
SummaryMetadata
>
(
(
)
=>
new
SummaryMetadata
(
)
)
;
private
pb
::
UnknownFieldSet
_unknownFields
;
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
static
pb
::
MessageParser
<
SummaryMetadata
>
Parser
{
get
{
return
_parser
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Tensorflow
.
SummaryReflection
.
Descriptor
.
MessageTypes
[
1
]
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
get
{
return
Descriptor
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
SummaryMetadata
(
)
{
OnConstruction
(
)
;
}
partial
void
OnConstruction
(
)
;
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
SummaryMetadata
(
SummaryMetadata
other
)
:
this
(
)
{
pluginData_
=
other
.
pluginData_
!=
null
?
other
.
pluginData_
.
Clone
(
)
:
null
;
displayName_
=
other
.
displayName_
;
summaryDescription_
=
other
.
summaryDescription_
;
dataClass_
=
other
.
dataClass_
;
_unknownFields
=
pb
::
UnknownFieldSet
.
Clone
(
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
SummaryMetadata
Clone
(
)
{
return
new
SummaryMetadata
(
this
)
;
}
/// <summary>Field number for the "plugin_data" field.</summary>
public
const
int
PluginDataFieldNumber
=
1
;
private
global
::
Tensorflow
.
SummaryMetadata
.
Types
.
PluginData
pluginData_
;
/// <summary>
/// Data that associates a summary with a certain plugin.
/// </summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
global
::
Tensorflow
.
SummaryMetadata
.
Types
.
PluginData
PluginData
{
get
{
return
pluginData_
;
}
set
{
pluginData_
=
value
;
}
}
/// <summary>Field number for the "display_name" field.</summary>
public
const
int
DisplayNameFieldNumber
=
2
;
private
string
displayName_
=
""
;
/// <summary>
/// Display name for viewing in TensorBoard.
/// </summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
string
DisplayName
{
get
{
return
displayName_
;
}
set
{
displayName_
=
pb
::
ProtoPreconditions
.
CheckNotNull
(
value
,
"value"
)
;
}
}
/// <summary>Field number for the "summary_description" field.</summary>
public
const
int
SummaryDescriptionFieldNumber
=
3
;
private
string
summaryDescription_
=
""
;
/// <summary>
/// Longform readable description of the summary sequence. Markdown supported.
/// </summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
string
SummaryDescription
{
get
{
return
summaryDescription_
;
}
set
{
summaryDescription_
=
pb
::
ProtoPreconditions
.
CheckNotNull
(
value
,
"value"
)
;
}
}
/// <summary>Field number for the "data_class" field.</summary>
public
const
int
DataClassFieldNumber
=
4
;
private
global
::
Tensorflow
.
DataClass
dataClass_
=
global
::
Tensorflow
.
DataClass
.
Unknown
;
/// <summary>
/// Class of data stored in this time series. Required for compatibility with
/// TensorBoard's generic data facilities (`DataProvider`, et al.). This value
/// imposes constraints on the dtype and shape of the corresponding tensor
/// values. See `DataClass` docs for details.
/// </summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
global
::
Tensorflow
.
DataClass
DataClass
{
get
{
return
dataClass_
;
}
set
{
dataClass_
=
value
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
bool
Equals
(
object
other
)
{
return
Equals
(
other
as
SummaryMetadata
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
bool
Equals
(
SummaryMetadata
other
)
{
if
(
ReferenceEquals
(
other
,
null
)
)
{
return
false
;
}
if
(
ReferenceEquals
(
other
,
this
)
)
{
return
true
;
}
if
(
!
object
.
Equals
(
PluginData
,
other
.
PluginData
)
)
return
false
;
if
(
DisplayName
!=
other
.
DisplayName
)
return
false
;
if
(
SummaryDescription
!=
other
.
SummaryDescription
)
return
false
;
if
(
DataClass
!=
other
.
DataClass
)
return
false
;
return
Equals
(
_unknownFields
,
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
int
GetHashCode
(
)
{
int
hash
=
1
;
if
(
pluginData_
!=
null
)
hash
^=
PluginData
.
GetHashCode
(
)
;
if
(
DisplayName
.
Length
!=
0
)
hash
^=
DisplayName
.
GetHashCode
(
)
;
if
(
SummaryDescription
.
Length
!=
0
)
hash
^=
SummaryDescription
.
GetHashCode
(
)
;
if
(
DataClass
!=
global
::
Tensorflow
.
DataClass
.
Unknown
)
hash
^=
DataClass
.
GetHashCode
(
)
;
if
(
_unknownFields
!=
null
)
{
hash
^=
_unknownFields
.
GetHashCode
(
)
;
}
return
hash
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
string
ToString
(
)
{
return
pb
::
JsonFormatter
.
ToDiagnosticString
(
this
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
void
WriteTo
(
pb
::
CodedOutputStream
output
)
{
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output
.
WriteRawMessage
(
this
)
;
#else
if
(
pluginData_
!=
null
)
{
output
.
WriteRawTag
(
10
)
;
output
.
WriteMessage
(
PluginData
)
;
}
if
(
DisplayName
.
Length
!=
0
)
{
output
.
WriteRawTag
(
18
)
;
output
.
WriteString
(
DisplayName
)
;
}
if
(
SummaryDescription
.
Length
!=
0
)
{
output
.
WriteRawTag
(
26
)
;
output
.
WriteString
(
SummaryDescription
)
;
}
if
(
DataClass
!=
global
::
Tensorflow
.
DataClass
.
Unknown
)
{
output
.
WriteRawTag
(
32
)
;
output
.
WriteEnum
(
(
int
)
DataClass
)
;
}
if
(
_unknownFields
!=
null
)
{
_unknownFields
.
WriteTo
(
output
)
;
}
#endif
}
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
void
pb
::
IBufferMessage
.
InternalWriteTo
(
ref
pb
::
WriteContext
output
)
{
if
(
pluginData_
!=
null
)
{
output
.
WriteRawTag
(
10
)
;
output
.
WriteMessage
(
PluginData
)
;
}
if
(
DisplayName
.
Length
!=
0
)
{
output
.
WriteRawTag
(
18
)
;
output
.
WriteString
(
DisplayName
)
;
}
if
(
SummaryDescription
.
Length
!=
0
)
{
output
.
WriteRawTag
(
26
)
;
output
.
WriteString
(
SummaryDescription
)
;
}
if
(
DataClass
!=
global
::
Tensorflow
.
DataClass
.
Unknown
)
{
output
.
WriteRawTag
(
32
)
;
output
.
WriteEnum
(
(
int
)
DataClass
)
;
}
if
(
_unknownFields
!=
null
)
{
_unknownFields
.
WriteTo
(
ref
output
)
;
}
}
#endif
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
int
CalculateSize
(
)
{
int
size
=
0
;
if
(
pluginData_
!=
null
)
{
size
+=
1
+
pb
::
CodedOutputStream
.
ComputeMessageSize
(
PluginData
)
;
}
if
(
DisplayName
.
Length
!=
0
)
{
size
+=
1
+
pb
::
CodedOutputStream
.
ComputeStringSize
(
DisplayName
)
;
}
if
(
SummaryDescription
.
Length
!=
0
)
{
size
+=
1
+
pb
::
CodedOutputStream
.
ComputeStringSize
(
SummaryDescription
)
;
}
if
(
DataClass
!=
global
::
Tensorflow
.
DataClass
.
Unknown
)
{
size
+=
1
+
pb
::
CodedOutputStream
.
ComputeEnumSize
(
(
int
)
DataClass
)
;
}
if
(
_unknownFields
!=
null
)
{
size
+=
_unknownFields
.
CalculateSize
(
)
;
}
return
size
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
void
MergeFrom
(
SummaryMetadata
other
)
{
if
(
other
==
null
)
{
return
;
}
if
(
other
.
pluginData_
!=
null
)
{
if
(
pluginData_
==
null
)
{
PluginData
=
new
global
::
Tensorflow
.
SummaryMetadata
.
Types
.
PluginData
(
)
;
}
PluginData
.
MergeFrom
(
other
.
PluginData
)
;
}
if
(
other
.
DisplayName
.
Length
!=
0
)
{
DisplayName
=
other
.
DisplayName
;
}
if
(
other
.
SummaryDescription
.
Length
!=
0
)
{
SummaryDescription
=
other
.
SummaryDescription
;
}
if
(
other
.
DataClass
!=
global
::
Tensorflow
.
DataClass
.
Unknown
)
{
DataClass
=
other
.
DataClass
;
}
_unknownFields
=
pb
::
UnknownFieldSet
.
MergeFrom
(
_unknownFields
,
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
void
MergeFrom
(
pb
::
CodedInputStream
input
)
{
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input
.
ReadRawMessage
(
this
)
;
#else
uint
tag
;
while
(
(
tag
=
input
.
ReadTag
(
)
)
!=
0
)
{
switch
(
tag
)
{
default
:
_unknownFields
=
pb
::
UnknownFieldSet
.
MergeFieldFrom
(
_unknownFields
,
input
)
;
break
;
case
10
:
{
if
(
pluginData_
==
null
)
{
PluginData
=
new
global
::
Tensorflow
.
SummaryMetadata
.
Types
.
PluginData
(
)
;
}
input
.
ReadMessage
(
PluginData
)
;
break
;
}
case
18
:
{
DisplayName
=
input
.
ReadString
(
)
;
break
;
}
case
26
:
{
SummaryDescription
=
input
.
ReadString
(
)
;
break
;
}
case
32
:
{
DataClass
=
(
global
::
Tensorflow
.
DataClass
)
input
.
ReadEnum
(
)
;
break
;
}
}
}
#endif
}
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
void
pb
::
IBufferMessage
.
InternalMergeFrom
(
ref
pb
::
ParseContext
input
)
{
uint
tag
;
while
(
(
tag
=
input
.
ReadTag
(
)
)
!=
0
)
{
switch
(
tag
)
{
default
:
_unknownFields
=
pb
::
UnknownFieldSet
.
MergeFieldFrom
(
_unknownFields
,
ref
input
)
;
break
;
case
10
:
{
if
(
pluginData_
==
null
)
{
PluginData
=
new
global
::
Tensorflow
.
SummaryMetadata
.
Types
.
PluginData
(
)
;
}
input
.
ReadMessage
(
PluginData
)
;
break
;
}
case
18
:
{
DisplayName
=
input
.
ReadString
(
)
;
break
;
}
case
26
:
{
SummaryDescription
=
input
.
ReadString
(
)
;
break
;
}
case
32
:
{
DataClass
=
(
global
::
Tensorflow
.
DataClass
)
input
.
ReadEnum
(
)
;
break
;
}
}
}
}
#endif
#region Nested types
/// <summary>Container for nested types declared in the SummaryMetadata message type.</summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
static
partial
class
Types
{
public
sealed
partial
class
PluginData
:
pb
::
IMessage
<
PluginData
>
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
,
pb
::
IBufferMessage
#endif
{
private
static
readonly
pb
::
MessageParser
<
PluginData
>
_parser
=
new
pb
::
MessageParser
<
PluginData
>
(
(
)
=>
new
PluginData
(
)
)
;
private
pb
::
UnknownFieldSet
_unknownFields
;
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
static
pb
::
MessageParser
<
PluginData
>
Parser
{
get
{
return
_parser
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Tensorflow
.
SummaryMetadata
.
Descriptor
.
NestedTypes
[
0
]
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
get
{
return
Descriptor
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
PluginData
(
)
{
OnConstruction
(
)
;
}
partial
void
OnConstruction
(
)
;
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
PluginData
(
PluginData
other
)
:
this
(
)
{
pluginName_
=
other
.
pluginName_
;
content_
=
other
.
content_
;
_unknownFields
=
pb
::
UnknownFieldSet
.
Clone
(
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
PluginData
Clone
(
)
{
return
new
PluginData
(
this
)
;
}
/// <summary>Field number for the "plugin_name" field.</summary>
public
const
int
PluginNameFieldNumber
=
1
;
private
string
pluginName_
=
""
;
/// <summary>
/// The name of the plugin this data pertains to.
/// </summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
string
PluginName
{
get
{
return
pluginName_
;
}
set
{
pluginName_
=
pb
::
ProtoPreconditions
.
CheckNotNull
(
value
,
"value"
)
;
}
}
/// <summary>Field number for the "content" field.</summary>
public
const
int
ContentFieldNumber
=
2
;
private
pb
::
ByteString
content_
=
pb
::
ByteString
.
Empty
;
/// <summary>
/// The content to store for the plugin. The best practice is for this to be
/// a binary serialized protocol buffer.
/// </summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
pb
::
ByteString
Content
{
get
{
return
content_
;
}
set
{
content_
=
pb
::
ProtoPreconditions
.
CheckNotNull
(
value
,
"value"
)
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
bool
Equals
(
object
other
)
{
return
Equals
(
other
as
PluginData
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
bool
Equals
(
PluginData
other
)
{
if
(
ReferenceEquals
(
other
,
null
)
)
{
return
false
;
}
if
(
ReferenceEquals
(
other
,
this
)
)
{
return
true
;
}
if
(
PluginName
!=
other
.
PluginName
)
return
false
;
if
(
Content
!=
other
.
Content
)
return
false
;
return
Equals
(
_unknownFields
,
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
int
GetHashCode
(
)
{
int
hash
=
1
;
if
(
PluginName
.
Length
!=
0
)
hash
^=
PluginName
.
GetHashCode
(
)
;
if
(
Content
.
Length
!=
0
)
hash
^=
Content
.
GetHashCode
(
)
;
if
(
_unknownFields
!=
null
)
{
hash
^=
_unknownFields
.
GetHashCode
(
)
;
}
return
hash
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
string
ToString
(
)
{
return
pb
::
JsonFormatter
.
ToDiagnosticString
(
this
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
void
WriteTo
(
pb
::
CodedOutputStream
output
)
{
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output
.
WriteRawMessage
(
this
)
;
#else
if
(
PluginName
.
Length
!=
0
)
{
output
.
WriteRawTag
(
10
)
;
output
.
WriteString
(
PluginName
)
;
}
if
(
Content
.
Length
!=
0
)
{
output
.
WriteRawTag
(
18
)
;
output
.
WriteBytes
(
Content
)
;
}
if
(
_unknownFields
!=
null
)
{
_unknownFields
.
WriteTo
(
output
)
;
}
#endif
}
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
void
pb
::
IBufferMessage
.
InternalWriteTo
(
ref
pb
::
WriteContext
output
)
{
if
(
PluginName
.
Length
!=
0
)
{
output
.
WriteRawTag
(
10
)
;
output
.
WriteString
(
PluginName
)
;
}
if
(
Content
.
Length
!=
0
)
{
output
.
WriteRawTag
(
18
)
;
output
.
WriteBytes
(
Content
)
;
}
if
(
_unknownFields
!=
null
)
{
_unknownFields
.
WriteTo
(
ref
output
)
;
}
}
#endif
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
int
CalculateSize
(
)
{
int
size
=
0
;
if
(
PluginName
.
Length
!=
0
)
{
size
+=
1
+
pb
::
CodedOutputStream
.
ComputeStringSize
(
PluginName
)
;
}
if
(
Content
.
Length
!=
0
)
{
size
+=
1
+
pb
::
CodedOutputStream
.
ComputeBytesSize
(
Content
)
;
}
if
(
_unknownFields
!=
null
)
{
size
+=
_unknownFields
.
CalculateSize
(
)
;
}
return
size
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
void
MergeFrom
(
PluginData
other
)
{
if
(
other
==
null
)
{
return
;
}
if
(
other
.
PluginName
.
Length
!=
0
)
{
PluginName
=
other
.
PluginName
;
}
if
(
other
.
Content
.
Length
!=
0
)
{
Content
=
other
.
Content
;
}
_unknownFields
=
pb
::
UnknownFieldSet
.
MergeFrom
(
_unknownFields
,
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
void
MergeFrom
(
pb
::
CodedInputStream
input
)
{
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
input
.
ReadRawMessage
(
this
)
;
#else
uint
tag
;
while
(
(
tag
=
input
.
ReadTag
(
)
)
!=
0
)
{
switch
(
tag
)
{
default
:
_unknownFields
=
pb
::
UnknownFieldSet
.
MergeFieldFrom
(
_unknownFields
,
input
)
;
break
;
case
10
:
{
PluginName
=
input
.
ReadString
(
)
;
break
;
}
case
18
:
{
Content
=
input
.
ReadBytes
(
)
;
break
;
}
}
}
#endif
}
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
void
pb
::
IBufferMessage
.
InternalMergeFrom
(
ref
pb
::
ParseContext
input
)
{
uint
tag
;
while
(
(
tag
=
input
.
ReadTag
(
)
)
!=
0
)
{
switch
(
tag
)
{
default
:
_unknownFields
=
pb
::
UnknownFieldSet
.
MergeFieldFrom
(
_unknownFields
,
ref
input
)
;
break
;
case
10
:
{
PluginName
=
input
.
ReadString
(
)
;
break
;
}
case
18
:
{
Content
=
input
.
ReadBytes
(
)
;
break
;
}
}
}
}
#endif
}
}
#endregion
}
/// <summary>
/// A Summary is a set of named values to be displayed by the
/// visualizer.
///
/// Summaries are produced regularly during training, as controlled by
/// the "summary_interval_secs" attribute of the training operation.
/// Summaries are also produced at the end of an evaluation.
/// </summary>
public
sealed
partial
class
Summary
:
pb
::
IMessage
<
Summary
>
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
,
pb
::
IBufferMessage
#endif
{
private
static
readonly
pb
::
MessageParser
<
Summary
>
_parser
=
new
pb
::
MessageParser
<
Summary
>
(
(
)
=>
new
Summary
(
)
)
;
private
pb
::
UnknownFieldSet
_unknownFields
;
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
static
pb
::
MessageParser
<
Summary
>
Parser
{
get
{
return
_parser
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
static
pbr
::
MessageDescriptor
Descriptor
{
get
{
return
global
::
Tensorflow
.
SummaryReflection
.
Descriptor
.
MessageTypes
[
2
]
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
pbr
::
MessageDescriptor
pb
::
IMessage
.
Descriptor
{
get
{
return
Descriptor
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
Summary
(
)
{
OnConstruction
(
)
;
}
partial
void
OnConstruction
(
)
;
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
Summary
(
Summary
other
)
:
this
(
)
{
value_
=
other
.
value_
.
Clone
(
)
;
_unknownFields
=
pb
::
UnknownFieldSet
.
Clone
(
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
Summary
Clone
(
)
{
return
new
Summary
(
this
)
;
}
/// <summary>Field number for the "value" field.</summary>
public
const
int
ValueFieldNumber
=
1
;
private
static
readonly
pb
::
FieldCodec
<
global
::
Tensorflow
.
Summary
.
Types
.
Value
>
_repeated_value_codec
=
pb
::
FieldCodec
.
ForMessage
(
10
,
global
::
Tensorflow
.
Summary
.
Types
.
Value
.
Parser
)
;
private
readonly
pbc
::
RepeatedField
<
global
::
Tensorflow
.
Summary
.
Types
.
Value
>
value_
=
new
pbc
::
RepeatedField
<
global
::
Tensorflow
.
Summary
.
Types
.
Value
>
(
)
;
/// <summary>
/// Set of values for the summary.
/// </summary>
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
pbc
::
RepeatedField
<
global
::
Tensorflow
.
Summary
.
Types
.
Value
>
Value
{
get
{
return
value_
;
}
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
bool
Equals
(
object
other
)
{
return
Equals
(
other
as
Summary
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
bool
Equals
(
Summary
other
)
{
if
(
ReferenceEquals
(
other
,
null
)
)
{
return
false
;
}
if
(
ReferenceEquals
(
other
,
this
)
)
{
return
true
;
}
if
(
!
value_
.
Equals
(
other
.
value_
)
)
return
false
;
return
Equals
(
_unknownFields
,
other
.
_unknownFields
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
int
GetHashCode
(
)
{
int
hash
=
1
;
hash
^=
value_
.
GetHashCode
(
)
;
if
(
_unknownFields
!=
null
)
{
hash
^=
_unknownFields
.
GetHashCode
(
)
;
}
return
hash
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
override
string
ToString
(
)
{
return
pb
::
JsonFormatter
.
ToDiagnosticString
(
this
)
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
void
WriteTo
(
pb
::
CodedOutputStream
output
)
{
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
output
.
WriteRawMessage
(
this
)
;
#else
value_
.
WriteTo
(
output
,
_repeated_value_codec
)
;
if
(
_unknownFields
!=
null
)
{
_unknownFields
.
WriteTo
(
output
)
;
}
#endif
}
#if
!
GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
void
pb
::
IBufferMessage
.
InternalWriteTo
(
ref
pb
::
WriteContext
output
)
{
value_
.
WriteTo
(
ref
output
,
_repeated_value_codec
)
;
if
(
_unknownFields
!=
null
)
{
_unknownFields
.
WriteTo
(
ref
output
)
;
}
}
#endif
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
[
global
::
System
.
CodeDom
.
Compiler
.
GeneratedCode
(
"protoc"
,
null
)
]
public
int
CalculateSize
(
)
{
int
size
=
0
;
size
+=
value_
.
CalculateSize
(
_repeated_value_codec
)
;
if
(
_unknownFields
!=
null
)
{
size
+=
_unknownFields
.
CalculateSize
(
)
;
}
return
size
;
}
[
global
::
System
.
Diagnostics
.
DebuggerNonUserCodeAttribute
]
View remainder of file in raw view
Footer
© 2026 GitHub, Inc.
Footer navigation
Terms
Privacy
Security
Status
Community
Docs
Contact
You can’t perform that action at this time.
Back
|
FazBrowse Home
|
New Git URL