giao diện công cộng OpDefOrBuilder
Các lớp con gián tiếp đã biết |
Phương pháp công khai
trừu tượng boolean | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
trừu tượng OpDef.AttrDef | getAttr (chỉ số int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
int trừu tượng | getAttrCount () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Danh sách trừu tượng< OpDef.AttrDef > | getAttrList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
trừu tượng OpDef.AttrDefOrBuilder | getAttrOrBuilder (chỉ mục int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Danh sách trừu tượng<? mở rộng OpDef.AttrDefOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
chuỗi trừu tượng | getControlOutput (chỉ số int) Named control outputs for this operation. |
trừu tượng com.google.protobuf.ByteString | getControlOutputBytes (chỉ mục int) Named control outputs for this operation. |
int trừu tượng | getControlOutputCount () Named control outputs for this operation. |
Danh sách trừu tượng<String> | getControlOutputList () Named control outputs for this operation. |
trừu tượng OpDeprecation | getDeprecation () Optional deprecation based on GraphDef versions. |
trừu tượng OpDeprecationOrBuilder | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
chuỗi trừu tượng | getDescription () Additional, longer human-readable description of what the Op does. |
trừu tượng com.google.protobuf.ByteString | getDescriptionBytes () Additional, longer human-readable description of what the Op does. |
trừu tượng OpDef.ArgDef | getInputArg (chỉ mục int) Description of the input(s). |
int trừu tượng | getInputArgCount () Description of the input(s). |
Danh sách trừu tượng< OpDef.ArgDef > | getInputArgList () Description of the input(s). |
trừu tượng OpDef.ArgDefOrBuilder | getInputArgOrBuilder (chỉ mục int) Description of the input(s). |
Danh sách trừu tượng<? mở rộng OpDef.ArgDefOrBuilder > | getInputArgOrBuilderList () Description of the input(s). |
trừu tượng boolean | getIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
trừu tượng boolean | getIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
trừu tượng boolean | getIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
chuỗi trừu tượng | lấy Tên () Op names starting with an underscore are reserved for internal use. |
trừu tượng com.google.protobuf.ByteString | getNameBytes () Op names starting with an underscore are reserved for internal use. |
trừu tượng OpDef.ArgDef | getOutputArg (chỉ số int) Description of the output(s). |
int trừu tượng | getOutputArgCount () Description of the output(s). |
Danh sách trừu tượng< OpDef.ArgDef > | getOutputArgList () Description of the output(s). |
trừu tượng OpDef.ArgDefOrBuilder | getOutputArgOrBuilder (chỉ mục int) Description of the output(s). |
Danh sách trừu tượng<? mở rộng OpDef.ArgDefOrBuilder > | getOutputArgOrBuilderList () Description of the output(s). |
chuỗi trừu tượng | lấy Tóm tắt () One-line human-readable description of what the Op does. |
trừu tượng com.google.protobuf.ByteString | getSummaryBytes () One-line human-readable description of what the Op does. |
trừu tượng boolean | hasDeprecation () Optional deprecation based on GraphDef versions. |
Phương pháp công khai
boolean trừu tượng công khai 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;
tóm tắt công khai int getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Danh sách tóm tắt công khai< OpDef.AttrDef > getAttrList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
tóm tắt công khai OpDef.AttrDefOrBuilder getAttrOrBuilder (chỉ mục int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Danh sách tóm tắt công khai<? mở rộng OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Chuỗi tóm tắt công khai getControlOutput (chỉ mục 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;
tóm tắt công khai com.google.protobuf.ByteString getControlOutputBytes (chỉ mục 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;
tóm tắt công khai 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;
Danh sách tóm tắt công khai<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;
tóm tắt công khai OpDeprecation getDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
tóm tắt công khai OpDeprecationOrBuilder getDeprecationOrBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
Chuỗi tóm tắt công khai getDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
tóm tắt công khai com.google.protobuf.ByteString getDescriptionBytes ()
Additional, longer human-readable description of what the Op does.
string description = 6;
tóm tắt công khai OpDef.ArgDef getInputArg (chỉ mục int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
tóm tắt công khai int getInputArgCount ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Danh sách tóm tắt công khai< OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
tóm tắt công khai OpDef.ArgDefOrBuilder getInputArgOrBuilder (chỉ mục int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Danh sách tóm tắt công khai<? mở rộng OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
boolean trừu tượng công khai 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;
boolean trừu tượng công khai getIsCommutative ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
boolean trừu tượng công khai 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;
Chuỗi tóm tắt công khai 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;
tóm tắt công khai 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;
tóm tắt công khai OpDef.ArgDef getOutputArg (chỉ mục int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
tóm tắt công khai int getOutputArgCount ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Danh sách tóm tắt công khai< OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
tóm tắt công khai OpDef.ArgDefOrBuilder getOutputArgOrBuilder (chỉ mục int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Danh sách tóm tắt công khai<? mở rộng OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Chuỗi tóm tắt công khai getSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
tóm tắt công khai com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 5;
boolean trừu tượng công khai hasDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;