מחלקה סופית סטטית ציבורית SavedResource.Builder
A SavedResource represents a TF object that holds state during its lifetime. An object of this type can have a reference to a: create_resource() and an initialize() function.סוג Protobuf
tensorflow.SavedResource
שיטות ציבוריות
SavedResource.Builder | addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
שמור משאב | לבנות () |
שמור משאב | buildPartial () |
SavedResource.Builder | ברור () |
SavedResource.Builder | clearDevice () A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor) |
SavedResource.Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SavedResource.Builder | שיבוט () |
שמור משאב | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
חוּט | getDevice () A device specification indicating a required placement for the resource creation function, e.g. |
com.google.protobuf.ByteString | getDeviceBytes () A device specification indicating a required placement for the resource creation function, e.g. |
בוליאנית סופית | |
SavedResource.Builder | mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SavedResource.Builder | mergeFrom (com.google.protobuf.Message אחר) |
Final SavedResource.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
SavedResource.Builder | setDevice (ערך מחרוזת) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setDeviceBytes (ערך com.google.protobuf.ByteString) A device specification indicating a required placement for the resource creation function, e.g. |
SavedResource.Builder | setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט) |
SavedResource.Builder | setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט) |
Final SavedResource.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
שיטות בירושה
שיטות ציבוריות
Public SavedResource.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
public SavedResource.Builder clearDevice ()
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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
מחרוזת ציבורית 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;
public 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;
בוליאני הסופי הציבורי הוא אתחול ()
public SavedResource.Builder mergeFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
זורק
IOException |
---|
public final SavedResource.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public SavedResource.Builder setDevice (ערך מחרוזת)
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;
Public SavedResource.Builder setDeviceBytes (ערך com.google.protobuf.ByteString)
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;