Skip to main content

//clika-runtime/io.clika.runtime/Request

Request

[common]
data class Request(val inputs: Map<String, Tensor>, val priority: Int = 0, val deadlineMs: Long? = null, val streaming: Boolean = false)

A request: named inputs (the keys are the schema's input names; an input the schema does not declare is carried through for the phase body to read) plus scheduling hints. The tensors stay the caller's.

Constructors​

Request[common]
constructor(inputs: Map<String, Tensor>, priority: Int = 0, deadlineMs: Long? = null, streaming: Boolean = false)

Properties​

NameSummary
deadlineMs[common]
val deadlineMs: Long? = null
inputs[common]
val inputs: Map<String, Tensor>
priority[common]
val priority: Int = 0
streaming[common]
val streaming: Boolean = false