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.IfChangeProtobuf loại
tensorflow.OpDef
Phương pháp công cộng
OpDef.Builder | addAllAttr (Iterable<? mở rộng các giá trị OpDef.AttrDef >) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | addAllControlOutput (giá trị Iterable<String>) Named control outputs for this operation. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | addAttr (chỉ mục 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 (chỉ mục int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | addControlOutput (Giá trị chuỗi) Named control outputs for this operation. |
OpDef.Builder | addControlOutputBytes (giá trị 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 (chỉ mục int) Description of the input(s). |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | |
OpDef.ArgDef.Builder | addOutputArgBuilder (chỉ mục int) Description of the output(s). |
OpDef.ArgDef.Builder | addOutputArgBuilder () Description of the output(s). |
OpDef.Builder | addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
OpDef | xây dựng () |
OpDef | |
OpDef.Builder | thông thoáng () |
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 | rõ ràngKhông dùng nữa () Optional deprecation based on GraphDef versions. |
OpDef.Builder | mô tả rõ ràng () Additional, longer human-readable description of what the Op does. |
OpDef.Builder | ClearField (trường 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 | rõ ràngTóm tắt () One-line human-readable description of what the Op does. |
OpDef.Builder | dòng vô tính () |
boolean | getAllowsUninitializedInput () By default, all inputs to an Op must be initialized Tensors. |
OpDef.AttrDef | getAttr (chỉ số int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDef.Builder | getAttrBuilder (chỉ mục int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Danh sách< OpDef.AttrDef.Builder > | getAttrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
int | getAttrCount () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Danh sách< OpDef.AttrDef > | getAttrList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDefOrBuilder | getAttrOrBuilder (chỉ mục int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
Danh sách<? mở rộng OpDef.AttrDefOrBuilder > | getAttrOrBuilderList () repeated .tensorflow.OpDef.AttrDef attr = 4; |
Sợi dây | getControlOutput (chỉ số int) Named control outputs for this operation. |
com.google.protobuf.ByteString | getControlOutputBytes (chỉ mục int) 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 | |
OpKhông dùng nữa | getDeprecation () Optional deprecation based on GraphDef versions. |
OpDeprecation.Builder | getDeprecationBuilder () Optional deprecation based on GraphDef versions. |
OpKhông dùng nữaOrBuilder | getDeprecationOrBuilder () Optional deprecation based on GraphDef versions. |
Sợi dây | 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. |
com.google.protobuf.Descriptors.Descriptor tĩnh cuối cùng | |
com.google.protobuf.Descriptors.Descriptor | |
OpDef.ArgDef | getInputArg (chỉ số int) Description of the input(s). |
OpDef.ArgDef.Builder | getInputArgBuilder (chỉ mục int) Description of the input(s). |
Danh sách< OpDef.ArgDef.Builder > | getInputArgBuilderList () Description of the input(s). |
int | getInputArgCount () Description of the input(s). |
Danh sách< OpDef.ArgDef > | getInputArgList () Description of the input(s). |
OpDef.ArgDefOrBuilder | getInputArgOrBuilder (chỉ mục int) Description of the input(s). |
Danh sách<? mở rộng OpDef.ArgDefOrBuilder > | getInputArgOrBuilderList () Description of the input(s). |
boolean | getIsAggregate () If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
boolean | getIsCommutative () True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
boolean | getIsStateful () Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
Sợi dây | lấy Tên () 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 (chỉ số int) Description of the output(s). |
OpDef.ArgDef.Builder | getOutputArgBuilder (chỉ mục int) Description of the output(s). |
Danh sách< OpDef.ArgDef.Builder > | getOutputArgBuilderList () Description of the output(s). |
int | getOutputArgCount () Description of the output(s). |
Danh sách< OpDef.ArgDef > | getOutputArgList () Description of the output(s). |
OpDef.ArgDefOrBuilder | getOutputArgOrBuilder (chỉ mục int) Description of the output(s). |
Danh sách<? mở rộng OpDef.ArgDefOrBuilder > | getOutputArgOrBuilderList () Description of the output(s). |
Sợi dây | lấy Tóm tắt () 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. |
boolean | hasDeprecation () Optional deprecation based on GraphDef versions. |
boolean cuối cùng | |
OpDef.Builder | |
OpDef.Builder | mergeFrom (com.google.protobuf.Message other) |
OpDef.Builder | mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry) |
OpDef.Builder cuối cùng | hợp nhấtUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
OpDef.Builder | RemoveAttr (chỉ số int) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | RemoveInputArg (chỉ mục int) Description of the input(s). |
OpDef.Builder | loại bỏOutputArg (chỉ số int) Description of the output(s). |
OpDef.Builder | setAllowsUninitializedInput (giá trị boolean) By default, all inputs to an Op must be initialized Tensors. |
OpDef.Builder | |
OpDef.Builder | setAttr (chỉ mục int, OpDef.AttrDef.Builder builderForValue) repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder | setControlOutput (chỉ mục int, giá trị chuỗi) Named control outputs for this operation. |
OpDef.Builder | setDeprecation ( OpDeprecation.Builder builderForValue) Optional deprecation based on GraphDef versions. |
OpDef.Builder | |
OpDef.Builder | setDescription (Giá trị chuỗi) Additional, longer human-readable description of what the Op does. |
OpDef.Builder | setDescriptionBytes (giá trị com.google.protobuf.ByteString) Additional, longer human-readable description of what the Op does. |
OpDef.Builder | setField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng) |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | setIsAggregate (giá trị boolean) If is_aggregate is true, then this operation accepts N >= 2 inputs and produces 1 output all of the same type. |
OpDef.Builder | setIsCommutative (giá trị boolean) True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs) bool is_commutative = 18; |
OpDef.Builder | setIsStateful (giá trị boolean) Ops are marked as stateful if their behavior depends on some state beyond their input tensors (e.g. |
OpDef.Builder | setName (Giá trị chuỗi) Op names starting with an underscore are reserved for internal use. |
OpDef.Builder | setNameBytes (giá trị com.google.protobuf.ByteString) Op names starting with an underscore are reserved for internal use. |
OpDef.Builder | |
OpDef.Builder | |
OpDef.Builder | setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng) |
OpDef.Builder | setSummary (Giá trị chuỗi) One-line human-readable description of what the Op does. |
OpDef.Builder | setSummaryBytes (giá trị com.google.protobuf.ByteString) One-line human-readable description of what the Op does. |
OpDef.Builder cuối cùng | setUnknownFields (com.google.protobuf.UnknownFieldSet knownFields) |
Phương pháp kế thừa
Phương pháp công cộng
công khai OpDef.Builder addAllAttr (Iterable<? mở rộng các giá trị OpDef.AttrDef >)
repeated .tensorflow.OpDef.AttrDef attr = 4;
công khai OpDef.Builder addAllControlOutput (giá trị 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;
công khai OpDef.Builder addAllInputArg (Iterable<? mở rộng các giá trị OpDef.ArgDef >)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai OpDef.Builder addAllOutputArg (Iterable<? mở rộng các giá trị OpDef.ArgDef >)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
công khai OpDef.Builder addAttr ( OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
công khai OpDef.Builder addAttr (chỉ mục int, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
công khai OpDef.Builder addAttr (giá trị OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAttr (chỉ mục int, giá trị OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
công khai OpDef.AttrDef.Builder addAttrBuilder (chỉ mục int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
công khai OpDef.Builder addControlOutput (Giá trị chuỗi)
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;
công khai OpDef.Builder addControlOutputBytes (giá trị 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;
công khai OpDef.Builder addInputArg ( OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg (chỉ mục int, giá trị OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai OpDef.Builder addInputArg (giá trị OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai OpDef.Builder addInputArg (chỉ mục int, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai OpDef.ArgDef.Builder addInputArgBuilder ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai OpDef.ArgDef.Builder addInputArgBuilder (chỉ mục int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai OpDef.Builder addOutputArg (chỉ mục int, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
công khai OpDef.Builder addOutputArg ( OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addOutputArg (chỉ mục int, giá trị OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
công khai OpDef.Builder addOutputArg (giá trị OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
công khai OpDef.ArgDef.Builder addOutputArgBuilder (chỉ mục int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
công khai OpDef.ArgDef.Builder addOutputArgBuilder ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
công khai OpDef.Builder addRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, Giá trị đối tượng)
công khai 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;
công khai 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;
công khai OpDef.Builder clearDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
công khai OpDef.Builder clearDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
công khai OpDef.Builder clearInputArg ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai 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;
công khai OpDef.Builder clearIsCommutative ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
công khai 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;
công khai 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;
công khai OpDef.Builder clearOutputArg ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
công khai OpDef.Builder clearSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
boolean 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;
công khai OpDef.AttrDef.Builder getAttrBuilder (chỉ mục int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Danh sách công khai< OpDef.AttrDef.Builder > getAttrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
int công khai getAttrCount ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
công khai OpDef.AttrDefOrBuilder getAttrOrBuilder (chỉ mục int)
repeated .tensorflow.OpDef.AttrDef attr = 4;
Danh sách công khai<? mở rộng OpDef.AttrDefOrBuilder > getAttrOrBuilderList ()
repeated .tensorflow.OpDef.AttrDef attr = 4;
Chuỗi 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;
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;
int công khai 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 công khai 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 công khai getDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
công khai OpDeprecation.Builder getDeprecationBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
công khai OpDeprecationOrBuilder getDeprecationOrBuilder ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
Chuỗi công khai getDescription ()
Additional, longer human-readable description of what the Op does.
string description = 6;
com.google.protobuf.ByteString getDescriptionBytes công khai ()
Additional, longer human-readable description of what the Op does.
string description = 6;
công khai tĩnh cuối cùng com.google.protobuf.Descriptors.Descriptor getDescriptor ()
com.google.protobuf.Descriptors.Descriptor công khai getDescriptorForType ()
công khai OpDef.ArgDef getInputArg (chỉ mục int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai OpDef.ArgDef.Builder getInputArgBuilder (chỉ mục int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Danh sách công khai< OpDef.ArgDef.Builder > getInputArgBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
int công khai getInputArgCount ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
Danh sách công khai< OpDef.ArgDef > getInputArgList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
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 công khai<? mở rộng OpDef.ArgDefOrBuilder > getInputArgOrBuilderList ()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
boolean 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 công khai getIsCommutative ()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
boolean 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 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;
com.google.protobuf.ByteString getNameBytes () công khai
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;
công khai OpDef.ArgDef getOutputArg (chỉ mục int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
công khai OpDef.ArgDef.Builder getOutputArgBuilder (chỉ mục int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Danh sách công khai< OpDef.ArgDef.Builder > getOutputArgBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
int công khai getOutputArgCount ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Danh sách công khai< OpDef.ArgDef > getOutputArgList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
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 công khai<? mở rộng OpDef.ArgDefOrBuilder > getOutputArgOrBuilderList ()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
Chuỗi công khai getSummary ()
One-line human-readable description of what the Op does.
string summary = 5;
com.google.protobuf.ByteString getSummaryBytes công khai ()
One-line human-readable description of what the Op does.
string summary = 5;
boolean công khai hasDeprecation ()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
boolean cuối cùng công khai được khởi tạo ()
công khai OpDef.Builder mergeDeprecation (giá trị OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
công khai OpDef.Builder mergeFrom (đầu vào com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite ExtensionRegistry)
Ném
IOException |
---|
trận chung kết công khai OpDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet knownFields)
công khai OpDef.Builder RemoveInputArg (chỉ mục int)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai OpDef.Builder RemoveOutputArg (chỉ mục int)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder setAllowsUninitializedInput (giá trị boolean)
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 (chỉ số int, giá trị OpDef.AttrDef )
repeated .tensorflow.OpDef.AttrDef attr = 4;
công khai OpDef.Builder setAttr (chỉ mục int, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
công khai OpDef.Builder setControlOutput (chỉ mục int, giá trị chuỗi)
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;
công khai OpDef.Builder setDeprecation ( OpDeprecation.Builder builderForValue)
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder setDeprecation (giá trị OpDeprecation )
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder setDescription (Giá trị chuỗi)
Additional, longer human-readable description of what the Op does.
string description = 6;
công khai OpDef.Builder setDescriptionBytes (giá trị com.google.protobuf.ByteString)
Additional, longer human-readable description of what the Op does.
string description = 6;
công khai OpDef.Builder setField (trường com.google.protobuf.Descriptors.FieldDescriptor, giá trị đối tượng)
public OpDef.Builder setInputArg (chỉ mục int, giá trị OpDef.ArgDef )
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai OpDef.Builder setInputArg (chỉ mục int, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
công khai OpDef.Builder setIsAggregate (giá trị boolean)
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;
công khai OpDef.Builder setIsCommutative (giá trị boolean)
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
công khai OpDef.Builder setIsStateful (giá trị boolean)
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 (Giá trị chuỗi)
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;
công khai OpDef.Builder setNameBytes (giá trị 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 (chỉ mục int, giá trị OpDef.ArgDef )
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
công khai OpDef.Builder setOutputArg (chỉ mục int, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
công khai OpDef.Builder setRepeatedField (trường com.google.protobuf.Descriptors.FieldDescriptor, chỉ mục int, giá trị đối tượng)
public OpDef.Builder setSummary (Giá trị chuỗi)
One-line human-readable description of what the Op does.
string summary = 5;
công khai OpDef.Builder setSummaryBytes (giá trị com.google.protobuf.ByteString)
One-line human-readable description of what the Op does.
string summary = 5;