DeviceAttributesOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
long
|
getIncarnation()
A device is assigned a global unique number each time it is
initialized.
|
abstract
DeviceLocality
|
getLocality()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
abstract
DeviceLocalityOrBuilder
|
getLocalityOrBuilder()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
abstract
long
|
|
abstract
String
|
getName()
Fully specified name of the device within a cluster.
|
abstract
com.google.protobuf.ByteString
|
getNameBytes()
Fully specified name of the device within a cluster.
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
boolean
|
hasLocality()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
|
Public Methods
public
abstract
String
getDeviceType
()
String representation of device_type.
string device_type = 2;
public
abstract
com.google.protobuf.ByteString
getDeviceTypeBytes
()
String representation of device_type.
string device_type = 2;
public
abstract
long
getIncarnation
()
A device is assigned a global unique number each time it is
initialized. "incarnation" should never be 0.
fixed64 incarnation = 6;
public
abstract
DeviceLocality
getLocality
()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
Platform-specific data about device that may be useful
for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
public
abstract
long
getMemoryLimit
()
Memory capacity of device in bytes.
int64 memory_limit = 4;
public
abstract
String
getName
()
Fully specified name of the device within a cluster.
string name = 1;
public
abstract
com.google.protobuf.ByteString
getNameBytes
()
Fully specified name of the device within a cluster.
string name = 1;
public
abstract
String
getPhysicalDeviceDesc
()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;
public
abstract
com.google.protobuf.ByteString
getPhysicalDeviceDescBytes
()
String representation of the physical device that this device maps to.
string physical_device_desc = 7;
public
abstract
boolean
hasLocality
()
Platform-specific data about device that may be useful
for supporting efficient data transfers.
.tensorflow.DeviceLocality locality = 5;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-11-29 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2021-11-29 UTC."],[],[],null,["# DeviceAttributesOrBuilder\n\npublic interface **DeviceAttributesOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [DeviceAttributes](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributes), [DeviceAttributes.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributes.Builder) |--------------------------------------------------------------------------------------------------------|---------------------------------------------| | [DeviceAttributes](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributes) | Protobuf type `tensorflow.DeviceAttributes` | | [DeviceAttributes.Builder](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributes.Builder) | Protobuf type `tensorflow.DeviceAttributes` | |||\n\n### Public Methods\n\n|---------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract String | [getDeviceType](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#getDeviceType())() ``` String representation of device_type. ``` |\n| abstract com.google.protobuf.ByteString | [getDeviceTypeBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#getDeviceTypeBytes())() ``` String representation of device_type. ``` |\n| abstract long | [getIncarnation](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#getIncarnation())() ``` A device is assigned a global unique number each time it is initialized. ``` |\n| abstract [DeviceLocality](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceLocality) | [getLocality](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#getLocality())() ``` Platform-specific data about device that may be useful for supporting efficient data transfers. ``` |\n| abstract [DeviceLocalityOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceLocalityOrBuilder) | [getLocalityOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#getLocalityOrBuilder())() ``` Platform-specific data about device that may be useful for supporting efficient data transfers. ``` |\n| abstract long | [getMemoryLimit](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#getMemoryLimit())() ``` Memory capacity of device in bytes. ``` |\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#getName())() ``` Fully specified name of the device within a cluster. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#getNameBytes())() ``` Fully specified name of the device within a cluster. ``` |\n| abstract String | [getPhysicalDeviceDesc](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#getPhysicalDeviceDesc())() ``` String representation of the physical device that this device maps to. ``` |\n| abstract com.google.protobuf.ByteString | [getPhysicalDeviceDescBytes](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#getPhysicalDeviceDescBytes())() ``` String representation of the physical device that this device maps to. ``` |\n| abstract boolean | [hasLocality](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceAttributesOrBuilder#hasLocality())() ``` Platform-specific data about device that may be useful for supporting efficient data transfers. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract String\n**getDeviceType**\n()\n\n\u003cbr /\u003e\n\n```\n String representation of device_type.\n \n```\n`string device_type = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getDeviceTypeBytes**\n()\n\n\u003cbr /\u003e\n\n```\n String representation of device_type.\n \n```\n`string device_type = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getIncarnation**\n()\n\n\u003cbr /\u003e\n\n```\n A device is assigned a global unique number each time it is\n initialized. \"incarnation\" should never be 0.\n \n```\n`fixed64 incarnation = 6;`\n\n\u003cbr /\u003e\n\n#### public abstract [DeviceLocality](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceLocality)\n**getLocality**\n()\n\n\u003cbr /\u003e\n\n```\n Platform-specific data about device that may be useful\n for supporting efficient data transfers.\n \n```\n`.tensorflow.DeviceLocality locality = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract [DeviceLocalityOrBuilder](/jvm/api_docs/java/org/tensorflow/proto/framework/DeviceLocalityOrBuilder)\n**getLocalityOrBuilder**\n()\n\n\u003cbr /\u003e\n\n```\n Platform-specific data about device that may be useful\n for supporting efficient data transfers.\n \n```\n`.tensorflow.DeviceLocality locality = 5;`\n\n\u003cbr /\u003e\n\n#### public abstract long\n**getMemoryLimit**\n()\n\n\u003cbr /\u003e\n\n```\n Memory capacity of device in bytes.\n \n```\n`int64 memory_limit = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n Fully specified name of the device within a cluster.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Fully specified name of the device within a cluster.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getPhysicalDeviceDesc**\n()\n\n\u003cbr /\u003e\n\n```\n String representation of the physical device that this device maps to.\n \n```\n`string physical_device_desc = 7;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getPhysicalDeviceDescBytes**\n()\n\n\u003cbr /\u003e\n\n```\n String representation of the physical device that this device maps to.\n \n```\n`string physical_device_desc = 7;`\n\n\u003cbr /\u003e\n\n#### public abstract boolean\n**hasLocality**\n()\n\n\u003cbr /\u003e\n\n```\n Platform-specific data about device that may be useful\n for supporting efficient data transfers.\n \n```\n`.tensorflow.DeviceLocality locality = 5;`\n\n\u003cbr /\u003e"]]