publiczna klasa końcowa SavedResource
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.
tensorflow.SavedResource Klasy zagnieżdżone
| klasa | SavedResource.Builder | A SavedResource represents a TF object that holds state during its lifetime. | |
Stałe
| wew | DEVICE_FIELD_NUMBER |
Metody publiczne
| wartość logiczna | równa się (obiekt obiektu) |
| statyczny zapisany zasób | |
| Zapisany zasób | |
| końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
| Smyczkowy | pobierz urządzenie () 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. |
| wew | |
| końcowy com.google.protobuf.UnknownFieldSet | |
| wew | hashCode () |
| końcowa wartość logiczna | |
| statyczny SavedResource.Builder | |
| statyczny SavedResource.Builder | newBuilder (prototyp SavedResource ) |
| SavedResource.Builder | |
| statyczny zapisany zasób | parseDelimitedFrom (wejście strumienia wejściowego) |
| statyczny zapisany zasób | parseDelimitedFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny zapisany zasób | parseFrom (dane ByteBuffer) |
| statyczny zapisany zasób | parseFrom (wejście com.google.protobuf.CodedInputStream, rejestr rozszerzenia com.google.protobuf.ExtensionRegistryLite) |
| statyczny zapisany zasób | parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny zapisany zasób | parseFrom (wejście com.google.protobuf.CodedInputStream) |
| statyczny zapisany zasób | parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry) |
| statyczny zapisany zasób | parseFrom (dane com.google.protobuf.ByteString) |
| statyczny zapisany zasób | parseFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny zapisany zasób | parseFrom (dane com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny | parser () |
| SavedResource.Builder | |
| próżnia | writeTo (wyjście com.google.protobuf.CodedOutputStream) |
Metody dziedziczone
Stałe
publiczny statyczny końcowy int DEVICE_FIELD_NUMBER
Wartość stała: 1
Metody publiczne
publiczna wartość logiczna równa się (obiekt obiektu)
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
publiczny ciąg 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; publiczny getParserForType ()
publiczny int getSerializedSize ()
publiczny finał com.google.protobuf.UnknownFieldSet getUnknownFields ()
publiczny int hashCode ()
publiczna końcowa wartość logiczna isInitialized ()
publiczny statyczny SavedResource parseDelimitedFrom (wejście strumienia wejściowego)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny SavedResource parseDelimitedFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
public static SavedResource parseFrom (dane ByteBuffer)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
public static SavedResource parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny SavedResource parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
public static SavedResource parseFrom (wejście com.google.protobuf.CodedInputStream)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny SavedResource parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny SavedResource parseFrom (dane com.google.protobuf.ByteString)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
public static SavedResource parseFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
public static SavedResource parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczna statyka parser ()
public void writeTo (wyjście com.google.protobuf.CodedOutputStream)
Rzuca
| Wyjątek IO |
|---|