public static final class OnnxMl.AttributeProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.AttributeProto.Builder> implements OnnxMl.AttributeProtoOrBuilder
A named attribute containing either singular float, integer, string and tensor values, or repeated float, integer, string and tensor values. An AttributeProto MUST contain the name field, and *only one* of the following content fields, effectively enforcing a C/C++ union equivalent.Protobuf type
onnx.AttributeProto
Modifier and Type | Method and Description |
---|---|
OnnxMl.AttributeProto.Builder |
addAllFloats(Iterable<? extends Float> values)
list of floats
|
OnnxMl.AttributeProto.Builder |
addAllGraphs(Iterable<? extends OnnxMl.GraphProto> values)
list of graph
|
OnnxMl.AttributeProto.Builder |
addAllInts(Iterable<? extends Long> values)
list of ints
|
OnnxMl.AttributeProto.Builder |
addAllStrings(Iterable<? extends org.nd4j.shade.protobuf.ByteString> values)
list of UTF-8 strings
|
OnnxMl.AttributeProto.Builder |
addAllTensors(Iterable<? extends OnnxMl.TensorProto> values)
list of tensors
|
OnnxMl.AttributeProto.Builder |
addFloats(float value)
list of floats
|
OnnxMl.AttributeProto.Builder |
addGraphs(int index,
OnnxMl.GraphProto.Builder builderForValue)
list of graph
|
OnnxMl.AttributeProto.Builder |
addGraphs(int index,
OnnxMl.GraphProto value)
list of graph
|
OnnxMl.AttributeProto.Builder |
addGraphs(OnnxMl.GraphProto.Builder builderForValue)
list of graph
|
OnnxMl.AttributeProto.Builder |
addGraphs(OnnxMl.GraphProto value)
list of graph
|
OnnxMl.GraphProto.Builder |
addGraphsBuilder()
list of graph
|
OnnxMl.GraphProto.Builder |
addGraphsBuilder(int index)
list of graph
|
OnnxMl.AttributeProto.Builder |
addInts(long value)
list of ints
|
OnnxMl.AttributeProto.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.AttributeProto.Builder |
addStrings(org.nd4j.shade.protobuf.ByteString value)
list of UTF-8 strings
|
OnnxMl.AttributeProto.Builder |
addTensors(int index,
OnnxMl.TensorProto.Builder builderForValue)
list of tensors
|
OnnxMl.AttributeProto.Builder |
addTensors(int index,
OnnxMl.TensorProto value)
list of tensors
|
OnnxMl.AttributeProto.Builder |
addTensors(OnnxMl.TensorProto.Builder builderForValue)
list of tensors
|
OnnxMl.AttributeProto.Builder |
addTensors(OnnxMl.TensorProto value)
list of tensors
|
OnnxMl.TensorProto.Builder |
addTensorsBuilder()
list of tensors
|
OnnxMl.TensorProto.Builder |
addTensorsBuilder(int index)
list of tensors
|
OnnxMl.AttributeProto |
build() |
OnnxMl.AttributeProto |
buildPartial() |
OnnxMl.AttributeProto.Builder |
clear() |
OnnxMl.AttributeProto.Builder |
clearDocString()
A human-readable documentation for this attribute.
|
OnnxMl.AttributeProto.Builder |
clearF()
Exactly ONE of the following fields must be present for this version of the IR
|
OnnxMl.AttributeProto.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
OnnxMl.AttributeProto.Builder |
clearFloats()
list of floats
|
OnnxMl.AttributeProto.Builder |
clearG()
graph
|
OnnxMl.AttributeProto.Builder |
clearGraphs()
list of graph
|
OnnxMl.AttributeProto.Builder |
clearI()
int
|
OnnxMl.AttributeProto.Builder |
clearInts()
list of ints
|
OnnxMl.AttributeProto.Builder |
clearName()
The name field MUST be present for this version of the IR.
|
OnnxMl.AttributeProto.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxMl.AttributeProto.Builder |
clearS()
UTF-8 string
|
OnnxMl.AttributeProto.Builder |
clearStrings()
list of UTF-8 strings
|
OnnxMl.AttributeProto.Builder |
clearT()
tensor value
|
OnnxMl.AttributeProto.Builder |
clearTensors()
list of tensors
|
OnnxMl.AttributeProto.Builder |
clearType()
The type field MUST be present for this version of the IR.
|
OnnxMl.AttributeProto.Builder |
clone() |
OnnxMl.AttributeProto |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDocString()
A human-readable documentation for this attribute.
|
org.nd4j.shade.protobuf.ByteString |
getDocStringBytes()
A human-readable documentation for this attribute.
|
float |
getF()
Exactly ONE of the following fields must be present for this version of the IR
|
float |
getFloats(int index)
list of floats
|
int |
getFloatsCount()
list of floats
|
List<Float> |
getFloatsList()
list of floats
|
OnnxMl.GraphProto |
getG()
graph
|
OnnxMl.GraphProto.Builder |
getGBuilder()
graph
|
OnnxMl.GraphProtoOrBuilder |
getGOrBuilder()
graph
|
OnnxMl.GraphProto |
getGraphs(int index)
list of graph
|
OnnxMl.GraphProto.Builder |
getGraphsBuilder(int index)
list of graph
|
List<OnnxMl.GraphProto.Builder> |
getGraphsBuilderList()
list of graph
|
int |
getGraphsCount()
list of graph
|
List<OnnxMl.GraphProto> |
getGraphsList()
list of graph
|
OnnxMl.GraphProtoOrBuilder |
getGraphsOrBuilder(int index)
list of graph
|
List<? extends OnnxMl.GraphProtoOrBuilder> |
getGraphsOrBuilderList()
list of graph
|
long |
getI()
int
|
long |
getInts(int index)
list of ints
|
int |
getIntsCount()
list of ints
|
List<Long> |
getIntsList()
list of ints
|
String |
getName()
The name field MUST be present for this version of the IR.
|
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
The name field MUST be present for this version of the IR.
|
org.nd4j.shade.protobuf.ByteString |
getS()
UTF-8 string
|
org.nd4j.shade.protobuf.ByteString |
getStrings(int index)
list of UTF-8 strings
|
int |
getStringsCount()
list of UTF-8 strings
|
List<org.nd4j.shade.protobuf.ByteString> |
getStringsList()
list of UTF-8 strings
|
OnnxMl.TensorProto |
getT()
tensor value
|
OnnxMl.TensorProto.Builder |
getTBuilder()
tensor value
|
OnnxMl.TensorProto |
getTensors(int index)
list of tensors
|
OnnxMl.TensorProto.Builder |
getTensorsBuilder(int index)
list of tensors
|
List<OnnxMl.TensorProto.Builder> |
getTensorsBuilderList()
list of tensors
|
int |
getTensorsCount()
list of tensors
|
List<OnnxMl.TensorProto> |
getTensorsList()
list of tensors
|
OnnxMl.TensorProtoOrBuilder |
getTensorsOrBuilder(int index)
list of tensors
|
List<? extends OnnxMl.TensorProtoOrBuilder> |
getTensorsOrBuilderList()
list of tensors
|
OnnxMl.TensorProtoOrBuilder |
getTOrBuilder()
tensor value
|
OnnxMl.AttributeProto.AttributeType |
getType()
The type field MUST be present for this version of the IR.
|
int |
getTypeValue()
The type field MUST be present for this version of the IR.
|
boolean |
hasG()
graph
|
boolean |
hasT()
tensor value
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
OnnxMl.AttributeProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
OnnxMl.AttributeProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
OnnxMl.AttributeProto.Builder |
mergeFrom(OnnxMl.AttributeProto other) |
OnnxMl.AttributeProto.Builder |
mergeG(OnnxMl.GraphProto value)
graph
|
OnnxMl.AttributeProto.Builder |
mergeT(OnnxMl.TensorProto value)
tensor value
|
OnnxMl.AttributeProto.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.AttributeProto.Builder |
removeGraphs(int index)
list of graph
|
OnnxMl.AttributeProto.Builder |
removeTensors(int index)
list of tensors
|
OnnxMl.AttributeProto.Builder |
setDocString(String value)
A human-readable documentation for this attribute.
|
OnnxMl.AttributeProto.Builder |
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this attribute.
|
OnnxMl.AttributeProto.Builder |
setF(float value)
Exactly ONE of the following fields must be present for this version of the IR
|
OnnxMl.AttributeProto.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.AttributeProto.Builder |
setFloats(int index,
float value)
list of floats
|
OnnxMl.AttributeProto.Builder |
setG(OnnxMl.GraphProto.Builder builderForValue)
graph
|
OnnxMl.AttributeProto.Builder |
setG(OnnxMl.GraphProto value)
graph
|
OnnxMl.AttributeProto.Builder |
setGraphs(int index,
OnnxMl.GraphProto.Builder builderForValue)
list of graph
|
OnnxMl.AttributeProto.Builder |
setGraphs(int index,
OnnxMl.GraphProto value)
list of graph
|
OnnxMl.AttributeProto.Builder |
setI(long value)
int
|
OnnxMl.AttributeProto.Builder |
setInts(int index,
long value)
list of ints
|
OnnxMl.AttributeProto.Builder |
setName(String value)
The name field MUST be present for this version of the IR.
|
OnnxMl.AttributeProto.Builder |
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name field MUST be present for this version of the IR.
|
OnnxMl.AttributeProto.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxMl.AttributeProto.Builder |
setS(org.nd4j.shade.protobuf.ByteString value)
UTF-8 string
|
OnnxMl.AttributeProto.Builder |
setStrings(int index,
org.nd4j.shade.protobuf.ByteString value)
list of UTF-8 strings
|
OnnxMl.AttributeProto.Builder |
setT(OnnxMl.TensorProto.Builder builderForValue)
tensor value
|
OnnxMl.AttributeProto.Builder |
setT(OnnxMl.TensorProto value)
tensor value
|
OnnxMl.AttributeProto.Builder |
setTensors(int index,
OnnxMl.TensorProto.Builder builderForValue)
list of tensors
|
OnnxMl.AttributeProto.Builder |
setTensors(int index,
OnnxMl.TensorProto value)
list of tensors
|
OnnxMl.AttributeProto.Builder |
setType(OnnxMl.AttributeProto.AttributeType value)
The type field MUST be present for this version of the IR.
|
OnnxMl.AttributeProto.Builder |
setTypeValue(int value)
The type field MUST be present for this version of the IR.
|
OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
public OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
public OnnxMl.AttributeProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public OnnxMl.AttributeProto build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public OnnxMl.AttributeProto buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
public OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
public OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
public OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
public OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
public OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
public OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
public OnnxMl.AttributeProto.Builder mergeFrom(OnnxMl.AttributeProto other)
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<OnnxMl.AttributeProto.Builder>
public OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
IOException
public String getName()
The name field MUST be present for this version of the IR.
string name = 1;
getName
in interface OnnxMl.AttributeProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
The name field MUST be present for this version of the IR.
string name = 1;
getNameBytes
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setName(String value)
The name field MUST be present for this version of the IR.
string name = 1;
public OnnxMl.AttributeProto.Builder clearName()
The name field MUST be present for this version of the IR.
string name = 1;
public OnnxMl.AttributeProto.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name field MUST be present for this version of the IR.
string name = 1;
public String getDocString()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;
getDocString
in interface OnnxMl.AttributeProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getDocStringBytes()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;
getDocStringBytes
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setDocString(String value)
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;
public OnnxMl.AttributeProto.Builder clearDocString()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;
public OnnxMl.AttributeProto.Builder setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;
public int getTypeValue()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field hueristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;
getTypeValue
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setTypeValue(int value)
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field hueristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;
public OnnxMl.AttributeProto.AttributeType getType()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field hueristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;
getType
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setType(OnnxMl.AttributeProto.AttributeType value)
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field hueristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;
public OnnxMl.AttributeProto.Builder clearType()
The type field MUST be present for this version of the IR. For 0.0.1 versions of the IR, this field was not defined, and implementations needed to use has_field hueristics to determine which value field was in use. For IR_VERSION 0.0.2 or later, this field MUST be set and match the f|i|s|t|... field in use. This change was made to accomodate proto3 implementations.
.onnx.AttributeProto.AttributeType type = 20;
public float getF()
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;
getF
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setF(float value)
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;
public OnnxMl.AttributeProto.Builder clearF()
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;
public long getI()
int
int64 i = 3;
getI
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setI(long value)
int
int64 i = 3;
public OnnxMl.AttributeProto.Builder clearI()
int
int64 i = 3;
public org.nd4j.shade.protobuf.ByteString getS()
UTF-8 string
bytes s = 4;
getS
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setS(org.nd4j.shade.protobuf.ByteString value)
UTF-8 string
bytes s = 4;
public OnnxMl.AttributeProto.Builder clearS()
UTF-8 string
bytes s = 4;
public boolean hasT()
tensor value
.onnx.TensorProto t = 5;
hasT
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.TensorProto getT()
tensor value
.onnx.TensorProto t = 5;
getT
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setT(OnnxMl.TensorProto value)
tensor value
.onnx.TensorProto t = 5;
public OnnxMl.AttributeProto.Builder setT(OnnxMl.TensorProto.Builder builderForValue)
tensor value
.onnx.TensorProto t = 5;
public OnnxMl.AttributeProto.Builder mergeT(OnnxMl.TensorProto value)
tensor value
.onnx.TensorProto t = 5;
public OnnxMl.AttributeProto.Builder clearT()
tensor value
.onnx.TensorProto t = 5;
public OnnxMl.TensorProto.Builder getTBuilder()
tensor value
.onnx.TensorProto t = 5;
public OnnxMl.TensorProtoOrBuilder getTOrBuilder()
tensor value
.onnx.TensorProto t = 5;
getTOrBuilder
in interface OnnxMl.AttributeProtoOrBuilder
public boolean hasG()
graph
.onnx.GraphProto g = 6;
hasG
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.GraphProto getG()
graph
.onnx.GraphProto g = 6;
getG
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setG(OnnxMl.GraphProto value)
graph
.onnx.GraphProto g = 6;
public OnnxMl.AttributeProto.Builder setG(OnnxMl.GraphProto.Builder builderForValue)
graph
.onnx.GraphProto g = 6;
public OnnxMl.AttributeProto.Builder mergeG(OnnxMl.GraphProto value)
graph
.onnx.GraphProto g = 6;
public OnnxMl.AttributeProto.Builder clearG()
graph
.onnx.GraphProto g = 6;
public OnnxMl.GraphProto.Builder getGBuilder()
graph
.onnx.GraphProto g = 6;
public OnnxMl.GraphProtoOrBuilder getGOrBuilder()
graph
.onnx.GraphProto g = 6;
getGOrBuilder
in interface OnnxMl.AttributeProtoOrBuilder
public List<Float> getFloatsList()
list of floats
repeated float floats = 7;
getFloatsList
in interface OnnxMl.AttributeProtoOrBuilder
public int getFloatsCount()
list of floats
repeated float floats = 7;
getFloatsCount
in interface OnnxMl.AttributeProtoOrBuilder
public float getFloats(int index)
list of floats
repeated float floats = 7;
getFloats
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setFloats(int index, float value)
list of floats
repeated float floats = 7;
public OnnxMl.AttributeProto.Builder addFloats(float value)
list of floats
repeated float floats = 7;
public OnnxMl.AttributeProto.Builder addAllFloats(Iterable<? extends Float> values)
list of floats
repeated float floats = 7;
public OnnxMl.AttributeProto.Builder clearFloats()
list of floats
repeated float floats = 7;
public List<Long> getIntsList()
list of ints
repeated int64 ints = 8;
getIntsList
in interface OnnxMl.AttributeProtoOrBuilder
public int getIntsCount()
list of ints
repeated int64 ints = 8;
getIntsCount
in interface OnnxMl.AttributeProtoOrBuilder
public long getInts(int index)
list of ints
repeated int64 ints = 8;
getInts
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setInts(int index, long value)
list of ints
repeated int64 ints = 8;
public OnnxMl.AttributeProto.Builder addInts(long value)
list of ints
repeated int64 ints = 8;
public OnnxMl.AttributeProto.Builder addAllInts(Iterable<? extends Long> values)
list of ints
repeated int64 ints = 8;
public OnnxMl.AttributeProto.Builder clearInts()
list of ints
repeated int64 ints = 8;
public List<org.nd4j.shade.protobuf.ByteString> getStringsList()
list of UTF-8 strings
repeated bytes strings = 9;
getStringsList
in interface OnnxMl.AttributeProtoOrBuilder
public int getStringsCount()
list of UTF-8 strings
repeated bytes strings = 9;
getStringsCount
in interface OnnxMl.AttributeProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getStrings(int index)
list of UTF-8 strings
repeated bytes strings = 9;
getStrings
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setStrings(int index, org.nd4j.shade.protobuf.ByteString value)
list of UTF-8 strings
repeated bytes strings = 9;
public OnnxMl.AttributeProto.Builder addStrings(org.nd4j.shade.protobuf.ByteString value)
list of UTF-8 strings
repeated bytes strings = 9;
public OnnxMl.AttributeProto.Builder addAllStrings(Iterable<? extends org.nd4j.shade.protobuf.ByteString> values)
list of UTF-8 strings
repeated bytes strings = 9;
public OnnxMl.AttributeProto.Builder clearStrings()
list of UTF-8 strings
repeated bytes strings = 9;
public List<OnnxMl.TensorProto> getTensorsList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
getTensorsList
in interface OnnxMl.AttributeProtoOrBuilder
public int getTensorsCount()
list of tensors
repeated .onnx.TensorProto tensors = 10;
getTensorsCount
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.TensorProto getTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
getTensors
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setTensors(int index, OnnxMl.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.AttributeProto.Builder setTensors(int index, OnnxMl.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.AttributeProto.Builder addTensors(OnnxMl.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.AttributeProto.Builder addTensors(int index, OnnxMl.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.AttributeProto.Builder addTensors(OnnxMl.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.AttributeProto.Builder addTensors(int index, OnnxMl.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.AttributeProto.Builder addAllTensors(Iterable<? extends OnnxMl.TensorProto> values)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.AttributeProto.Builder clearTensors()
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.AttributeProto.Builder removeTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.TensorProto.Builder getTensorsBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.TensorProtoOrBuilder getTensorsOrBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
getTensorsOrBuilder
in interface OnnxMl.AttributeProtoOrBuilder
public List<? extends OnnxMl.TensorProtoOrBuilder> getTensorsOrBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
getTensorsOrBuilderList
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.TensorProto.Builder addTensorsBuilder()
list of tensors
repeated .onnx.TensorProto tensors = 10;
public OnnxMl.TensorProto.Builder addTensorsBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public List<OnnxMl.TensorProto.Builder> getTensorsBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
public List<OnnxMl.GraphProto> getGraphsList()
list of graph
repeated .onnx.GraphProto graphs = 11;
getGraphsList
in interface OnnxMl.AttributeProtoOrBuilder
public int getGraphsCount()
list of graph
repeated .onnx.GraphProto graphs = 11;
getGraphsCount
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.GraphProto getGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
getGraphs
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.AttributeProto.Builder setGraphs(int index, OnnxMl.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.AttributeProto.Builder setGraphs(int index, OnnxMl.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.AttributeProto.Builder addGraphs(OnnxMl.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.AttributeProto.Builder addGraphs(int index, OnnxMl.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.AttributeProto.Builder addGraphs(OnnxMl.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.AttributeProto.Builder addGraphs(int index, OnnxMl.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.AttributeProto.Builder addAllGraphs(Iterable<? extends OnnxMl.GraphProto> values)
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.AttributeProto.Builder clearGraphs()
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.AttributeProto.Builder removeGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.GraphProto.Builder getGraphsBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.GraphProtoOrBuilder getGraphsOrBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
getGraphsOrBuilder
in interface OnnxMl.AttributeProtoOrBuilder
public List<? extends OnnxMl.GraphProtoOrBuilder> getGraphsOrBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;
getGraphsOrBuilderList
in interface OnnxMl.AttributeProtoOrBuilder
public OnnxMl.GraphProto.Builder addGraphsBuilder()
list of graph
repeated .onnx.GraphProto graphs = 11;
public OnnxMl.GraphProto.Builder addGraphsBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
public List<OnnxMl.GraphProto.Builder> getGraphsBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;
public final OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
public final OnnxMl.AttributeProto.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<OnnxMl.AttributeProto.Builder>
Copyright © 2019. All rights reserved.