Documentation ¶
Index ¶
- Variables
- type TestDevice
- func (*TestDevice) Descriptor() ([]byte, []int)deprecated
- func (x *TestDevice) GetGlobalId() int64
- func (x *TestDevice) GetLocalId() int64
- func (x *TestDevice) GetName() string
- func (*TestDevice) ProtoMessage()
- func (x *TestDevice) ProtoReflect() protoreflect.Message
- func (x *TestDevice) Reset()
- func (x *TestDevice) String() string
- type TestDeviceList
Constants ¶
This section is empty.
Variables ¶
View Source
var File_tensorflow_tsl_distributed_runtime_coordination_test_device_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type TestDevice ¶
type TestDevice struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` LocalId int64 `protobuf:"varint,2,opt,name=local_id,json=localId,proto3" json:"local_id,omitempty"` GlobalId int64 `protobuf:"varint,3,opt,name=global_id,json=globalId,proto3" json:"global_id,omitempty"` // contains filtered or unexported fields }
func (*TestDevice) Descriptor
deprecated
func (*TestDevice) Descriptor() ([]byte, []int)
Deprecated: Use TestDevice.ProtoReflect.Descriptor instead.
func (*TestDevice) GetGlobalId ¶
func (x *TestDevice) GetGlobalId() int64
func (*TestDevice) GetLocalId ¶
func (x *TestDevice) GetLocalId() int64
func (*TestDevice) GetName ¶
func (x *TestDevice) GetName() string
func (*TestDevice) ProtoMessage ¶
func (*TestDevice) ProtoMessage()
func (*TestDevice) ProtoReflect ¶
func (x *TestDevice) ProtoReflect() protoreflect.Message
func (*TestDevice) Reset ¶
func (x *TestDevice) Reset()
func (*TestDevice) String ¶
func (x *TestDevice) String() string
type TestDeviceList ¶
type TestDeviceList struct { Device []*TestDevice `protobuf:"bytes,1,rep,name=device,proto3" json:"device,omitempty"` // contains filtered or unexported fields }
func (*TestDeviceList) Descriptor
deprecated
func (*TestDeviceList) Descriptor() ([]byte, []int)
Deprecated: Use TestDeviceList.ProtoReflect.Descriptor instead.
func (*TestDeviceList) GetDevice ¶
func (x *TestDeviceList) GetDevice() []*TestDevice
func (*TestDeviceList) ProtoMessage ¶
func (*TestDeviceList) ProtoMessage()
func (*TestDeviceList) ProtoReflect ¶
func (x *TestDeviceList) ProtoReflect() protoreflect.Message
func (*TestDeviceList) Reset ¶
func (x *TestDeviceList) Reset()
func (*TestDeviceList) String ¶
func (x *TestDeviceList) String() string
Click to show internal directories.
Click to hide internal directories.