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 | addAllAttr (Iterable<? مقادیر OpDef.AttrDef > را گسترش می دهد) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | addAllControlOutput (مقادیر<String> تکرارپذیر) Named control outputs for this operation. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | addAttr (int index، 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 فیلد، مقدار Object) |
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 | clearDeprecation () 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 | clearInputArg () 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 | clearIstateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
OpDef.Builder | clearName () 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; |
List< 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 | |
Op Deprecation | getDeprecation () Optional deprecation based on GraphDef versions. |
OpDeprecation.Builder | getDeprecationBuilder () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
رشته | getDescription () 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. |
نهایی static 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). |
List< 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. |
رشته | 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 (شاخص int) Description of the output(s). |
OpDef.ArgDef.Builder | getOutputArgBuilder (شاخص int) Description of the output(s). |
List< 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 | 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.Message other) |
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 index، 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 فیلد، مقدار Object) |
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، مقدار Object) |
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 (تکرارپذیر<? مقادیر OpDef.AttrDef > را گسترش می دهد)
repeated .tensorflow.OpDef.AttrDef attr = 4;
عمومی OpDef.Builder addAllControlOutput (مقادیر تکرارپذیر<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 index، OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
عمومی OpDef.Builder addAttr (شاخص int، مقدار OpDef.AttrDef )
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 index, 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 index)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
عمومی OpDef.Builder addOutputArg (int index، 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 index)
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 فیلد، مقدار Object)
عمومی 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 > getAttrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
عمومی int getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
عمومی OpDef.AttrDefOrBuilder getAttrOrBuilder (int index)
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;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
عمومی com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
عمومی OpDef.ArgDef getInputArg (int index)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
عمومی OpDef.ArgDef.Builder getInputArgBuilder (int index)
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 index)
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 index)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
عمومی OpDef.ArgDef.Builder getOutputArgBuilder (int index)
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 index)
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)
پرتاب می کند
IOException |
---|
عمومی OpDef.Builder removeInputArg (int index)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
عمومی OpDef.Builder removeOutputArg (int index)
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 index، 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 index، 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 index, 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، مقدار Object)
عمومی 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;