Package-level declarations
Functions
Link copied to clipboard
internal fun createLinearInterpolationFunction(x: DoubleArray, y: DoubleArray): Function<Double, Double>
Creates the SDAI value produced by createLinearInterpolationFunction.
Link copied to clipboard
Executes the duplicate step in the SDAI ONNX local diffusion feature layer.
Link copied to clipboard
Loads SDAI data through getSizes.
Link copied to clipboard
Executes the halfCorner step in the SDAI ONNX local diffusion feature layer.
Link copied to clipboard
Executes the interpolate step in the SDAI ONNX local diffusion feature layer.
Link copied to clipboard
internal fun multipleTensorsByFloat(data: FloatArray, value: Float, dimensions: LongArray?): LocalDiffusionTensor<*>
Executes the multipleTensorsByFloat step in the SDAI ONNX local diffusion feature layer.
Link copied to clipboard
internal fun splitTensor(tensorToSplit: Array3D<FloatArray>, dimensions: LongArray): Pair<Array3D<FloatArray>, Array3D<FloatArray>>
Executes the splitTensor step in the SDAI ONNX local diffusion feature layer.