Skip to main content

//clika-runtime/io.clika.modelverse/ImageGenerationReport

ImageGenerationReport

[common]
data class ImageGenerationReport(val latencyMs: Float, val accelerator: String, val canceled: Boolean)

The facts of one image-generation request.

Constructors​

ImageGenerationReport[common]
constructor(latencyMs: Float, accelerator: String, canceled: Boolean)

Properties​

NameSummary
accelerator[common]
val accelerator: String
The accelerator the model ran on (cpu, cuda:0, vulkan:0).
canceled[common]
val canceled: Boolean
True when the request was canceled before its pictures were handed over.
latencyMs[common]
val latencyMs: Float
Wall time from the request's start to its pictures, in milliseconds.