Package org.tensorflow.distruntime
Interface ListDevicesRequestOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListDevicesRequest
,ListDevicesRequest.Builder
public interface ListDevicesRequestOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getSessionHandle()
Optional: session_handle must be returned by a CreateSession call to the same master service.org.nd4j.shade.protobuf.ByteString
getSessionHandleBytes()
Optional: session_handle must be returned by a CreateSession call to the same master service.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSessionHandle
String getSessionHandle()
Optional: session_handle must be returned by a CreateSession call to the same master service. When session_handle is empty, the ClusterSpec provided when the master was started is used to compute the available devices. If the session_handle is provided but not recognized, an error is returned. Finally, if a valid session_handle is provided, the cluster configuration for that session is used when computing the response.
string session_handle = 1;
- Returns:
- The sessionHandle.
-
getSessionHandleBytes
org.nd4j.shade.protobuf.ByteString getSessionHandleBytes()
Optional: session_handle must be returned by a CreateSession call to the same master service. When session_handle is empty, the ClusterSpec provided when the master was started is used to compute the available devices. If the session_handle is provided but not recognized, an error is returned. Finally, if a valid session_handle is provided, the cluster configuration for that session is used when computing the response.
string session_handle = 1;
- Returns:
- The bytes for sessionHandle.
-
-