공개 최종 클래스 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 |
공개 방법
부울 | 같음 (객체 객체) |
끈 | getContainer () 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 | |
끈 | 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 (정수 인덱스) 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 (정수 인덱스) 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 | |
정적 ResourceHandleProto | parsDelimitedFrom (InputStream 입력) |
정적 ResourceHandleProto | parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
정적 ResourceHandleProto | parsFrom (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 확장Registry) |
정적 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 | 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
공개 정적 최종 정수 MAYBE_TYPE_NAME_FIELD_NUMBER
상수값: 5
공개 정적 최종 정수 NAME_FIELD_NUMBER
상수값: 3
공개 방법
공개 부울은 (객체 obj) 와 같습니다 .
공개 문자열 getContainer ()
Container in which this resource is placed.
string container = 2;
공개 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;
공개 com.google.protobuf.ByteString getDeviceBytes ()
Unique name for the device containing the resource.
string device = 1;
공개 ResourceHandleProto.DtypeAndShape getDtypesAndShapes (int 인덱스)
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 인덱스)
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 ()
Unique name of this resource.
string name = 3;
공공의 getParserForType ()
공개 int getSerializedSize ()
공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()
공개 int hashCode ()
공개 최종 부울 isInitialized ()
공개 정적 ResourceHandleProto parsDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ResourceHandleProto parseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장Registry)
던지기
IO예외 |
---|
공개 정적 ResourceHandleProto 구문 분석 (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 ResourceHandleProto 구문 분석 (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 ResourceHandleProto parsFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 정적 ResourceHandleProto 구문 분석 (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)
던지기
잘못된프로토콜버퍼예외 |
---|
공개 정적 파서 ()
공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)
던지기
IO예외 |
---|