Package tensorflow
Interface SavedObjectGraphOuterClass.SavedResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SavedObjectGraphOuterClass.SavedResource,SavedObjectGraphOuterClass.SavedResource.Builder
- Enclosing class:
SavedObjectGraphOuterClass
public static interface SavedObjectGraphOuterClass.SavedResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA device specification indicating a required placement for the resource creation function, e.g.com.google.protobuf.ByteStringA device specification indicating a required placement for the resource creation function, e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDevice
String getDevice()A device specification indicating a required placement for the resource creation function, e.g. "CPU". An empty string allows the user to select a device.
string device = 1;- Returns:
- The device.
-
getDeviceBytes
com.google.protobuf.ByteString getDeviceBytes()A device specification indicating a required placement for the resource creation function, e.g. "CPU". An empty string allows the user to select a device.
string device = 1;- Returns:
- The bytes for device.
-