OpDef

공개 최종 수업 OpDef

 Defines an operation. A NodeDef in a GraphDef specifies an Op by
 using the "op" field which should match the name of a OpDef.
 LINT.IfChange
 
Protobuf 유형 tensorflow.OpDef

중첩 클래스

수업 OpDef.ArgDef
 For describing inputs and outputs. 
상호 작용 OpDef.ArgDefOrBuilder
수업 OpDef.AttrDef
 Description of the graph-construction-time configuration of this
 Op. 
상호 작용 OpDef.AttrDefOrBuilder
수업 OpDef.Builder
 Defines an operation. 

상수

정수 ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER
정수 ATTR_FIELD_NUMBER
정수 CONTROL_OUTPUT_FIELD_NUMBER
정수 DEPRECATION_FIELD_NUMBER
정수 DESCRIPTION_FIELD_NUMBER
정수 INPUT_ARG_FIELD_NUMBER
정수 IS_AGGREGATE_FIELD_NUMBER
정수 IS_COMMUTATIVE_FIELD_NUMBER
정수 IS_STATEFUL_FIELD_NUMBER
정수 NAME_FIELD_NUMBER
정수 OUTPUT_ARG_FIELD_NUMBER
정수 SUMMARY_FIELD_NUMBER

공개 방법

부울
같음 (객체 객체)
부울
getAllowsUninitializedInput ()
 By default, all inputs to an Op must be initialized Tensors.
OpDef.AttrDef
getAttr (정수 인덱스)
repeated .tensorflow.OpDef.AttrDef attr = 4;
정수
getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
목록< OpDef.AttrDef >
getAttrList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDefOrBuilder
getAttrOrBuilder (정수 인덱스)
repeated .tensorflow.OpDef.AttrDef attr = 4;
목록<? OpDef.AttrDefOrBuilder 확장 >
getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
getControlOutput (정수 인덱스)
 Named control outputs for this operation.
com.google.protobuf.ByteString
getControlOutputBytes (정수 인덱스)
 Named control outputs for this operation.
정수
getControlOutputCount ()
 Named control outputs for this operation.
com.google.protobuf.ProtocolStringList
getControlOutputList ()
 Named control outputs for this operation.
정적 OpDef
OpDef
OpDeprecation
getDeprecation ()
 Optional deprecation based on GraphDef versions.
OpDeprecationOrBuilder
getDeprecationOrBuilder ()
 Optional deprecation based on GraphDef versions.
get설명 ()
 Additional, longer human-readable description of what the Op does.
com.google.protobuf.ByteString
getDescriptionBytes ()
 Additional, longer human-readable description of what the Op does.
최종 정적 com.google.protobuf.Descriptors.Descriptor
OpDef.ArgDef
getInputArg (정수 인덱스)
 Description of the input(s).
정수
getInputArgCount ()
 Description of the input(s).
목록< OpDef.ArgDef >
getInputArgList ()
 Description of the input(s).
OpDef.ArgDefOrBuilder
getInputArgOrBuilder (정수 인덱스)
 Description of the input(s).
목록<? OpDef.ArgDefOrBuilder 확장 >
getInputArgOrBuilderList ()
 Description of the input(s).
부울
getIsAggregate ()
 If is_aggregate is true, then this operation accepts N >= 2
 inputs and produces 1 output all of the same type.
부울
getIsCommutative ()
 True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
 
bool is_commutative = 18;
부울
getIsStateful ()
 Ops are marked as stateful if their behavior depends on some state beyond
 their input tensors (e.g.
getName ()
 Op names starting with an underscore are reserved for internal use.
com.google.protobuf.ByteString
getNameBytes ()
 Op names starting with an underscore are reserved for internal use.
OpDef.ArgDef
getOutputArg (정수 인덱스)
 Description of the output(s).
정수
getOutputArgCount ()
 Description of the output(s).
목록< OpDef.ArgDef >
getOutputArgList ()
 Description of the output(s).
OpDef.ArgDefOrBuilder
getOutputArgOrBuilder (정수 인덱스)
 Description of the output(s).
목록<? OpDef.ArgDefOrBuilder 확장 >
getOutputArgOrBuilderList ()
 Description of the output(s).
정수
get요약 ()
 One-line human-readable description of what the Op does.
com.google.protobuf.ByteString
getSummaryBytes ()
 One-line human-readable description of what the Op does.
최종 com.google.protobuf.UnknownFieldSet
부울
사용 중단됨 ()
 Optional deprecation based on GraphDef versions.
정수
최종 부울
정적 OpDef.Builder
newBuilder ( OpDef 프로토타입)
정적 OpDef.Builder
OpDef.Builder
정적 OpDef
parsDelimitedFrom (InputStream 입력)
정적 OpDef
parseDelimitedFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 OpDef
ParseFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 OpDef
ParseFrom (com.google.protobuf.CodedInputStream 입력)
정적 OpDef
parseFrom (byte[] 데이터, com.google.protobuf.ExtensionRegistryLite 확장Registry)
정적 OpDef
parsFrom (ByteBuffer 데이터)
정적 OpDef
ParseFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 OpDef
ParseFrom (com.google.protobuf.ByteString 데이터)
정적 OpDef
ParseFrom (InputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
정적 OpDef
ParseFrom (com.google.protobuf.ByteString 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
공전
파서 ()
OpDef.Builder
무효의
writeTo (com.google.protobuf.CodedOutputStream 출력)

상속된 메서드

상수

공개 정적 최종 정수 ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER

상수값: 19

공개 정적 최종 int ATTR_FIELD_NUMBER

상수값: 4

공개 정적 최종 int CONTROL_OUTPUT_FIELD_NUMBER

상수값: 20

공개 정적 최종 int DEPRECATION_FIELD_NUMBER

상수값: 8

공개 정적 최종 int DESCRIPTION_FIELD_NUMBER

상수값: 6

공개 정적 최종 int INPUT_ARG_FIELD_NUMBER

상수값: 2

공개 정적 최종 int IS_AGGREGATE_FIELD_NUMBER

상수값: 16

공개 정적 최종 int IS_COMMUTATIVE_FIELD_NUMBER

상수값: 18

공개 정적 최종 int IS_STATEFUL_FIELD_NUMBER

상수값: 17

공개 정적 최종 정수 NAME_FIELD_NUMBER

상수값: 1

공개 정적 최종 int OUTPUT_ARG_FIELD_NUMBER

상수값: 3

공개 정적 최종 int SUMMARY_FIELD_NUMBER

상수값: 5

공개 방법

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

공개 부울 getAllowsUninitializedInput ()

 By default, all inputs to an Op must be initialized Tensors.  Ops
 that may initialize tensors for the first time should set this
 field to true, to allow the Op to take an uninitialized Tensor as
 input.
 
bool allows_uninitialized_input = 19;

공개 OpDef.AttrDef getAttr (int 인덱스)

repeated .tensorflow.OpDef.AttrDef attr = 4;

공개 int getAttrCount ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

공개 목록< OpDef.AttrDef > getAttrList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

공개 OpDef.AttrDefOrBuilder getAttrOrBuilder (int 인덱스)

repeated .tensorflow.OpDef.AttrDef attr = 4;

공개 목록<? OpDef.AttrDefOrBuilder > getAttrOrBuilderList () 를 확장합니다.

repeated .tensorflow.OpDef.AttrDef attr = 4;

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

 Named control outputs for this operation. Useful only for composite
 operations (i.e. functions) which want to name different control outputs.
 
repeated string control_output = 20;

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

 Named control outputs for this operation. Useful only for composite
 operations (i.e. functions) which want to name different control outputs.
 
repeated string control_output = 20;

공개 int getControlOutputCount ()

 Named control outputs for this operation. Useful only for composite
 operations (i.e. functions) which want to name different control outputs.
 
repeated string control_output = 20;

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

 Named control outputs for this operation. Useful only for composite
 operations (i.e. functions) which want to name different control outputs.
 
repeated string control_output = 20;

공개 정적 OpDef getDefaultInstance ()

공개 OpDef getDefaultInstanceForType ()

공개 OpDeprecation getDeprecation ()

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

공개 OpDeprecationOrBuilder getDeprecationOrBuilder ()

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

공개 문자열 getDescription ()

 Additional, longer human-readable description of what the Op does.
 
string description = 6;

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

 Additional, longer human-readable description of what the Op does.
 
string description = 6;

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

공개 OpDef.ArgDef getInputArg (int 인덱스)

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

공개 int getInputArgCount ()

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

공개 목록< OpDef.ArgDef > getInputArgList ()

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

공개 OpDef.ArgDefOrBuilder getInputArgOrBuilder (int 인덱스)

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

공개 목록<? OpDef.ArgDefOrBuilder > getInputArgOrBuilderList () 를 확장합니다.

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

공개 부울 getIsAggregate ()

 If is_aggregate is true, then this operation accepts N >= 2
 inputs and produces 1 output all of the same type.  Should be
 associative and commutative, and produce output with the same
 shape as the input.  The optimizer may replace an aggregate op
 taking input from multiple devices with a tree of aggregate ops
 that aggregate locally within each device (and possibly within
 groups of nearby devices) before communicating.
 TODO(josh11b): Implement that optimization.
 
bool is_aggregate = 16;

공개 부울 getIsCommutative ()

 True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
 
bool is_commutative = 18;

공개 부울 getIsStateful ()

 Ops are marked as stateful if their behavior depends on some state beyond
 their input tensors (e.g. variable reading op) or if they have
 a side-effect (e.g. printing or asserting ops). Equivalently, stateless ops
 must always produce the same output for the same input and have
 no side-effects.
 By default Ops may be moved between devices.  Stateful ops should
 either not be moved, or should only be moved if that state can also
 be moved (e.g. via some sort of save / restore).
 Stateful ops are guaranteed to never be optimized away by Common
 Subexpression Elimination (CSE).
 
bool is_stateful = 17;

공개 문자열 getName ()

 Op names starting with an underscore are reserved for internal use.
 Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
 
string name = 1;

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

 Op names starting with an underscore are reserved for internal use.
 Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
 
string name = 1;

공개 OpDef.ArgDef getOutputArg (int 인덱스)

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

공개 int getOutputArgCount ()

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

공개 목록< OpDef.ArgDef > getOutputArgList ()

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

공개 OpDef.ArgDefOrBuilder getOutputArgOrBuilder (int 인덱스)

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

공개 목록<? OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList () 를 확장합니다.

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

공공의 getParserForType ()

공개 int getSerializedSize ()

공개 문자열 getSummary ()

 One-line human-readable description of what the Op does.
 
string summary = 5;

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

 One-line human-readable description of what the Op does.
 
string summary = 5;

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

공개 부울 hasDeprecation ()

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

공개 int hashCode ()

공개 최종 부울 isInitialized ()

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

공개 정적 OpDef.Builder newBuilder ()

공개 OpDef.Builder newBuilderForType ()

공개 정적 OpDef parseDelimitedFrom (InputStream 입력)

던지기
IO예외

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

던지기
IO예외

공개 정적 OpDef parsFrom (ByteBuffer 데이터, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)

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

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

던지기
IO예외

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

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

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

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

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

던지기
IO예외

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

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

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

던지기
IO예외

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

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

공개 정적 파서 ()

공개 OpDef.Builder toBuilder ()

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

던지기
IO예외