Package-level declarations
Properties
Functions
Returns the index of the maximum value in the FloatArray.
Calculates the Intersection over Union (IoU) of two bounding boxes.
Clamps the values in the FloatArray within the range [min, max].
Calculates the Cosine Similarity between two FloatArray vectors.
Dequantizes the ByteArray into a FloatArray using the given scale and zeroPoint.
Calculates the Euclidean Distance between two FloatArray vectors.
Calculates the mean value of the FloatArray.
Normalizes the FloatArray using the given mean and std.
Adds padding to the FloatArray before and after its current content.
Performs Non-Maximum Suppression (NMS) on a set of bounding boxes.
Quantizes the FloatArray into a ByteArray using the given scale and zeroPoint.
Simulates a reshape operation on the FloatArray.
Computes the Sigmoid function for each element in the FloatArray.
Computes the Softmax probabilities for the FloatArray.
Calculates the standard deviation of the FloatArray.
Reads the content of the TFBuffer as a BooleanArray.
Converts a ByteArray to a BooleanArray (true if non-zero).
Converts a BooleanArray to a ByteArray (1 for true, 0 for false).
Converts a FloatArray to a ByteArray by rounding each element to the nearest Byte.
Converts the FloatArray scores into a list of LiteRTExt.Category.
Reads the content of the TFBuffer as a FloatArray.
Converts a ByteArray to a FloatArray.
Converts an IntArray to a FloatArray.
Converts a FloatArray to an IntArray by rounding each element to the nearest Int.
Automatically closes the LiteRTCompiler after the block is executed.
Writes the BooleanArray data into the TFBuffer.
Writes the FloatArray data into the TFBuffer.