generateLatentSample

private fun generateLatentSample(batchSize: Int, height: Int, width: Int, seed: Long, initNoiseSigma: Float): LocalDiffusionTensor<*>(source)

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

Return

Result produced by generateLatentSample.

Author

Dmitriy Moroz

Parameters

batchSize

batch size value consumed by the API.

height

height value consumed by the API.

width

width value consumed by the API.

seed

seed value consumed by the API.

initNoiseSigma

init noise sigma value consumed by the API.