Package org.tensorflow.framework
Class OpDef
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite
-
- org.nd4j.shade.protobuf.AbstractMessage
-
- org.nd4j.shade.protobuf.GeneratedMessageV3
-
- org.tensorflow.framework.OpDef
-
- All Implemented Interfaces:
Serializable
,org.nd4j.shade.protobuf.Message
,org.nd4j.shade.protobuf.MessageLite
,org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
,OpDefOrBuilder
public final class OpDef extends org.nd4j.shade.protobuf.GeneratedMessageV3 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.IfChange
Protobuf typetensorflow.OpDef
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OpDef.ArgDef
For describing inputs and outputs.static interface
OpDef.ArgDefOrBuilder
static class
OpDef.AttrDef
Description of the graph-construction-time configuration of this Op.static interface
OpDef.AttrDefOrBuilder
static class
OpDef.Builder
Defines an operation.-
Nested classes/interfaces inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER
static int
ATTR_FIELD_NUMBER
static int
DEPRECATION_FIELD_NUMBER
static int
DESCRIPTION_FIELD_NUMBER
static int
INPUT_ARG_FIELD_NUMBER
static int
IS_AGGREGATE_FIELD_NUMBER
static int
IS_COMMUTATIVE_FIELD_NUMBER
static int
IS_STATEFUL_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
OUTPUT_ARG_FIELD_NUMBER
static int
SUMMARY_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
boolean
getAllowsUninitializedInput()
By default, all inputs to an Op must be initialized Tensors.OpDef.AttrDef
getAttr(int index)
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;
static OpDef
getDefaultInstance()
OpDef
getDefaultInstanceForType()
OpDeprecation
getDeprecation()
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()
OpDef.ArgDef
getInputArg(int index)
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).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).org.nd4j.shade.protobuf.Parser<OpDef>
getParserForType()
int
getSerializedSize()
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.org.nd4j.shade.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasDeprecation()
Optional deprecation based on GraphDef versions.int
hashCode()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static OpDef.Builder
newBuilder()
static OpDef.Builder
newBuilder(OpDef prototype)
OpDef.Builder
newBuilderForType()
protected OpDef.Builder
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static OpDef
parseDelimitedFrom(InputStream input)
static OpDef
parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static OpDef
parseFrom(byte[] data)
static OpDef
parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static OpDef
parseFrom(InputStream input)
static OpDef
parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static OpDef
parseFrom(ByteBuffer data)
static OpDef
parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static OpDef
parseFrom(org.nd4j.shade.protobuf.ByteString data)
static OpDef
parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static OpDef
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input)
static OpDef
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)
static org.nd4j.shade.protobuf.Parser<OpDef>
parser()
OpDef.Builder
toBuilder()
void
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INPUT_ARG_FIELD_NUMBER
public static final int INPUT_ARG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OUTPUT_ARG_FIELD_NUMBER
public static final int OUTPUT_ARG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTR_FIELD_NUMBER
public static final int ATTR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DEPRECATION_FIELD_NUMBER
public static final int DEPRECATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUMMARY_FIELD_NUMBER
public static final int SUMMARY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_COMMUTATIVE_FIELD_NUMBER
public static final int IS_COMMUTATIVE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_AGGREGATE_FIELD_NUMBER
public static final int IS_AGGREGATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IS_STATEFUL_FIELD_NUMBER
public static final int IS_STATEFUL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER
public static final int ALLOWS_UNINITIALIZED_INPUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getUnknownFields
public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getName
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;
- Specified by:
getName
in interfaceOpDefOrBuilder
- Returns:
- The name.
-
getNameBytes
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;
- Specified by:
getNameBytes
in interfaceOpDefOrBuilder
- Returns:
- The bytes for name.
-
getInputArgList
public List<OpDef.ArgDef> getInputArgList()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
- Specified by:
getInputArgList
in interfaceOpDefOrBuilder
-
getInputArgOrBuilderList
public List<? extends OpDef.ArgDefOrBuilder> getInputArgOrBuilderList()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
- Specified by:
getInputArgOrBuilderList
in interfaceOpDefOrBuilder
-
getInputArgCount
public int getInputArgCount()
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
- Specified by:
getInputArgCount
in interfaceOpDefOrBuilder
-
getInputArg
public OpDef.ArgDef getInputArg(int index)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
- Specified by:
getInputArg
in interfaceOpDefOrBuilder
-
getInputArgOrBuilder
public OpDef.ArgDefOrBuilder getInputArgOrBuilder(int index)
Description of the input(s).
repeated .tensorflow.OpDef.ArgDef input_arg = 2;
- Specified by:
getInputArgOrBuilder
in interfaceOpDefOrBuilder
-
getOutputArgList
public List<OpDef.ArgDef> getOutputArgList()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
- Specified by:
getOutputArgList
in interfaceOpDefOrBuilder
-
getOutputArgOrBuilderList
public List<? extends OpDef.ArgDefOrBuilder> getOutputArgOrBuilderList()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
- Specified by:
getOutputArgOrBuilderList
in interfaceOpDefOrBuilder
-
getOutputArgCount
public int getOutputArgCount()
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
- Specified by:
getOutputArgCount
in interfaceOpDefOrBuilder
-
getOutputArg
public OpDef.ArgDef getOutputArg(int index)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
- Specified by:
getOutputArg
in interfaceOpDefOrBuilder
-
getOutputArgOrBuilder
public OpDef.ArgDefOrBuilder getOutputArgOrBuilder(int index)
Description of the output(s).
repeated .tensorflow.OpDef.ArgDef output_arg = 3;
- Specified by:
getOutputArgOrBuilder
in interfaceOpDefOrBuilder
-
getAttrList
public List<OpDef.AttrDef> getAttrList()
repeated .tensorflow.OpDef.AttrDef attr = 4;
- Specified by:
getAttrList
in interfaceOpDefOrBuilder
-
getAttrOrBuilderList
public List<? extends OpDef.AttrDefOrBuilder> getAttrOrBuilderList()
repeated .tensorflow.OpDef.AttrDef attr = 4;
- Specified by:
getAttrOrBuilderList
in interfaceOpDefOrBuilder
-
getAttrCount
public int getAttrCount()
repeated .tensorflow.OpDef.AttrDef attr = 4;
- Specified by:
getAttrCount
in interfaceOpDefOrBuilder
-
getAttr
public OpDef.AttrDef getAttr(int index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
- Specified by:
getAttr
in interfaceOpDefOrBuilder
-
getAttrOrBuilder
public OpDef.AttrDefOrBuilder getAttrOrBuilder(int index)
repeated .tensorflow.OpDef.AttrDef attr = 4;
- Specified by:
getAttrOrBuilder
in interfaceOpDefOrBuilder
-
hasDeprecation
public boolean hasDeprecation()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
- Specified by:
hasDeprecation
in interfaceOpDefOrBuilder
- Returns:
- Whether the deprecation field is set.
-
getDeprecation
public OpDeprecation getDeprecation()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
- Specified by:
getDeprecation
in interfaceOpDefOrBuilder
- Returns:
- The deprecation.
-
getDeprecationOrBuilder
public OpDeprecationOrBuilder getDeprecationOrBuilder()
Optional deprecation based on GraphDef versions.
.tensorflow.OpDeprecation deprecation = 8;
- Specified by:
getDeprecationOrBuilder
in interfaceOpDefOrBuilder
-
getSummary
public String getSummary()
One-line human-readable description of what the Op does.
string summary = 5;
- Specified by:
getSummary
in interfaceOpDefOrBuilder
- Returns:
- The summary.
-
getSummaryBytes
public org.nd4j.shade.protobuf.ByteString getSummaryBytes()
One-line human-readable description of what the Op does.
string summary = 5;
- Specified by:
getSummaryBytes
in interfaceOpDefOrBuilder
- Returns:
- The bytes for summary.
-
getDescription
public String getDescription()
Additional, longer human-readable description of what the Op does.
string description = 6;
- Specified by:
getDescription
in interfaceOpDefOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public org.nd4j.shade.protobuf.ByteString getDescriptionBytes()
Additional, longer human-readable description of what the Op does.
string description = 6;
- Specified by:
getDescriptionBytes
in interfaceOpDefOrBuilder
- Returns:
- The bytes for description.
-
getIsCommutative
public boolean getIsCommutative()
True if the operation is commutative ("op(a,b) == op(b,a)" for all inputs)
bool is_commutative = 18;
- Specified by:
getIsCommutative
in interfaceOpDefOrBuilder
- Returns:
- The isCommutative.
-
getIsAggregate
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;
- Specified by:
getIsAggregate
in interfaceOpDefOrBuilder
- Returns:
- The isAggregate.
-
getIsStateful
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;
- Specified by:
getIsStateful
in interfaceOpDefOrBuilder
- Returns:
- The isStateful.
-
getAllowsUninitializedInput
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;
- Specified by:
getAllowsUninitializedInput
in interfaceOpDefOrBuilder
- Returns:
- The allowsUninitializedInput.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
writeTo
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getSerializedSize
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
equals
in classorg.nd4j.shade.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfaceorg.nd4j.shade.protobuf.Message
- Overrides:
hashCode
in classorg.nd4j.shade.protobuf.AbstractMessage
-
parseFrom
public static OpDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpDef parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
- Throws:
org.nd4j.shade.protobuf.InvalidProtocolBufferException
-
parseFrom
public static OpDef parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpDef parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static OpDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static OpDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static OpDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public OpDef.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
newBuilderForType
in interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilder
public static OpDef.Builder newBuilder()
-
newBuilder
public static OpDef.Builder newBuilder(OpDef prototype)
-
toBuilder
public OpDef.Builder toBuilder()
- Specified by:
toBuilder
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
toBuilder
in interfaceorg.nd4j.shade.protobuf.MessageLite
-
newBuilderForType
protected OpDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static OpDef getDefaultInstance()
-
parser
public static org.nd4j.shade.protobuf.Parser<OpDef> parser()
-
getParserForType
public org.nd4j.shade.protobuf.Parser<OpDef> getParserForType()
- Specified by:
getParserForType
in interfaceorg.nd4j.shade.protobuf.Message
- Specified by:
getParserForType
in interfaceorg.nd4j.shade.protobuf.MessageLite
- Overrides:
getParserForType
in classorg.nd4j.shade.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public OpDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
-