mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-17 21:10:43 +00:00
10 lines
364 B
TypeScript
10 lines
364 B
TypeScript
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
export * from 'onnxruntime-common';
|
|
import {registerBackend} from 'onnxruntime-common';
|
|
import {onnxjsBackend} from './backend-onnxjs';
|
|
import {wasmBackend} from './backend-wasm';
|
|
|
|
registerBackend('webgl', onnxjsBackend, -1);
|
|
registerBackend('wasm', wasmBackend, 0);
|