fromBuffer static method
CompiledModel
fromBuffer(
- Uint8List bytes, {
- Set<
Accelerator> accelerators = const {Accelerator.cpu}, - Precision precision = Precision.fp32,
- TensorBufferMode tensorBufferMode = TensorBufferMode.managed,
Creates a compiled model from model bytes.
Implementation
static CompiledModel fromBuffer(
Uint8List bytes, {
Set<Accelerator> accelerators = const {Accelerator.cpu},
Precision precision = Precision.fp32,
TensorBufferMode tensorBufferMode = TensorBufferMode.managed,
}) {
throw UnsupportedError('CompiledModel is not supported on this platform.');
}