device_attributes_go_proto

package
v2.8.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 18, 2022 License: Apache-2.0, BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_core_framework_device_attributes_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type DeviceAttributes

type DeviceAttributes struct {

	// Fully specified name of the device within a cluster.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// String representation of device_type.
	DeviceType string `protobuf:"bytes,2,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"`
	// Memory capacity of device in bytes.
	MemoryLimit int64 `protobuf:"varint,4,opt,name=memory_limit,json=memoryLimit,proto3" json:"memory_limit,omitempty"`
	// Platform-specific data about device that may be useful
	// for supporting efficient data transfers.
	Locality *DeviceLocality `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality,omitempty"`
	// A device is assigned a global unique number each time it is
	// initialized. "incarnation" should never be 0.
	Incarnation uint64 `protobuf:"fixed64,6,opt,name=incarnation,proto3" json:"incarnation,omitempty"`
	// String representation of the physical device that this device maps to.
	PhysicalDeviceDesc string `protobuf:"bytes,7,opt,name=physical_device_desc,json=physicalDeviceDesc,proto3" json:"physical_device_desc,omitempty"`
	// A physical device ID for use in XLA DeviceAssignments, unique across
	// clients in a multi-client setup. Set to -1 if unavailable, non-negative
	// otherwise.
	XlaGlobalId int64 `protobuf:"varint,8,opt,name=xla_global_id,json=xlaGlobalId,proto3" json:"xla_global_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceAttributes) Descriptor deprecated

func (*DeviceAttributes) Descriptor() ([]byte, []int)

Deprecated: Use DeviceAttributes.ProtoReflect.Descriptor instead.

func (*DeviceAttributes) GetDeviceType

func (x *DeviceAttributes) GetDeviceType() string

func (*DeviceAttributes) GetIncarnation

func (x *DeviceAttributes) GetIncarnation() uint64

func (*DeviceAttributes) GetLocality

func (x *DeviceAttributes) GetLocality() *DeviceLocality

func (*DeviceAttributes) GetMemoryLimit

func (x *DeviceAttributes) GetMemoryLimit() int64

func (*DeviceAttributes) GetName

func (x *DeviceAttributes) GetName() string

func (*DeviceAttributes) GetPhysicalDeviceDesc

func (x *DeviceAttributes) GetPhysicalDeviceDesc() string

func (*DeviceAttributes) GetXlaGlobalId

func (x *DeviceAttributes) GetXlaGlobalId() int64

func (*DeviceAttributes) ProtoMessage

func (*DeviceAttributes) ProtoMessage()

func (*DeviceAttributes) ProtoReflect

func (x *DeviceAttributes) ProtoReflect() protoreflect.Message

func (*DeviceAttributes) Reset

func (x *DeviceAttributes) Reset()

func (*DeviceAttributes) String

func (x *DeviceAttributes) String() string

type DeviceLocality

type DeviceLocality struct {

	// Optional bus locality of device.  Default value of 0 means
	// no specific locality.  Specific localities are indexed from 1.
	BusId int32 `protobuf:"varint,1,opt,name=bus_id,json=busId,proto3" json:"bus_id,omitempty"`
	// Optional NUMA locality of device.
	NumaNode int32 `protobuf:"varint,2,opt,name=numa_node,json=numaNode,proto3" json:"numa_node,omitempty"`
	// Optional local interconnect links to other devices.
	Links *LocalLinks `protobuf:"bytes,3,opt,name=links,proto3" json:"links,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceLocality) Descriptor deprecated

func (*DeviceLocality) Descriptor() ([]byte, []int)

Deprecated: Use DeviceLocality.ProtoReflect.Descriptor instead.

func (*DeviceLocality) GetBusId

func (x *DeviceLocality) GetBusId() int32
func (x *DeviceLocality) GetLinks() *LocalLinks

func (*DeviceLocality) GetNumaNode

func (x *DeviceLocality) GetNumaNode() int32

func (*DeviceLocality) ProtoMessage

func (*DeviceLocality) ProtoMessage()

func (*DeviceLocality) ProtoReflect

func (x *DeviceLocality) ProtoReflect() protoreflect.Message

func (*DeviceLocality) Reset

func (x *DeviceLocality) Reset()

func (*DeviceLocality) String

func (x *DeviceLocality) String() string
type InterconnectLink struct {
	DeviceId int32  `protobuf:"varint,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"`
	Type     string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	Strength int32  `protobuf:"varint,3,opt,name=strength,proto3" json:"strength,omitempty"`
	// contains filtered or unexported fields
}

func (*InterconnectLink) Descriptor deprecated

func (*InterconnectLink) Descriptor() ([]byte, []int)

Deprecated: Use InterconnectLink.ProtoReflect.Descriptor instead.

func (*InterconnectLink) GetDeviceId

func (x *InterconnectLink) GetDeviceId() int32

func (*InterconnectLink) GetStrength

func (x *InterconnectLink) GetStrength() int32

func (*InterconnectLink) GetType

func (x *InterconnectLink) GetType() string

func (*InterconnectLink) ProtoMessage

func (*InterconnectLink) ProtoMessage()

func (*InterconnectLink) ProtoReflect

func (x *InterconnectLink) ProtoReflect() protoreflect.Message

func (*InterconnectLink) Reset

func (x *InterconnectLink) Reset()

func (*InterconnectLink) String

func (x *InterconnectLink) String() string
type LocalLinks struct {
	Link []*InterconnectLink `protobuf:"bytes,1,rep,name=link,proto3" json:"link,omitempty"`
	// contains filtered or unexported fields
}

func (*LocalLinks) Descriptor deprecated

func (*LocalLinks) Descriptor() ([]byte, []int)

Deprecated: Use LocalLinks.ProtoReflect.Descriptor instead.

func (x *LocalLinks) GetLink() []*InterconnectLink

func (*LocalLinks) ProtoMessage

func (*LocalLinks) ProtoMessage()

func (*LocalLinks) ProtoReflect

func (x *LocalLinks) ProtoReflect() protoreflect.Message

func (*LocalLinks) Reset

func (x *LocalLinks) Reset()

func (*LocalLinks) String

func (x *LocalLinks) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL