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 فیلد، مقدار Object)
منبع ذخیره شده
منبع ذخیره شده
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
منبع ذخیره شده
نهایی 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 other)
نهایی SavedResource.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)
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 فیلد، مقدار Object)
SavedResource.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor، نمایه int، مقدار Object)
نهایی SavedResource.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

روش های ارثی

روش های عمومی

عمومی SavedResource.Builder addRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor، مقدار Object)

ساخت عمومی SavedResource ()

عمومی SavedResource buildPartial ()

عمومی SavedResource.Builder پاک ()

عمومی 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)

عمومی SavedResource.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

کلون عمومی SavedResource.Builder ()

عمومی SavedResource getDefaultInstanceForType ()

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()

عمومی 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;

عمومی 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;

بولین نهایی عمومی isInitialized ()

عمومی SavedResource.Builder mergeFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی SavedResource.Builder mergeFrom (com.google.protobuf.Message other)

عمومی نهایی SavedResource.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)

عمومی 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;

عمومی 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 setField SavedResource.Builder (com.google.protobuf.Descriptors.FieldDescriptor فیلد، مقدار Object)

public SavedResource.Builder setRepeatedField (فیلد com.google.protobuf.Descriptors.FieldDescriptor, int index, Object value)

نهایی عمومی SavedResource.Builder setUnknownFields (com.google.protobuf.UnknownFieldSetknownFields)