1 // Generated by the protocol buffer compiler.  DO NOT EDIT!
2 // source: tensorflow/core/framework/summary.proto
3 
4 module tensorflow.summary;
5 
6 import google.protobuf;
7 import tensorflow.tensor;
8 
9 enum protocVersion = 3012004;
10 
11 class SummaryDescription
12 {
13     @Proto(1) string typeHint = protoDefaultValue!(string);
14 }
15 
16 class HistogramProto
17 {
18     @Proto(1) double min = protoDefaultValue!(double);
19     @Proto(2) double max = protoDefaultValue!(double);
20     @Proto(3) double num = protoDefaultValue!(double);
21     @Proto(4) double sum = protoDefaultValue!(double);
22     @Proto(5) double sumSquares = protoDefaultValue!(double);
23     @Proto(6, Wire.none, Yes.packed) double[] bucketLimit = protoDefaultValue!(double[]);
24     @Proto(7, Wire.none, Yes.packed) double[] bucket = protoDefaultValue!(double[]);
25 }
26 
27 class SummaryMetadata
28 {
29     @Proto(1) SummaryMetadata.PluginData pluginData = protoDefaultValue!(SummaryMetadata.PluginData);
30     @Proto(2) string displayName = protoDefaultValue!(string);
31     @Proto(3) string summaryDescription = protoDefaultValue!(string);
32 
33     static class PluginData
34     {
35         @Proto(1) string pluginName = protoDefaultValue!(string);
36         @Proto(2) bytes content = protoDefaultValue!(bytes);
37     }
38 }
39 
40 class Summary
41 {
42     @Proto(1) Summary.Value[] value = protoDefaultValue!(Summary.Value[]);
43 
44     static class Image
45     {
46         @Proto(1) int height = protoDefaultValue!(int);
47         @Proto(2) int width = protoDefaultValue!(int);
48         @Proto(3) int colorspace = protoDefaultValue!(int);
49         @Proto(4) bytes encodedImageString = protoDefaultValue!(bytes);
50     }
51 
52     static class Audio
53     {
54         @Proto(1) float sampleRate = protoDefaultValue!(float);
55         @Proto(2) long numChannels = protoDefaultValue!(long);
56         @Proto(3) long lengthFrames = protoDefaultValue!(long);
57         @Proto(4) bytes encodedAudioString = protoDefaultValue!(bytes);
58         @Proto(5) string contentType = protoDefaultValue!(string);
59     }
60 
61     static class Value
62     {
63         @Proto(1) string tag = protoDefaultValue!(string);
64         enum ValueCase
65         {
66             valueNotSet = 0,
67             simpleValue = 2,
68             obsoleteOldStyleHistogram = 3,
69             image = 4,
70             histo = 5,
71             audio = 6,
72             tensor = 8,
73         }
74         ValueCase _valueCase = ValueCase.valueNotSet;
75         @property ValueCase valueCase() { return _valueCase; }
76         void clearValue() { _valueCase = ValueCase.valueNotSet; }
77         @Oneof("_valueCase") union
78         {
79             @Proto(2) float _simpleValue = protoDefaultValue!(float); mixin(oneofAccessors!_simpleValue);
80             @Proto(3) bytes _obsoleteOldStyleHistogram; mixin(oneofAccessors!_obsoleteOldStyleHistogram);
81             @Proto(4) Summary.Image _image; mixin(oneofAccessors!_image);
82             @Proto(5) HistogramProto _histo; mixin(oneofAccessors!_histo);
83             @Proto(6) Summary.Audio _audio; mixin(oneofAccessors!_audio);
84             @Proto(8) TensorProto _tensor; mixin(oneofAccessors!_tensor);
85         }
86         @Proto(7) string nodeName = protoDefaultValue!(string);
87         @Proto(9) SummaryMetadata metadata = protoDefaultValue!(SummaryMetadata);
88     }
89 }