OpDef.Builder

מחלקה סופית סטטית ציבורית OpDef.Builder

 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
 
סוג Protobuf 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
addAllInputArg (Iterable<? מרחיב את OpDef.ArgDef > ערכים)
 Description of the input(s).
OpDef.Builder
addAllOutputArg (Iterable<? מרחיב את OpDef.ArgDef > ערכים)
 Description of the output(s).
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 (ערך OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.Builder
addAttr (int index, ערך OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDef.Builder
addAttrBuilder ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDef.Builder
addAttrBuilder (int index)
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
addInputArg ( OpDef.ArgDef.Builder builderForValue)
 Description of the input(s).
OpDef.Builder
addInputArg (int index, ערך OpDef.ArgDef )
 Description of the input(s).
OpDef.Builder
addInputArg (ערך OpDef.ArgDef )
 Description of the input(s).
OpDef.Builder
addInputArg (int index, OpDef.ArgDef.Builder builderForValue)
 Description of the input(s).
OpDef.ArgDef.Builder
addInputArgBuilder ()
 Description of the input(s).
OpDef.ArgDef.Builder
addInputArgBuilder (int index)
 Description of the input(s).
OpDef.Builder
addOutputArg (int index, OpDef.ArgDef.Builder builderForValue)
 Description of the output(s).
OpDef.Builder
addOutputArg ( OpDef.ArgDef.Builder builderForValue)
 Description of the output(s).
OpDef.Builder
addOutputArg (int index, ערך OpDef.ArgDef )
 Description of the output(s).
OpDef.Builder
addOutputArg (ערך OpDef.ArgDef )
 Description of the output(s).
OpDef.ArgDef.Builder
addOutputArgBuilder (int index)
 Description of the output(s).
OpDef.ArgDef.Builder
addOutputArgBuilder ()
 Description of the output(s).
OpDef.Builder
addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)
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
clearDescription ()
 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
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 index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.AttrDef.Builder
getAttrBuilder (int index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
רשימה< OpDef.AttrDef.Builder >
getAttrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
int
getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
רשימה< OpDef.AttrDef >
getAttrList ()
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 index)
 Named control outputs for this operation.
com.google.protobuf.ByteString
getControlOutputBytes (int index)
 Named control outputs for this operation.
int
getControlOutputCount ()
 Named control outputs for this operation.
com.google.protobuf.ProtocolStringList
getControlOutputList ()
 Named control outputs for this operation.
OpDef
OpDeprecation
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.
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
OpDef.ArgDef
getInputArg (int index)
 Description of the input(s).
OpDef.ArgDef.Builder
getInputArgBuilder (int index)
 Description of the input(s).
רשימה< OpDef.ArgDef.Builder >
getInputArgBuilderList ()
 Description of the input(s).
int
getInputArgCount ()
 Description of the input(s).
רשימה< OpDef.ArgDef >
getInputArgList ()
 Description of the input(s).
OpDef.ArgDefOrBuilder
getInputArgOrBuilder (int index)
 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 index)
 Description of the output(s).
OpDef.ArgDef.Builder
getOutputArgBuilder (int index)
 Description of the output(s).
רשימה< OpDef.ArgDef.Builder >
getOutputArgBuilderList ()
 Description of the output(s).
int
getOutputArgCount ()
 Description of the output(s).
רשימה< OpDef.ArgDef >
getOutputArgList ()
 Description of the output(s).
OpDef.ArgDefOrBuilder
getOutputArgOrBuilder (int index)
 Description of the output(s).
רשימה<? מרחיב את OpDef.ArgDefOrBuilder >
getOutputArgOrBuilderList ()
 Description of the output(s).
חוּט
getSummary ()
 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.
בוליאני
has Deprecation ()
 Optional deprecation based on GraphDef versions.
בוליאנית סופית
OpDef.Builder
mergeDeprecation (ערך OpDeprecation )
 Optional deprecation based on GraphDef versions.
OpDef.Builder
mergeFrom (com.google.protobuf.Message אחר)
OpDef.Builder
mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Final OpDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
OpDef.Builder
removeAttr (int index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
OpDef.Builder
removeInputArg (int index)
 Description of the input(s).
OpDef.Builder
removeOutputArg (int index)
 Description of the output(s).
OpDef.Builder
setAllowsUninitializedInput (ערך בוליאני)
 By default, all inputs to an Op must be initialized Tensors.
OpDef.Builder
setAttr (int index, ערך 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.
OpDef.Builder
setDeprecation ( OpDeprecation.Builder builderForValue)
 Optional deprecation based on GraphDef versions.
OpDef.Builder
setDeprecation (ערך OpDeprecation )
 Optional deprecation based on GraphDef versions.
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
setInputArg (int index, ערך OpDef.ArgDef )
 Description of the input(s).
OpDef.Builder
setInputArg (int index, OpDef.ArgDef.Builder builderForValue)
 Description of the input(s).
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
setOutputArg (int index, ערך OpDef.ArgDef )
 Description of the output(s).
OpDef.Builder
setOutputArg (int index, OpDef.ArgDef.Builder builderForValue)
 Description of the output(s).
OpDef.Builder
setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט)
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.
Final OpDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

שיטות בירושה

שיטות ציבוריות

Public OpDef.Builder addAllAttr (Iterable<? מרחיב את OpDef.AttrDef > ערכים)

repeated .tensorflow.OpDef.AttrDef attr = 4;

public 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;

Public OpDef.Builder addAllInputArg (Iterable<? מרחיב את OpDef.ArgDef > ערכים)

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

public 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 (ערך OpDef.AttrDef )

repeated .tensorflow.OpDef.AttrDef attr = 4;

Public OpDef.Builder addAttr (אינדקס int, ערך OpDef.AttrDef )

repeated .tensorflow.OpDef.AttrDef attr = 4;

Public OpDef.AttrDef.Builder addAttrBuilder ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

Public OpDef.AttrDef.Builder addAttrBuilder (אינדקס int)

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;

Public 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 index, OpDef.ArgDef.Builder builderForValue)

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

public OpDef.ArgDef.Builder addInputArgBuilder ()

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

Public OpDef.ArgDef.Builder addInputArgBuilder (אינדקס int)

 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;

Public OpDef.ArgDef.Builder addOutputArgBuilder (אינדקס אינט)

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

public OpDef.ArgDef.Builder addOutputArgBuilder ()

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

Public OpDef.Builder addRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

בניית OpDef ציבורית ()

Public OpDef buildPartial ()

הציבור OpDef.Builder נקה ()

public 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;

Public OpDef.Builder clearAttr ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

public 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;

public OpDef.Builder clearDeprecation ()

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

public OpDef.Builder clearDescription ()

 Additional, longer human-readable description of what the Op does.
 
string description = 6;

Public OpDef.Builder clearField (שדה com.google.protobuf.Descriptors.FieldDescriptor)

public OpDef.Builder clearInputArg ()

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

Public 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;

public OpDef.Builder clearIsCommutative ()

 True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
 
bool is_commutative = 18;

Public 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;

public 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;

Public OpDef.Builder clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)

public OpDef.Builder clearOutputArg ()

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

public OpDef.Builder clearSummary ()

 One-line human-readable description of what the Op does.
 
string summary = 5;

שיבוט ציבורי OpDef.Builder ()

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 OpDef.AttrDef getAttr (אינדקס אינט)

repeated .tensorflow.OpDef.AttrDef attr = 4;

Public OpDef.AttrDef.Builder getAttrBuilder (אינדקס אינט)

repeated .tensorflow.OpDef.AttrDef attr = 4;

רשימה ציבורית< OpDef.AttrDef.Builder > getAttrBuilderList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

public int getAttrCount ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

רשימה ציבורית< OpDef.AttrDef > getAttrList ()

repeated .tensorflow.OpDef.AttrDef attr = 4;

Public OpDef.AttrDefOrBuilder getAttrOrBuilder (אינדקס אינט)

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;

public 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 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 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;

Public OpDef getDefaultInstanceForType ()

Public OpDeprecation getDeprecation ()

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

Public OpDeprecation.Builder getDeprecationBuilder ()

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

Public 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;

public 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 ()

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()

Public OpDef.ArgDef getInputArg (אינדקס int)

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

Public OpDef.ArgDef.Builder getInputArgBuilder (אינדקס אינט)

 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;

public 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;

Public 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;

public 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 OpDef.ArgDef getOutputArg (אינדקס int)

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

Public OpDef.ArgDef.Builder 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;

public 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;

public 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;

public com.google.protobuf.ByteString getSummaryBytes ()

 One-line human-readable description of what the Op does.
 
string summary = 5;

יש הוצאה בוליאני ציבורי ()

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

בוליאני הסופי הציבורי הוא אתחול ()

public OpDef.Builder mergeDeprecation (ערך OpDeprecation )

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

public OpDef.Builder mergeFrom (com.google.protobuf.Message אחר)

public OpDef.Builder mergeFrom (קלט com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

זורק
IOException

public final OpDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

public OpDef.Builder removeAttr (int index)

repeated .tensorflow.OpDef.AttrDef attr = 4;

public OpDef.Builder removeInputArg (int index)

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

public OpDef.Builder removeOutputArg (int index)

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

public 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;

Public OpDef.Builder setAttr (אינדקס int, ערך OpDef.AttrDef )

repeated .tensorflow.OpDef.AttrDef attr = 4;

Public OpDef.Builder setAttr (int index, OpDef.AttrDef.Builder builderForValue)

repeated .tensorflow.OpDef.AttrDef attr = 4;

public 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;

Public OpDef.Builder setDeprecation ( OpDeprecation.Builder builderForValue)

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

public OpDef.Builder setDeprecation (ערך OpDeprecation )

 Optional deprecation based on GraphDef versions.
 
.tensorflow.OpDeprecation deprecation = 8;

public OpDef.Builder setDescription (ערך מחרוזת)

 Additional, longer human-readable description of what the Op does.
 
string description = 6;

Public OpDef.Builder setDescriptionBytes (ערך com.google.protobuf.ByteString)

 Additional, longer human-readable description of what the Op does.
 
string description = 6;

Public OpDef.Builder setField (שדה com.google.protobuf.Descriptors.FieldDescriptor, ערך אובייקט)

public OpDef.Builder setInputArg (אינדקס int, ערך OpDef.ArgDef )

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

Public OpDef.Builder setInputArg (int index, OpDef.ArgDef.Builder builderForValue)

 Description of the input(s).
 
repeated .tensorflow.OpDef.ArgDef input_arg = 2;

public 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;

public OpDef.Builder setIsCommutative (ערך בוליאני)

 True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
 
bool is_commutative = 18;

public 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;

public 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;

Public 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;

Public OpDef.Builder setOutputArg (אינדקס int, ערך OpDef.ArgDef )

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

Public OpDef.Builder setOutputArg (int index, OpDef.ArgDef.Builder builderForValue)

 Description of the output(s).
 
repeated .tensorflow.OpDef.ArgDef output_arg = 3;

Public OpDef.Builder setRepeatedField (שדה com.google.protobuf.Descriptors.FieldDescriptor, אינדקס אינט, ערך אובייקט)

public OpDef.Builder setSummary (ערך מחרוזת)

 One-line human-readable description of what the Op does.
 
string summary = 5;

Public OpDef.Builder setSummaryBytes (ערך com.google.protobuf.ByteString)

 One-line human-readable description of what the Op does.
 
string summary = 5;

Public final OpDef.Builder setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)