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

روش های عمومی

بولی
برابر است (object obj)
رشته
getContainer ()
 Container in which this resource is placed.
com.google.protobuf.ByteString
getContainerBytes ()
 Container in which this resource is placed.
استاتیک ResourceHandleProto
ResourceHandleProto
نهایی static 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.
List< 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 نهایی
بین المللی
بولی نهایی
Static ResourceHandleProto.Builder
newBuilder (نمونه اولیه ResourceHandleProto )
Static 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 (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
استاتیک ResourceHandleProto
parseFrom (داده های com.google.protobuf.ByteString)
استاتیک ResourceHandleProto
parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
استاتیک ResourceHandleProto
parseFrom (داده‌های com.google.protobuf.ByteString، com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ایستا
ResourceHandleProto.Builder
خالی
writeTo (خروجی com.google.protobuf.CodedOutputStream)

روش های ارثی

ثابت ها

نهایی استاتیک عمومی CONTAINER_FIELD_NUMBER

مقدار ثابت: 2

DEVICE_FIELD_NUMBER نهایی استاتیک عمومی

ارزش ثابت: 1

نهایی استاتیک عمومی DTYPES_AND_SHAPES_FIELD_NUMBER

مقدار ثابت: 6

نهایی استاتیک عمومی HASH_CODE_FIELD_NUMBER

ارزش ثابت: 4

نهایی استاتیک عمومی MAYBE_TYPE_NAME_FIELD_NUMBER

ارزش ثابت: 5

نهایی استاتیک عمومی NAME_FIELD_NUMBER

مقدار ثابت: 3

روش های عمومی

بولین عمومی برابر است (Object Obj)

رشته عمومی getContainer ()

string container = 2;

 Container in which this resource is placed.
 
= 2;

عمومی com.google.protobuf.ByteString getContainerBytes ()

string container = 2;

 Container in which this resource is placed.
 
= 2;

Public Static ResourceHandleProto getDefaultInstance ()

Public ResourceHandleProto getDefaultInstanceForType ()

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

رشته عمومی getDevice ()

دستگاه رشته

 Unique name for the device containing the resource.
 
string device = 1;

عمومی com.google.protobuf.ByteString getDeviceBytes ()

دستگاه رشته

 Unique name for the device containing the resource.
 
string device = 1;

Public ResourceHandleProto.DtypeAndShape getDtypesAndShapes (int index)

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

عمومی 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;

عمومی ResourceHandleProto.DtypeAndShapeOrBuilder getDtypesAndShapesOrBuilder (int index)

 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;

عمومی 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;

عمومی com.google.protobuf.ByteString getNameBytes ()

string name = 3;

 Unique name of this resource.
 
= 3;

عمومی getParserForType ()

عمومی int getSerializedSize ()

عمومی نهایی com.google.protobuf.UnknownFieldSet getUnknownFields ()

هش کد عمومی ()

بولین نهایی عمومی isInitialized ()

عمومی استاتیک ResourceHandleProto.Builder newBuilder (نمونه اولیه ResourceHandleProto )

عمومی استاتیک ResourceHandleProto.Builder newBuilder ()

public ResourceHandleProto.Builder newBuilderForType ()

Public Static ResourceHandleProto parseDelimitedFrom (ورودی جریان ورودی)

پرتاب می کند
IOException

Public Static ResourceHandleProto parseDelimitedFrom (ورودی InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک ResourceHandleProto parseFrom (داده ByteBuffer)

پرتاب می کند
InvalidProtocolBufferException

Public Static ResourceHandleProto parseFrom (com.google.protobuf.CodedInputStream ورودی، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

عمومی استاتیک ResourceHandleProto parseFrom (داده های ByteBuffer، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

public static ResourceHandleProto parseFrom (ورودی com.google.protobuf.CodedInputStream)

پرتاب می کند
IOException

عمومی استاتیک ResourceHandleProto parseFrom (بایت[] داده، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

عمومی استاتیک ResourceHandleProto parseFrom (داده های com.google.protobuf.ByteString)

پرتاب می کند
InvalidProtocolBufferException

Public Static ResourceHandleProto parseFrom (ورودی InputStream، com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
IOException

Public Static ResourceHandleProto parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

پرتاب می کند
InvalidProtocolBufferException

استاتیک عمومی تجزیه کننده ()

عمومی ResourceHandleProto.Builder toBuilder ()

public void writeTo (خروجی com.google.protobuf.CodedOutputStream)

پرتاب می کند
IOException