interface pública OpDefOrBuilder
Subclasses indiretas conhecidas |
Métodos Públicos
booleano abstrato | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.AttrDef abstrato | getAttr (índice int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
abstrato int | getAttrCount () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Lista abstrata < OpDef.AttrDef > | getAttrList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDefOrBuilder abstrato | |
Lista abstrata <? estende OpDef.AttrDefOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
String abstrata | |
abstract com.google.protobuf.ByteString | |
abstrato int | getControlOutputCount () Named control outputs for this operation. |
Lista abstrata <String> | getControlOutputList () Named control outputs for this operation. |
OpDeprecation abstrato | getDeprecation () Optional deprecation based on GraphDef versions. |
OpDeprecationOrBuilder abstrato | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
String abstrata | getDescription () Additional, longer human-readable description of what the Op does. |
abstract com.google.protobuf.ByteString | getDescriptionBytes () Additional, longer human-readable description of what the Op does. |
OpDef.ArgDef abstrato | getInputArg (int index) Description of the input(s). |
abstrato int | getInputArgCount () Description of the input(s). |
Lista abstrata < OpDef.ArgDef > | getInputArgList () Description of the input(s). |
OpDef.ArgDefOrBuilder abstrato | |
Lista abstrata <? estende OpDef.ArgDefOrBuilder > | getInputArgOrBuilderList () Description of the input(s). |
booleano abstrato | getIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
booleano abstrato | getIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
booleano abstrato | getIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
String abstrata | getName () Op names starting with an underscore are reserved for internal use. |
abstract com.google.protobuf.ByteString | getNameBytes () Op names starting with an underscore are reserved for internal use. |
OpDef.ArgDef abstrato | getOutputArg (int index) Description of the output(s). |
abstrato int | getOutputArgCount () Description of the output(s). |
Lista abstrata < OpDef.ArgDef > | getOutputArgList () Description of the output(s). |
OpDef.ArgDefOrBuilder abstrato | |
Lista abstrata <? estende OpDef.ArgDefOrBuilder > | getOutputArgOrBuilderList () Description of the output(s). |
String abstrata | getSummary () One-line human-readable description of what the Op does. |
abstract com.google.protobuf.ByteString | getSummaryBytes () One-line human-readable description of what the Op does. |
booleano abstrato | hasDeprecation () Optional deprecation based on GraphDef versions. |
Métodos Públicos
public abstract boolean 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;
public abstract int getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public abstract OpDef.AttrDefOrBuilder getAttrOrBuilder (índice int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Lista de resumos pública <? estende OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public abstract String getControlOutput (int index)
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 abstract com.google.protobuf.ByteString getControlOutputBytes (int index)
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 abstract 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;
public abstract List <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;
public abstract OpDeprecation getDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public abstract OpDeprecationOrBuilder getDeprecationOrBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public abstract String getDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
public abstract com.google.protobuf.ByteString getDescriptionBytes ()
Additional, longer human-readable description of what the Op does.
string description = 6;
public abstract OpDef.ArgDef getInputArg (int index)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public abstract int getInputArgCount ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public abstract List < OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public abstract OpDef.ArgDefOrBuilder getInputArgOrBuilder (índice interno )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Lista de resumos pública <? estende OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public abstract boolean 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;
public abstract boolean getIsCommutative ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
public abstract boolean 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;
public abstract String 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;
public abstract 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;
public abstract OpDef.ArgDef getOutputArg (int index)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public abstract int getOutputArgCount ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public abstract List < OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public abstract OpDef.ArgDefOrBuilder getOutputArgOrBuilder (índice interno )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Lista de resumos pública <? estende OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public abstract String getSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
public abstract com.google.protobuf.ByteString getSummaryBytes ()
One-line human-readable description of what the Op does.
string summary = 5;
public abstract boolean hasDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;