genel son sınıf 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 İç İçe Sınıflar
| sınıf | ResourceHandleProto.Builder | Protocol buffer representing a handle to a tensorflow resource. | |
| sınıf | ResourceHandleProto.DtypeAndShape | Protocol buffer representing a pair of (data type, tensor shape). | |
| arayüz | ResourceHandleProto.DtypeAndShapeOrBuilder | ||
Sabitler
| int | CONTAINER_FIELD_NUMBER | |
| int | DEVICE_FIELD_NUMBER | |
| int | DTYPES_AND_SHAPES_FIELD_NUMBER | |
| int | HASH_CODE_FIELD_NUMBER | |
| int | MAYBE_TYPE_NAME_FIELD_NUMBER | |
| int | NAME_FIELD_NUMBER |
Genel Yöntemler
| boolean | eşittir (Nesne nesnesi) |
| Sicim | getContainer () Container in which this resource is placed. |
| com.google.protobuf.ByteString | getContainerBytes () Container in which this resource is placed. |
| statik ResourceHandleProto | |
| KaynakHandleProto | |
| final statik com.google.protobuf.Descriptors.Descriptor | |
| Sicim | getCihaz () 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 dizini) Data types and shapes for the underlying resource. |
| int | getDtypesAndShapesCount () Data types and shapes for the underlying resource. |
| Liste< ResourceHandleProto.DtypeAndShape > | getDtypesAndShapesList () Data types and shapes for the underlying resource. |
| ResourceHandleProto.DtypeAndShapeOrBuilder | getDtypesAndShapesOrBuilder (int dizini) Data types and shapes for the underlying resource. |
| Liste<? ResourceHandleProto.DtypeAndShapeOrBuilder'ı genişletir > | getDtypesAndShapesOrBuilderList () Data types and shapes for the underlying resource. |
| uzun | getHashCode () Hash code for the type of the resource. |
| Sicim | 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. |
| Sicim | getName () Unique name of this resource. |
| com.google.protobuf.ByteString | getNameBytes () Unique name of this resource. |
| int | |
| final com.google.protobuf.UnknownFieldSet | |
| int | hashKodu () |
| son boole değeri | Başlatıldı () |
| statik ResourceHandleProto.Builder | newBuilder ( ResourceHandleProto prototipi) |
| statik ResourceHandleProto.Builder | yeniİnşaatçı () |
| ResourceHandleProto.Builder | |
| statik ResourceHandleProto | parseDelimitedFrom (InputStream girişi) |
| statik ResourceHandleProto | parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik ResourceHandleProto | parseFrom (ByteBuffer verileri) |
| statik ResourceHandleProto | parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik ResourceHandleProto | parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik ResourceHandleProto | ayrıştırmaFrom (com.google.protobuf.CodedInputStream girişi) |
| statik ResourceHandleProto | parseFrom (byte[] verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik ResourceHandleProto | ayrıştırmaFrom (com.google.protobuf.ByteString verileri) |
| statik ResourceHandleProto | parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik ResourceHandleProto | parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
| statik | ayrıştırıcı () |
| ResourceHandleProto.Builder | inşaatçıya () |
| geçersiz | writeTo (com.google.protobuf.CodedOutputStream çıkışı) |
Kalıtsal Yöntemler
Sabitler
genel statik final int CONTAINER_FIELD_NUMBER
Sabit Değer: 2
genel statik final int DEVICE_FIELD_NUMBER
Sabit Değer: 1
genel statik final int DTYPES_AND_SHAPES_FIELD_NUMBER
Sabit Değer: 6
genel statik final int HASH_CODE_FIELD_NUMBER
Sabit Değer: 4
genel statik final int MAYBE_TYPE_NAME_FIELD_NUMBER
Sabit Değer: 5
genel statik final int NAME_FIELD_NUMBER
Sabit Değer: 3
Genel Yöntemler
genel boole eşittir (Object obj)
genel Dize 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 ()
genel Dize 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 dizini)
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; genel Liste< ResourceHandleProto.DtypeAndShape > getDtypesAndShapesList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; public ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder (int dizini)
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; genel liste<? ResourceHandleProto.DtypeAndShapeOrBuilder'ı genişletir > getDtypesAndShapesOrBuilderList ()
Data types and shapes for the underlying resource.
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6; genel uzun 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; public String 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; genel Dize getName ()
Unique name of this resource.
string name = 3; public com.google.protobuf.ByteString getNameBytes ()
Unique name of this resource.
string name = 3; halk getParserForType ()
public int getSerializedSize ()
genel final com.google.protobuf.UnknownFieldSet getUnknownFields ()
genel int hashCode ()
genel final boolean isInitialized ()
genel statik ResourceHandleProto parseDelimitedFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| IOİstisnası |
|---|
genel statik ResourceHandleProto parseFrom (ByteBuffer verileri)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik ResourceHandleProto parseFrom (com.google.protobuf.CodedInputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| IOİstisnası |
|---|
genel statik ResourceHandleProto parseFrom (ByteBuffer verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik ResourceHandleProto parseFrom (com.google.protobuf.CodedInputStream girişi)
Atar
| IOİstisnası |
|---|
genel statik ResourceHandleProto parseFrom (bayt[] veri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik ResourceHandleProto ayrıştırmaFrom (com.google.protobuf.ByteString verileri)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik ResourceHandleProto parseFrom (InputStream girişi, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| IOİstisnası |
|---|
genel statik ResourceHandleProto parseFrom (com.google.protobuf.ByteString verileri, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Atar
| Geçersiz ProtokolBufferException |
|---|
genel statik ayrıştırıcı ()
genel geçersiz writeTo (com.google.protobuf.CodedOutputStream çıkışı)
Atar
| IOİstisnası |
|---|