This repository has been archived by the owner on Oct 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
/
tensorflow.pb.go
102 lines (88 loc) · 4.42 KB
/
tensorflow.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
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: flyteidl/plugins/tensorflow.proto
package plugins
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
// Custom proto for plugin that enables distributed training using https://github.com/kubeflow/tf-operator
type DistributedTensorflowTrainingTask struct {
// number of worker, ps, chief replicas spawned in the cluster for this job
Workers int32 `protobuf:"varint,1,opt,name=workers,proto3" json:"workers,omitempty"`
// PS -> Parameter server
PsReplicas int32 `protobuf:"varint,2,opt,name=ps_replicas,json=psReplicas,proto3" json:"ps_replicas,omitempty"`
ChiefReplicas int32 `protobuf:"varint,3,opt,name=chief_replicas,json=chiefReplicas,proto3" json:"chief_replicas,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DistributedTensorflowTrainingTask) Reset() { *m = DistributedTensorflowTrainingTask{} }
func (m *DistributedTensorflowTrainingTask) String() string { return proto.CompactTextString(m) }
func (*DistributedTensorflowTrainingTask) ProtoMessage() {}
func (*DistributedTensorflowTrainingTask) Descriptor() ([]byte, []int) {
return fileDescriptor_8da02783614e1bcc, []int{0}
}
func (m *DistributedTensorflowTrainingTask) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DistributedTensorflowTrainingTask.Unmarshal(m, b)
}
func (m *DistributedTensorflowTrainingTask) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DistributedTensorflowTrainingTask.Marshal(b, m, deterministic)
}
func (m *DistributedTensorflowTrainingTask) XXX_Merge(src proto.Message) {
xxx_messageInfo_DistributedTensorflowTrainingTask.Merge(m, src)
}
func (m *DistributedTensorflowTrainingTask) XXX_Size() int {
return xxx_messageInfo_DistributedTensorflowTrainingTask.Size(m)
}
func (m *DistributedTensorflowTrainingTask) XXX_DiscardUnknown() {
xxx_messageInfo_DistributedTensorflowTrainingTask.DiscardUnknown(m)
}
var xxx_messageInfo_DistributedTensorflowTrainingTask proto.InternalMessageInfo
func (m *DistributedTensorflowTrainingTask) GetWorkers() int32 {
if m != nil {
return m.Workers
}
return 0
}
func (m *DistributedTensorflowTrainingTask) GetPsReplicas() int32 {
if m != nil {
return m.PsReplicas
}
return 0
}
func (m *DistributedTensorflowTrainingTask) GetChiefReplicas() int32 {
if m != nil {
return m.ChiefReplicas
}
return 0
}
func init() {
proto.RegisterType((*DistributedTensorflowTrainingTask)(nil), "flyteidl.plugins.DistributedTensorflowTrainingTask")
}
func init() { proto.RegisterFile("flyteidl/plugins/tensorflow.proto", fileDescriptor_8da02783614e1bcc) }
var fileDescriptor_8da02783614e1bcc = []byte{
// 202 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x4c, 0xcb, 0xa9, 0x2c,
0x49, 0xcd, 0x4c, 0xc9, 0xd1, 0x2f, 0xc8, 0x29, 0x4d, 0xcf, 0xcc, 0x2b, 0xd6, 0x2f, 0x49, 0xcd,
0x2b, 0xce, 0x2f, 0x4a, 0xcb, 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