CompiledModelConfig.npu constructor

const CompiledModelConfig.npu({
  1. Precision precision = Precision.fp32,
  2. TensorBufferMode tensorBufferMode = TensorBufferMode.managed,
})

Strict NPU compilation.

Implementation

const CompiledModelConfig.npu({
  this.precision = Precision.fp32,
  this.tensorBufferMode = TensorBufferMode.managed,
}) : policy = CompiledModelPolicy.npu;