inference

fun inference(seedNum: Long, numInferenceSteps: Int, textEmbeddings: OnnxTensor, guidanceScale: Double, batchSize: Int, width: Int, height: Int)(source)

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

Author

Dmitriy Moroz

Parameters

seedNum

seed num value consumed by the API.

numInferenceSteps

num inference steps value consumed by the API.

textEmbeddings

text embeddings value consumed by the API.

guidanceScale

guidance scale value consumed by the API.

batchSize

batch size value consumed by the API.

width

width value consumed by the API.

height

height value consumed by the API.