KernelDef

공개 최종 클래스 KernelDef

Protobuf 유형 tensorflow.KernelDef

중첩 클래스

수업 KernelDef.AttrConstraint Protobuf 유형 tensorflow.KernelDef.AttrConstraint
상호 작용 KernelDef.AttrConstraintOrBuilder
수업 커널Def.Builder Protobuf 유형 tensorflow.KernelDef

상수

정수 CONSTRAINT_FIELD_NUMBER
정수 DEVICE_TYPE_FIELD_NUMBER
정수 HOST_MEMORY_ARG_FIELD_NUMBER
정수 LABEL_FIELD_NUMBER
정수 OP_FIELD_NUMBER
정수 PRIORITY_FIELD_NUMBER

공개 방법

부울
같음 (객체 객체)
KernelDef.AttrConstraint
getConstraint (정수 인덱스)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
정수
getConstraintCount ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
목록< KernelDef.AttrConstraint >
getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
KernelDef.AttrConstraintOrBuilder
getConstraintOrBuilder (정수 인덱스)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
목록<? KernelDef.AttrConstraintOrBuilder 확장 >
getConstraintOrBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
정적 커널 정의
커널 정의
최종 정적 com.google.protobuf.Descriptors.Descriptor
getDeviceType ()
 Type of device this kernel runs on.
com.google.protobuf.ByteString
getDeviceTypeBytes ()
 Type of device this kernel runs on.
getHostMemoryArg (정수 인덱스)
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
com.google.protobuf.ByteString
getHostMemoryArgBytes (정수 인덱스)
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
정수
getHostMemoryArgCount ()
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
com.google.protobuf.ProtocolStringList
getHostMemoryArgList ()
 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
getLabel ()
 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
com.google.protobuf.ByteString
getLabelBytes ()
 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
getOp ()
 Must match the name of an Op.
com.google.protobuf.ByteString
getOpBytes ()
 Must match the name of an Op.
정수
우선순위 ()
 Prioritization of kernel amongst different devices.
정수
최종 com.google.protobuf.UnknownFieldSet
정수
최종 부울
정적 KernelDef.Builder
정적 KernelDef.Builder
newBuilder ( KernelDef 프로토타입)
커널Def.Builder
정적 커널 정의
parsDelimitedFrom (InputStream 입력)
정적 커널 정의
parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 커널 정의
parsFrom (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 확장Registry)
정적 커널 정의
ParseFrom (com.google.protobuf.ByteString 데이터)
정적 커널 정의
ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 커널 정의
ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
공전
파서 ()
커널Def.Builder
무효의
writeTo (com.google.protobuf.CodedOutputStream 출력)

상속된 메서드

상수

공개 정적 최종 int CONSTRAINT_FIELD_NUMBER

상수값: 3

공개 정적 최종 int DEVICE_TYPE_FIELD_NUMBER

상수값: 2

공개 정적 최종 int HOST_MEMORY_ARG_FIELD_NUMBER

상수값: 4

공개 정적 최종 int LABEL_FIELD_NUMBER

상수값: 5

공개 정적 최종 정수 OP_FIELD_NUMBER

상수값: 1

공개 정적 최종 int PRIORITY_FIELD_NUMBER

상수값: 6

공개 방법

공개 부울은 (객체 obj)와 같습니다 .

공개 KernelDef.AttrConstraint getConstraint (int 인덱스)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

공개 int getConstraintCount ()

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

공개 목록< KernelDef.AttrConstraint > getConstraintList ()

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

공개 KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (int 인덱스)

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

공개 목록<? KernelDef.AttrConstraintOrBuilder > getConstraintOrBuilderList () 를 확장합니다.

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

공개 정적 KernelDef getDefaultInstance ()

공개 KernelDef getDefaultInstanceForType ()

공개 정적 최종 com.google.protobuf.Descriptors.Descriptor getDescriptor ()

공개 문자열 getDeviceType ()

 Type of device this kernel runs on.
 
string device_type = 2;

공개 com.google.protobuf.ByteString getDeviceTypeBytes ()

 Type of device this kernel runs on.
 
string device_type = 2;

공개 문자열 getHostMemoryArg (int 인덱스)

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

공개 com.google.protobuf.ByteString getHostMemoryArgBytes (int 인덱스)

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

공개 int getHostMemoryArgCount ()

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

공개 com.google.protobuf.ProtocolStringList getHostMemoryArgList ()

 Names of the Op's input_/output_args that reside in host memory
 instead of device memory.
 
repeated string host_memory_arg = 4;

공개 문자열 getLabel ()

 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
 
string label = 5;

공개 com.google.protobuf.ByteString getLabelBytes ()

 This allows experimental kernels to be registered for an op that
 won't be used unless the user specifies a "_kernel" attr with
 value matching this.
 
string label = 5;

공개 문자열 getOp ()

 Must match the name of an Op.
 
string op = 1;

공개 com.google.protobuf.ByteString getOpBytes ()

 Must match the name of an Op.
 
string op = 1;

공공의 getParserForType ()

공개 int getPriority ()

 Prioritization of kernel amongst different devices. By default we assume
 priority is 0. The higher the priority the better. By default (i.e. if
 this is not set), we prefer GPU kernels over CPU.
 
int32 priority = 6;

공개 int getSerializedSize ()

공개 최종 com.google.protobuf.UnknownFieldSet getUnknownFields ()

공개 int hashCode ()

공개 최종 부울 isInitialized ()

공개 정적 KernelDef.Builder newBuilder ()

공개 정적 KernelDef.Builder newBuilder ( KernelDef 프로토타입)

공개 KernelDef.Builder newBuilderForType ()

공개 정적 KernelDef parseDelimitedFrom (InputStream 입력)

던지기
IO예외

공개 정적 KernelDef parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 KernelDef 구문 분석 (ByteBuffer 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 KernelDef 구문 분석 (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)

던지기
IO예외

공개 정적 KernelDef 구문 분석 (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 KernelDef 구문 분석 (com.google.protobuf.CodedInputStream 입력)

던지기
IO예외

공개 정적 KernelDef 구문 분석 (바이트[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장 레지스트리)

던지기
잘못된프로토콜버퍼예외

공개 정적 KernelDef 구문 분석 (com.google.protobuf.ByteString 데이터)

던지기
잘못된프로토콜버퍼예외

공개 정적 KernelDef 구문 분석 (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
IO예외

공개 정적 KernelDef ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

던지기
잘못된프로토콜버퍼예외

공개 정적 파서 ()

공개 KernelDef.Builder toBuilder ()

공개 무효 writeTo (com.google.protobuf.CodedOutputStream 출력)

던지기
IO예외