VM3547 WAService.js:2 Error: module "miniprogram_npm/@tensorflow/tfjs-backend-wasm/path.js" is not defined
import {setWasmPath,setWasmPaths} from '@tensorflow/tfjs-backend-wasm';
const fetchWechat = require('fetch-wechat')
const tf = require('@tensorflow/tfjs-core');
const webgl = require('@tensorflow/tfjs-backend-webgl');
const plugin = require('./plugin/index.js');
引入方式如下,小程序各种报错,要么低版本的报setWasmPath undefined
3.0.0版本的又报miniprogram_npm/@tensorflow/tfjs-backend-wasm/path.js is not find
有人遇到过这种情况吗?求助
使用tfjs-core和tfjs-backend-webgl整体包体积不超大么
遇到同样问题,求助解决方案!!!!
该插件引入异常,无法正常引入小程序中?是版本问题还是编译问题?
https://www.npmjs.com/package/@tensorflow/tfjs-backend-wasm