SavedResource.Builder

kelas akhir statis publik 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.
 
Tipe protobuf tensorflow.SavedResource

Metode Publik

SavedResource.Builder
addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
Sumber Daya Tersimpan
Sumber Daya Tersimpan
SavedResource.Builder
jernih ()
SavedResource.Builder
hapus Perangkat ()
 A device specification indicating a required placement for the resource
 creation function, e.g.
SavedResource.Builder
clearField (bidang com.google.protobuf.Descriptors.FieldDescriptor)
SavedResource.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor salah satu)
SavedResource.Builder
klon ()
Sumber Daya Tersimpan
com.google.protobuf.Descriptors.Descriptor statis terakhir
com.google.protobuf.Descriptors.Descriptor
Rangkaian
dapatkan Perangkat ()
 A device specification indicating a required placement for the resource
 creation function, e.g.
com.google.protobuf.ByteString
dapatkanDeviceBytes ()
 A device specification indicating a required placement for the resource
 creation function, e.g.
boolean terakhir
SavedResource.Builder
mergeFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
SavedResource.Builder
mergeFrom (com.google.protobuf.Pesan lainnya)
terakhir SavedResource.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
SavedResource.Builder
setDevice (Nilai string)
 A device specification indicating a required placement for the resource
 creation function, e.g.
SavedResource.Builder
setDeviceBytes (nilai com.google.protobuf.ByteString)
 A device specification indicating a required placement for the resource
 creation function, e.g.
SavedResource.Builder
setField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)
SavedResource.Builder
setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)
terakhir SavedResource.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Metode Warisan

Metode Publik

public SavedResource.Builder addRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

build SavedResource publik ()

publik SavedResource buildPartial ()

publik SavedResource.Builder jelas ()

SavedResource publik.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 (bidang com.google.protobuf.Descriptors.FieldDescriptor)

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

klon SavedResource.Builder publik ()

publik SavedResource getDefaultInstanceForType ()

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

com.google.protobuf.Descriptors.Descriptor publik getDescriptorForType ()

GetDevice String publik ()

 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 publik 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;

boolean akhir publik diinisialisasi ()

SavedResource.Builder mergeFrom publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Melempar
Pengecualian IO

publik SavedResource.Builder mergeFrom (com.google.protobuf.Message lainnya)

public final SavedResource.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public SavedResource.Builder setDevice (Nilai string)

 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;

publik SavedResource.Builder setDeviceBytes (nilai 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 (bidang com.google.protobuf.Descriptors.FieldDescriptor, Nilai objek)

public SavedResource.Builder setRepeatedField (bidang com.google.protobuf.Descriptors.FieldDescriptor, indeks int, Nilai objek)

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