SavedResource.Builder

מחלקה סופית סטטית ציבורית 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, ערך אובייקט)
שמור משאב
שמור משאב
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, ערך אובייקט)

בנייה ציבורית של SavedResource ()

public SavedResource buildPartial ()

ציבורי SavedResource.Builder נקה ()

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 SavedResource.Builder clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor)

public SavedResource.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

שיבוט ציבורי SavedResource.Builder ()

Public SavedResource getDefaultInstanceForType ()

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 SavedResource.Builder mergeFrom (com.google.protobuf.Message אחר)

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;

Public SavedResource.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

Public SavedResource.Builder setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס int, ערך אובייקט)

Public final SavedResource.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)