الواجهة العامة OpDefOrBuilder
الفئات الفرعية غير المباشرة المعروفة |
الأساليب العامة
منطقية مجردة | الحصول علىAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
مجردة OpDef.AttrDef | getAttr (فهرس كثافة العمليات) 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. |
قائمة مجردة <سلسلة> | قائمة getControlOutputList () Named control outputs for this operation. |
OpDeprecation مجردة | الحصول على الإهمال () 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. |
مجردة OpDef.ArgDef | getInputArg (فهرس كثافة العمليات) Description of the input(s). |
كثافة العمليات مجردة | getInputArgCount () Description of the input(s). |
قائمة مجردة< OpDef.ArgDef > | getInputArgList () Description of the input(s). |
مجردة OpDef.ArgDefOrBuilder | getInputArgOrBuilder (فهرس كثافة العمليات) Description of the input(s). |
قائمة مجردة <؟ يمتد OpDef.ArgDefOrBuilder > | getInputArgOrBuilderList () Description of the input(s). |
منطقية مجردة | الحصول على التجميع () 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). |
كثافة العمليات مجردة | 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. |
الأساليب العامة
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 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;
قائمة مجردة عامة<String> 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;
الملخص العام 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;
الملخص العام OpDef.ArgDef getInputArg (مؤشر int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
الملخص العام int getInputArgCount ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
قائمة مجردة عامة< OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
الملخص العام OpDef.ArgDefOrBuilder getInputArgOrBuilder (فهرس كثافة العمليات)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
قائمة الملخصات العامة<؟ يمتد OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
الملخص المنطقي العام getIsAggregate ()
If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. Should be associative and commutative, and produce output with the same shape as the input. The optimizer may replace an aggregate op taking input from multiple devices with a tree of aggregate ops that aggregate locally within each device (and possibly within groups of nearby devices) before communicating. TODO(josh11b): Implement that optimization.
bool is_aggregate = 16;
الملخص المنطقي العام getIsCommutative ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
الملخص المنطقي العام getIsStateful ()
Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. variable reading op) or if they have a side-effect (e.g. printing or asserting ops). Equivalently, stateless ops must always produce the same output for the same input and have no side-effects. By default Ops may be moved between devices. Stateful ops should either not be moved, or should only be moved if that state can also be moved (e.g. via some sort of save / restore). Stateful ops are guaranteed to never be optimized away by Common Subexpression Elimination (CSE).
bool is_stateful = 17;
سلسلة getName () مجردة عامة
Op names starting with an underscore are reserved for internal use. Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
string name = 1;
الملخص العام com.google.protobuf.ByteString getNameBytes ()
Op names starting with an underscore are reserved for internal use. Names should be CamelCase and match the regexp "[A-Z][a-zA-Z0-9>_]*".
string name = 1;
الملخص العام OpDef.ArgDef getOutputArg (مؤشر int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
الملخص العام int getOutputArgCount ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
قائمة مجردة عامة< OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
الملخص العام OpDef.ArgDefOrBuilder getOutputArgOrBuilder (فهرس كثافة العمليات)
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;