AvailableDeviceInfoOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
abstract
long
|
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
Public Methods
public
abstract
long
getMemoryLimit
()
Memory capacity in bytes.
int64 memory_limit = 3;
public
abstract
String
getName
()
Device name.
string name = 1;
public
abstract
com.google.protobuf.ByteString
getNameBytes
()
Device name.
string name = 1;
public
abstract
String
getPhysicalDescription
()
The physical description of this device.
string physical_description = 4;
public
abstract
com.google.protobuf.ByteString
getPhysicalDescriptionBytes
()
The physical description of this device.
string physical_description = 4;
public
abstract
String
getType
()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
public
abstract
com.google.protobuf.ByteString
getTypeBytes
()
Device type, e.g. 'CPU' or 'GPU'.
string type = 2;
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,["# AvailableDeviceInfoOrBuilder\n\npublic interface **AvailableDeviceInfoOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [AvailableDeviceInfo](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfo), [AvailableDeviceInfo.Builder](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfo.Builder) |-----------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------| | [AvailableDeviceInfo](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfo) | ``` Matches DeviceAttributes ``` Protobuf type `tensorflow.AvailableDeviceInfo` | | [AvailableDeviceInfo.Builder](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfo.Builder) | ``` Matches DeviceAttributes ``` Protobuf type `tensorflow.AvailableDeviceInfo` | |||\n\n### Public Methods\n\n|-----------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract long | [getMemoryLimit](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfoOrBuilder#getMemoryLimit())() ``` Memory capacity in bytes. ``` |\n| abstract String | [getName](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfoOrBuilder#getName())() ``` Device name. ``` |\n| abstract com.google.protobuf.ByteString | [getNameBytes](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfoOrBuilder#getNameBytes())() ``` Device name. ``` |\n| abstract String | [getPhysicalDescription](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfoOrBuilder#getPhysicalDescription())() ``` The physical description of this device. ``` |\n| abstract com.google.protobuf.ByteString | [getPhysicalDescriptionBytes](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfoOrBuilder#getPhysicalDescriptionBytes())() ``` The physical description of this device. ``` |\n| abstract String | [getType](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfoOrBuilder#getType())() ``` Device type, e.g. ``` |\n| abstract com.google.protobuf.ByteString | [getTypeBytes](/jvm/api_docs/java/org/tensorflow/proto/util/testlog/AvailableDeviceInfoOrBuilder#getTypeBytes())() ``` Device type, e.g. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract long\n**getMemoryLimit**\n()\n\n\u003cbr /\u003e\n\n```\n Memory capacity in bytes.\n \n```\n`int64 memory_limit = 3;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getName**\n()\n\n\u003cbr /\u003e\n\n```\n Device name.\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 Device name.\n \n```\n`string name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getPhysicalDescription**\n()\n\n\u003cbr /\u003e\n\n```\n The physical description of this device.\n \n```\n`string physical_description = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getPhysicalDescriptionBytes**\n()\n\n\u003cbr /\u003e\n\n```\n The physical description of this device.\n \n```\n`string physical_description = 4;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getType**\n()\n\n\u003cbr /\u003e\n\n```\n Device type, e.g. 'CPU' or 'GPU'.\n \n```\n`string type = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getTypeBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Device type, e.g. 'CPU' or 'GPU'.\n \n```\n`string type = 2;`\n\n\u003cbr /\u003e"]]