Package onnx
Interface OnnxMl.NodeProtoOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OnnxMl.NodeProto
,OnnxMl.NodeProto.Builder
- Enclosing class:
- OnnxMl
public static interface OnnxMl.NodeProtoOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OnnxMl.AttributeProto
getAttribute(int index)
Additional named attributes.int
getAttributeCount()
Additional named attributes.List<OnnxMl.AttributeProto>
getAttributeList()
Additional named attributes.OnnxMl.AttributeProtoOrBuilder
getAttributeOrBuilder(int index)
Additional named attributes.List<? extends OnnxMl.AttributeProtoOrBuilder>
getAttributeOrBuilderList()
Additional named attributes.String
getDocString()
A human-readable documentation for this node.org.nd4j.shade.protobuf.ByteString
getDocStringBytes()
A human-readable documentation for this node.String
getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.org.nd4j.shade.protobuf.ByteString
getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.String
getInput(int index)
namespace Valueorg.nd4j.shade.protobuf.ByteString
getInputBytes(int index)
namespace Valueint
getInputCount()
namespace ValueList<String>
getInputList()
namespace ValueString
getName()
An optional identifier for this node in a graph.org.nd4j.shade.protobuf.ByteString
getNameBytes()
An optional identifier for this node in a graph.String
getOpType()
The symbolic identifier of the Operator to execute.org.nd4j.shade.protobuf.ByteString
getOpTypeBytes()
The symbolic identifier of the Operator to execute.String
getOutput(int index)
namespace Valueorg.nd4j.shade.protobuf.ByteString
getOutputBytes(int index)
namespace Valueint
getOutputCount()
namespace ValueList<String>
getOutputList()
namespace Value-
Methods inherited from interface org.nd4j.shade.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getInputList
List<String> getInputList()
namespace Value
repeated string input = 1;
- Returns:
- A list containing the input.
-
getInputCount
int getInputCount()
namespace Value
repeated string input = 1;
- Returns:
- The count of input.
-
getInput
String getInput(int index)
namespace Value
repeated string input = 1;
- Parameters:
index
- The index of the element to return.- Returns:
- The input at the given index.
-
getInputBytes
org.nd4j.shade.protobuf.ByteString getInputBytes(int index)
namespace Value
repeated string input = 1;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the input at the given index.
-
getOutputList
List<String> getOutputList()
namespace Value
repeated string output = 2;
- Returns:
- A list containing the output.
-
getOutputCount
int getOutputCount()
namespace Value
repeated string output = 2;
- Returns:
- The count of output.
-
getOutput
String getOutput(int index)
namespace Value
repeated string output = 2;
- Parameters:
index
- The index of the element to return.- Returns:
- The output at the given index.
-
getOutputBytes
org.nd4j.shade.protobuf.ByteString getOutputBytes(int index)
namespace Value
repeated string output = 2;
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the output at the given index.
-
getName
String getName()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
string name = 3;
- Returns:
- The name.
-
getNameBytes
org.nd4j.shade.protobuf.ByteString getNameBytes()
An optional identifier for this node in a graph. This field MAY be absent in ths version of the IR.
string name = 3;
- Returns:
- The bytes for name.
-
getOpType
String getOpType()
The symbolic identifier of the Operator to execute.
string op_type = 4;
- Returns:
- The opType.
-
getOpTypeBytes
org.nd4j.shade.protobuf.ByteString getOpTypeBytes()
The symbolic identifier of the Operator to execute.
string op_type = 4;
- Returns:
- The bytes for opType.
-
getDomain
String getDomain()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;
- Returns:
- The domain.
-
getDomainBytes
org.nd4j.shade.protobuf.ByteString getDomainBytes()
The domain of the OperatorSet that specifies the operator named by op_type.
string domain = 7;
- Returns:
- The bytes for domain.
-
getAttributeList
List<OnnxMl.AttributeProto> getAttributeList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttribute
OnnxMl.AttributeProto getAttribute(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeCount
int getAttributeCount()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeOrBuilderList
List<? extends OnnxMl.AttributeProtoOrBuilder> getAttributeOrBuilderList()
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getAttributeOrBuilder
OnnxMl.AttributeProtoOrBuilder getAttributeOrBuilder(int index)
Additional named attributes.
repeated .onnx.AttributeProto attribute = 5;
-
getDocString
String getDocString()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;
- Returns:
- The docString.
-
getDocStringBytes
org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this node. Markdown is allowed.
string doc_string = 6;
- Returns:
- The bytes for docString.
-
-