/
regression.pb.go
119 lines (100 loc) · 4.85 KB
/
regression.pb.go
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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: tensorflow_serving/apis/regression.proto
package tensorflow_serving
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Regression result for a single item (tensorflow.Example).
type Regression struct {
Value float32 `protobuf:"fixed32,1,opt,name=value" json:"value,omitempty"`
}
func (m *Regression) Reset() { *m = Regression{} }
func (m *Regression) String() string { return proto.CompactTextString(m) }
func (*Regression) ProtoMessage() {}
func (*Regression) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{0} }
func (m *Regression) GetValue() float32 {
if m != nil {
return m.Value
}
return 0
}
// Contains one result per input example, in the same order as the input in
// RegressionRequest.
type RegressionResult struct {
Regressions []*Regression `protobuf:"bytes,1,rep,name=regressions" json:"regressions,omitempty"`
}
func (m *RegressionResult) Reset() { *m = RegressionResult{} }
func (m *RegressionResult) String() string { return proto.CompactTextString(m) }
func (*RegressionResult) ProtoMessage() {}
func (*RegressionResult) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{1} }
func (m *RegressionResult) GetRegressions() []*Regression {
if m != nil {
return m.Regressions
}
return nil
}
type RegressionRequest struct {
// Model Specification.
ModelSpec *ModelSpec `protobuf:"bytes,1,opt,name=model_spec,json=modelSpec" json:"model_spec,omitempty"`
// Input data.
Input *Input `protobuf:"bytes,2,opt,name=input" json:"input,omitempty"`
}
func (m *RegressionRequest) Reset() { *m = RegressionRequest{} }
func (m *RegressionRequest) String() string { return proto.CompactTextString(m) }
func (*RegressionRequest) ProtoMessage() {}
func (*RegressionRequest) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{2} }
func (m *RegressionRequest) GetModelSpec() *ModelSpec {
if m != nil {
return m.ModelSpec
}
return nil
}
func (m *RegressionRequest) GetInput() *Input {
if m != nil {
return m.Input
}
return nil
}
type RegressionResponse struct {
Result *RegressionResult `protobuf:"bytes,1,opt,name=result" json:"result,omitempty"`
}
func (m *RegressionResponse) Reset() { *m = RegressionResponse{} }
func (m *RegressionResponse) String() string { return proto.CompactTextString(m) }
func (*RegressionResponse) ProtoMessage() {}
func (*RegressionResponse) Descriptor() ([]byte, []int) { return fileDescriptor7, []int{3} }
func (m *RegressionResponse) GetResult() *RegressionResult {
if m != nil {
return m.Result
}
return nil
}
func init() {
proto.RegisterType((*Regression)(nil), "tensorflow.serving.Regression")
proto.RegisterType((*RegressionResult)(nil), "tensorflow.serving.RegressionResult")
proto.RegisterType((*RegressionRequest)(nil), "tensorflow.serving.RegressionRequest")
proto.RegisterType((*RegressionResponse)(nil), "tensorflow.serving.RegressionResponse")
}
func init() { proto.RegisterFile("tensorflow_serving/apis/regression.proto", fileDescriptor7) }
var fileDescriptor7 = []byte{
// 251 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x90, 0x31, 0x4f, 0xc3, 0x30,
0x10, 0x85, 0xe5, 0x56, 0xad, 0xc4, 0x65, 0x81, 0x13, 0x43, 0x40, 0x02, 0x55, 0x86, 0x21, 0x53,
0x22, 0x95, 0xb5, 0x03, 0x62, 0x63, 0x60, 0x31, 0xec, 0x55, 0x29, 0x47, 0x15, 0x29, 0xb5, 0x8d,
0xcf, 0x2e, 0x3b, 0xbf, 0x9a, 0x11, 0xd5, 0x0e, 0x24, 0x88, 0x46, 0x6c, 0xb6, 0x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