mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-25 22:26:24 +00:00
15 lines
488 B
JavaScript
15 lines
488 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// Licensed under the MIT License.
|
|
|
|
'use strict';
|
|
|
|
it('Browser E2E testing - WebAssembly backend (path override prefix)', async function() {
|
|
// disable SIMD and multi-thread
|
|
ort.env.wasm.numThreads = 1;
|
|
ort.env.wasm.simd = false;
|
|
|
|
// override .wasm file path prefix
|
|
ort.env.wasm.wasmPaths = new URL('./test-wasm-path-override/', document.baseURI).href;
|
|
|
|
await testFunction(ort, {executionProviders: ['wasm']});
|
|
});
|