diff --git a/src/tf.js b/src/tf.js index ddd54d75..ad9bc715 100644 --- a/src/tf.js +++ b/src/tf.js @@ -1,18 +1,18 @@ -// custom: bundle 3.4M -/* -import * as tf from '../../../dev-clone/tfjs/tfjs/dist/tf.esnext.js'; +// from compileld sources: bundle 2.0M +import * as tf from '@tensorflow/tfjs/dist/index.js'; import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js'; const loadGraphModel = tf.loadGraphModel; export { tf, setWasmPaths, loadGraphModel }; -*/ -// monolithic: bundle 3.4M +// from esm bundles: bundle 3.2M +/* import * as tf from '@tensorflow/tfjs/dist/tf.es2017.js'; import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js'; const loadGraphModel = tf.loadGraphModel; export { tf, setWasmPaths, loadGraphModel }; +*/ // modular: bundle 4.2M /* @@ -26,3 +26,12 @@ const version = { core: tf.version, cpu: tfCPU.version_cpu, webgl: tfWebGL.versi export { tf, setWasmPaths, loadGraphModel, version }; */ + +// custom: bundle 3.4M +/* +import * as tf from '../../../dev-clone/tfjs/tfjs/dist/index.js'; +import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js'; + +const loadGraphModel = tf.loadGraphModel; +export { tf, setWasmPaths, loadGraphModel }; +*/ diff --git a/wiki b/wiki index 5dcbe8ad..1cc1d9bf 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit 5dcbe8ad56fc4dc21378046c225185e6203250eb +Subproject commit 1cc1d9bf597c26a37f4e70c4895b1e956195c1b3