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
Complex128 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addAllExternalData(Iterable<? extends OnnxMl.StringStringEntryProto> values) |
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
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 appearing 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
Complex128 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addExternalData(int index,
OnnxMl.StringStringEntryProto value) |
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addExternalData(int index,
OnnxMl.StringStringEntryProto.Builder builderForValue) |
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addExternalData(OnnxMl.StringStringEntryProto value) |
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.addExternalData(OnnxMl.StringStringEntryProto.Builder builderForValue) |
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
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 appearing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.GraphProto.Builder.addInitializerBuilder() |
A list of named tensor values, used to specify constant inputs of the graph.
|
OnnxMl.TensorProto.Builder |
OnnxMl.GraphProto.Builder.addInitializerBuilder(int index) |
A list of named tensor values, used to specify constant 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.clearDataLocation() |
If value not set, data is stored in raw_data (if set) otherwise in type-specified field.
|
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
Complex128 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.clearExternalData() |
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
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 appearing 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.SparseTensorProto.Builder.getIndicesBuilder() |
The indices of the non-default values, which may be stored in one of two formats.
|
OnnxMl.TensorProto.Builder |
OnnxMl.GraphProto.Builder.getInitializerBuilder(int index) |
A list of named tensor values, used to specify constant 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.SparseTensorProto.Builder.getValuesBuilder() |
The sequence of non-default values are encoded as a tensor of shape [NNZ].
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.mergeFrom(OnnxMl.TensorProto other) |
|
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.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.removeExternalData(int index) |
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setDataLocation(OnnxMl.TensorProto.DataLocation value) |
If value not set, data is stored in raw_data (if set) otherwise in type-specified field.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setDataLocationValue(int value) |
If value not set, data is stored in raw_data (if set) otherwise in type-specified field.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setDataType(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
Complex128 tensors are encoded as a single array of doubles,
with the real components appearing in odd numbered positions,
and the corresponding imaginary component appearing in the
subsequent even numbered position.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setExternalData(int index,
OnnxMl.StringStringEntryProto value) |
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setExternalData(int index,
OnnxMl.StringStringEntryProto.Builder builderForValue) |
Data can be stored inside the protobuf file using type-specific fields or raw_data.
|
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 appearing 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 value) |
.onnx.TensorProto.Segment segment = 3;
|
OnnxMl.TensorProto.Builder |
OnnxMl.TensorProto.Builder.setSegment(OnnxMl.TensorProto.Segment.Builder builderForValue) |
.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() |
|