| Package | Description |
|---|---|
| onnx |
| Modifier and Type | Method and Description |
|---|---|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.addAllDims(Iterable<? extends Long> values)
The shape of the tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.addAllInt64Data(Iterable<? extends Long> values)
For int64.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.addAllStringData(Iterable<? extends com.github.os72.protobuf351.ByteString> values)
For strings.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.addDims(long value)
The shape of the tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.GraphProto.Builder.addInitializerBuilder()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.addInt64Data(long value)
For int64.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.addStringData(com.github.os72.protobuf351.ByteString value)
For strings.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.AttributeProto.Builder.addTensorsBuilder()
list of tensors
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.AttributeProto.Builder.addTensorsBuilder(int index)
list of tensors
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.addUint64Data(long value)
For uint64 and uint32 values
When this field is present, the data_type field MUST be
UINT32 or UINT64
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clear() |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearDataType()
The data type of the tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearDims()
The shape of the tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearDocString()
A human-readable documentation for this tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearInt64Data()
For int64.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearName()
Optionally, a name for the tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearRawData()
Serializations can either use one of the fields above, or use this
raw bytes field.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearSegment()
.onnx.TensorProto.Segment segment = 3; |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearStringData()
For strings.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clearUint64Data()
For uint64 and uint32 values
When this field is present, the data_type field MUST be
UINT32 or UINT64
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.clone() |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.AttributeProto.Builder.getTBuilder()
tensor value
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.AttributeProto.Builder.getTensorsBuilder(int index)
list of tensors
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.mergeFrom(com.github.os72.protobuf351.Message other) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.mergeFrom(OnnxMlProto3.TensorProto other) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.mergeSegment(OnnxMlProto3.TensorProto.Segment value)
.onnx.TensorProto.Segment segment = 3; |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
static OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.newBuilder() |
static OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.newBuilder(OnnxMlProto3.TensorProto prototype) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.newBuilderForType() |
protected OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setDataType(OnnxMlProto3.TensorProto.DataType value)
The data type of the tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setDataTypeValue(int value)
The data type of the tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setDims(int index,
long value)
The shape of the tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setDocString(String value)
A human-readable documentation for this tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setDocStringBytes(com.github.os72.protobuf351.ByteString value)
A human-readable documentation for this tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
Object value) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setInt64Data(int index,
long value)
For int64.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setName(String value)
Optionally, a name for the tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setNameBytes(com.github.os72.protobuf351.ByteString value)
Optionally, a name for the tensor.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setRawData(com.github.os72.protobuf351.ByteString value)
Serializations can either use one of the fields above, or use this
raw bytes field.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setSegment(OnnxMlProto3.TensorProto.Segment.Builder builderForValue)
.onnx.TensorProto.Segment segment = 3; |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setSegment(OnnxMlProto3.TensorProto.Segment value)
.onnx.TensorProto.Segment segment = 3; |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setStringData(int index,
com.github.os72.protobuf351.ByteString value)
For strings.
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.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
|
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.Builder.setUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields) |
OnnxMlProto3.TensorProto.Builder |
OnnxMlProto3.TensorProto.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
List<OnnxMlProto3.TensorProto.Builder> |
OnnxMlProto3.GraphProto.Builder.getInitializerBuilderList()
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
List<OnnxMlProto3.TensorProto.Builder> |
OnnxMlProto3.AttributeProto.Builder.getTensorsBuilderList()
list of tensors
|
| Modifier and Type | Method and Description |
|---|---|
OnnxMlProto3.GraphProto.Builder |
OnnxMlProto3.GraphProto.Builder.addInitializer(int index,
OnnxMlProto3.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMlProto3.GraphProto.Builder |
OnnxMlProto3.GraphProto.Builder.addInitializer(OnnxMlProto3.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMlProto3.AttributeProto.Builder |
OnnxMlProto3.AttributeProto.Builder.addTensors(int index,
OnnxMlProto3.TensorProto.Builder builderForValue)
list of tensors
|
OnnxMlProto3.AttributeProto.Builder |
OnnxMlProto3.AttributeProto.Builder.addTensors(OnnxMlProto3.TensorProto.Builder builderForValue)
list of tensors
|
OnnxMlProto3.GraphProto.Builder |
OnnxMlProto3.GraphProto.Builder.setInitializer(int index,
OnnxMlProto3.TensorProto.Builder builderForValue)
A list of named tensor values (constants), used to specify default
values for some of the inputs of the graph.
|
OnnxMlProto3.AttributeProto.Builder |
OnnxMlProto3.AttributeProto.Builder.setT(OnnxMlProto3.TensorProto.Builder builderForValue)
tensor value
|
OnnxMlProto3.AttributeProto.Builder |
OnnxMlProto3.AttributeProto.Builder.setTensors(int index,
OnnxMlProto3.TensorProto.Builder builderForValue)
list of tensors
|
Copyright © 2018. All rights reserved.