공개 정적 최종 클래스 OpDef.Builder
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
tensorflow.OpDef
공개 방법
OpDef.Builder | |
OpDef.Builder | addAllControlOutput (Iterable<String> 값) Named control outputs for this operation. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | addAttr (int 인덱스, OpDef.AttrDef.Builder builderForValue) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | |
OpDef.Builder | |
OpDef.AttrDef.Builder | addAttrBuilder () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDef.Builder | addAttrBuilder (정수 인덱스) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | addControlOutput (문자열 값) Named control outputs for this operation. |
OpDef.Builder | addControlOutputBytes (com.google.protobuf.ByteString 값) Named control outputs for this operation. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.ArgDef.Builder | addInputArgBuilder () Description of the input(s). |
OpDef.ArgDef.Builder | addInputArgBuilder (정수 인덱스) Description of the input(s). |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.ArgDef.Builder | addOutputArgBuilder (정수 인덱스) Description of the output(s). |
OpDef.ArgDef.Builder | addOutputArgBuilder () Description of the output(s). |
OpDef.Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
OpDef | 짓다 () |
OpDef | 빌드부분 () |
OpDef.Builder | 분명한 () |
OpDef.Builder | ClearAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.Builder | 클리어 속성 () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | 클리어컨트롤아웃풋 () Named control outputs for this operation. |
OpDef.Builder | 명확한지원 중단 () Optional deprecation based on GraphDef versions. |
OpDef.Builder | 명확한설명 () Additional, longer human-readable description of what the Op does. |
OpDef.Builder | ClearField (com.google.protobuf.Descriptors.FieldDescriptor 필드) |
OpDef.Builder | 클리어입력Arg () Description of the input(s). |
OpDef.Builder | ClearIsgregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
OpDef.Builder | ClearIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
OpDef.Builder | ClearIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
OpDef.Builder | 클리어이름 () Op names starting with an underscore are reserved for internal use. |
OpDef.Builder | ClearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
OpDef.Builder | 클리어아웃풋Arg () Description of the output(s). |
OpDef.Builder | 클리어요약 () One-line human-readable description of what the Op does. |
OpDef.Builder | 클론 () |
부울 | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.AttrDef | getAttr (정수 인덱스) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDef.Builder | getAttrBuilder (정수 인덱스) repeated .tensorflow.OpDef.AttrDef attr = 4; |
목록< OpDef.AttrDef.Builder > | getAttrBuilderList () 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 | |
OpDeprecation | getDeprecation () Optional deprecation based on GraphDef versions. |
OpDeprecation.Builder | getDeprecationBuilder () 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 | |
com.google.protobuf.Descriptors.Descriptor | |
OpDef.ArgDef | getInputArg (정수 인덱스) Description of the input(s). |
OpDef.ArgDef.Builder | getInputArgBuilder (정수 인덱스) Description of the input(s). |
목록< OpDef.ArgDef.Builder > | getInputArgBuilderList () 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). |
OpDef.ArgDef.Builder | getOutputArgBuilder (정수 인덱스) Description of the output(s). |
목록< OpDef.ArgDef.Builder > | getOutputArgBuilderList () 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. |
부울 | 사용 중단됨 () Optional deprecation based on GraphDef versions. |
최종 부울 | 초기화됨 () |
OpDef.Builder | |
OpDef.Builder | mergeFrom (com.google.protobuf.다른 메시지 보내기) |
OpDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
최종 OpDef.Builder | mergeUnknownFields (com.google.protobuf.UnknownFieldSet 알려지지 않은Fields) |
OpDef.Builder | RemoveAttr (정수 인덱스) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | RemoveInputArg (정수 인덱스) Description of the input(s). |
OpDef.Builder | RemoveOutputArg (정수 인덱스) Description of the output(s). |
OpDef.Builder | setAllowsUninitializedInput (부울 값) By default, all inputs to an Op must be initialized Tensors. |
OpDef.Builder | |
OpDef.Builder | setAttr (int 인덱스, OpDef.AttrDef.Builder builderForValue) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | setControlOutput (int 인덱스, 문자열 값) Named control outputs for this operation. |
OpDef.Builder | setDeprecation ( OpDeprecation.Builder builderForValue) Optional deprecation based on GraphDef versions. |
OpDef.Builder | |
OpDef.Builder | setDescription (문자열 값) Additional, longer human-readable description of what the Op does. |
OpDef.Builder | setDescriptionBytes (com.google.protobuf.ByteString 값) Additional, longer human-readable description of what the Op does. |
OpDef.Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor 필드, 개체 값) |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | setIsAggregate (부울 값) If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
OpDef.Builder | setIsCommutative (부울 값) True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
OpDef.Builder | setIsStateful (부울 값) Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
OpDef.Builder | setName (문자열 값) Op names starting with an underscore are reserved for internal use. |
OpDef.Builder | setNameBytes (com.google.protobuf.ByteString 값) Op names starting with an underscore are reserved for internal use. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값) |
OpDef.Builder | setSummary (문자열 값) One-line human-readable description of what the Op does. |
OpDef.Builder | setSummaryBytes (com.google.protobuf.ByteString 값) One-line human-readable description of what the Op does. |
최종 OpDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
상속된 메서드
공개 방법
공개 OpDef.Builder addAllAttr (Iterable<? 확장 OpDef.AttrDef > 값)
repeated .tensorflow.OpDef.AttrDef attr = 4;
공개 OpDef.Builder addAllControlOutput (Iterable<String> 값)
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.Builder addAllInputArg (Iterable<? 확장 OpDef.ArgDef > 값)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.Builder addAllOutputArg (Iterable<? 확장 OpDef.ArgDef > 값)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.Builder addAttr ( OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
공개 OpDef.Builder addAttr (int 인덱스, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
공개 OpDef.Builder addControlOutput (문자열 값)
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.Builder addControlOutputBytes (com.google.protobuf.ByteString 값)
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.Builder addInputArg ( OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.Builder addInputArg (int 인덱스, OpDef.ArgDef 값)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.Builder addInputArg ( OpDef.ArgDef 값)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.Builder addInputArg (int 인덱스, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.ArgDef.Builder addInputArgBuilder ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.ArgDef.Builder addInputArgBuilder (int 인덱스)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.Builder addOutputArg (int 인덱스, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.Builder addOutputArg ( OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.Builder addOutputArg (int 인덱스, OpDef.ArgDef 값)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.Builder addOutputArg ( OpDef.ArgDef 값)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.ArgDef.Builder addOutputArgBuilder (int 인덱스)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.ArgDef.Builder addOutputArgBuilder ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.Builder ClearAllowsUninitializedInput ()
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.Builder ClearControlOutput ()
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.Builder 클리어Deprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
공개 OpDef.Builder 명확한 설명 ()
Additional, longer human-readable description of what the Op does.
string description = 6;
공개 OpDef.Builder ClearInputArg ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.BuilderclearIsAggregate ( )
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;
공개 OpDef.BuilderclearIsCommutative ( )
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
공개 OpDef.BuilderclearIsStateful ( )
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;
공개 OpDef.Builder 클리어이름 ()
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.Builder ClearOutputArg ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.Builder ClearSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
공개 부울 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;
공개 int getAttrCount ()
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;
공개 OpDeprecation getDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
공개 OpDeprecation.Builder getDeprecationBuilder ()
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 ()
공개 com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
공개 OpDef.ArgDef getInputArg (int 인덱스)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.ArgDef.Builder getInputArgBuilder (int 인덱스)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 목록< OpDef.ArgDef.Builder > getInputArgBuilderList ()
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;
공개 OpDef.ArgDef.Builder getOutputArgBuilder (int 인덱스)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 목록< OpDef.ArgDef.Builder > getOutputArgBuilderList ()
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;
공개 문자열 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;
공개 부울 hasDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
공개 최종 부울 isInitialized ()
공개 OpDef.Builder mergeDeprecation ( OpDeprecation 값)
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
공개 OpDef.Builder mergeFrom (com.google.protobuf.CodedInputStream 입력, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
던지기
IO예외 |
---|
공개 OpDef.Builder RemoveInputArg (int 인덱스)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.Builder RemoveOutputArg (int 인덱스)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.Builder setAllowsUninitializedInput (부울 값)
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.Builder setAttr (int 인덱스, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
공개 OpDef.Builder setControlOutput (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;
공개 OpDef.Builder setDeprecation ( OpDeprecation.Builder builderForValue)
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
공개 OpDef.Builder setDeprecation ( OpDeprecation 값)
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
공개 OpDef.Builder setDescription (문자열 값)
Additional, longer human-readable description of what the Op does.
string description = 6;
공개 OpDef.Builder setDescriptionBytes (com.google.protobuf.ByteString 값)
Additional, longer human-readable description of what the Op does.
string description = 6;
공개 OpDef.Builder setInputArg (int 인덱스, OpDef.ArgDef 값)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.Builder setInputArg (int 인덱스, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
공개 OpDef.Builder setIsAggregate (부울 값)
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;
공개 OpDef.Builder setIsCommutative (부울 값)
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
공개 OpDef.Builder setIsStateful (부울 값)
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;
공개 OpDef.Builder setName (문자열 값)
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.Builder setNameBytes (com.google.protobuf.ByteString 값)
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.Builder setOutputArg (int 인덱스, OpDef.ArgDef 값)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.Builder setOutputArg (int 인덱스, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
공개 OpDef.Builder setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor 필드, int 인덱스, 개체 값)
공개 OpDef.Builder setSummary (문자열 값)
One-line human-readable description of what the Op does.
string summary = 5;
공개 OpDef.Builder setSummaryBytes (com.google.protobuf.ByteString 값)
One-line human-readable description of what the Op does.
string summary = 5;