C E F G I M O Q R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- close() - Method in class ej.microai.MLInferenceEngine
-
Closes this model and its associated resources.
E
- ej.microai - package ej.microai
-
Contains MicroAI library source code.
F
- FLOAT32 - Static variable in class ej.microai.Tensor.DataType
-
32-bits float type.
G
- getDataType() - Method in class ej.microai.Tensor
-
Gets tensor data type.
- getInputTensor(int) - Method in class ej.microai.MLInferenceEngine
-
Gets the input tensor specified by the index.
- getInputTensorCount() - Method in class ej.microai.MLInferenceEngine
-
Gets the number of input Tensors.
- getNumberBytes() - Method in class ej.microai.Tensor
-
Gets the number of bytes of the tensor.
- getNumberDimensions() - Method in class ej.microai.Tensor
-
Gets the number of dimensions of the tensor.
- getNumberElements() - Method in class ej.microai.Tensor
-
Gets the number of elements of the tensor.
- getOutputData(byte[]) - Method in class ej.microai.OutputTensor
-
Gets the output data of the tensor.
- getOutputData(float[]) - Method in class ej.microai.OutputTensor
-
Gets the output data of the tensor.
- getOutputData(int[]) - Method in class ej.microai.OutputTensor
-
Gets the output data of the tensor.
- getOutputTensor(int) - Method in class ej.microai.MLInferenceEngine
-
Gets the output tensor specified by the index.
- getOutputTensorCount() - Method in class ej.microai.MLInferenceEngine
-
Gets the number of output Tensors.
- getQuantizationParams() - Method in class ej.microai.Tensor
-
Gets parameters of asymmetric quantization for the tensor.
- getScale() - Method in class ej.microai.Tensor.QuantizationParameters
-
Gets the scale value of the quantization parameters.
- getShape(int[]) - Method in class ej.microai.Tensor
-
Gets the tensor shape.
- getZeroPoint() - Method in class ej.microai.Tensor.QuantizationParameters
-
Gets the zero point value of the quantization parameters.
I
- InputTensor - Class in ej.microai
-
The
InputTensor
class offers services to deal with MicroAI input tensors. - INT32 - Static variable in class ej.microai.Tensor.DataType
-
32-bits signed integer type.
- INT8 - Static variable in class ej.microai.Tensor.DataType
-
8-bits signed integer type.
- isClosed() - Method in class ej.microai.MLInferenceEngine
-
Returns whether this model has been closed.
- isQuantized() - Method in class ej.microai.Tensor
-
Gets the quantization status of the tensor.
M
- MLInferenceEngine - Class in ej.microai
-
The MLInferenceEngine class provides essential functionality for interacting with Machine Learning models, specifically for running inferences.
- MLInferenceEngine(InputStream) - Constructor for class ej.microai.MLInferenceEngine
-
Initializes the model from a given
InputStream
. - MLInferenceEngine(String) - Constructor for class ej.microai.MLInferenceEngine
-
Initializes the model from a pre-trained model resource.
O
- OutputTensor - Class in ej.microai
-
The
OutputTensor
class offers services to deal with MicroAI output tensors.
Q
- QuantizationParameters(int, float) - Constructor for class ej.microai.Tensor.QuantizationParameters
-
Creates an instance of QuantizationParameters.
R
- reset() - Method in class ej.microai.MLInferenceEngine
-
Resets the state of the model interpreter.
- run() - Method in class ej.microai.MLInferenceEngine
-
Runs an inference on the model.
S
- setInputData(byte[]) - Method in class ej.microai.InputTensor
-
Loads the input data into the input tensor.
- setInputData(float[]) - Method in class ej.microai.InputTensor
-
Loads the input data into the input tensor.
- setInputData(int[]) - Method in class ej.microai.InputTensor
-
Loads the input data into the input tensor.
T
- Tensor - Class in ej.microai
-
The
Tensor
class offers services to deal with MicroAI tensors. - Tensor.DataType - Class in ej.microai
-
The
Tensor.DataType
class enumerates the MicroAI data types. - Tensor.QuantizationParameters - Class in ej.microai
-
The
QuantizationParameters
class represents the quantization parameters used by aMLInferenceEngine
.
U
- UINT32 - Static variable in class ej.microai.Tensor.DataType
-
32-bits unsigned integer type.
- UINT8 - Static variable in class ej.microai.Tensor.DataType
-
8-bits unsigned integer type.
- UNKNOWN - Static variable in class ej.microai.Tensor.DataType
-
Unknown type.
All Classes All Packages