DebuggedDeviceOrBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Known Indirect Subclasses
|
Public Methods
abstract
int
|
|
abstract
String
|
|
abstract
com.google.protobuf.ByteString
|
|
Public Methods
public
abstract
int
getDeviceId
()
A debugger-generated ID for the device. Guaranteed to be unique within
the scope of the debugged TensorFlow program, including single-host and
multi-host settings.
TODO(cais): Test the uniqueness guarantee in multi-host settings.
int32 device_id = 2;
public
abstract
String
getDeviceName
()
Name of the device.
string device_name = 1;
public
abstract
com.google.protobuf.ByteString
getDeviceNameBytes
()
Name of the device.
string device_name = 1;
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,["# DebuggedDeviceOrBuilder\n\npublic interface **DebuggedDeviceOrBuilder** \n\n|---|---|---|\n| Known Indirect Subclasses [DebuggedDevice](/jvm/api_docs/java/org/tensorflow/proto/util/DebuggedDevice), [DebuggedDevice.Builder](/jvm/api_docs/java/org/tensorflow/proto/util/DebuggedDevice.Builder) |-----------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------| | [DebuggedDevice](/jvm/api_docs/java/org/tensorflow/proto/util/DebuggedDevice) | ``` A device on which ops and/or tensors are instrumented by the debugger. ``` | | [DebuggedDevice.Builder](/jvm/api_docs/java/org/tensorflow/proto/util/DebuggedDevice.Builder) | ``` A device on which ops and/or tensors are instrumented by the debugger. ``` | |||\n\n### Public Methods\n\n|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------|\n| abstract int | [getDeviceId](/jvm/api_docs/java/org/tensorflow/proto/util/DebuggedDeviceOrBuilder#getDeviceId())() ``` A debugger-generated ID for the device. ``` |\n| abstract String | [getDeviceName](/jvm/api_docs/java/org/tensorflow/proto/util/DebuggedDeviceOrBuilder#getDeviceName())() ``` Name of the device. ``` |\n| abstract com.google.protobuf.ByteString | [getDeviceNameBytes](/jvm/api_docs/java/org/tensorflow/proto/util/DebuggedDeviceOrBuilder#getDeviceNameBytes())() ``` Name of the device. ``` |\n\nPublic Methods\n--------------\n\n#### public abstract int\n**getDeviceId**\n()\n\n\u003cbr /\u003e\n\n```\n A debugger-generated ID for the device. Guaranteed to be unique within\n the scope of the debugged TensorFlow program, including single-host and\n multi-host settings.\n TODO(cais): Test the uniqueness guarantee in multi-host settings.\n \n```\n`int32 device_id = 2;`\n\n\u003cbr /\u003e\n\n#### public abstract String\n**getDeviceName**\n()\n\n\u003cbr /\u003e\n\n```\n Name of the device.\n \n```\n`string device_name = 1;`\n\n\u003cbr /\u003e\n\n#### public abstract com.google.protobuf.ByteString\n**getDeviceNameBytes**\n()\n\n\u003cbr /\u003e\n\n```\n Name of the device.\n \n```\n`string device_name = 1;`\n\n\u003cbr /\u003e"]]