From 63258f91ff8b734af6e6bffbc710ad9d6afe41f2 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Tue, 10 Nov 2020 09:54:07 -0500 Subject: [PATCH] update dependencies --- package.json | 4 ++-- src/tf.js | 9 +++++++++ wiki | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index a694704e..b1208497 100644 --- a/package.json +++ b/package.json @@ -28,8 +28,8 @@ "@tensorflow/tfjs-node": "^2.7.0", "@vladmandic/pilogger": "^0.2.7", "chokidar": "^3.4.3", - "dayjs": "^1.9.5", - "esbuild": "^0.7.22", + "dayjs": "^1.9.6", + "esbuild": "^0.8.5", "eslint": "^7.13.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.22.1", diff --git a/src/tf.js b/src/tf.js index 18a76c90..ddd54d75 100644 --- a/src/tf.js +++ b/src/tf.js @@ -1,3 +1,12 @@ +// custom: bundle 3.4M +/* +import * as tf from '../../../dev-clone/tfjs/tfjs/dist/tf.esnext.js'; +import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js'; + +const loadGraphModel = tf.loadGraphModel; +export { tf, setWasmPaths, loadGraphModel }; +*/ + // monolithic: bundle 3.4M import * as tf from '@tensorflow/tfjs/dist/tf.es2017.js'; import { setWasmPaths } from '@tensorflow/tfjs-backend-wasm/dist/index.js'; diff --git a/wiki b/wiki index d5897372..e48280bd 160000 --- a/wiki +++ b/wiki @@ -1 +1 @@ -Subproject commit d589737290d994d4e5228d1333b61a494990641f +Subproject commit e48280bd94885c6e9cb9a75a27469f00ebcd07b4