calculate
open suspend override fun calculate(module: Module<FP16, Float>, inputValue: Tensor<FP16, Float>, executionContext: ExecutionContext, reportProgress: suspend (current: Int, total: Int, message: String?) -> Unit): Tensor<FP16, Float>(source)
Implement this in your models. Call reportProgress whenever you want to emit a progress update.