Documentation ¶
Overview ¶
Package clientpb is a generated protocol buffer package.
It is generated from these files:
protobuf/clientpb/client.proto
It has these top-level messages:
ExampleFile ExampleIndex Metric EventTargets ModelMeta
Index ¶
- Variables
- type Event
- type EventTargets
- func (*EventTargets) Descriptor() ([]byte, []int)
- func (this *EventTargets) Equal(that interface{}) bool
- func (m *EventTargets) GetPost() []string
- func (m *EventTargets) GetPre() []string
- func (this *EventTargets) GoString() string
- func (m *EventTargets) Marshal() (dAtA []byte, err error)
- func (m *EventTargets) MarshalTo(dAtA []byte) (int, error)
- func (*EventTargets) ProtoMessage()
- func (m *EventTargets) Reset()
- func (m *EventTargets) Size() (n int)
- func (this *EventTargets) String() string
- func (m *EventTargets) Unmarshal(dAtA []byte) error
- type ExampleFile
- func (*ExampleFile) Descriptor() ([]byte, []int)
- func (this *ExampleFile) Equal(that interface{}) bool
- func (m *ExampleFile) GetCreated() time.Time
- func (m *ExampleFile) GetName() string
- func (m *ExampleFile) GetPositions() []int32
- func (m *ExampleFile) GetTotalSize() int64
- func (this *ExampleFile) GoString() string
- func (m *ExampleFile) Marshal() (dAtA []byte, err error)
- func (m *ExampleFile) MarshalTo(dAtA []byte) (int, error)
- func (*ExampleFile) ProtoMessage()
- func (m *ExampleFile) Reset()
- func (m *ExampleFile) Size() (n int)
- func (this *ExampleFile) String() string
- func (m *ExampleFile) Unmarshal(dAtA []byte) error
- type ExampleIndex
- func (*ExampleIndex) Descriptor() ([]byte, []int)
- func (this *ExampleIndex) Equal(that interface{}) bool
- func (m *ExampleIndex) GetFiles() []ExampleFile
- func (m *ExampleIndex) GetTotalExamples() int64
- func (m *ExampleIndex) GetTotalSize() int64
- func (this *ExampleIndex) GoString() string
- func (m *ExampleIndex) Marshal() (dAtA []byte, err error)
- func (m *ExampleIndex) MarshalTo(dAtA []byte) (int, error)
- func (*ExampleIndex) ProtoMessage()
- func (m *ExampleIndex) Reset()
- func (m *ExampleIndex) Size() (n int)
- func (this *ExampleIndex) String() string
- func (m *ExampleIndex) Unmarshal(dAtA []byte) error
- type Metric
- func (*Metric) Descriptor() ([]byte, []int)
- func (this *Metric) Equal(that interface{}) bool
- func (m *Metric) GetFetchName() string
- func (m *Metric) GetName() string
- func (m *Metric) GetReduce() MetricReduce
- func (this *Metric) GoString() string
- func (m *Metric) Marshal() (dAtA []byte, err error)
- func (m *Metric) MarshalTo(dAtA []byte) (int, error)
- func (*Metric) ProtoMessage()
- func (m *Metric) Reset()
- func (m *Metric) Size() (n int)
- func (this *Metric) String() string
- func (m *Metric) Unmarshal(dAtA []byte) error
- type MetricReduce
- type ModelMeta
- func (*ModelMeta) Descriptor() ([]byte, []int)
- func (this *ModelMeta) Equal(that interface{}) bool
- func (m *ModelMeta) GetEventTargets() map[Event]EventTargets
- func (m *ModelMeta) GetMetrics() []Metric
- func (m *ModelMeta) GetTrainableVariables() []string
- func (this *ModelMeta) GoString() string
- func (m *ModelMeta) Marshal() (dAtA []byte, err error)
- func (m *ModelMeta) MarshalTo(dAtA []byte) (int, error)
- func (*ModelMeta) ProtoMessage()
- func (m *ModelMeta) Reset()
- func (m *ModelMeta) Size() (n int)
- func (this *ModelMeta) String() string
- func (m *ModelMeta) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthClient = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowClient = fmt.Errorf("proto: integer overflow") )
View Source
var Event_name = map[int32]string{
0: "EVENT_UNKNOWN",
1: "EVENT_TRAIN",
2: "EVENT_INFER",
3: "EVENT_EVAL",
}
View Source
var Event_value = map[string]int32{
"EVENT_UNKNOWN": 0,
"EVENT_TRAIN": 1,
"EVENT_INFER": 2,
"EVENT_EVAL": 3,
}
View Source
var MetricReduce_name = map[int32]string{
0: "REDUCE_UNKNOWN",
1: "REDUCE_MEAN",
2: "REDUCE_MIN",
3: "REDUCE_MAX",
4: "REDUCE_SUM",
5: "REDUCE_PROD",
6: "REDUCE_P1",
7: "REDUCE_P5",
8: "REDUCE_P10",
9: "REDUCE_P25",
10: "REDUCE_P50",
11: "REDUCE_P75",
12: "REDUCE_P90",
13: "REDUCE_P95",
14: "REDUCE_P99",
}
View Source
var MetricReduce_value = map[string]int32{
"REDUCE_UNKNOWN": 0,
"REDUCE_MEAN": 1,
"REDUCE_MIN": 2,
"REDUCE_MAX": 3,
"REDUCE_SUM": 4,
"REDUCE_PROD": 5,
"REDUCE_P1": 6,
"REDUCE_P5": 7,
"REDUCE_P10": 8,
"REDUCE_P25": 9,
"REDUCE_P50": 10,
"REDUCE_P75": 11,
"REDUCE_P90": 12,
"REDUCE_P95": 13,
"REDUCE_P99": 14,
}
Functions ¶
This section is empty.
Types ¶
type EventTargets ¶
type EventTargets struct { Pre []string `protobuf:"bytes,1,rep,name=pre" json:"pre,omitempty"` Post []string `protobuf:"bytes,2,rep,name=post" json:"post,omitempty"` }
func (*EventTargets) Descriptor ¶
func (*EventTargets) Descriptor() ([]byte, []int)
func (*EventTargets) Equal ¶
func (this *EventTargets) Equal(that interface{}) bool
func (*EventTargets) GetPost ¶
func (m *EventTargets) GetPost() []string
func (*EventTargets) GetPre ¶
func (m *EventTargets) GetPre() []string
func (*EventTargets) GoString ¶
func (this *EventTargets) GoString() string
func (*EventTargets) Marshal ¶
func (m *EventTargets) Marshal() (dAtA []byte, err error)
func (*EventTargets) ProtoMessage ¶
func (*EventTargets) ProtoMessage()
func (*EventTargets) Reset ¶
func (m *EventTargets) Reset()
func (*EventTargets) Size ¶
func (m *EventTargets) Size() (n int)
func (*EventTargets) String ¶
func (this *EventTargets) String() string
func (*EventTargets) Unmarshal ¶
func (m *EventTargets) Unmarshal(dAtA []byte) error
type ExampleFile ¶
type ExampleFile struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Created time.Time `protobuf:"bytes,2,opt,name=created,stdtime" json:"created"` TotalSize int64 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` Positions []int32 `protobuf:"varint,4,rep,packed,name=positions" json:"positions,omitempty"` }
func (*ExampleFile) Descriptor ¶
func (*ExampleFile) Descriptor() ([]byte, []int)
func (*ExampleFile) Equal ¶
func (this *ExampleFile) Equal(that interface{}) bool
func (*ExampleFile) GetCreated ¶
func (m *ExampleFile) GetCreated() time.Time
func (*ExampleFile) GetName ¶
func (m *ExampleFile) GetName() string
func (*ExampleFile) GetPositions ¶
func (m *ExampleFile) GetPositions() []int32
func (*ExampleFile) GetTotalSize ¶
func (m *ExampleFile) GetTotalSize() int64
func (*ExampleFile) GoString ¶
func (this *ExampleFile) GoString() string
func (*ExampleFile) Marshal ¶
func (m *ExampleFile) Marshal() (dAtA []byte, err error)
func (*ExampleFile) ProtoMessage ¶
func (*ExampleFile) ProtoMessage()
func (*ExampleFile) Reset ¶
func (m *ExampleFile) Reset()
func (*ExampleFile) Size ¶
func (m *ExampleFile) Size() (n int)
func (*ExampleFile) String ¶
func (this *ExampleFile) String() string
func (*ExampleFile) Unmarshal ¶
func (m *ExampleFile) Unmarshal(dAtA []byte) error
type ExampleIndex ¶
type ExampleIndex struct { TotalExamples int64 `protobuf:"varint,1,opt,name=total_examples,json=totalExamples,proto3" json:"total_examples,omitempty"` TotalSize int64 `protobuf:"varint,2,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"` Files []ExampleFile `protobuf:"bytes,3,rep,name=files" json:"files"` }
func (*ExampleIndex) Descriptor ¶
func (*ExampleIndex) Descriptor() ([]byte, []int)
func (*ExampleIndex) Equal ¶
func (this *ExampleIndex) Equal(that interface{}) bool
func (*ExampleIndex) GetFiles ¶
func (m *ExampleIndex) GetFiles() []ExampleFile
func (*ExampleIndex) GetTotalExamples ¶
func (m *ExampleIndex) GetTotalExamples() int64
func (*ExampleIndex) GetTotalSize ¶
func (m *ExampleIndex) GetTotalSize() int64
func (*ExampleIndex) GoString ¶
func (this *ExampleIndex) GoString() string
func (*ExampleIndex) Marshal ¶
func (m *ExampleIndex) Marshal() (dAtA []byte, err error)
func (*ExampleIndex) ProtoMessage ¶
func (*ExampleIndex) ProtoMessage()
func (*ExampleIndex) Reset ¶
func (m *ExampleIndex) Reset()
func (*ExampleIndex) Size ¶
func (m *ExampleIndex) Size() (n int)
func (*ExampleIndex) String ¶
func (this *ExampleIndex) String() string
func (*ExampleIndex) Unmarshal ¶
func (m *ExampleIndex) Unmarshal(dAtA []byte) error
type Metric ¶
type Metric struct { FetchName string `protobuf:"bytes,1,opt,name=fetch_name,json=fetchName,proto3" json:"fetch_name,omitempty"` Reduce MetricReduce `protobuf:"varint,2,opt,name=reduce,proto3,enum=clientpb.MetricReduce" json:"reduce,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` }
func (*Metric) Descriptor ¶
func (*Metric) GetFetchName ¶
func (*Metric) GetReduce ¶
func (m *Metric) GetReduce() MetricReduce
func (*Metric) ProtoMessage ¶
func (*Metric) ProtoMessage()
type MetricReduce ¶
type MetricReduce int32
const ( REDUCE_UNKNOWN MetricReduce = 0 REDUCE_MEAN MetricReduce = 1 REDUCE_MIN MetricReduce = 2 REDUCE_MAX MetricReduce = 3 REDUCE_SUM MetricReduce = 4 REDUCE_PROD MetricReduce = 5 REDUCE_P1 MetricReduce = 6 REDUCE_P5 MetricReduce = 7 REDUCE_P10 MetricReduce = 8 REDUCE_P25 MetricReduce = 9 REDUCE_P50 MetricReduce = 10 REDUCE_P75 MetricReduce = 11 REDUCE_P90 MetricReduce = 12 REDUCE_P95 MetricReduce = 13 REDUCE_P99 MetricReduce = 14 )
func (MetricReduce) EnumDescriptor ¶
func (MetricReduce) EnumDescriptor() ([]byte, []int)
func (MetricReduce) String ¶
func (x MetricReduce) String() string
type ModelMeta ¶
type ModelMeta struct { TrainableVariables []string `protobuf:"bytes,1,rep,name=trainable_variables,json=trainableVariables" json:"trainable_variables,omitempty"` Metrics []Metric `protobuf:"bytes,2,rep,name=metrics" json:"metrics"` EventTargets map[Event]EventTargets `` /* 176-byte string literal not displayed */ }
func (*ModelMeta) Descriptor ¶
func (*ModelMeta) GetEventTargets ¶
func (m *ModelMeta) GetEventTargets() map[Event]EventTargets
func (*ModelMeta) GetMetrics ¶
func (*ModelMeta) GetTrainableVariables ¶
func (*ModelMeta) ProtoMessage ¶
func (*ModelMeta) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.