public static final class OpDef.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder> implements OpDefOrBuilder
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 type
tensorflow.OpDef
Modifier and Type | Method and Description |
---|---|
OpDef.Builder |
addAllAttr(Iterable<? extends OpDef.AttrDef> values)
repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder |
addAllInputArg(Iterable<? extends OpDef.ArgDef> values)
Description of the input(s).
|
OpDef.Builder |
addAllOutputArg(Iterable<? extends OpDef.ArgDef> values)
Description of the output(s).
|
OpDef.Builder |
addAttr(int index,
OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder |
addAttr(int index,
OpDef.AttrDef value)
repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder |
addAttr(OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder |
addAttr(OpDef.AttrDef value)
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 |
addInputArg(int index,
OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
|
OpDef.Builder |
addInputArg(int index,
OpDef.ArgDef value)
Description of the input(s).
|
OpDef.Builder |
addInputArg(OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
|
OpDef.Builder |
addInputArg(OpDef.ArgDef value)
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(int index,
OpDef.ArgDef value)
Description of the output(s).
|
OpDef.Builder |
addOutputArg(OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
|
OpDef.Builder |
addOutputArg(OpDef.ArgDef value)
Description of the output(s).
|
OpDef.ArgDef.Builder |
addOutputArgBuilder()
Description of the output(s).
|
OpDef.ArgDef.Builder |
addOutputArgBuilder(int index)
Description of the output(s).
|
OpDef.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OpDef |
build() |
OpDef |
buildPartial() |
OpDef.Builder |
clear() |
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 |
clearDeprecation()
Optional deprecation based on GraphDef versions.
|
OpDef.Builder |
clearDescription()
Additional, longer human-readable description of what the Op does.
|
OpDef.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
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)
|
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(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
OpDef.Builder |
clearOutputArg()
Description of the output(s).
|
OpDef.Builder |
clearSummary()
One-line human-readable description of what the Op does.
|
OpDef.Builder |
clone() |
boolean |
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; |
List<OpDef.AttrDef.Builder> |
getAttrBuilderList()
repeated .tensorflow.OpDef.AttrDef attr = 4; |
int |
getAttrCount()
repeated .tensorflow.OpDef.AttrDef attr = 4; |
List<OpDef.AttrDef> |
getAttrList()
repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.AttrDefOrBuilder |
getAttrOrBuilder(int index)
repeated .tensorflow.OpDef.AttrDef attr = 4; |
List<? extends OpDef.AttrDefOrBuilder> |
getAttrOrBuilderList()
repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef |
getDefaultInstanceForType() |
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.
|
String |
getDescription()
Additional, longer human-readable description of what the Op does.
|
org.nd4j.shade.protobuf.ByteString |
getDescriptionBytes()
Additional, longer human-readable description of what the Op does.
|
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
OpDef.ArgDef |
getInputArg(int index)
Description of the input(s).
|
OpDef.ArgDef.Builder |
getInputArgBuilder(int index)
Description of the input(s).
|
List<OpDef.ArgDef.Builder> |
getInputArgBuilderList()
Description of the input(s).
|
int |
getInputArgCount()
Description of the input(s).
|
List<OpDef.ArgDef> |
getInputArgList()
Description of the input(s).
|
OpDef.ArgDefOrBuilder |
getInputArgOrBuilder(int index)
Description of the input(s).
|
List<? extends 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)
|
boolean |
getIsStateful()
Ops are marked as stateful if their behavior depends on some state beyond
their input tensors (e.g.
|
String |
getName()
Op names starting with an underscore are reserved for internal use.
|
org.nd4j.shade.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).
|
List<OpDef.ArgDef.Builder> |
getOutputArgBuilderList()
Description of the output(s).
|
int |
getOutputArgCount()
Description of the output(s).
|
List<OpDef.ArgDef> |
getOutputArgList()
Description of the output(s).
|
OpDef.ArgDefOrBuilder |
getOutputArgOrBuilder(int index)
Description of the output(s).
|
List<? extends OpDef.ArgDefOrBuilder> |
getOutputArgOrBuilderList()
Description of the output(s).
|
String |
getSummary()
One-line human-readable description of what the Op does.
|
org.nd4j.shade.protobuf.ByteString |
getSummaryBytes()
One-line human-readable description of what the Op does.
|
boolean |
hasDeprecation()
Optional deprecation based on GraphDef versions.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OpDef.Builder |
mergeDeprecation(OpDeprecation value)
Optional deprecation based on GraphDef versions.
|
OpDef.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
OpDef.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
OpDef.Builder |
mergeFrom(OpDef other) |
OpDef.Builder |
mergeUnknownFields(org.nd4j.shade.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(boolean value)
By default, all inputs to an Op must be initialized Tensors.
|
OpDef.Builder |
setAttr(int index,
OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder |
setAttr(int index,
OpDef.AttrDef value)
repeated .tensorflow.OpDef.AttrDef attr = 4; |
OpDef.Builder |
setDeprecation(OpDeprecation.Builder builderForValue)
Optional deprecation based on GraphDef versions.
|
OpDef.Builder |
setDeprecation(OpDeprecation value)
Optional deprecation based on GraphDef versions.
|
OpDef.Builder |
setDescription(String value)
Additional, longer human-readable description of what the Op does.
|
OpDef.Builder |
setDescriptionBytes(org.nd4j.shade.protobuf.ByteString value)
Additional, longer human-readable description of what the Op does.
|
OpDef.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OpDef.Builder |
setInputArg(int index,
OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
|
OpDef.Builder |
setInputArg(int index,
OpDef.ArgDef value)
Description of the input(s).
|
OpDef.Builder |
setIsAggregate(boolean value)
If is_aggregate is true, then this operation accepts N >= 2
inputs and produces 1 output all of the same type.
|
OpDef.Builder |
setIsCommutative(boolean value)
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
|
OpDef.Builder |
setIsStateful(boolean value)
Ops are marked as stateful if their behavior depends on some state beyond
their input tensors (e.g.
|
OpDef.Builder |
setName(String value)
Op names starting with an underscore are reserved for internal use.
|
OpDef.Builder |
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
Op names starting with an underscore are reserved for internal use.
|
OpDef.Builder |
setOutputArg(int index,
OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
|
OpDef.Builder |
setOutputArg(int index,
OpDef.ArgDef value)
Description of the output(s).
|
OpDef.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OpDef.Builder |
setSummary(String value)
One-line human-readable description of what the Op does.
|
OpDef.Builder |
setSummaryBytes(org.nd4j.shade.protobuf.ByteString value)
One-line human-readable description of what the Op does.
|
OpDef.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public OpDef.Builder clear()
clear
in interface org.nd4j.shade.protobuf.Message.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface org.nd4j.shade.protobuf.Message.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public OpDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public OpDef build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public OpDef buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public OpDef.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public OpDef.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface org.nd4j.shade.protobuf.Message.Builder
setField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public OpDef.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface org.nd4j.shade.protobuf.Message.Builder
clearField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public OpDef.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface org.nd4j.shade.protobuf.Message.Builder
clearOneof
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public OpDef.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
setRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public OpDef.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface org.nd4j.shade.protobuf.Message.Builder
addRepeatedField
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public OpDef.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OpDef.Builder>
public OpDef.Builder mergeFrom(OpDef other)
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public OpDef.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface org.nd4j.shade.protobuf.Message.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<OpDef.Builder>
IOException
public 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;
getName
in interface OpDefOrBuilder
public org.nd4j.shade.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;
getNameBytes
in interface OpDefOrBuilder
public OpDef.Builder setName(String value)
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 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 setNameBytes(org.nd4j.shade.protobuf.ByteString value)
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 List<OpDef.ArgDef> getInputArgList()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
getInputArgList
in interface OpDefOrBuilder
public int getInputArgCount()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
getInputArgCount
in interface OpDefOrBuilder
public OpDef.ArgDef getInputArg(int index)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
getInputArg
in interface OpDefOrBuilder
public OpDef.Builder setInputArg(int index, OpDef.ArgDef value)
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 addInputArg(OpDef.ArgDef value)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addInputArg(int index, OpDef.ArgDef value)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
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 index, OpDef.ArgDef.Builder builderForValue)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder addAllInputArg(Iterable<? extends OpDef.ArgDef> values)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder clearInputArg()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.Builder removeInputArg(int index)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDef.Builder getInputArgBuilder(int index)
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;
getInputArgOrBuilder
in interface OpDefOrBuilder
public List<? extends OpDef.ArgDefOrBuilder> getInputArgOrBuilderList()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
getInputArgOrBuilderList
in interface OpDefOrBuilder
public OpDef.ArgDef.Builder addInputArgBuilder()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public OpDef.ArgDef.Builder addInputArgBuilder(int index)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public List<OpDef.ArgDef.Builder> getInputArgBuilderList()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
public List<OpDef.ArgDef> getOutputArgList()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
getOutputArgList
in interface OpDefOrBuilder
public int getOutputArgCount()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
getOutputArgCount
in interface OpDefOrBuilder
public OpDef.ArgDef getOutputArg(int index)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
getOutputArg
in interface OpDefOrBuilder
public OpDef.Builder setOutputArg(int index, OpDef.ArgDef value)
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 addOutputArg(OpDef.ArgDef value)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addOutputArg(int index, OpDef.ArgDef value)
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 index, OpDef.ArgDef.Builder builderForValue)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder addAllOutputArg(Iterable<? extends OpDef.ArgDef> values)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder clearOutputArg()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.Builder removeOutputArg(int index)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDef.Builder getOutputArgBuilder(int index)
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;
getOutputArgOrBuilder
in interface OpDefOrBuilder
public List<? extends OpDef.ArgDefOrBuilder> getOutputArgOrBuilderList()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
getOutputArgOrBuilderList
in interface OpDefOrBuilder
public OpDef.ArgDef.Builder addOutputArgBuilder()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public OpDef.ArgDef.Builder addOutputArgBuilder(int index)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public List<OpDef.ArgDef.Builder> getOutputArgBuilderList()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
public List<OpDef.AttrDef> getAttrList()
repeated .tensorflow.OpDef.AttrDef attr = 4;
getAttrList
in interface OpDefOrBuilder
public int getAttrCount()
repeated .tensorflow.OpDef.AttrDef attr = 4;
getAttrCount
in interface OpDefOrBuilder
public OpDef.AttrDef getAttr(int index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
getAttr
in interface OpDefOrBuilder
public OpDef.Builder setAttr(int index, OpDef.AttrDef value)
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 addAttr(OpDef.AttrDef value)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAttr(int index, OpDef.AttrDef value)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAttr(OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAttr(int index, OpDef.AttrDef.Builder builderForValue)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder addAllAttr(Iterable<? extends OpDef.AttrDef> values)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder clearAttr()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.Builder removeAttr(int index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDef.Builder getAttrBuilder(int index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDefOrBuilder getAttrOrBuilder(int index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
getAttrOrBuilder
in interface OpDefOrBuilder
public List<? extends OpDef.AttrDefOrBuilder> getAttrOrBuilderList()
repeated .tensorflow.OpDef.AttrDef attr = 4;
getAttrOrBuilderList
in interface OpDefOrBuilder
public OpDef.AttrDef.Builder addAttrBuilder()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public OpDef.AttrDef.Builder addAttrBuilder(int index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
public List<OpDef.AttrDef.Builder> getAttrBuilderList()
repeated .tensorflow.OpDef.AttrDef attr = 4;
public boolean hasDeprecation()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
hasDeprecation
in interface OpDefOrBuilder
public OpDeprecation getDeprecation()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
getDeprecation
in interface OpDefOrBuilder
public OpDef.Builder setDeprecation(OpDeprecation value)
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder setDeprecation(OpDeprecation.Builder builderForValue)
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder mergeDeprecation(OpDeprecation value)
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
public OpDef.Builder clearDeprecation()
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;
getDeprecationOrBuilder
in interface OpDefOrBuilder
public String getSummary()
One-line human-readable description of what the Op does.
string summary = 5;
getSummary
in interface OpDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getSummaryBytes()
One-line human-readable description of what the Op does.
string summary = 5;
getSummaryBytes
in interface OpDefOrBuilder
public OpDef.Builder setSummary(String value)
One-line human-readable description of what the Op does.
string summary = 5;
public OpDef.Builder clearSummary()
One-line human-readable description of what the Op does.
string summary = 5;
public OpDef.Builder setSummaryBytes(org.nd4j.shade.protobuf.ByteString value)
One-line human-readable description of what the Op does.
string summary = 5;
public String getDescription()
Additional, longer human-readable description of what the Op does.
string description = 6;
getDescription
in interface OpDefOrBuilder
public org.nd4j.shade.protobuf.ByteString getDescriptionBytes()
Additional, longer human-readable description of what the Op does.
string description = 6;
getDescriptionBytes
in interface OpDefOrBuilder
public OpDef.Builder setDescription(String value)
Additional, longer human-readable description of what the Op does.
string description = 6;
public OpDef.Builder clearDescription()
Additional, longer human-readable description of what the Op does.
string description = 6;
public OpDef.Builder setDescriptionBytes(org.nd4j.shade.protobuf.ByteString value)
Additional, longer human-readable description of what the Op does.
string description = 6;
public boolean getIsCommutative()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
getIsCommutative
in interface OpDefOrBuilder
public OpDef.Builder setIsCommutative(boolean value)
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
public OpDef.Builder clearIsCommutative()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
public 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;
getIsAggregate
in interface OpDefOrBuilder
public OpDef.Builder setIsAggregate(boolean value)
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 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 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;
getIsStateful
in interface OpDefOrBuilder
public OpDef.Builder setIsStateful(boolean value)
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 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 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;
getAllowsUninitializedInput
in interface OpDefOrBuilder
public OpDef.Builder setAllowsUninitializedInput(boolean value)
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 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 final OpDef.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
setUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
public final OpDef.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface org.nd4j.shade.protobuf.Message.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OpDef.Builder>
Copyright © 2020. All rights reserved.