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.IfChangeProtobuf ประเภท
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 (ดัชนี int) 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 (ดัชนี int) Description of the input(s). |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.ArgDef.Builder | addOutputArgBuilder (ดัชนี int) 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 | clearAttr () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | clearControlOutput () 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 | ชัดเจนInputArg () Description of the input(s). |
OpDef.Builder | clearIsAggregate () 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 | clearOutputArg () 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 (ดัชนี int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDef.Builder | getAttrBuilder (ดัชนี int) 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 (ดัชนี int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
รายการ<? ขยาย OpDef.AttrDefOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
สตริง | getControlOutput (ดัชนี int) Named control outputs for this operation. |
com.google.protobuf.ByteString | getControlOutputBytes (ดัชนี int) 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 | ได้รับการคัดค้าน () Optional deprecation based on GraphDef versions. |
OpDeprecation.Builder | getDeprecationBuilder () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
สตริง | รับคำอธิบาย () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.ByteString | รับคำอธิบายไบต์ () Additional, longer human-readable description of what the Op does. |
com.google.protobuf.Descriptors.Descriptor แบบคงที่ขั้นสุดท้าย | รับคำอธิบาย () |
com.google.protobuf.Descriptors.Descriptor | |
OpDef.ArgDef | getInputArg (ดัชนี int) Description of the input(s). |
OpDef.ArgDef.Builder | getInputArgBuilder (ดัชนี int) 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 (ดัชนี int) 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. |
สตริง | รับชื่อ () 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 (ดัชนี int) Description of the output(s). |
OpDef.ArgDef.Builder | getOutputArgBuilder (ดัชนี int) 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 (ดัชนี int) Description of the output(s). |
รายการ<? ขยาย OpDef.ArgDefOrBuilder > | getOutputArgOrBuilderList () Description of the output(s). |
สตริง | รับสรุป () One-line human-readable description of what the Op does. |
com.google.protobuf.ByteString | รับสรุปไบต์ () 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.UnknownFieldSetknownFields) |
OpDef.Builder | RemoveAttr (ดัชนี int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | RemoveInputArg (ดัชนี int) Description of the input(s). |
OpDef.Builder | RemoveOutputArg (ดัชนี int) 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.UnknownFieldSetknownFields) |
วิธีการสืบทอด
วิธีการสาธารณะ
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 addAttr (ดัชนี int, ค่า OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDef.Builder สาธารณะ addAttrBuilder (ดัชนี int)
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 สาธารณะ addRepeatedField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
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 สาธารณะ clearDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
OpDef.Builder สาธารณะ clearDescription ()
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.Builder สาธารณะ clearIsAggregate ()
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 สาธารณะ 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. 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 clearName ()
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;
OpDef.AttrDef.Builder สาธารณะ getAttrBuilder (ดัชนี int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
รายการสาธารณะ < OpDef.AttrDef.Builder > getAttrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
สาธารณะ int getAttrCount ()
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;
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 สาธารณะ ผสานจาก (อินพุต 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 )
repeated .tensorflow.OpDef.AttrDef attr = 4;
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 setField (ฟิลด์ com.google.protobuf.Descriptors.FieldDescriptor ค่าอ็อบเจ็กต์)
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;