Uses of Class
ai.onnx.proto.OnnxMl.TensorProto
-
Uses of OnnxMl.TensorProto in ai.onnx.proto
Modifier and TypeFieldDescriptionstatic final com.google.protobuf.Parser<OnnxMl.TensorProto>
OnnxMl.TensorProto.PARSER
Deprecated.Modifier and TypeMethodDescriptionOnnxMl.TensorProto.Builder.build()
OnnxMl.TensorProto.Builder.buildPartial()
static OnnxMl.TensorProto
OnnxMl.TensorProto.getDefaultInstance()
OnnxMl.TensorProto.Builder.getDefaultInstanceForType()
OnnxMl.TensorProto.getDefaultInstanceForType()
OnnxMl.SparseTensorProto.Builder.getIndices()
The indices of the non-default values, which may be stored in one of two formats.OnnxMl.SparseTensorProto.getIndices()
The indices of the non-default values, which may be stored in one of two formats.OnnxMl.SparseTensorProtoOrBuilder.getIndices()
The indices of the non-default values, which may be stored in one of two formats.OnnxMl.GraphProto.Builder.getInitializer
(int index) A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.getInitializer
(int index) A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProtoOrBuilder.getInitializer
(int index) A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.AttributeProto.Builder.getT()
tensor valueOnnxMl.AttributeProto.getT()
tensor valueOnnxMl.AttributeProtoOrBuilder.getT()
tensor valueOnnxMl.AttributeProto.Builder.getTensors
(int index) list of tensorsOnnxMl.AttributeProto.getTensors
(int index) list of tensorsOnnxMl.AttributeProtoOrBuilder.getTensors
(int index) list of tensorsOnnxMl.SparseTensorProto.Builder.getValues()
The sequence of non-default values are encoded as a tensor of shape [NNZ].OnnxMl.SparseTensorProto.getValues()
The sequence of non-default values are encoded as a tensor of shape [NNZ].OnnxMl.SparseTensorProtoOrBuilder.getValues()
The sequence of non-default values are encoded as a tensor of shape [NNZ].static OnnxMl.TensorProto
OnnxMl.TensorProto.parseDelimitedFrom
(InputStream input) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseDelimitedFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseFrom
(byte[] data) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseFrom
(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseFrom
(com.google.protobuf.ByteString data) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseFrom
(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseFrom
(com.google.protobuf.CodedInputStream input) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseFrom
(InputStream input) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseFrom
(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseFrom
(ByteBuffer data) static OnnxMl.TensorProto
OnnxMl.TensorProto.parseFrom
(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) Modifier and TypeMethodDescriptionOnnxMl.GraphProto.Builder.getInitializerList()
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.getInitializerList()
A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProtoOrBuilder.getInitializerList()
A list of named tensor values, used to specify constant inputs of the graph.com.google.protobuf.Parser<OnnxMl.TensorProto>
OnnxMl.TensorProto.getParserForType()
OnnxMl.AttributeProto.Builder.getTensorsList()
list of tensorsOnnxMl.AttributeProto.getTensorsList()
list of tensorsOnnxMl.AttributeProtoOrBuilder.getTensorsList()
list of tensorsstatic com.google.protobuf.Parser<OnnxMl.TensorProto>
OnnxMl.TensorProto.parser()
Modifier and TypeMethodDescriptionOnnxMl.GraphProto.Builder.addInitializer
(int index, OnnxMl.TensorProto value) A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.GraphProto.Builder.addInitializer
(OnnxMl.TensorProto value) A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.AttributeProto.Builder.addTensors
(int index, OnnxMl.TensorProto value) list of tensorsOnnxMl.AttributeProto.Builder.addTensors
(OnnxMl.TensorProto value) list of tensorsOnnxMl.TensorProto.Builder.mergeFrom
(OnnxMl.TensorProto other) OnnxMl.SparseTensorProto.Builder.mergeIndices
(OnnxMl.TensorProto value) The indices of the non-default values, which may be stored in one of two formats.OnnxMl.AttributeProto.Builder.mergeT
(OnnxMl.TensorProto value) tensor valueOnnxMl.SparseTensorProto.Builder.mergeValues
(OnnxMl.TensorProto value) The sequence of non-default values are encoded as a tensor of shape [NNZ].static OnnxMl.TensorProto.Builder
OnnxMl.TensorProto.newBuilder
(OnnxMl.TensorProto prototype) OnnxMl.SparseTensorProto.Builder.setIndices
(OnnxMl.TensorProto value) The indices of the non-default values, which may be stored in one of two formats.OnnxMl.GraphProto.Builder.setInitializer
(int index, OnnxMl.TensorProto value) A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.AttributeProto.Builder.setT
(OnnxMl.TensorProto value) tensor valueOnnxMl.AttributeProto.Builder.setTensors
(int index, OnnxMl.TensorProto value) list of tensorsOnnxMl.SparseTensorProto.Builder.setValues
(OnnxMl.TensorProto value) The sequence of non-default values are encoded as a tensor of shape [NNZ].Modifier and TypeMethodDescriptionOnnxMl.GraphProto.Builder.addAllInitializer
(Iterable<? extends OnnxMl.TensorProto> values) A list of named tensor values, used to specify constant inputs of the graph.OnnxMl.AttributeProto.Builder.addAllTensors
(Iterable<? extends OnnxMl.TensorProto> values) list of tensors -
Uses of OnnxMl.TensorProto in org.tribuo.util.onnx
Modifier and TypeMethodDescriptionstatic OnnxMl.TensorProto
ONNXUtils.arrayBuilder
(ONNXContext context, String name, double[] parameters) Builds a TensorProto containing the array.static OnnxMl.TensorProto
ONNXUtils.arrayBuilder
(ONNXContext context, String name, double[] parameters, boolean downcast) Builds a TensorProto containing the array.static OnnxMl.TensorProto
ONNXUtils.arrayBuilder
(ONNXContext context, String name, float[] parameters) Builds a TensorProto containing the array.static OnnxMl.TensorProto
ONNXUtils.arrayBuilder
(ONNXContext context, String name, int[] parameters) Builds a TensorProto containing the array.static OnnxMl.TensorProto
ONNXUtils.arrayBuilder
(ONNXContext context, String name, long[] parameters) Builds a TensorProto containing the array.static OnnxMl.TensorProto
ONNXUtils.doubleTensorBuilder
(ONNXContext context, String name, List<Integer> dims, Consumer<DoubleBuffer> dataPopulator) Generic method to create doubleOnnxMl.TensorProto
instances.static OnnxMl.TensorProto
ONNXUtils.floatTensorBuilder
(ONNXContext context, String name, List<Integer> dims, Consumer<FloatBuffer> dataPopulator) Generic method to create floatOnnxMl.TensorProto
instances.static OnnxMl.TensorProto
ONNXUtils.scalarBuilder
(ONNXContext context, String name, double value) Builds a TensorProto containing the scalar value.static OnnxMl.TensorProto
ONNXUtils.scalarBuilder
(ONNXContext context, String name, float value) Builds a TensorProto containing the scalar value.static OnnxMl.TensorProto
ONNXUtils.scalarBuilder
(ONNXContext context, String name, int value) Builds a TensorProto containing the scalar value.static OnnxMl.TensorProto
ONNXUtils.scalarBuilder
(ONNXContext context, String name, long value) Builds a TensorProto containing the scalar value.