public static final class Onnx.AttributeProto.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder> implements Onnx.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 |
---|---|
Onnx.AttributeProto.Builder |
addAllFloats(Iterable<? extends Float> values)
list of floats
|
Onnx.AttributeProto.Builder |
addAllGraphs(Iterable<? extends Onnx.GraphProto> values)
list of graph
|
Onnx.AttributeProto.Builder |
addAllInts(Iterable<? extends Long> values)
list of ints
|
Onnx.AttributeProto.Builder |
addAllStrings(Iterable<? extends org.nd4j.shade.protobuf.ByteString> values)
list of UTF-8 strings
|
Onnx.AttributeProto.Builder |
addAllTensors(Iterable<? extends Onnx.TensorProto> values)
list of tensors
|
Onnx.AttributeProto.Builder |
addFloats(float value)
list of floats
|
Onnx.AttributeProto.Builder |
addGraphs(int index,
Onnx.GraphProto.Builder builderForValue)
list of graph
|
Onnx.AttributeProto.Builder |
addGraphs(int index,
Onnx.GraphProto value)
list of graph
|
Onnx.AttributeProto.Builder |
addGraphs(Onnx.GraphProto.Builder builderForValue)
list of graph
|
Onnx.AttributeProto.Builder |
addGraphs(Onnx.GraphProto value)
list of graph
|
Onnx.GraphProto.Builder |
addGraphsBuilder()
list of graph
|
Onnx.GraphProto.Builder |
addGraphsBuilder(int index)
list of graph
|
Onnx.AttributeProto.Builder |
addInts(long value)
list of ints
|
Onnx.AttributeProto.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Onnx.AttributeProto.Builder |
addStrings(org.nd4j.shade.protobuf.ByteString value)
list of UTF-8 strings
|
Onnx.AttributeProto.Builder |
addTensors(int index,
Onnx.TensorProto.Builder builderForValue)
list of tensors
|
Onnx.AttributeProto.Builder |
addTensors(int index,
Onnx.TensorProto value)
list of tensors
|
Onnx.AttributeProto.Builder |
addTensors(Onnx.TensorProto.Builder builderForValue)
list of tensors
|
Onnx.AttributeProto.Builder |
addTensors(Onnx.TensorProto value)
list of tensors
|
Onnx.TensorProto.Builder |
addTensorsBuilder()
list of tensors
|
Onnx.TensorProto.Builder |
addTensorsBuilder(int index)
list of tensors
|
Onnx.AttributeProto |
build() |
Onnx.AttributeProto |
buildPartial() |
Onnx.AttributeProto.Builder |
clear() |
Onnx.AttributeProto.Builder |
clearDocString()
A human-readable documentation for this attribute.
|
Onnx.AttributeProto.Builder |
clearF()
Exactly ONE of the following fields must be present for this version of the IR
|
Onnx.AttributeProto.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
Onnx.AttributeProto.Builder |
clearFloats()
list of floats
|
Onnx.AttributeProto.Builder |
clearG()
graph
|
Onnx.AttributeProto.Builder |
clearGraphs()
list of graph
|
Onnx.AttributeProto.Builder |
clearI()
int
|
Onnx.AttributeProto.Builder |
clearInts()
list of ints
|
Onnx.AttributeProto.Builder |
clearName()
The name field MUST be present for this version of the IR.
|
Onnx.AttributeProto.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
Onnx.AttributeProto.Builder |
clearS()
UTF-8 string
|
Onnx.AttributeProto.Builder |
clearStrings()
list of UTF-8 strings
|
Onnx.AttributeProto.Builder |
clearT()
tensor value
|
Onnx.AttributeProto.Builder |
clearTensors()
list of tensors
|
Onnx.AttributeProto.Builder |
clearType()
The type field MUST be present for this version of the IR.
|
Onnx.AttributeProto.Builder |
clone() |
Onnx.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
|
Onnx.GraphProto |
getG()
graph
|
Onnx.GraphProto.Builder |
getGBuilder()
graph
|
Onnx.GraphProtoOrBuilder |
getGOrBuilder()
graph
|
Onnx.GraphProto |
getGraphs(int index)
list of graph
|
Onnx.GraphProto.Builder |
getGraphsBuilder(int index)
list of graph
|
List<Onnx.GraphProto.Builder> |
getGraphsBuilderList()
list of graph
|
int |
getGraphsCount()
list of graph
|
List<Onnx.GraphProto> |
getGraphsList()
list of graph
|
Onnx.GraphProtoOrBuilder |
getGraphsOrBuilder(int index)
list of graph
|
List<? extends Onnx.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
|
Onnx.TensorProto |
getT()
tensor value
|
Onnx.TensorProto.Builder |
getTBuilder()
tensor value
|
Onnx.TensorProto |
getTensors(int index)
list of tensors
|
Onnx.TensorProto.Builder |
getTensorsBuilder(int index)
list of tensors
|
List<Onnx.TensorProto.Builder> |
getTensorsBuilderList()
list of tensors
|
int |
getTensorsCount()
list of tensors
|
List<Onnx.TensorProto> |
getTensorsList()
list of tensors
|
Onnx.TensorProtoOrBuilder |
getTensorsOrBuilder(int index)
list of tensors
|
List<? extends Onnx.TensorProtoOrBuilder> |
getTensorsOrBuilderList()
list of tensors
|
Onnx.TensorProtoOrBuilder |
getTOrBuilder()
tensor value
|
Onnx.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() |
Onnx.AttributeProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
Onnx.AttributeProto.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
Onnx.AttributeProto.Builder |
mergeFrom(Onnx.AttributeProto other) |
Onnx.AttributeProto.Builder |
mergeG(Onnx.GraphProto value)
graph
|
Onnx.AttributeProto.Builder |
mergeT(Onnx.TensorProto value)
tensor value
|
Onnx.AttributeProto.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
Onnx.AttributeProto.Builder |
removeGraphs(int index)
list of graph
|
Onnx.AttributeProto.Builder |
removeTensors(int index)
list of tensors
|
Onnx.AttributeProto.Builder |
setDocString(String value)
A human-readable documentation for this attribute.
|
Onnx.AttributeProto.Builder |
setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this attribute.
|
Onnx.AttributeProto.Builder |
setF(float value)
Exactly ONE of the following fields must be present for this version of the IR
|
Onnx.AttributeProto.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Onnx.AttributeProto.Builder |
setFloats(int index,
float value)
list of floats
|
Onnx.AttributeProto.Builder |
setG(Onnx.GraphProto.Builder builderForValue)
graph
|
Onnx.AttributeProto.Builder |
setG(Onnx.GraphProto value)
graph
|
Onnx.AttributeProto.Builder |
setGraphs(int index,
Onnx.GraphProto.Builder builderForValue)
list of graph
|
Onnx.AttributeProto.Builder |
setGraphs(int index,
Onnx.GraphProto value)
list of graph
|
Onnx.AttributeProto.Builder |
setI(long value)
int
|
Onnx.AttributeProto.Builder |
setInts(int index,
long value)
list of ints
|
Onnx.AttributeProto.Builder |
setName(String value)
The name field MUST be present for this version of the IR.
|
Onnx.AttributeProto.Builder |
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
The name field MUST be present for this version of the IR.
|
Onnx.AttributeProto.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Onnx.AttributeProto.Builder |
setS(org.nd4j.shade.protobuf.ByteString value)
UTF-8 string
|
Onnx.AttributeProto.Builder |
setStrings(int index,
org.nd4j.shade.protobuf.ByteString value)
list of UTF-8 strings
|
Onnx.AttributeProto.Builder |
setT(Onnx.TensorProto.Builder builderForValue)
tensor value
|
Onnx.AttributeProto.Builder |
setT(Onnx.TensorProto value)
tensor value
|
Onnx.AttributeProto.Builder |
setTensors(int index,
Onnx.TensorProto.Builder builderForValue)
list of tensors
|
Onnx.AttributeProto.Builder |
setTensors(int index,
Onnx.TensorProto value)
list of tensors
|
Onnx.AttributeProto.Builder |
setType(Onnx.AttributeProto.AttributeType value)
The type field MUST be present for this version of the IR.
|
Onnx.AttributeProto.Builder |
setTypeValue(int value)
The type field MUST be present for this version of the IR.
|
Onnx.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<Onnx.AttributeProto.Builder>
public Onnx.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<Onnx.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<Onnx.AttributeProto.Builder>
public Onnx.AttributeProto getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public Onnx.AttributeProto build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public Onnx.AttributeProto buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public Onnx.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<Onnx.AttributeProto.Builder>
public Onnx.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<Onnx.AttributeProto.Builder>
public Onnx.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<Onnx.AttributeProto.Builder>
public Onnx.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<Onnx.AttributeProto.Builder>
public Onnx.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<Onnx.AttributeProto.Builder>
public Onnx.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<Onnx.AttributeProto.Builder>
public Onnx.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<Onnx.AttributeProto.Builder>
public Onnx.AttributeProto.Builder mergeFrom(Onnx.AttributeProto other)
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<Onnx.AttributeProto.Builder>
public Onnx.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<Onnx.AttributeProto.Builder>
IOException
public String getName()
The name field MUST be present for this version of the IR.
string name = 1;
getName
in interface Onnx.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 Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setName(String value)
The name field MUST be present for this version of the IR.
string name = 1;
public Onnx.AttributeProto.Builder clearName()
The name field MUST be present for this version of the IR.
string name = 1;
public Onnx.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 Onnx.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 Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setDocString(String value)
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;
public Onnx.AttributeProto.Builder clearDocString()
A human-readable documentation for this attribute. Markdown is allowed.
string doc_string = 13;
public Onnx.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 Onnx.AttributeProtoOrBuilder
public Onnx.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 Onnx.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 Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setType(Onnx.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 Onnx.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 Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setF(float value)
Exactly ONE of the following fields must be present for this version of the IR
float f = 2;
public Onnx.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 Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setI(long value)
int
int64 i = 3;
public Onnx.AttributeProto.Builder clearI()
int
int64 i = 3;
public org.nd4j.shade.protobuf.ByteString getS()
UTF-8 string
bytes s = 4;
getS
in interface Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setS(org.nd4j.shade.protobuf.ByteString value)
UTF-8 string
bytes s = 4;
public Onnx.AttributeProto.Builder clearS()
UTF-8 string
bytes s = 4;
public boolean hasT()
tensor value
.onnx.TensorProto t = 5;
hasT
in interface Onnx.AttributeProtoOrBuilder
public Onnx.TensorProto getT()
tensor value
.onnx.TensorProto t = 5;
getT
in interface Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setT(Onnx.TensorProto value)
tensor value
.onnx.TensorProto t = 5;
public Onnx.AttributeProto.Builder setT(Onnx.TensorProto.Builder builderForValue)
tensor value
.onnx.TensorProto t = 5;
public Onnx.AttributeProto.Builder mergeT(Onnx.TensorProto value)
tensor value
.onnx.TensorProto t = 5;
public Onnx.AttributeProto.Builder clearT()
tensor value
.onnx.TensorProto t = 5;
public Onnx.TensorProto.Builder getTBuilder()
tensor value
.onnx.TensorProto t = 5;
public Onnx.TensorProtoOrBuilder getTOrBuilder()
tensor value
.onnx.TensorProto t = 5;
getTOrBuilder
in interface Onnx.AttributeProtoOrBuilder
public boolean hasG()
graph
.onnx.GraphProto g = 6;
hasG
in interface Onnx.AttributeProtoOrBuilder
public Onnx.GraphProto getG()
graph
.onnx.GraphProto g = 6;
getG
in interface Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setG(Onnx.GraphProto value)
graph
.onnx.GraphProto g = 6;
public Onnx.AttributeProto.Builder setG(Onnx.GraphProto.Builder builderForValue)
graph
.onnx.GraphProto g = 6;
public Onnx.AttributeProto.Builder mergeG(Onnx.GraphProto value)
graph
.onnx.GraphProto g = 6;
public Onnx.AttributeProto.Builder clearG()
graph
.onnx.GraphProto g = 6;
public Onnx.GraphProto.Builder getGBuilder()
graph
.onnx.GraphProto g = 6;
public Onnx.GraphProtoOrBuilder getGOrBuilder()
graph
.onnx.GraphProto g = 6;
getGOrBuilder
in interface Onnx.AttributeProtoOrBuilder
public List<Float> getFloatsList()
list of floats
repeated float floats = 7;
getFloatsList
in interface Onnx.AttributeProtoOrBuilder
public int getFloatsCount()
list of floats
repeated float floats = 7;
getFloatsCount
in interface Onnx.AttributeProtoOrBuilder
public float getFloats(int index)
list of floats
repeated float floats = 7;
getFloats
in interface Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setFloats(int index, float value)
list of floats
repeated float floats = 7;
public Onnx.AttributeProto.Builder addFloats(float value)
list of floats
repeated float floats = 7;
public Onnx.AttributeProto.Builder addAllFloats(Iterable<? extends Float> values)
list of floats
repeated float floats = 7;
public Onnx.AttributeProto.Builder clearFloats()
list of floats
repeated float floats = 7;
public List<Long> getIntsList()
list of ints
repeated int64 ints = 8;
getIntsList
in interface Onnx.AttributeProtoOrBuilder
public int getIntsCount()
list of ints
repeated int64 ints = 8;
getIntsCount
in interface Onnx.AttributeProtoOrBuilder
public long getInts(int index)
list of ints
repeated int64 ints = 8;
getInts
in interface Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setInts(int index, long value)
list of ints
repeated int64 ints = 8;
public Onnx.AttributeProto.Builder addInts(long value)
list of ints
repeated int64 ints = 8;
public Onnx.AttributeProto.Builder addAllInts(Iterable<? extends Long> values)
list of ints
repeated int64 ints = 8;
public Onnx.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 Onnx.AttributeProtoOrBuilder
public int getStringsCount()
list of UTF-8 strings
repeated bytes strings = 9;
getStringsCount
in interface Onnx.AttributeProtoOrBuilder
public org.nd4j.shade.protobuf.ByteString getStrings(int index)
list of UTF-8 strings
repeated bytes strings = 9;
getStrings
in interface Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setStrings(int index, org.nd4j.shade.protobuf.ByteString value)
list of UTF-8 strings
repeated bytes strings = 9;
public Onnx.AttributeProto.Builder addStrings(org.nd4j.shade.protobuf.ByteString value)
list of UTF-8 strings
repeated bytes strings = 9;
public Onnx.AttributeProto.Builder addAllStrings(Iterable<? extends org.nd4j.shade.protobuf.ByteString> values)
list of UTF-8 strings
repeated bytes strings = 9;
public Onnx.AttributeProto.Builder clearStrings()
list of UTF-8 strings
repeated bytes strings = 9;
public List<Onnx.TensorProto> getTensorsList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
getTensorsList
in interface Onnx.AttributeProtoOrBuilder
public int getTensorsCount()
list of tensors
repeated .onnx.TensorProto tensors = 10;
getTensorsCount
in interface Onnx.AttributeProtoOrBuilder
public Onnx.TensorProto getTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
getTensors
in interface Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setTensors(int index, Onnx.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.AttributeProto.Builder setTensors(int index, Onnx.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.AttributeProto.Builder addTensors(Onnx.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.AttributeProto.Builder addTensors(int index, Onnx.TensorProto value)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.AttributeProto.Builder addTensors(Onnx.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.AttributeProto.Builder addTensors(int index, Onnx.TensorProto.Builder builderForValue)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.AttributeProto.Builder addAllTensors(Iterable<? extends Onnx.TensorProto> values)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.AttributeProto.Builder clearTensors()
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.AttributeProto.Builder removeTensors(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.TensorProto.Builder getTensorsBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.TensorProtoOrBuilder getTensorsOrBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
getTensorsOrBuilder
in interface Onnx.AttributeProtoOrBuilder
public List<? extends Onnx.TensorProtoOrBuilder> getTensorsOrBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
getTensorsOrBuilderList
in interface Onnx.AttributeProtoOrBuilder
public Onnx.TensorProto.Builder addTensorsBuilder()
list of tensors
repeated .onnx.TensorProto tensors = 10;
public Onnx.TensorProto.Builder addTensorsBuilder(int index)
list of tensors
repeated .onnx.TensorProto tensors = 10;
public List<Onnx.TensorProto.Builder> getTensorsBuilderList()
list of tensors
repeated .onnx.TensorProto tensors = 10;
public List<Onnx.GraphProto> getGraphsList()
list of graph
repeated .onnx.GraphProto graphs = 11;
getGraphsList
in interface Onnx.AttributeProtoOrBuilder
public int getGraphsCount()
list of graph
repeated .onnx.GraphProto graphs = 11;
getGraphsCount
in interface Onnx.AttributeProtoOrBuilder
public Onnx.GraphProto getGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
getGraphs
in interface Onnx.AttributeProtoOrBuilder
public Onnx.AttributeProto.Builder setGraphs(int index, Onnx.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.AttributeProto.Builder setGraphs(int index, Onnx.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.AttributeProto.Builder addGraphs(Onnx.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.AttributeProto.Builder addGraphs(int index, Onnx.GraphProto value)
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.AttributeProto.Builder addGraphs(Onnx.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.AttributeProto.Builder addGraphs(int index, Onnx.GraphProto.Builder builderForValue)
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.AttributeProto.Builder addAllGraphs(Iterable<? extends Onnx.GraphProto> values)
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.AttributeProto.Builder clearGraphs()
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.AttributeProto.Builder removeGraphs(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.GraphProto.Builder getGraphsBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.GraphProtoOrBuilder getGraphsOrBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
getGraphsOrBuilder
in interface Onnx.AttributeProtoOrBuilder
public List<? extends Onnx.GraphProtoOrBuilder> getGraphsOrBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;
getGraphsOrBuilderList
in interface Onnx.AttributeProtoOrBuilder
public Onnx.GraphProto.Builder addGraphsBuilder()
list of graph
repeated .onnx.GraphProto graphs = 11;
public Onnx.GraphProto.Builder addGraphsBuilder(int index)
list of graph
repeated .onnx.GraphProto graphs = 11;
public List<Onnx.GraphProto.Builder> getGraphsBuilderList()
list of graph
repeated .onnx.GraphProto graphs = 11;
public final Onnx.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<Onnx.AttributeProto.Builder>
public final Onnx.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<Onnx.AttributeProto.Builder>
Copyright © 2019. All rights reserved.