LocalDiffusionConfig

internal data class LocalDiffusionConfig(val betaStart: Float = 8.5E-4f, val betaEnd: Float = 0.012f, val betaSchedule: String = BETA_SCHEDULER_SCALED_LINEAR, val trainedBetas: List<Float> = emptyList(), val solverOrder: Int = 2, val predictionType: String = PREDICTION_EPSILON, val thresholding: Boolean = false, val dynamicThresholdingRatio: Float = 0.995f, val sampleMaxValue: Float = 1.0f, val algorithmType: String = DPM_SOLVER_PP, val solverType: String = SOLVER_MIDPOINT, val lowerOrderFinal: Boolean = true, val clipSample: Boolean = false, val clipSampleRange: Float = 1.0f)(source)

Carries LocalDiffusionConfig data through the SDAI ONNX local diffusion feature layer.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor(betaStart: Float = 8.5E-4f, betaEnd: Float = 0.012f, betaSchedule: String = BETA_SCHEDULER_SCALED_LINEAR, trainedBetas: List<Float> = emptyList(), solverOrder: Int = 2, predictionType: String = PREDICTION_EPSILON, thresholding: Boolean = false, dynamicThresholdingRatio: Float = 0.995f, sampleMaxValue: Float = 1.0f, algorithmType: String = DPM_SOLVER_PP, solverType: String = SOLVER_MIDPOINT, lowerOrderFinal: Boolean = true, clipSample: Boolean = false, clipSampleRange: Float = 1.0f)

Properties

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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