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.
 
tensorflow.ResourceHandleProto מסוג Protobuf

כיתות מקוננות

מעמד 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

קבועים

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

שיטות ציבוריות

בוליאני
שווה (Object obj)
חוּט
getContainer ()
 Container in which this resource is placed.
com.google.protobuf.ByteString
getContainerBytes ()
 Container in which this resource is placed.
סטטי ResourceHandleProto
ResourceHandleProto
final 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 index)
 Data types and shapes for the underlying resource.
int
getDtypesAndShapesCount ()
 Data types and shapes for the underlying resource.
רשימה< ResourceHandleProto.DtypeAndShape >
getDtypesAndShapesList ()
 Data types and shapes for the underlying resource.
ResourceHandleProto.DtypeAndShapeOrBuilder
getDtypesAndShapesOrBuilder (int index)
 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.
int
final com.google.protobuf.UnknownFieldSet
int
בוליאנית סופית
סטטי ResourceHandleProto.Builder
newBuilder (אב-טיפוס ResourceHandleProto )
סטטי ResourceHandleProto.Builder
ResourceHandleProto.Builder
סטטי ResourceHandleProto
parseDelimitedFrom (קלט InputStream)
סטטי 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 (קלט 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 ()

 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 ()

מחרוזת ציבורית 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 index)

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

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;

מחרוזת ציבורית 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 ()

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

public int hashCode ()

בוליאני הסופי הציבורי הוא אתחול ()

ציבורי סטטי ResourceHandleProto.Builder newBuilder (אב-טיפוס ResourceHandleProto )

public static ResourceHandleProto.Builder newBuilder ()

public ResourceHandleProto.Builder newBuilderForType ()

public static ResourceHandleProto parseDelimitedFrom (קלט InputStream)

זורק
IOException

public static ResourceHandleProto parseDelimitedFrom (קלט InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public static ResourceHandleProto parseFrom (נתוני ByteBuffer)

זורק
InvalidProtocolBufferException

public static ResourceHandleProto parseFrom (com.google.protobuf.CodedInputStream קלט, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public static ResourceHandleProto parseFrom (נתוני ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

public static ResourceHandleProto parseFrom (קלט com.google.protobuf.CodedInputStream)

זורק
IOException

public static ResourceHandleProto parseFrom (נתוני byte[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

public static 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, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
InvalidProtocolBufferException

סטטי ציבורי מנתח ()

public ResourceHandleProto.Builder toBuilder ()

public void writeTo (פלט com.google.protobuf.CodedOutputStream)

זורק
IOException