run

expect suspend fun run(inputs: List<TFBuffer>, outputs: List<TFBuffer>, signatureIndex: Int = 0)

Executes inference using the provided input and output buffers.

The supplied buffers must satisfy the corresponding tensor buffer requirements reported by the model.

Parameters

inputs

Input buffers containing the inference data.

outputs

Output buffers that will receive the inference results.

signatureIndex

Index of the signature to run.