LocalDiffusionScheduler

internal interface LocalDiffusionScheduler(source)

Defines the LocalDiffusionScheduler contract for the SDAI ONNX local diffusion feature layer.

Author

Dmitriy Moroz

Inheritors

Properties

Link copied to clipboard
abstract val initNoiseSigma: Double

Exposes the initNoiseSigma value used by the SDAI ONNX local diffusion feature layer.

Functions

Link copied to clipboard
abstract fun scaleModelInput(sample: LocalDiffusionTensor<*>, stepIndex: Int): LocalDiffusionTensor<*>

Executes the scaleModelInput step in the SDAI ONNX local diffusion feature layer.

Link copied to clipboard
abstract fun setTimeSteps(numInferenceSteps: Int): IntArray

Executes the setTimeSteps step in the SDAI ONNX local diffusion feature layer.

Link copied to clipboard
abstract fun step(modelOutput: LocalDiffusionTensor<*>, stepIndex: Int, sample: LocalDiffusionTensor<*>): LocalDiffusionTensor<*>

Executes the step step in the SDAI ONNX local diffusion feature layer.