CompiledModelConfig.npu constructor
const
CompiledModelConfig.npu({
- Precision precision = Precision.fp32,
- TensorBufferMode tensorBufferMode = TensorBufferMode.managed,
Strict NPU compilation.
Implementation
const CompiledModelConfig.npu({
this.precision = Precision.fp32,
this.tensorBufferMode = TensorBufferMode.managed,
}) : policy = CompiledModelPolicy.npu;