ant-tfjs-lite
Advanced tools
Comparing version 0.1.16 to 0.1.17
@@ -1061,2 +1061,3 @@ (function (global, factory) { | ||
// import { registerEnv } from './environment'; | ||
var Session = /** @class */ (function () { | ||
@@ -1079,2 +1080,4 @@ function Session(opt) { | ||
return __generator(this, function (_a) { | ||
// Env.setConfig(opt) | ||
// await Env.init(); | ||
// TODO: need to fix... init worker here? determine if there is a sessionworker | ||
@@ -1256,2 +1259,18 @@ // await this.initWorkerEnv(); | ||
// import { initEnvironmentOpt } from "./types"; | ||
// const Env = { | ||
// taskQueue: [], | ||
// register(initFn: Promise<any> | any) { | ||
// Env.taskQueue.push(initFn); | ||
// }, | ||
// setConfig(opt?: initEnvironmentOpt){ | ||
// if(opt) Env.opt = opt; | ||
// }, | ||
// async init() { | ||
// return await Promise.all(Env.taskQueue); | ||
// } | ||
// }; | ||
function registerEnv(initFn) { | ||
} | ||
dist.setDebug(true); | ||
@@ -1367,2 +1386,3 @@ var ModelWorker = /** @class */ (function () { | ||
exports.Session = Session; | ||
exports.registerEnv = registerEnv; | ||
@@ -1369,0 +1389,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
{ | ||
"name": "ant-tfjs-lite", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"description": "ant tfjs lite sdk", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
# `ant-tfjs-lite` | ||
> TODO: description | ||
light tfjs module interference engine | ||
@@ -10,3 +10,2 @@ ## Usage | ||
// TODO: DEMONSTRATE API | ||
``` |
63051
1355
11