ResourceHandleProto

パブリック最終クラス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.
 
Protobuf 型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

パブリックメソッド

ブール値
等しい(オブジェクトオブジェクト)
getコンテナ()
 Container in which this resource is placed.
com.google.protobuf.ByteString
getContainerBytes ()
 Container in which this resource is placed.
静的リソースハンドルプロト
リソースハンドルプロト
最終的な静的 com.google.protobuf.Descriptors.Descriptor
getDevice ()
 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.
長さ
getHashCode ()
 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.
getName ()
 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
静的リソースハンドルプロト
parseDelimitedFrom (InputStream 入力)
静的リソースハンドルプロト
parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的リソースハンドルプロト
parseFrom (ByteBuffer データ)
静的リソースハンドルプロト
parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的リソースハンドルプロト
parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的リソースハンドルプロト
parseFrom (com.google.protobuf.CodedInputStream 入力)
静的リソースハンドルプロト
parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的リソースハンドルプロト
parseFrom (com.google.protobuf.ByteString データ)
静的リソースハンドルプロト
parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的リソースハンドルプロト
parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)
静的
ResourceHandleProto.Builder
空所
writeTo (com.google.protobuf.CodedOutputStream 出力)

継承されたメソッド

定数

public static Final int CONTAINER_FIELD_NUMBER

定数値: 2

パブリック静的最終整数DEVICE_FIELD_NUMBER

定数値: 1

パブリック静的最終整数DTYPES_AND_SHAPES_FIELD_NUMBER

定数値: 6

パブリック静的最終整数HASH_CODE_FIELD_NUMBER

定数値: 4

public static Final int MAYBE_TYPE_NAME_FIELD_NUMBER

定数値: 5

パブリック静的最終整数NAME_FIELD_NUMBER

定数値: 3

パブリックメソッド

public booleanに等しい(オブジェクト obj)

パブリック String 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 ResourceHandleProto getDefaultInstance ()

public ResourceHandleProto getDefaultInstanceForType ()

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

パブリック 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;

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;

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 (int インデックス)

 Data types and shapes for the underlying resource.
 
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;

公開リスト<? extends ResourceHandleProto.DtypeAndShapeOrBuilder > getDtypesAndShapesOrBuilderList ()

 Data types and shapes for the underlying resource.
 
repeated .tensorflow.ResourceHandleProto.DtypeAndShape dtypes_and_shapes = 6;

public long 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;

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;

公共getParserForType ()

public int getSerializedSize ()

public Final com.google.protobuf.UnknownFieldSet getUnknownFields ()

public int hashCode ()

パブリック最終ブール値isInitialized ()

public static ResourceHandleProto.Builder newBuilder ( ResourceHandleProtoプロトタイプ)

public static ResourceHandleProto.Builder newBuilder ()

public ResourceHandleProto.Builder newBuilderForType ()

public static ResourceHandleProto parseDelimitedFrom (InputStream 入力)

投げる
IO例外

public static ResourceHandleProto parseDelimitedFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static ResourceHandleProto parseFrom (ByteBuffer データ)

投げる
無効なプロトコルバッファ例外

public static ResourceHandleProto parseFrom (com.google.protobuf.CodedInputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static ResourceHandleProto parseFrom (ByteBuffer データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static ResourceHandleProto parseFrom (com.google.protobuf.CodedInputStream 入力)

投げる
IO例外

public static ResourceHandleProto parseFrom (byte[] データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

public static ResourceHandleProto parseFrom (com.google.protobuf.ByteString データ)

投げる
無効なプロトコルバッファ例外

public static ResourceHandleProto parseFrom (InputStream 入力、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
IO例外

public static ResourceHandleProto parseFrom (com.google.protobuf.ByteString データ、com.google.protobuf.ExtensionRegistryLite extensionRegistry)

投げる
無効なプロトコルバッファ例外

パブリック静的パーサー()

public ResourceHandleProto.Builder toBuilder ()

public void writeTo (com.google.protobuf.CodedOutputStream 出力)

投げる
IO例外