Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- ADD - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Element-wise addition with broadcasting.
- apply(ONNXOperator) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.operation(ONNXOperator, List, String), using this ONNXRef as the argument toinputs. - apply(ONNXOperator, String) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.operation(ONNXOperator, List, String), using this ONNXRef as the argument toinputs. - apply(ONNXOperator, List<String>, Map<String, Object>) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.operation(ONNXOperator, List, List, Map), using this ONNXRef as the argument toinputs. - apply(ONNXOperator, List<ONNXRef<?>>) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.operation(ONNXOperator, List, String, Map), using this ONNXRef as the first argument toinputs, withotherInputsappend as subsequent arguments. - apply(ONNXOperator, List<ONNXRef<?>>, String) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.operation(ONNXOperator, List, String, Map), using this ONNXRef as the argument toinputs, withotherInputsappend as subsequent arguments. - apply(ONNXOperator, List<ONNXRef<?>>, List<String>, Map<String, Object>) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.operation(ONNXOperator, List, List, Map), using this ONNXRef as the first argument toinputs, withotherInputsappend as subsequent arguments. - apply(ONNXOperator, Map<String, Object>) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.operation(ONNXOperator, List, String, Map), using this ONNXRef as the argument toinputs. - apply(ONNXOperator, ONNXRef<?>) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.operation(ONNXOperator, List, String, Map), passing this ONNXRef andotheras a length 2 list toinputs. - apply(ONNXOperator, ONNXRef<?>, String) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.operation(ONNXOperator, List, String), passing this ONNXRef andotheras a length 2 list toinputs. - apply(ONNXOperator, ONNXRef<?>, Map<String, Object>) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.operation(ONNXOperator, List, String, Map), passing this ONNXRef andotheras a length 2 list toinputs. - array(String, double[]) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates a float tensor for this ONNXContext, populated according to parameters.
- array(String, double[], boolean) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates a tensor for this ONNXContext, populated according to parameters.
- array(String, float[]) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates a float tensor for this ONNXContext, populated according to parameters.
- array(String, int[]) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates an int tensor for this ONNXContext, populated according to parameters.
- array(String, long[]) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates a long tensor for this ONNXContext, populated according to parameters.
- ARRAY_FEATURE_EXTRACTOR - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Array feature extractor, selects the indices specified by the second tensor from the last dimension of the first tensor.
- arrayBuilder(ONNXContext, String, double[]) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Builds a TensorProto containing the array.
- arrayBuilder(ONNXContext, String, double[], boolean) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Builds a TensorProto containing the array.
- arrayBuilder(ONNXContext, String, float[]) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Builds a TensorProto containing the array.
- arrayBuilder(ONNXContext, String, int[]) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Builds a TensorProto containing the array.
- arrayBuilder(ONNXContext, String, long[]) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Builds a TensorProto containing the array.
- assignTo(Ret) - Method in class org.tribuo.util.onnx.ONNXRef
-
Convenience method that calls
ONNXContext.assignTo(ONNXRef, ONNXRef), using this ONNXRef as the argument toinput. - assignTo(RHS, LHS) - Method in class org.tribuo.util.onnx.ONNXContext
- attributes - Variable in enum org.tribuo.util.onnx.ONNXOperators
-
The operator attributes.
B
- backRef - Variable in class org.tribuo.util.onnx.ONNXRef
-
Protobuf reference.
- build(Object) - Method in class org.tribuo.util.onnx.ONNXAttribute
-
Builds the attribute proto using the supplied value.
- build(ONNXContext, String[], String) - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Builds this node based on the supplied inputs and output.
- build(ONNXContext, String[], String[]) - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Builds this node based on the supplied inputs and outputs.
- build(ONNXContext, String[], String[], Map<String, Object>) - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Builds this node based on the supplied inputs and outputs.
- build(ONNXContext, String[], String, Map<String, Object>) - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Builds this node based on the supplied inputs and output.
- build(ONNXContext, String, String) - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Builds this node based on the supplied inputs and output.
- build(ONNXContext, String, String[]) - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Builds this node based on the supplied input and outputs.
- build(ONNXContext, String, String[], Map<String, Object>) - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Builds this node based on the supplied input and outputs.
- build(ONNXContext, String, String, Map<String, Object>) - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Builds this node based on the supplied inputs and output.
- buildGraph() - Method in class org.tribuo.util.onnx.ONNXContext
-
Builds the ONNX graph represented by this context.
- buildTensorTypeNode(ONNXShape, OnnxMl.TensorProto.DataType) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Builds a type proto for the specified shape and tensor type.
C
- cast(Class<?>) - Method in class org.tribuo.util.onnx.ONNXRef
-
Casts this ONNXRef to a different type using the
CASToperation, and returning the output node of that op. - CAST - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Cast input to specified type.
- CONCAT - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Concatenates tensors.
- constant(String, float) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates a float scalar constant for this ONNXContext.
- constant(String, long) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates a long scalar constant for this ONNXContext.
- CONSTANT_OF_SHAPE - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Makes a constant of the size of the supplied shape containing the
value. - context - Variable in class org.tribuo.util.onnx.ONNXRef
-
The ONNX context.
D
- DIV - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Element-wise division with broadcasting.
- domain - Variable in enum org.tribuo.util.onnx.ONNXOperators
-
The operator domain (used for the ML operators).
- doubleTensorBuilder(ONNXContext, String, List<Integer>, Consumer<DoubleBuffer>) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Generic method to create double
OnnxMl.TensorProtoinstances.
F
- floatInput(int) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates an input node for this ONNXContext, with the name "input", of dimension [batch_size,
featureDimension], and of type float32. - floatInput(String, int) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates an input node for this ONNXContext, with the given name, of dimension [batch_size,
featureDimension], and of type float32. - floatOutput(int) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates an output node for this ONNXContext, with the name "output", of dimension [batch_size,
outputDimension], and of type float32. - floatOutput(String, int) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates an output node for this ONNXContext, with the given name, of dimension [batch_size,
outputDimension], and of type float32. - floatTensor(String, List<Integer>, Consumer<FloatBuffer>) - Method in class org.tribuo.util.onnx.ONNXContext
-
Creates a tensor for this ONNXContext, populated as
ONNXUtils.floatTensorBuilder(ONNXContext, String, List, Consumer). - floatTensorBuilder(ONNXContext, String, List<Integer>, Consumer<FloatBuffer>) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Generic method to create float
OnnxMl.TensorProtoinstances.
G
- GATHER - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Gathers elements from the first argument (of rank r) indexed by the second argument (of rank q) producing a tensor of rank
q + r - 1. - GEMM - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
General Matrix Multiply:
alpha*AB + beta*C. - getAttributes() - Method in interface org.tribuo.util.onnx.ONNXOperator
-
The operator attributes.
- getAttributes() - Method in enum org.tribuo.util.onnx.ONNXOperators
- getBaseName() - Method in class org.tribuo.util.onnx.ONNXRef
-
The name of this object.
- getMandatoryAttributeNames() - Method in interface org.tribuo.util.onnx.ONNXOperator
-
The mandatory attribute names.
- getMandatoryAttributeNames() - Method in enum org.tribuo.util.onnx.ONNXOperators
- getName() - Method in class org.tribuo.util.onnx.ONNXAttribute
-
Gets the attribute's name.
- getNumInputs() - Method in interface org.tribuo.util.onnx.ONNXOperator
-
The number of inputs.
- getNumInputs() - Method in enum org.tribuo.util.onnx.ONNXOperators
- getNumOptionalInputs() - Method in interface org.tribuo.util.onnx.ONNXOperator
-
The number of optional inputs.
- getNumOptionalInputs() - Method in enum org.tribuo.util.onnx.ONNXOperators
- getNumOutputs() - Method in interface org.tribuo.util.onnx.ONNXOperator
-
The number of outputs.
- getNumOutputs() - Method in enum org.tribuo.util.onnx.ONNXOperators
- getOpDomain() - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Returns the opset domain.
- getOpDomain() - Method in enum org.tribuo.util.onnx.ONNXOperators
- getOpName() - Method in interface org.tribuo.util.onnx.ONNXOperator
-
The operator name.
- getOpName() - Method in enum org.tribuo.util.onnx.ONNXOperators
- getOpsetProto() - Static method in enum org.tribuo.util.onnx.ONNXOperators
-
Returns the opset proto for these operators.
- getOpsetVersion() - Static method in enum org.tribuo.util.onnx.ONNXOperators
-
Returns the opset version supported by these operators.
- getOpVersion() - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Returns the opset version.
- getOpVersion() - Method in enum org.tribuo.util.onnx.ONNXOperators
- getReference() - Method in class org.tribuo.util.onnx.ONNXInitializer
- getReference() - Method in class org.tribuo.util.onnx.ONNXNode
- getReference() - Method in class org.tribuo.util.onnx.ONNXPlaceholder
- getReference() - Method in class org.tribuo.util.onnx.ONNXRef
-
Gets the output name of this object.
- getType() - Method in class org.tribuo.util.onnx.ONNXAttribute
-
Gets the attribute's type.
- GREATER - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Greater than, returns the element-wise greater than operation on the two tensors.
- GREATER_OR_EQUAL - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Greater than or equal to, returns the element-wise greater than or equal to operation on the two tensors.
H
- HARDMAX - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Hardmax(element in input, axis) = 1 if the element is the first maximum value along the specified axis, 0 otherwise.
I
- IDENTITY - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Identity.
- isMandatory() - Method in class org.tribuo.util.onnx.ONNXAttribute
-
Is this attribute mandatory?
L
- LESS - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Less than, returns the element-wise less than operation on the two tensors.
- LESS_OR_EQUAL - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Less than or equal to, returns the element-wise less than or equal to operation on the two tensors.
M
- mandatoryAttributeNames - Variable in enum org.tribuo.util.onnx.ONNXOperators
-
The mandatory attribute names.
- MUL - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Element-wise multiplication with broadcasting.
N
- NEG - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Element-wise negation.
- numInputs - Variable in enum org.tribuo.util.onnx.ONNXOperators
-
The number of inputs.
- numOptionalInputs - Variable in enum org.tribuo.util.onnx.ONNXOperators
-
The number of optional inputs.
- numOutputs - Variable in enum org.tribuo.util.onnx.ONNXOperators
-
The number of outputs.
O
- ONNXAttribute - Class in org.tribuo.util.onnx
-
The spec for an attribute, used to produce the attribute proto at construction time.
- ONNXAttribute(String, OnnxMl.AttributeProto.AttributeType, boolean) - Constructor for class org.tribuo.util.onnx.ONNXAttribute
-
Constructs an attribute placeholder of the appropriate name and type.
- onnxContext() - Method in class org.tribuo.util.onnx.ONNXRef
-
The context this reference operates in.
- ONNXContext - Class in org.tribuo.util.onnx
-
Context object used to scope and manage the creation of ONNX
OnnxMl.GraphProtoandOnnxMl.ModelProtoinstances. - ONNXContext() - Constructor for class org.tribuo.util.onnx.ONNXContext
-
Creates an empty ONNX context.
- ONNXInitializer - Class in org.tribuo.util.onnx
-
A subclass of
ONNXRefspecialized forOnnxMl.TensorProto. - ONNXNode - Class in org.tribuo.util.onnx
-
A subclass of
ONNXRefspecialized forOnnxMl.NodeProto. - ONNXOperator - Interface in org.tribuo.util.onnx
-
An interface for ONNX operators.
- ONNXOperators - Enum in org.tribuo.util.onnx
-
ONNX Opset 13, and ONNX-ML version 1.
- ONNXPlaceholder - Class in org.tribuo.util.onnx
-
A subclass of
ONNXRefspecialized forOnnxMl.ValueInfoProto. - ONNXRef<T> - Class in org.tribuo.util.onnx
-
An abstract reference that represents both a node in an ONNX computation graph and a container for a specific ONNX proto object that denotes that node.
- ONNXUtils - Class in org.tribuo.util.onnx
-
Helper functions for building ONNX protos.
- operation(ONNXOperator, List<T>, String) - Method in class org.tribuo.util.onnx.ONNXContext
-
Method for creating
ONNXNodes fromONNXOperatorinstances and inputs. - operation(ONNXOperator, List<T>, String, Map<String, Object>) - Method in class org.tribuo.util.onnx.ONNXContext
-
Method for creating
ONNXNodes fromONNXOperatorand inputs. - operation(ONNXOperator, List<T>, List<String>, Map<String, Object>) - Method in class org.tribuo.util.onnx.ONNXContext
-
Base method for creating
ONNXNodes fromONNXOperatorand inputs. - opName - Variable in enum org.tribuo.util.onnx.ONNXOperators
-
The operator name.
- opsetProto() - Method in interface org.tribuo.util.onnx.ONNXOperator
-
Returns the opset proto for these operators.
- org.tribuo.util.onnx - package org.tribuo.util.onnx
-
Interfaces and utilities for writing ONNX models from Java.
P
- POW - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Element-wise exponentiation with broadcasting.
R
- REDUCE_MEAN - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Computes the mean of the input tensor's element along the provided axes.
- REDUCE_MIN - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Compute the minimum along the specified axes of the tensor.
- REDUCE_SUM - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Compute the sum along the specified axes of the tensor, the axes are the second input.
S
- scalarBuilder(ONNXContext, String, double) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Builds a TensorProto containing the scalar value.
- scalarBuilder(ONNXContext, String, float) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Builds a TensorProto containing the scalar value.
- scalarBuilder(ONNXContext, String, int) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Builds a TensorProto containing the scalar value.
- scalarBuilder(ONNXContext, String, long) - Static method in class org.tribuo.util.onnx.ONNXUtils
-
Builds a TensorProto containing the scalar value.
- setName(String) - Method in class org.tribuo.util.onnx.ONNXContext
-
Sets the graph name.
- SIGMOID - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Sigmoid element-wise.
- SOFTMAX - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Softmax.
- SUB - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Element-wise subtraction with broadcasting.
- SUM - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Element-wise summation across the supplied inputs with broadcasting.
- SVM_CLASSIFIER - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
SVM Classifier.
- SVM_REGRESSOR - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
SVM Regressor.
T
- toString() - Method in class org.tribuo.util.onnx.ONNXAttribute
U
- UNSQUEEZE - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Adds extra dimensions to a tensor in the specified places, the axes are the second input.
V
- valueOf(String) - Static method in enum org.tribuo.util.onnx.ONNXOperators
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.tribuo.util.onnx.ONNXOperators
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VARIADIC_INPUT - Static variable in class org.tribuo.util.onnx.ONNXAttribute
-
Value used to denote a varaidic input in an ONNX operator
W
- WHERE - Enum constant in enum org.tribuo.util.onnx.ONNXOperators
-
Choice operator, based on the true value of the condition input, returns the element at that index from either the second or third input.
All Classes and Interfaces|All Packages|Constant Field Values