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.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 | 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 | 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 | 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 | كليرأوتبوتأرج () Description of the output(s). |
OpDef.Builder | ملخص واضح () One-line human-readable description of what the Op does. |
OpDef.Builder | استنساخ () |
منطقية | الحصول علىAllowsUninitializedInput () 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 > | قائمة getAttrBuilder () repeated .tensorflow.OpDef.AttrDef attr = 4; |
كثافة العمليات | الحصول علىAttrCount () 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. |
أوبديف | |
OpDeprecation | الحصول على الإهمال () Optional deprecation based on GraphDef versions. |
OpDeprecation.Builder | الحصول على DeprecationBuilder () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder | الحصول على DeprecationOrBuilder () 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 (فهرس كثافة العمليات) 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). |
منطقية | الحصول على التجميع () 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 | الحصول على اسم بايت () 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). |
خيط | الحصول على ملخص () 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 | دمج من (com.google.protobuf.Message أخرى) |
OpDef.Builder | دمج من (com.google.protobuf.CodedInputStream input، com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
OpDef.Builder النهائي | دمجUnknownFields (com.google.protobuf.UnknownFieldSet UnknownFields) |
OpDef.Builder | إزالة Attr (فهرس كثافة العمليات) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | إزالة InputArg (فهرس كثافة العمليات) Description of the input(s). |
OpDef.Builder | إزالة OutputArg (فهرس كثافة العمليات) 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 public addAllAttr (Iterable<? يمتد OpDef.AttrDef > القيم)
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.Builder public 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;
public OpDef.Builder addAttr ( OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAttr (مؤشر int، OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAttr (مؤشر int، قيمة OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
public 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;
public OpDef.Builder addInputArg ( OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg (مؤشر int، قيمة OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg (قيمة OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public 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 (فهرس كثافة العمليات)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addOutputArg (مؤشر int، OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addOutputArg ( OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addOutputArg (مؤشر int، قيمة OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public 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 > getAttrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
int public 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 العامة (فهرس كثافة العمليات)
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 public 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 public 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;
getDeprecationOrBuilder العامة getDeprecationOrBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
الحصول على سلسلة عامة ()
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;
public 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 public 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 (مؤشر كثافة العمليات)
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 public 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 public 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 (مؤشر كثافة العمليات)
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;
تمت تهيئة القيمة المنطقية النهائية العامة ()
OpDef.Builder العام mergeDeprecation (قيمة OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
OpDef.Builder العام mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
رميات
IOEException |
---|
OpDef.Builder العام RemoveInputArg (مؤشر int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
OpDef.Builder العام إزالةOutputArg (مؤشر كثافة العمليات)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
مجموعة OpDef.Builder العامة AllowsUninitializedInput (قيمة منطقية)
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 العامة (مؤشر 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 العامة ( OpDeprecation.Builder builderForValue)
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
مجموعة OpDef.Builder العامة (قيمة OpDeprecation )
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 العامة 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 العامة (قيمة منطقية)
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 العامة (قيمة منطقية)
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 العام (قيمة السلسلة)
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 العامة NameBytes (قيمة 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 العامة (قيمة السلسلة)
One-line human-readable description of what the Op does.
string summary = 5;
مجموعة OpDef.Builder العامة SummaryBytes (قيمة com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 5;