Uses of Class
onnx.Onnx.TensorProto.Builder
Packages that use Onnx.TensorProto.Builder
-
Uses of Onnx.TensorProto.Builder in onnx
Methods in onnx that return Onnx.TensorProto.BuilderModifier and TypeMethodDescriptionOnnx.TensorProto.Builder.addAllDims(Iterable<? extends Long> values) The shape of the tensor.Onnx.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.Onnx.TensorProto.Builder.addAllExternalData(Iterable<? extends Onnx.StringStringEntryProto> values) Data can be stored inside the protobuf file using type-specific fields or raw_data.Onnx.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.Onnx.TensorProto.Builder.addAllInt32Data(Iterable<? extends Integer> values) For int32, uint8, int8, uint16, int16, bool, float8, and float16 values float16 and float8 values must be bit-wise converted to an uint16_t prior to writing to the buffer.Onnx.TensorProto.Builder.addAllInt64Data(Iterable<? extends Long> values) For int64.Onnx.TensorProto.Builder.addAllStringData(Iterable<? extends com.google.protobuf.ByteString> values) For strings.Onnx.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 UINT64Onnx.TensorProto.Builder.addDims(long value) The shape of the tensor.Onnx.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.Onnx.TensorProto.Builder.addExternalData(int index, Onnx.StringStringEntryProto value) Data can be stored inside the protobuf file using type-specific fields or raw_data.Onnx.TensorProto.Builder.addExternalData(int index, Onnx.StringStringEntryProto.Builder builderForValue) Data can be stored inside the protobuf file using type-specific fields or raw_data.Onnx.TensorProto.Builder.addExternalData(Onnx.StringStringEntryProto value) Data can be stored inside the protobuf file using type-specific fields or raw_data.Onnx.TensorProto.Builder.addExternalData(Onnx.StringStringEntryProto.Builder builderForValue) Data can be stored inside the protobuf file using type-specific fields or raw_data.Onnx.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.Onnx.GraphProto.Builder.addInitializerBuilder()A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder.addInitializerBuilder(int index) A list of named tensor values, used to specify constant inputs of the graph.Onnx.TensorProto.Builder.addInt32Data(int value) For int32, uint8, int8, uint16, int16, bool, float8, and float16 values float16 and float8 values must be bit-wise converted to an uint16_t prior to writing to the buffer.Onnx.TensorProto.Builder.addInt64Data(long value) For int64.Onnx.TensorProto.Builder.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Onnx.TensorProto.Builder.addStringData(com.google.protobuf.ByteString value) For strings.Onnx.AttributeProto.Builder.addTensorsBuilder()list of tensorsOnnx.AttributeProto.Builder.addTensorsBuilder(int index) list of tensorsOnnx.TensorProto.Builder.addUint64Data(long value) For uint64 and uint32 values When this field is present, the data_type field MUST be UINT32 or UINT64Onnx.TensorProto.Builder.clear()Onnx.TensorProto.Builder.clearDataLocation()If value not set, data is stored in raw_data (if set) otherwise in type-specified field.Onnx.TensorProto.Builder.clearDataType()The data type of the tensor.Onnx.TensorProto.Builder.clearDims()The shape of the tensor.Onnx.TensorProto.Builder.clearDocString()A human-readable documentation for this tensor.Onnx.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.Onnx.TensorProto.Builder.clearExternalData()Data can be stored inside the protobuf file using type-specific fields or raw_data.Onnx.TensorProto.Builder.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Onnx.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.Onnx.TensorProto.Builder.clearInt32Data()For int32, uint8, int8, uint16, int16, bool, float8, and float16 values float16 and float8 values must be bit-wise converted to an uint16_t prior to writing to the buffer.Onnx.TensorProto.Builder.clearInt64Data()For int64.Onnx.TensorProto.Builder.clearName()Optionally, a name for the tensor.Onnx.TensorProto.Builder.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Onnx.TensorProto.Builder.clearRawData()Serializations can either use one of the fields above, or use this raw bytes field.Onnx.TensorProto.Builder.clearSegment()optional .onnx.TensorProto.Segment segment = 3;Onnx.TensorProto.Builder.clearStringData()For strings.Onnx.TensorProto.Builder.clearUint64Data()For uint64 and uint32 values When this field is present, the data_type field MUST be UINT32 or UINT64Onnx.TensorProto.Builder.clone()Onnx.SparseTensorProto.Builder.getIndicesBuilder()The indices of the non-default values, which may be stored in one of two formats.Onnx.GraphProto.Builder.getInitializerBuilder(int index) A list of named tensor values, used to specify constant inputs of the graph.Onnx.AttributeProto.Builder.getTBuilder()tensor valueOnnx.AttributeProto.Builder.getTensorsBuilder(int index) list of tensorsOnnx.SparseTensorProto.Builder.getValuesBuilder()The sequence of non-default values are encoded as a tensor of shape [NNZ].Onnx.TensorProto.Builder.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Onnx.TensorProto.Builder.mergeFrom(com.google.protobuf.Message other) Onnx.TensorProto.Builder.mergeFrom(Onnx.TensorProto other) Onnx.TensorProto.Builder.mergeSegment(Onnx.TensorProto.Segment value) optional .onnx.TensorProto.Segment segment = 3;final Onnx.TensorProto.BuilderOnnx.TensorProto.Builder.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) static Onnx.TensorProto.BuilderOnnx.TensorProto.newBuilder()static Onnx.TensorProto.BuilderOnnx.TensorProto.newBuilder(Onnx.TensorProto prototype) Onnx.TensorProto.newBuilderForType()protected Onnx.TensorProto.BuilderOnnx.TensorProto.newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) Onnx.TensorProto.Builder.removeExternalData(int index) Data can be stored inside the protobuf file using type-specific fields or raw_data.Onnx.TensorProto.Builder.setDataLocation(Onnx.TensorProto.DataLocation value) If value not set, data is stored in raw_data (if set) otherwise in type-specified field.Onnx.TensorProto.Builder.setDataType(int value) The data type of the tensor.Onnx.TensorProto.Builder.setDims(int index, long value) The shape of the tensor.Onnx.TensorProto.Builder.setDocString(String value) A human-readable documentation for this tensor.Onnx.TensorProto.Builder.setDocStringBytes(com.google.protobuf.ByteString value) A human-readable documentation for this tensor.Onnx.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.Onnx.TensorProto.Builder.setExternalData(int index, Onnx.StringStringEntryProto value) Data can be stored inside the protobuf file using type-specific fields or raw_data.Onnx.TensorProto.Builder.setExternalData(int index, Onnx.StringStringEntryProto.Builder builderForValue) Data can be stored inside the protobuf file using type-specific fields or raw_data.Onnx.TensorProto.Builder.setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) Onnx.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.Onnx.TensorProto.Builder.setInt32Data(int index, int value) For int32, uint8, int8, uint16, int16, bool, float8, and float16 values float16 and float8 values must be bit-wise converted to an uint16_t prior to writing to the buffer.Onnx.TensorProto.Builder.setInt64Data(int index, long value) For int64.Optionally, a name for the tensor.Onnx.TensorProto.Builder.setNameBytes(com.google.protobuf.ByteString value) Optionally, a name for the tensor.Onnx.TensorProto.Builder.setRawData(com.google.protobuf.ByteString value) Serializations can either use one of the fields above, or use this raw bytes field.Onnx.TensorProto.Builder.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Onnx.TensorProto.Builder.setSegment(Onnx.TensorProto.Segment value) optional .onnx.TensorProto.Segment segment = 3;Onnx.TensorProto.Builder.setSegment(Onnx.TensorProto.Segment.Builder builderForValue) optional .onnx.TensorProto.Segment segment = 3;Onnx.TensorProto.Builder.setStringData(int index, com.google.protobuf.ByteString value) For strings.Onnx.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 UINT64final Onnx.TensorProto.BuilderOnnx.TensorProto.Builder.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Onnx.TensorProto.toBuilder()Methods in onnx that return types with arguments of type Onnx.TensorProto.BuilderModifier and TypeMethodDescriptionOnnx.GraphProto.Builder.getInitializerBuilderList()A list of named tensor values, used to specify constant inputs of the graph.Onnx.AttributeProto.Builder.getTensorsBuilderList()list of tensorsMethods in onnx with parameters of type Onnx.TensorProto.BuilderModifier and TypeMethodDescriptionOnnx.GraphProto.Builder.addInitializer(int index, Onnx.TensorProto.Builder builderForValue) A list of named tensor values, used to specify constant inputs of the graph.Onnx.GraphProto.Builder.addInitializer(Onnx.TensorProto.Builder builderForValue) A list of named tensor values, used to specify constant inputs of the graph.Onnx.AttributeProto.Builder.addTensors(int index, Onnx.TensorProto.Builder builderForValue) list of tensorsOnnx.AttributeProto.Builder.addTensors(Onnx.TensorProto.Builder builderForValue) list of tensorsOnnx.SparseTensorProto.Builder.setIndices(Onnx.TensorProto.Builder builderForValue) The indices of the non-default values, which may be stored in one of two formats.Onnx.GraphProto.Builder.setInitializer(int index, Onnx.TensorProto.Builder builderForValue) A list of named tensor values, used to specify constant inputs of the graph.Onnx.AttributeProto.Builder.setT(Onnx.TensorProto.Builder builderForValue) tensor valueOnnx.AttributeProto.Builder.setTensors(int index, Onnx.TensorProto.Builder builderForValue) list of tensorsOnnx.SparseTensorProto.Builder.setValues(Onnx.TensorProto.Builder builderForValue) The sequence of non-default values are encoded as a tensor of shape [NNZ].