публичный финальный класс 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 Вложенные классы
| сорт | ResourceHandleProto.Builder | Protocol buffer representing a handle to a tensorflow resource. | |
| сорт | ResourceHandleProto.DtypeAndShape | Protocol buffer representing a pair of (data type, tensor shape). | |
| интерфейс | ResourceHandleProto.DtypeAndShapeOrBuilder | ||
Константы
| интервал | CONTAINER_FIELD_NUMBER | |
| интервал | DEVICE_FIELD_NUMBER | |
| интервал | DTYPES_AND_SHAPES_FIELD_NUMBER | |
| интервал | HASH_CODE_FIELD_NUMBER | |
| интервал | MAYBE_TYPE_NAME_FIELD_NUMBER | |
| интервал | NAME_FIELD_NUMBER |
Публичные методы
| логическое значение | равно (Объект obj) |
| Нить | получитьКонтейнер () Container in which this resource is placed. |
| com.google.protobuf.ByteString | getContainerBytes () Container in which this resource is placed. |
| статический ResourceHandleProto | |
| РесурсХандлеПрото | |
| окончательный статический com.google.protobuf.Descriptors.Descriptor | |
| Нить | получитьУстройство () Unique name for the device containing the resource. |
| com.google.protobuf.ByteString | getDeviceBytes () Unique name for the device containing the resource. |
| ResourceHandleProto.DtypeAndShape | getDtypesAndShapes (индекс int) Data types and shapes for the underlying resource. |
| интервал | getDtypesAndShapesCount () Data types and shapes for the underlying resource. |
| Список < ResourceHandleProto.DtypeAndShape > | getDtypesAndShapesList () Data types and shapes for the underlying resource. |
| ResourceHandleProto.DtypeAndShapeOrBuilder | getDtypesAndShapesOrBuilder (индекс int) Data types and shapes for the underlying resource. |
| Список <? расширяет ResourceHandleProto.DtypeAndShapeOrBuilder > | getDtypesAndShapesOrBuilderList () Data types and shapes for the underlying resource. |
| длинный | получитьХэшКод () Hash code for the type of the resource. |
| Нить | 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. |
| Нить | получитьИмя () Unique name of this resource. |
| com.google.protobuf.ByteString | getNameBytes () Unique name of this resource. |
| интервал | |
| окончательный com.google.protobuf.UnknownFieldSet | |
| интервал | хэш-код () |
| последнее логическое значение | |
| статический ResourceHandleProto.Builder | newBuilder (прототип ResourceHandleProto ) |
| статический ResourceHandleProto.Builder | |
| ResourceHandleProto.Builder | |
| статический ResourceHandleProto | parseDelimitedFrom (входной поток) |
| статический ResourceHandleProto | parseDelimitedFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статический ResourceHandleProto | parseFrom (данные ByteBuffer) |
| статический ResourceHandleProto | parseFrom (ввод com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статический ResourceHandleProto | parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статический ResourceHandleProto | parseFrom (вход com.google.protobuf.CodedInputStream) |
| статический ResourceHandleProto | parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статический ResourceHandleProto | parseFrom (данные com.google.protobuf.ByteString) |
| статический ResourceHandleProto | parseFrom (ввод входного потока, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статический ResourceHandleProto | parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
| статический | парсер () |
| ResourceHandleProto.Builder | toBuilder () |
| пустота | writeTo (вывод com.google.protobuf.CodedOutputStream) |
Унаследованные методы
Константы
общедоступный статический окончательный int CONTAINER_FIELD_NUMBER
Постоянное значение: 2
общедоступный статический финал int DEVICE_FIELD_NUMBER
Постоянное значение: 1
общедоступный статический окончательный int DTYPES_AND_SHAPES_FIELD_NUMBER
Постоянное значение: 6
общедоступный статический окончательный int HASH_CODE_FIELD_NUMBER
Постоянное значение: 4
общедоступный статический окончательный int MAYBE_TYPE_NAME_FIELD_NUMBER
Постоянное значение: 5
общедоступный статический окончательный int NAME_FIELD_NUMBER
Постоянное значение: 3
Публичные методы
общедоступное логическое значение равно (Object obj)
публичная строка 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; общедоступный статический окончательный com.google.protobuf.Descriptors.Descriptor getDescriptor ()
публичная строка 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; public ResourceHandleProto.DtypeAndShape getDtypesAndShapes (индекс 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; общедоступный список < ResourceHandleProto.DtypeAndShape > getDtypesAndShapesList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; public ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder (индекс int)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; общедоступный список<? расширяет ResourceHandleProto.DtypeAndShapeOrBuilder > getDtypesAndShapesOrBuilderList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; публичный длинный 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; общедоступная строка 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; общедоступная строка getName ()
Unique name of this resource.
string name = 3; public com.google.protobuf.ByteString getNameBytes ()
Unique name of this resource.
string name = 3; общественный getParserForType ()
public int getSerializedSize ()
публичный финал com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
публичное окончательное логическое значение isInitialized ()
общедоступный статический ResourceHandleProto parseDelimitedFrom (вход InputStream)
Броски
| Исключение IO |
|---|
общедоступный статический ResourceHandleProto parseDelimitedFrom (вход InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO |
|---|
общедоступный статический ResourceHandleProto parseFrom (данные ByteBuffer)
Броски
| Инвалидпротоколбуфферисключение |
|---|
общедоступный статический анализ ResourceHandleProto (вход com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO |
|---|
общедоступный статический ResourceHandleProto parseFrom (данные ByteBuffer, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Инвалидпротоколбуфферисключение |
|---|
общедоступный статический ResourceHandleProto parseFrom (вход com.google.protobuf.CodedInputStream)
Броски
| Исключение IO |
|---|
общедоступный статический ResourceHandleProto parseFrom (данные byte[], com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Инвалидпротоколбуфферисключение |
|---|
общедоступный статический ResourceHandleProto parseFrom (данные com.google.protobuf.ByteString)
Броски
| Инвалидпротоколбуфферисключение |
|---|
общедоступный статический ResourceHandleProto parseFrom (ввод InputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Исключение IO |
|---|
общедоступный статический ResourceHandleProto parseFrom (данные com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Броски
| Инвалидпротоколбуфферисключение |
|---|
общественный статический парсер ()
public void writeTo (вывод com.google.protobuf.CodedOutputStream)
Броски
| Исключение IO |
|---|