publiczna klasa końcowa ResourceHandleProto
Protocol buffer representing a handle to a tensorflow resource. Handles are not valid across executions, but can be serialized back and forth from within a single run.
tensorflow.ResourceHandleProto Klasy zagnieżdżone
| klasa | ResourceHandleProto.Builder | Protocol buffer representing a handle to a tensorflow resource. | |
| klasa | ResourceHandleProto.DtypeAndShape | Protocol buffer representing a pair of (data type, tensor shape). | |
| interfejs | ResourceHandleProto.DtypeAndShapeOrBuilder | ||
Stałe
| wew | CONTAINER_FIELD_NUMBER | |
| wew | DEVICE_FIELD_NUMBER | |
| wew | DTYPES_AND_SHAPES_FIELD_NUMBER | |
| wew | HASH_CODE_FIELD_NUMBER | |
| wew | MAYBE_TYPE_NAME_FIELD_NUMBER | |
| wew | NAME_FIELD_NUMBER |
Metody publiczne
| wartość logiczna | równa się (obiekt obiektu) |
| Smyczkowy | pobierz kontener () Container in which this resource is placed. |
| com.google.protobuf.ByteString | getContainerBytes () Container in which this resource is placed. |
| statyczny ResourceHandleProto | |
| ResourceHandleProto | |
| końcowy statyczny com.google.protobuf.Descriptors.Descriptor | |
| Smyczkowy | pobierz urządzenie () Unique name for the device containing the resource. |
| com.google.protobuf.ByteString | getDeviceBytes () Unique name for the device containing the resource. |
| ResourceHandleProto.DtypeAndShape | getDtypesAndShapes (indeks int) Data types and shapes for the underlying resource. |
| wew | getDtypesAndShapesCount () Data types and shapes for the underlying resource. |
| Lista< ResourceHandleProto.DtypeAndShape > | getDtypesAndShapesList () Data types and shapes for the underlying resource. |
| ResourceHandleProto.DtypeAndShapeOrBuilder | getDtypesAndShapesOrBuilder (indeks int) Data types and shapes for the underlying resource. |
| Lista<? rozszerza ResourceHandleProto.DtypeAndShapeOrBuilder > | getDtypesAndShapesOrBuilderList () Data types and shapes for the underlying resource. |
| długi | pobierzHashCode () Hash code for the type of the resource. |
| Smyczkowy | getMaybeTypeName () For debug-only, the name of the type pointed to by this handle, if available. |
| com.google.protobuf.ByteString | getMaybeTypeNameBytes () For debug-only, the name of the type pointed to by this handle, if available. |
| Smyczkowy | pobierz nazwę () Unique name of this resource. |
| com.google.protobuf.ByteString | getNameBytes () Unique name of this resource. |
| wew | |
| końcowy com.google.protobuf.UnknownFieldSet | |
| wew | hashCode () |
| końcowa wartość logiczna | |
| statyczny ResourceHandleProto.Builder | newBuilder (prototyp ResourceHandleProto ) |
| statyczny ResourceHandleProto.Builder | nowyBuilder () |
| ResourceHandleProto.Builder | |
| statyczny ResourceHandleProto | parseDelimitedFrom (wejście strumienia wejściowego) |
| statyczny ResourceHandleProto | parseDelimitedFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny ResourceHandleProto | parseFrom (dane ByteBuffer) |
| statyczny ResourceHandleProto | parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny ResourceHandleProto | parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny ResourceHandleProto | parseFrom (wejście com.google.protobuf.CodedInputStream) |
| statyczny ResourceHandleProto | parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry) |
| statyczny ResourceHandleProto | parseFrom (dane com.google.protobuf.ByteString) |
| statyczny ResourceHandleProto | parseFrom (dane wejścioweInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny ResourceHandleProto | parseFrom (dane com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| statyczny | parser () |
| ResourceHandleProto.Builder | |
| próżnia | writeTo (wyjście com.google.protobuf.CodedOutputStream) |
Metody dziedziczone
Stałe
publiczny statyczny końcowy int CONTAINER_FIELD_NUMBER
Wartość stała: 2
publiczny statyczny końcowy int DEVICE_FIELD_NUMBER
Wartość stała: 1
publiczny statyczny końcowy int DTYPES_AND_SHAPES_FIELD_NUMBER
Wartość stała: 6
publiczny statyczny końcowy int HASH_CODE_FIELD_NUMBER
Wartość stała: 4
publiczny statyczny końcowy int MAYBE_TYPE_NAME_FIELD_NUMBER
Wartość stała: 5
publiczny statyczny końcowy int NAME_FIELD_NUMBER
Wartość stała: 3
Metody publiczne
publiczna wartość logiczna równa się (obiekt obiektu)
publiczny ciąg getContainer ()
Container in which this resource is placed.
string container = 2; public com.google.protobuf.ByteString getContainerBytes ()
Container in which this resource is placed.
string container = 2; public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String getDevice ()
Unique name for the device containing the resource.
string device = 1; public com.google.protobuf.ByteString getDeviceBytes ()
Unique name for the device containing the resource.
string device = 1; publiczny ResourceHandleProto.DtypeAndShape getDtypesAndShapes (indeks int)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; public int getDtypesAndShapesCount ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; public List< ResourceHandleProto.DtypeAndShape > getDtypesAndShapesList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; public ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder (indeks int)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; lista publiczna<? rozszerza ResourceHandleProto.DtypeAndShapeOrBuilder > getDtypesAndShapesOrBuilderList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; publiczny długi getHashCode ()
Hash code for the type of the resource. Is only valid in the same device and in the same execution.
uint64 hash_code = 4; publiczny ciąg getMaybeTypeName ()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5; public com.google.protobuf.ByteString getMaybeTypeNameBytes ()
For debug-only, the name of the type pointed to by this handle, if available.
string maybe_type_name = 5; public String getName ()
Unique name of this resource.
string name = 3; public com.google.protobuf.ByteString getNameBytes ()
Unique name of this resource.
string name = 3; publiczny getParserForType ()
publiczny int getSerializedSize ()
publiczny finał com.google.protobuf.UnknownFieldSet getUnknownFields ()
publiczny int hashCode ()
publiczna końcowa wartość logiczna isInitialized ()
publiczny statyczny ResourceHandleProto parseDelimitedFrom (wejście strumienia wejściowego)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny ResourceHandleProto parseDelimitedFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny ResourceHandleProto parseFrom (dane ByteBuffer)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny ResourceHandleProto parseFrom (wejście com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny ResourceHandleProto parseFrom (dane ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny ResourceHandleProto parseFrom (wejście com.google.protobuf.CodedInputStream)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny ResourceHandleProto parseFrom (bajt [] dane, com.google.protobuf.ExtensionRegistryLite rozszerzenieRegistry)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny ResourceHandleProto parseFrom (dane com.google.protobuf.ByteString)
Rzuca
| Nieprawidłowy wyjątekProtocolBufferException |
|---|
publiczny statyczny ResourceHandleProto parseFrom (dane wejściowe wejściowe, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Rzuca
| Wyjątek IO |
|---|
publiczny statyczny ResourceHandleProto 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 |
|---|