Package tensorflow.eager
Interface EagerServiceOuterClass.CreateContextResponseOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
EagerServiceOuterClass.CreateContextResponse
,EagerServiceOuterClass.CreateContextResponse.Builder
- Enclosing class:
- EagerServiceOuterClass
public static interface EagerServiceOuterClass.CreateContextResponseOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getContextId()
The ID of the created context.DeviceAttributes
getDeviceAttributes(int index)
List of devices that are locally accessible to the worker.int
getDeviceAttributesCount()
List of devices that are locally accessible to the worker.List<DeviceAttributes>
getDeviceAttributesList()
List of devices that are locally accessible to the worker.DeviceAttributesOrBuilder
getDeviceAttributesOrBuilder(int index)
List of devices that are locally accessible to the worker.List<? extends DeviceAttributesOrBuilder>
getDeviceAttributesOrBuilderList()
List of devices that are locally accessible to the worker.-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getContextId
long getContextId()
The ID of the created context. This is usually a randomly generated number, that will be used to identify the context in future requests to the service. Contexts are not persisted through server restarts.
fixed64 context_id = 1;
- Returns:
- The contextId.
-
getDeviceAttributesList
List<DeviceAttributes> getDeviceAttributesList()
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
getDeviceAttributes
DeviceAttributes getDeviceAttributes(int index)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
getDeviceAttributesCount
int getDeviceAttributesCount()
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
getDeviceAttributesOrBuilderList
List<? extends DeviceAttributesOrBuilder> getDeviceAttributesOrBuilderList()
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
getDeviceAttributesOrBuilder
DeviceAttributesOrBuilder getDeviceAttributesOrBuilder(int index)
List of devices that are locally accessible to the worker.
repeated .tensorflow.DeviceAttributes device_attributes = 2;
-
-