Package | Description |
---|---|
onnx |
Modifier and Type | Method and Description |
---|---|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addAllDims(Iterable<? extends Long> values)
The shape of the tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addAllDoubleData(Iterable<? extends Double> values)
For double
Complex64 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component apparing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addAllFloatData(Iterable<? extends Float> values)
For float and complex64 values
Complex64 tensors are encoded as a single array of floats,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component apparing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addAllInt32Data(Iterable<? extends Integer> values)
For int32, uint8, int8, uint16, int16, bool, and float16 values
float16 values must be bit-wise converted to an uint16_t prior
to writing to the buffer.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addAllInt64Data(Iterable<? extends Long> values)
For int64.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addAllStringData(Iterable<? extends org.nd4j.shade.protobuf.ByteString> values)
For strings.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addAllUint64Data(Iterable<? extends Long> values)
For uint64 and uint32 values
When this field is present, the data_type field MUST be
UINT32 or UINT64
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addDims(long value)
The shape of the tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addDoubleData(double value)
For double
Complex64 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component apparing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addFloatData(float value)
For float and complex64 values
Complex64 tensors are encoded as a single array of floats,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component apparing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.GraphProto.Builder.addInitializerBuilder()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.TensorProto.Builder |
OnnxMl.GraphProto.Builder.addInitializerBuilder(int index)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addInt32Data(int value)
For int32, uint8, int8, uint16, int16, bool, and float16 values
float16 values must be bit-wise converted to an uint16_t prior
to writing to the buffer.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addInt64Data(long value)
For int64.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addStringData(org.nd4j.shade.protobuf.ByteString value)
For strings.
|
OnnxMl.TensorProto.Builder |
OnnxMl.AttributeProto.Builder.addTensorsBuilder()
list of tensors
|
OnnxMl.TensorProto.Builder |
OnnxMl.AttributeProto.Builder.addTensorsBuilder(int index)
list of tensors
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addUint64Data(long value)
For uint64 and uint32 values
When this field is present, the data_type field MUST be
UINT32 or UINT64
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clear() |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearDataType()
The data type of the tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearDims()
The shape of the tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearDocString()
A human-readable documentation for this tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearDoubleData()
For double
Complex64 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component apparing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearFloatData()
For float and complex64 values
Complex64 tensors are encoded as a single array of floats,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component apparing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearInt32Data()
For int32, uint8, int8, uint16, int16, bool, and float16 values
float16 values must be bit-wise converted to an uint16_t prior
to writing to the buffer.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearInt64Data()
For int64.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearName()
Optionally, a name for the tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearRawData()
Serializations can either use one of the fields above, or use this
raw bytes field.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearSegment()
.onnx.TensorProto.Segment segment = 3; |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearStringData()
For strings.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearUint64Data()
For uint64 and uint32 values
When this field is present, the data_type field MUST be
UINT32 or UINT64
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clone() |
OnnxMl.TensorProto.Builder |
OnnxMl.GraphProto.Builder.getInitializerBuilder(int index)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.TensorProto.Builder |
OnnxMl.AttributeProto.Builder.getTBuilder()
tensor value
|
OnnxMl.TensorProto.Builder |
OnnxMl.AttributeProto.Builder.getTensorsBuilder(int index)
list of tensors
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.mergeFrom(org.nd4j.shade.protobuf.Message other) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.mergeFrom(OnnxMl.TensorProto other) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.mergeSegment(OnnxMl.TensorProto.Segment value)
.onnx.TensorProto.Segment segment = 3; |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
static OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.newBuilder() |
static OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.newBuilder(OnnxMl.TensorProto prototype) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.newBuilderForType() |
protected OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setDataType(OnnxMl.TensorProto.DataType value)
The data type of the tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setDataTypeValue(int value)
The data type of the tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setDims(int index,
long value)
The shape of the tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setDocString(String value)
A human-readable documentation for this tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setDocStringBytes(org.nd4j.shade.protobuf.ByteString value)
A human-readable documentation for this tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setDoubleData(int index,
double value)
For double
Complex64 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component apparing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setFloatData(int index,
float value)
For float and complex64 values
Complex64 tensors are encoded as a single array of floats,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component apparing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setInt32Data(int index,
int value)
For int32, uint8, int8, uint16, int16, bool, and float16 values
float16 values must be bit-wise converted to an uint16_t prior
to writing to the buffer.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setInt64Data(int index,
long value)
For int64.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setName(String value)
Optionally, a name for the tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setNameBytes(org.nd4j.shade.protobuf.ByteString value)
Optionally, a name for the tensor.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setRawData(org.nd4j.shade.protobuf.ByteString value)
Serializations can either use one of the fields above, or use this
raw bytes field.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setSegment(OnnxMl.TensorProto.Segment.Builder builderForValue)
.onnx.TensorProto.Segment segment = 3; |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setSegment(OnnxMl.TensorProto.Segment value)
.onnx.TensorProto.Segment segment = 3; |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setStringData(int index,
org.nd4j.shade.protobuf.ByteString value)
For strings.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setUint64Data(int index,
long value)
For uint64 and uint32 values
When this field is present, the data_type field MUST be
UINT32 or UINT64
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.toBuilder() |
Modifier and Type | Method and Description |
---|---|
List<OnnxMl.TensorProto.Builder> |
OnnxMl.GraphProto.Builder.getInitializerBuilderList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
List<OnnxMl.TensorProto.Builder> |
OnnxMl.AttributeProto.Builder.getTensorsBuilderList()
list of tensors
|
Modifier and Type | Method and Description |
---|---|
OnnxMl.GraphProto.Builder |
OnnxMl.GraphProto.Builder.addInitializer(int index,
OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.GraphProto.Builder |
OnnxMl.GraphProto.Builder.addInitializer(OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.AttributeProto.Builder |
OnnxMl.AttributeProto.Builder.addTensors(int index,
OnnxMl.TensorProto.Builder builderForValue)
list of tensors
|
OnnxMl.AttributeProto.Builder |
OnnxMl.AttributeProto.Builder.addTensors(OnnxMl.TensorProto.Builder builderForValue)
list of tensors
|
OnnxMl.GraphProto.Builder |
OnnxMl.GraphProto.Builder.setInitializer(int index,
OnnxMl.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMl.AttributeProto.Builder |
OnnxMl.AttributeProto.Builder.setT(OnnxMl.TensorProto.Builder builderForValue)
tensor value
|
OnnxMl.AttributeProto.Builder |
OnnxMl.AttributeProto.Builder.setTensors(int index,
OnnxMl.TensorProto.Builder builderForValue)
list of tensors
|
Copyright © 2019. All rights reserved.