full rebuild

pull/405/head
Vladimir Mandic 2023-05-08 09:16:52 -04:00
parent d1a3b3944e
commit 9a19d051a3
28 changed files with 1772 additions and 63212 deletions

View File

@ -9,11 +9,16 @@
## Changelog
### **HEAD -> main** 2023/05/08 mandic00@live.com
### **origin/main** 2023/05/03 76097937+dalvine@users.noreply.github.com
- initial work on tracker
### **3.0.6** 2023/03/21 mandic00@live.com
### **origin/main** 2023/03/06 mandic00@live.com
- add optional crop to multiple models
- fix movenet-multipose
- add electron detection
- fix gender-ssrnet-imdb

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,108 +4,6 @@
author: <https://github.com/vladmandic>'
*/
// demo/typescript/index.ts
import * as H from "../../dist/human.esm.js";
var width = 1920;
var humanConfig = {
// user configuration for human, used to fine-tune behavior
debug: true,
backend: "webgl",
// cacheSensitivity: 0,
// cacheModels: false,
// warmup: 'none',
modelBasePath: "../../models",
filter: { enabled: true, equalization: false, flip: false },
face: { enabled: true, detector: { rotation: false }, mesh: { enabled: true }, attention: { enabled: false }, iris: { enabled: true }, description: { enabled: true }, emotion: { enabled: true }, antispoof: { enabled: true }, liveness: { enabled: true } },
body: { enabled: false },
hand: { enabled: false },
object: { enabled: false },
segmentation: { enabled: false },
gesture: { enabled: true }
};
var human = new H.Human(humanConfig);
human.env.perfadd = false;
human.draw.options.font = 'small-caps 18px "Lato"';
human.draw.options.lineHeight = 20;
human.draw.options.drawPoints = true;
var dom = {
// grab instances of dom objects so we dont have to look them up later
video: document.getElementById("video"),
canvas: document.getElementById("canvas"),
log: document.getElementById("log"),
fps: document.getElementById("status"),
perf: document.getElementById("performance")
};
var timestamp = { detect: 0, draw: 0, tensors: 0, start: 0 };
var fps = { detectFPS: 0, drawFPS: 0, frames: 0, averageMs: 0 };
var log = (...msg) => {
dom.log.innerText += msg.join(" ") + "\n";
console.log(...msg);
};
var status = (msg) => dom.fps.innerText = msg;
var perf = (msg) => dom.perf.innerText = "tensors:" + human.tf.memory().numTensors.toString() + " | performance: " + JSON.stringify(msg).replace(/"|{|}/g, "").replace(/,/g, " | ");
async function detectionLoop() {
if (!dom.video.paused) {
if (timestamp.start === 0)
timestamp.start = human.now();
await human.detect(dom.video);
const tensors = human.tf.memory().numTensors;
if (tensors - timestamp.tensors !== 0)
log("allocated tensors:", tensors - timestamp.tensors);
timestamp.tensors = tensors;
fps.detectFPS = Math.round(1e3 * 1e3 / (human.now() - timestamp.detect)) / 1e3;
fps.frames++;
fps.averageMs = Math.round(1e3 * (human.now() - timestamp.start) / fps.frames) / 1e3;
if (fps.frames % 100 === 0 && !dom.video.paused)
log("performance", { ...fps, tensors: timestamp.tensors });
}
timestamp.detect = human.now();
requestAnimationFrame(detectionLoop);
}
async function drawLoop() {
var _a, _b, _c;
if (!dom.video.paused) {
const interpolated = human.next(human.result);
const processed = await human.image(dom.video);
human.draw.canvas(processed.canvas, dom.canvas);
const opt = { bodyLabels: `person confidence [score] and ${(_c = (_b = (_a = human.result) == null ? void 0 : _a.body) == null ? void 0 : _b[0]) == null ? void 0 : _c.keypoints.length} keypoints` };
await human.draw.all(dom.canvas, interpolated, opt);
perf(interpolated.performance);
}
const now = human.now();
fps.drawFPS = Math.round(1e3 * 1e3 / (now - timestamp.draw)) / 1e3;
timestamp.draw = now;
status(dom.video.paused ? "paused" : `fps: ${fps.detectFPS.toFixed(1).padStart(5, " ")} detect | ${fps.drawFPS.toFixed(1).padStart(5, " ")} draw`);
setTimeout(drawLoop, 30);
}
async function webCam() {
const devices = await human.webcam.enumerate();
const id = devices[0].deviceId;
await human.webcam.start({ element: dom.video, crop: false, width, id });
dom.canvas.width = human.webcam.width;
dom.canvas.height = human.webcam.height;
dom.canvas.onclick = async () => {
if (human.webcam.paused)
await human.webcam.play();
else
human.webcam.pause();
};
}
async function main() {
log("human version:", human.version, "| tfjs version:", human.tf.version["tfjs-core"]);
log("platform:", human.env.platform, "| agent:", human.env.agent);
status("loading...");
await human.load();
log("backend:", human.tf.getBackend(), "| available:", human.env.backends);
log("models stats:", human.models.stats());
log("models loaded:", human.models.loaded());
log("environment", human.env);
status("initializing...");
await human.warmup();
await webCam();
await detectionLoop();
await drawLoop();
}
window.onload = main;
import*as m from"../../dist/human.esm.js";var v=1920,b={debug:!0,backend:"webgl",modelBasePath:"../../models",filter:{enabled:!0,equalization:!1,flip:!1},face:{enabled:!0,detector:{rotation:!1},mesh:{enabled:!0},attention:{enabled:!1},iris:{enabled:!0},description:{enabled:!0},emotion:{enabled:!0},antispoof:{enabled:!0},liveness:{enabled:!0}},body:{enabled:!1},hand:{enabled:!1},object:{enabled:!1},segmentation:{enabled:!1},gesture:{enabled:!0}},e=new m.Human(b);e.env.perfadd=!1;e.draw.options.font='small-caps 18px "Lato"';e.draw.options.lineHeight=20;e.draw.options.drawPoints=!0;var a={video:document.getElementById("video"),canvas:document.getElementById("canvas"),log:document.getElementById("log"),fps:document.getElementById("status"),perf:document.getElementById("performance")},n={detect:0,draw:0,tensors:0,start:0},s={detectFPS:0,drawFPS:0,frames:0,averageMs:0},o=(...t)=>{a.log.innerText+=t.join(" ")+`
`,console.log(...t)},r=t=>a.fps.innerText=t,g=t=>a.perf.innerText="tensors:"+e.tf.memory().numTensors.toString()+" | performance: "+JSON.stringify(t).replace(/"|{|}/g,"").replace(/,/g," | ");async function f(){if(!a.video.paused){n.start===0&&(n.start=e.now()),await e.detect(a.video);let t=e.tf.memory().numTensors;t-n.tensors!==0&&o("allocated tensors:",t-n.tensors),n.tensors=t,s.detectFPS=Math.round(1e3*1e3/(e.now()-n.detect))/1e3,s.frames++,s.averageMs=Math.round(1e3*(e.now()-n.start)/s.frames)/1e3,s.frames%100===0&&!a.video.paused&&o("performance",{...s,tensors:n.tensors})}n.detect=e.now(),requestAnimationFrame(f)}async function w(){var d,i,c;if(!a.video.paused){let l=e.next(e.result),p=await e.image(a.video);e.draw.canvas(p.canvas,a.canvas);let u={bodyLabels:`person confidence [score] and ${(c=(i=(d=e.result)==null?void 0:d.body)==null?void 0:i[0])==null?void 0:c.keypoints.length} keypoints`};await e.draw.all(a.canvas,l,u),g(l.performance)}let t=e.now();s.drawFPS=Math.round(1e3*1e3/(t-n.draw))/1e3,n.draw=t,r(a.video.paused?"paused":`fps: ${s.detectFPS.toFixed(1).padStart(5," ")} detect | ${s.drawFPS.toFixed(1).padStart(5," ")} draw`),setTimeout(w,30)}async function y(){let d=(await e.webcam.enumerate())[0].deviceId;await e.webcam.start({element:a.video,crop:!1,width:v,id:d}),a.canvas.width=e.webcam.width,a.canvas.height=e.webcam.height,a.canvas.onclick=async()=>{e.webcam.paused?await e.webcam.play():e.webcam.pause()}}async function h(){o("human version:",e.version,"| tfjs version:",e.tf.version["tfjs-core"]),o("platform:",e.env.platform,"| agent:",e.env.agent),r("loading..."),await e.load(),o("backend:",e.tf.getBackend(),"| available:",e.env.backends),o("models stats:",e.models.stats()),o("models loaded:",e.models.loaded()),o("environment",e.env),r("initializing..."),await e.warmup(),await y(),await f(),await w()}window.onload=h;
//# sourceMappingURL=index.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

8
dist/human.js vendored

File diff suppressed because one or more lines are too long

14939
dist/human.node-gpu.js vendored

File diff suppressed because one or more lines are too long

14941
dist/human.node-wasm.js vendored

File diff suppressed because one or more lines are too long

14939
dist/human.node.js vendored

File diff suppressed because one or more lines are too long

35
dist/tfjs.version.js vendored
View File

@ -4,37 +4,4 @@
author: <https://github.com/vladmandic>'
*/
// node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/package.json
var version = "4.5.0";
// node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/package.json
var version2 = "4.5.0";
// node_modules/.pnpm/@tensorflow+tfjs-backend-cpu@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-backend-cpu/package.json
var version3 = "4.5.0";
// node_modules/.pnpm/@tensorflow+tfjs-backend-webgl@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-backend-webgl/package.json
var version4 = "4.5.0";
// node_modules/.pnpm/@tensorflow+tfjs-backend-wasm@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-backend-wasm/package.json
var version5 = "4.5.0";
// node_modules/.pnpm/@tensorflow+tfjs-backend-webgpu@0.0.1-alpha.20_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-backend-webgpu/package.json
var version6 = "0.0.1-alpha.20";
// tfjs/tf-version.ts
var version7 = {
tfjs: version,
"tfjs-core": version,
// 'tfjs-data': tfjsDataVersion,
// 'tfjs-layers': tfjsLayersVersion,
"tfjs-converter": version2,
"tfjs-backend-cpu": version3,
"tfjs-backend-webgl": version4,
"tfjs-backend-wasm": version5,
"tfjs-backend-webgpu": version6
};
export {
version7 as version
};
var e="4.5.0";var s="4.5.0";var t="4.5.0";var n="4.5.0";var r="4.5.0";var i="0.0.1-alpha.20";var h={tfjs:e,"tfjs-core":e,"tfjs-converter":s,"tfjs-backend-cpu":t,"tfjs-backend-webgl":n,"tfjs-backend-wasm":r,"tfjs-backend-webgpu":i};export{h as version};

View File

@ -1,211 +1,51 @@
2023-04-03 10:24:26 DATA:  Build {"name":"@vladmandic/human","version":"3.0.6"}
2023-04-03 10:24:26 INFO:  Application: {"name":"@vladmandic/human","version":"3.0.6"}
2023-04-03 10:24:26 INFO:  Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
2023-04-03 10:24:26 INFO:  Toolchain: {"build":"0.9.2","esbuild":"0.17.15","typescript":"5.0.3","typedoc":"0.23.28","eslint":"8.37.0"}
2023-04-03 10:24:26 INFO:  Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
2023-04-03 10:24:26 STATE: Clean: {"locations":["dist/*","types/*","typedoc/*"]}
2023-04-03 10:24:26 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1289,"outputBytes":361}
2023-04-03 10:24:26 STATE: Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":569,"outputBytes":960}
2023-04-03 10:24:26 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":80,"inputBytes":675229,"outputBytes":320461}
2023-04-03 10:24:26 STATE: Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":577,"outputBytes":968}
2023-04-03 10:24:26 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":80,"inputBytes":675237,"outputBytes":320465}
2023-04-03 10:24:26 STATE: Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":665,"outputBytes":2006}
2023-04-03 10:24:26 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":80,"inputBytes":676275,"outputBytes":320576}
2023-04-03 10:24:26 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1375,"outputBytes":670}
2023-04-03 10:24:26 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":80,"inputBytes":674939,"outputBytes":319025}
2023-04-03 10:24:26 STATE: Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":10,"inputBytes":1375,"outputBytes":1151285}
2023-04-03 10:24:26 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":80,"inputBytes":1825554,"outputBytes":1466225}
2023-04-03 10:24:27 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":80,"inputBytes":1825554,"outputBytes":1934178}
2023-04-03 10:24:30 STATE: Typings: {"input":"src/human.ts","output":"types/lib","files":15}
2023-04-03 10:24:32 STATE: TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":81,"generated":true}
2023-04-03 10:24:32 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6203,"outputBytes":2926}
2023-04-03 10:24:32 STATE: Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":17503,"outputBytes":9403}
2023-04-03 10:24:32 STATE: Compile: {"name":"demo/tracker","format":"esm","platform":"browser","input":"demo/tracker/index.ts","output":"demo/tracker/index.js","files":2,"inputBytes":54375,"outputBytes":22791}
2023-04-03 10:24:40 STATE: Lint: {"locations":["**/*.json","src/**/*.ts","test/**/*.js","demo/**/*.js","**/*.md"],"files":171,"errors":0,"warnings":0}
2023-04-03 10:24:40 STATE: ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
2023-04-03 10:24:40 STATE: Copy: {"input":"node_modules/@vladmandic/tfjs/types/tfjs-core.d.ts","output":"types/tfjs-core.d.ts"}
2023-04-03 10:24:40 INFO:  Done...
2023-04-03 10:24:40 STATE: Copy: {"input":"node_modules/@vladmandic/tfjs/types/tfjs.d.ts","output":"types/tfjs.esm.d.ts"}
2023-04-03 10:24:40 STATE: Copy: {"input":"src/types/tsconfig.json","output":"types/tsconfig.json"}
2023-04-03 10:24:40 STATE: Copy: {"input":"src/types/eslint.json","output":"types/.eslintrc.json"}
2023-04-03 10:24:40 STATE: Copy: {"input":"src/types/tfjs.esm.d.ts","output":"dist/tfjs.esm.d.ts"}
2023-04-03 10:24:40 STATE: Filter: {"input":"types/tfjs-core.d.ts"}
2023-04-03 10:24:41 STATE: API-Extractor: {"succeeeded":true,"errors":0,"warnings":210}
2023-04-03 10:24:41 STATE: Filter: {"input":"types/human.d.ts"}
2023-04-03 10:24:41 STATE: Write: {"output":"dist/human.esm-nobundle.d.ts"}
2023-04-03 10:24:41 STATE: Write: {"output":"dist/human.esm.d.ts"}
2023-04-03 10:24:41 STATE: Write: {"output":"dist/human.d.ts"}
2023-04-03 10:24:41 STATE: Write: {"output":"dist/human.node-gpu.d.ts"}
2023-04-03 10:24:41 STATE: Write: {"output":"dist/human.node.d.ts"}
2023-04-03 10:24:41 STATE: Write: {"output":"dist/human.node-wasm.d.ts"}
2023-04-03 10:24:41 INFO:  Analyze models: {"folders":8,"result":"models/models.json"}
2023-04-03 10:24:41 STATE: Models {"folder":"./models","models":12}
2023-04-03 10:24:41 STATE: Models {"folder":"../human-models/models","models":44}
2023-04-03 10:24:41 STATE: Models {"folder":"../blazepose/model/","models":4}
2023-04-03 10:24:41 STATE: Models {"folder":"../anti-spoofing/model","models":1}
2023-04-03 10:24:41 STATE: Models {"folder":"../efficientpose/models","models":3}
2023-04-03 10:24:41 STATE: Models {"folder":"../insightface/models","models":5}
2023-04-03 10:24:41 STATE: Models {"folder":"../movenet/models","models":3}
2023-04-03 10:24:41 STATE: Models {"folder":"../nanodet/models","models":4}
2023-04-03 10:24:42 STATE: Models: {"count":58,"totalSize":380063249}
2023-04-03 10:24:42 INFO:  Human Build complete... {"logFile":"test/build.log"}
2023-04-06 09:58:27 INFO:  @vladmandic/human version 3.0.6
2023-04-06 09:58:27 INFO:  User: vlado Platform: linux Arch: x64 Node: v19.1.0
2023-04-06 09:58:27 INFO:  Application: {"name":"@vladmandic/human","version":"3.0.6"}
2023-04-06 09:58:27 INFO:  Environment: {"profile":"development","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
2023-04-06 09:58:27 INFO:  Toolchain: {"build":"0.9.2","esbuild":"0.17.15","typescript":"5.0.3","typedoc":"0.23.28","eslint":"8.37.0"}
2023-04-06 09:58:27 INFO:  Build: {"profile":"development","steps":["serve","watch","compile"]}
2023-04-06 09:58:27 STATE: WebServer: {"ssl":false,"port":8000,"root":"."}
2023-04-06 09:58:27 STATE: WebServer: {"ssl":true,"port":8001,"root":".","sslKey":"node_modules/@vladmandic/build/cert/https.key","sslCrt":"node_modules/@vladmandic/build/cert/https.crt"}
2023-04-06 09:58:27 STATE: Watch: {"locations":["src/**/*","tfjs/**/*","demo/**/*.ts"]}
2023-04-06 09:58:27 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1289,"outputBytes":1436}
2023-04-06 09:58:27 STATE: Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1644,"outputBytes":1899}
2023-04-06 09:58:27 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":80,"inputBytes":676168,"outputBytes":524033}
2023-04-06 09:58:27 STATE: Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1652,"outputBytes":1927}
2023-04-06 09:58:27 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":80,"inputBytes":676196,"outputBytes":524053}
2023-04-06 09:58:27 STATE: Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1740,"outputBytes":2196}
2023-04-06 09:58:27 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":80,"inputBytes":676465,"outputBytes":524244}
2023-04-06 09:58:27 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2450,"outputBytes":997}
2023-04-06 09:58:27 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":80,"inputBytes":675266,"outputBytes":526563}
2023-04-06 09:58:27 STATE: Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":10,"inputBytes":2450,"outputBytes":1151285}
2023-04-06 09:58:27 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":80,"inputBytes":1825554,"outputBytes":1466225}
2023-04-06 09:58:27 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":80,"inputBytes":1825554,"outputBytes":1934178}
2023-04-06 09:58:27 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6203,"outputBytes":4436}
2023-04-06 09:58:27 STATE: Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":17503,"outputBytes":15182}
2023-04-06 09:58:27 STATE: Compile: {"name":"demo/tracker","format":"esm","platform":"browser","input":"demo/tracker/index.ts","output":"demo/tracker/index.js","files":2,"inputBytes":54375,"outputBytes":51106}
2023-04-06 09:58:27 INFO:  Listening... ["http://localhost:8000","https://localhost:8001"]
2023-04-06 09:58:29 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/html","size":7551,"url":"/","remote":"::1"}
2023-04-06 09:58:29 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/css","size":107884,"url":"/icons.css","remote":"::1"}
2023-04-06 09:58:29 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":45007,"url":"/index.js","remote":"::1"}
2023-04-06 09:58:29 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":1934178,"url":"/dist/human.esm.js","remote":"::1"}
2023-04-06 09:58:29 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":14308,"url":"/helpers/menu.js","remote":"::1"}
2023-04-06 09:58:29 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":10535,"url":"/helpers/gl-bench.js","remote":"::1"}
2023-04-06 09:58:29 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":3397,"url":"/helpers/webrtc.js","remote":"::1"}
2023-04-06 09:58:29 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":5689,"url":"/helpers/jsonview.js","remote":"::1"}
2023-04-06 09:58:29 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"font/woff2","size":181500,"url":"/assets/lato-light.woff2","remote":"::1"}
2023-04-06 09:58:30 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":4033,"url":"/index-pwa.js","remote":"::1"}
2023-04-06 09:58:30 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/manifest+json","size":304,"url":"/manifest.webmanifest","remote":"::1"}
2023-04-06 09:58:30 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"image/png","size":142790,"url":"/assets/icon.png","remote":"::1"}
2023-04-06 09:58:35 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":301,"url":"/demo/typescript","redirect":"/demo/typescript/index.html","remote":"::1"}
2023-04-06 09:58:35 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/html","size":1954,"url":"/demo/typescript/index.html","remote":"::1"}
2023-04-06 09:58:35 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":4436,"url":"/demo/typescript/index.js","remote":"::1"}
2023-04-06 09:58:35 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"font/woff2","size":181500,"url":"/assets/lato-light.woff2","remote":"::1"}
2023-04-06 09:58:35 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":1934178,"url":"/dist/human.esm.js","remote":"::1"}
2023-04-06 09:58:35 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/manifest+json","size":304,"url":"/demo/manifest.webmanifest","remote":"::1"}
2023-04-06 09:58:35 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"image/png","size":142790,"url":"/assets/icon.png","remote":"::1"}
2023-04-06 09:58:41 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/manifest+json","size":304,"url":"/demo/manifest.webmanifest","remote":"::1"}
2023-04-06 09:58:41 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/octet-stream","size":9592,"url":"/demo/typescript/index.js.map","remote":"::1"}
2023-04-06 09:58:41 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/octet-stream","size":3429130,"url":"/dist/human.esm.js.map","remote":"::1"}
2023-04-06 10:02:43 INFO:  Watch: {"event":"modify","input":"src/gesture/gesture.ts"}
2023-04-06 10:02:43 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1289,"outputBytes":1436}
2023-04-06 10:02:43 STATE: Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1644,"outputBytes":1899}
2023-04-06 10:02:43 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":80,"inputBytes":676168,"outputBytes":524033}
2023-04-06 10:02:43 STATE: Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1652,"outputBytes":1927}
2023-04-06 10:02:43 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":80,"inputBytes":676196,"outputBytes":524053}
2023-04-06 10:02:43 STATE: Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1740,"outputBytes":2196}
2023-04-06 10:02:43 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":80,"inputBytes":676465,"outputBytes":524244}
2023-04-06 10:02:43 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2450,"outputBytes":997}
2023-04-06 10:02:43 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":80,"inputBytes":675266,"outputBytes":526563}
2023-04-06 10:02:43 STATE: Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":10,"inputBytes":2450,"outputBytes":1151285}
2023-04-06 10:02:43 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":80,"inputBytes":1825554,"outputBytes":1466225}
2023-04-06 10:02:43 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":80,"inputBytes":1825554,"outputBytes":1934178}
2023-04-06 10:02:43 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6203,"outputBytes":4436}
2023-04-06 10:02:43 STATE: Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":17503,"outputBytes":15182}
2023-04-06 10:02:43 STATE: Compile: {"name":"demo/tracker","format":"esm","platform":"browser","input":"demo/tracker/index.ts","output":"demo/tracker/index.js","files":2,"inputBytes":54375,"outputBytes":51106}
2023-04-06 10:17:53 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/html","size":1954,"url":"/demo/typescript/index.html","remote":"::1"}
2023-04-06 10:17:53 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":4436,"url":"/demo/typescript/index.js","remote":"::1"}
2023-04-06 10:17:53 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"font/woff2","size":181500,"url":"/assets/lato-light.woff2","remote":"::1"}
2023-04-06 10:17:53 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":1934178,"url":"/dist/human.esm.js","remote":"::1"}
2023-04-06 10:17:53 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/octet-stream","size":9592,"url":"/demo/typescript/index.js.map","remote":"::1"}
2023-04-06 10:17:53 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/octet-stream","size":3429130,"url":"/dist/human.esm.js.map","remote":"::1"}
2023-04-06 10:17:53 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"image/x-icon","size":261950,"url":"/favicon.ico","remote":"::1"}
2023-04-06 10:17:53 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/manifest+json","size":304,"url":"/demo/manifest.webmanifest","remote":"::1"}
2023-04-06 10:17:53 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"image/png","size":142790,"url":"/assets/icon.png","remote":"::1"}
2023-04-06 10:19:37 INFO:  Watch: {"event":"modify","input":"src/face/angles.ts"}
2023-04-06 10:19:37 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1289,"outputBytes":1436}
2023-04-06 10:19:37 STATE: Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1644,"outputBytes":1899}
2023-04-06 10:19:37 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":80,"inputBytes":676164,"outputBytes":524029}
2023-04-06 10:19:37 STATE: Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1652,"outputBytes":1927}
2023-04-06 10:19:37 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":80,"inputBytes":676192,"outputBytes":524049}
2023-04-06 10:19:37 STATE: Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1740,"outputBytes":2196}
2023-04-06 10:19:37 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":80,"inputBytes":676461,"outputBytes":524240}
2023-04-06 10:19:37 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2450,"outputBytes":997}
2023-04-06 10:19:37 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":80,"inputBytes":675262,"outputBytes":526559}
2023-04-06 10:19:37 STATE: Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":10,"inputBytes":2450,"outputBytes":1151285}
2023-04-06 10:19:37 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":80,"inputBytes":1825550,"outputBytes":1466223}
2023-04-06 10:19:37 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":80,"inputBytes":1825550,"outputBytes":1934174}
2023-04-06 10:19:37 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6203,"outputBytes":4436}
2023-04-06 10:19:37 STATE: Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":17503,"outputBytes":15182}
2023-04-06 10:19:37 STATE: Compile: {"name":"demo/tracker","format":"esm","platform":"browser","input":"demo/tracker/index.ts","output":"demo/tracker/index.js","files":2,"inputBytes":54375,"outputBytes":51106}
2023-04-06 10:19:38 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/html","size":1954,"url":"/demo/typescript/index.html","remote":"::1"}
2023-04-06 10:19:38 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":4436,"url":"/demo/typescript/index.js","remote":"::1"}
2023-04-06 10:19:38 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"font/woff2","size":181500,"url":"/assets/lato-light.woff2","remote":"::1"}
2023-04-06 10:19:38 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":1934174,"url":"/dist/human.esm.js","remote":"::1"}
2023-04-06 10:19:38 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/octet-stream","size":9592,"url":"/demo/typescript/index.js.map","remote":"::1"}
2023-04-06 10:19:38 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/octet-stream","size":3429121,"url":"/dist/human.esm.js.map","remote":"::1"}
2023-04-06 10:19:38 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"image/x-icon","size":261950,"url":"/favicon.ico","remote":"::1"}
2023-04-06 10:19:38 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/manifest+json","size":304,"url":"/demo/manifest.webmanifest","remote":"::1"}
2023-04-06 10:19:38 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"image/png","size":142790,"url":"/assets/icon.png","remote":"::1"}
2023-04-06 10:20:03 INFO:  Watch: {"event":"modify","input":"src/face/angles.ts"}
2023-04-06 10:20:03 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1289,"outputBytes":1436}
2023-04-06 10:20:03 STATE: Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1644,"outputBytes":1899}
2023-04-06 10:20:03 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":80,"inputBytes":676168,"outputBytes":524033}
2023-04-06 10:20:03 STATE: Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1652,"outputBytes":1927}
2023-04-06 10:20:03 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":80,"inputBytes":676196,"outputBytes":524053}
2023-04-06 10:20:03 STATE: Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1740,"outputBytes":2196}
2023-04-06 10:20:03 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":80,"inputBytes":676465,"outputBytes":524244}
2023-04-06 10:20:03 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2450,"outputBytes":997}
2023-04-06 10:20:03 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":80,"inputBytes":675266,"outputBytes":526563}
2023-04-06 10:20:03 STATE: Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":10,"inputBytes":2450,"outputBytes":1151285}
2023-04-06 10:20:03 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":80,"inputBytes":1825554,"outputBytes":1466225}
2023-04-06 10:20:03 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":80,"inputBytes":1825554,"outputBytes":1934178}
2023-04-06 10:20:03 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6203,"outputBytes":4436}
2023-04-06 10:20:03 STATE: Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":17503,"outputBytes":15182}
2023-04-06 10:20:03 STATE: Compile: {"name":"demo/tracker","format":"esm","platform":"browser","input":"demo/tracker/index.ts","output":"demo/tracker/index.js","files":2,"inputBytes":54375,"outputBytes":51106}
2023-05-08 09:11:50 INFO:  @vladmandic/human version 3.0.6
2023-05-08 09:11:50 INFO:  User: vlado Platform: linux Arch: x64 Node: v19.1.0
2023-05-08 09:11:50 INFO:  Application: {"name":"@vladmandic/human","version":"3.0.6"}
2023-05-08 09:11:50 INFO:  Environment: {"profile":"development","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
2023-05-08 09:11:50 INFO:  Toolchain: {"build":"0.9.2","esbuild":"0.17.18","typescript":"5.0.4","typedoc":"0.23.28","eslint":"8.40.0"}
2023-05-08 09:11:50 INFO:  Build: {"profile":"development","steps":["serve","watch","compile"]}
2023-05-08 09:11:50 STATE: WebServer: {"ssl":false,"port":8000,"root":"."}
2023-05-08 09:11:50 STATE: WebServer: {"ssl":true,"port":8001,"root":".","sslKey":"node_modules/@vladmandic/build/cert/https.key","sslCrt":"node_modules/@vladmandic/build/cert/https.crt"}
2023-05-08 09:11:50 STATE: Watch: {"locations":["src/**/*","tfjs/**/*","demo/**/*.ts"]}
2023-05-08 09:11:50 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1289,"outputBytes":1436}
2023-05-08 09:11:50 STATE: Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1644,"outputBytes":1899}
2023-05-08 09:11:50 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":80,"inputBytes":676165,"outputBytes":524033}
2023-05-08 09:11:50 STATE: Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1652,"outputBytes":1927}
2023-05-08 09:11:50 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":80,"inputBytes":676193,"outputBytes":524053}
2023-05-08 09:11:50 STATE: Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1740,"outputBytes":2196}
2023-05-08 09:11:50 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":80,"inputBytes":676462,"outputBytes":524244}
2023-05-08 09:11:50 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":2450,"outputBytes":997}
2023-05-08 09:11:50 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":80,"inputBytes":675263,"outputBytes":526563}
2023-05-08 09:11:50 STATE: Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":10,"inputBytes":2450,"outputBytes":1250365}
2023-05-08 09:11:50 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":80,"inputBytes":1924631,"outputBytes":1565100}
2023-05-08 09:11:50 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":80,"inputBytes":1924631,"outputBytes":2047416}
2023-05-08 09:11:50 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6203,"outputBytes":4436}
2023-05-08 09:11:50 STATE: Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":17503,"outputBytes":15182}
2023-05-08 09:11:50 STATE: Compile: {"name":"demo/tracker","format":"esm","platform":"browser","input":"demo/tracker/index.ts","output":"demo/tracker/index.js","files":2,"inputBytes":54375,"outputBytes":51106}
2023-05-08 09:11:50 INFO:  Listening... ["http://localhost:8000","https://localhost:8001"]
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/html","size":7551,"url":"/","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/css","size":107884,"url":"/icons.css","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":45007,"url":"/index.js","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"font/woff2","size":181500,"url":"/assets/lato-light.woff2","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":2047416,"url":"/dist/human.esm.js","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":14308,"url":"/helpers/menu.js","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":10535,"url":"/helpers/gl-bench.js","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":3397,"url":"/helpers/webrtc.js","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":5689,"url":"/helpers/jsonview.js","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":4033,"url":"/index-pwa.js","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/manifest+json","size":304,"url":"/manifest.webmanifest","remote":"::1"}
2023-05-08 09:11:56 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"image/png","size":142790,"url":"/assets/icon.png","remote":"::1"}
2023-05-08 09:12:01 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":301,"url":"/demo/typescript","redirect":"/demo/typescript/index.html","remote":"::1"}
2023-05-08 09:12:01 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/html","size":1954,"url":"/demo/typescript/index.html","remote":"::1"}
2023-05-08 09:12:01 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":4436,"url":"/demo/typescript/index.js","remote":"::1"}
2023-05-08 09:12:01 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"text/javascript","size":2047416,"url":"/dist/human.esm.js","remote":"::1"}
2023-05-08 09:12:01 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"font/woff2","size":181500,"url":"/assets/lato-light.woff2","remote":"::1"}
2023-05-08 09:12:01 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/manifest+json","size":304,"url":"/demo/manifest.webmanifest","remote":"::1"}
2023-05-08 09:12:01 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"image/png","size":142790,"url":"/assets/icon.png","remote":"::1"}
2023-05-08 09:12:06 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/manifest+json","size":304,"url":"/demo/manifest.webmanifest","remote":"::1"}
2023-05-08 09:12:06 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/octet-stream","size":3603384,"url":"/dist/human.esm.js.map","remote":"::1"}
2023-05-08 09:12:06 DATA:  HTTPS: {"method":"GET","ver":"2.0","status":200,"mime":"application/octet-stream","size":9592,"url":"/demo/typescript/index.js.map","remote":"::1"}
2023-05-08 09:13:55 DATA:  Build {"name":"@vladmandic/human","version":"3.0.6"}
2023-05-08 09:13:55 INFO:  Application: {"name":"@vladmandic/human","version":"3.0.6"}
2023-05-08 09:13:55 INFO:  Environment: {"profile":"production","config":".build.json","package":"package.json","tsconfig":true,"eslintrc":true,"git":true}
2023-05-08 09:13:55 INFO:  Toolchain: {"build":"0.9.2","esbuild":"0.17.18","typescript":"5.0.4","typedoc":"0.23.28","eslint":"8.40.0"}
2023-05-08 09:13:55 INFO:  Build: {"profile":"production","steps":["clean","compile","typings","typedoc","lint","changelog"]}
2023-05-08 09:13:55 STATE: Clean: {"locations":["dist/*","types/*","typedoc/*"]}
2023-05-08 09:13:55 STATE: Compile: {"name":"tfjs/browser/version","format":"esm","platform":"browser","input":"tfjs/tf-version.ts","output":"dist/tfjs.version.js","files":1,"inputBytes":1289,"outputBytes":361}
2023-05-08 09:13:55 STATE: Compile: {"name":"tfjs/nodejs/cpu","format":"cjs","platform":"node","input":"tfjs/tf-node.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":569,"outputBytes":960}
2023-05-08 09:13:55 STATE: Compile: {"name":"human/nodejs/cpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node.js","files":80,"inputBytes":675233,"outputBytes":320463}
2023-05-08 09:13:55 STATE: Compile: {"name":"tfjs/nodejs/gpu","format":"cjs","platform":"node","input":"tfjs/tf-node-gpu.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":577,"outputBytes":968}
2023-05-08 09:13:55 STATE: Compile: {"name":"human/nodejs/gpu","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-gpu.js","files":80,"inputBytes":675241,"outputBytes":320467}
2023-05-08 09:13:55 STATE: Compile: {"name":"tfjs/nodejs/wasm","format":"cjs","platform":"node","input":"tfjs/tf-node-wasm.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":665,"outputBytes":2006}
2023-05-08 09:13:55 STATE: Compile: {"name":"human/nodejs/wasm","format":"cjs","platform":"node","input":"src/human.ts","output":"dist/human.node-wasm.js","files":80,"inputBytes":676279,"outputBytes":320578}
2023-05-08 09:13:55 STATE: Compile: {"name":"tfjs/browser/esm/nobundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":2,"inputBytes":1375,"outputBytes":670}
2023-05-08 09:13:55 STATE: Compile: {"name":"human/browser/esm/nobundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm-nobundle.js","files":80,"inputBytes":674943,"outputBytes":319027}
2023-05-08 09:13:55 STATE: Compile: {"name":"tfjs/browser/esm/bundle","format":"esm","platform":"browser","input":"tfjs/tf-browser.ts","output":"dist/tfjs.esm.js","files":10,"inputBytes":1375,"outputBytes":1250365}
2023-05-08 09:13:55 STATE: Compile: {"name":"human/browser/iife/bundle","format":"iife","platform":"browser","input":"src/human.ts","output":"dist/human.js","files":80,"inputBytes":1924638,"outputBytes":1565102}
2023-05-08 09:13:56 STATE: Compile: {"name":"human/browser/esm/bundle","format":"esm","platform":"browser","input":"src/human.ts","output":"dist/human.esm.js","files":80,"inputBytes":1924638,"outputBytes":2047423}
2023-05-08 09:13:59 STATE: Typings: {"input":"src/human.ts","output":"types/lib","files":15}
2023-05-08 09:14:01 STATE: TypeDoc: {"input":"src/human.ts","output":"typedoc","objects":81,"generated":true}
2023-05-08 09:14:01 STATE: Compile: {"name":"demo/typescript","format":"esm","platform":"browser","input":"demo/typescript/index.ts","output":"demo/typescript/index.js","files":1,"inputBytes":6203,"outputBytes":2926}
2023-05-08 09:14:01 STATE: Compile: {"name":"demo/faceid","format":"esm","platform":"browser","input":"demo/faceid/index.ts","output":"demo/faceid/index.js","files":2,"inputBytes":17503,"outputBytes":9403}
2023-05-08 09:14:01 STATE: Compile: {"name":"demo/tracker","format":"esm","platform":"browser","input":"demo/tracker/index.ts","output":"demo/tracker/index.js","files":2,"inputBytes":54375,"outputBytes":22791}
2023-05-08 09:14:09 STATE: Lint: {"locations":["**/*.json","src/**/*.ts","test/**/*.js","demo/**/*.js","**/*.md"],"files":171,"errors":0,"warnings":0}
2023-05-08 09:14:09 STATE: ChangeLog: {"repository":"https://github.com/vladmandic/human","branch":"main","output":"CHANGELOG.md"}
2023-05-08 09:14:09 STATE: Copy: {"input":"node_modules/@vladmandic/tfjs/types/tfjs-core.d.ts","output":"types/tfjs-core.d.ts"}
2023-05-08 09:14:09 INFO:  Done...
2023-05-08 09:14:09 STATE: Copy: {"input":"node_modules/@vladmandic/tfjs/types/tfjs.d.ts","output":"types/tfjs.esm.d.ts"}
2023-05-08 09:14:09 STATE: Copy: {"input":"src/types/tsconfig.json","output":"types/tsconfig.json"}
2023-05-08 09:14:09 STATE: Copy: {"input":"src/types/eslint.json","output":"types/.eslintrc.json"}
2023-05-08 09:14:09 STATE: Copy: {"input":"src/types/tfjs.esm.d.ts","output":"dist/tfjs.esm.d.ts"}
2023-05-08 09:14:09 STATE: Filter: {"input":"types/tfjs-core.d.ts"}
2023-05-08 09:14:10 STATE: API-Extractor: {"succeeeded":true,"errors":0,"warnings":210}
2023-05-08 09:14:10 STATE: Filter: {"input":"types/human.d.ts"}
2023-05-08 09:14:10 STATE: Write: {"output":"dist/human.esm-nobundle.d.ts"}
2023-05-08 09:14:10 STATE: Write: {"output":"dist/human.esm.d.ts"}
2023-05-08 09:14:10 STATE: Write: {"output":"dist/human.d.ts"}
2023-05-08 09:14:10 STATE: Write: {"output":"dist/human.node-gpu.d.ts"}
2023-05-08 09:14:10 STATE: Write: {"output":"dist/human.node.d.ts"}
2023-05-08 09:14:10 STATE: Write: {"output":"dist/human.node-wasm.d.ts"}
2023-05-08 09:14:10 INFO:  Analyze models: {"folders":8,"result":"models/models.json"}
2023-05-08 09:14:10 STATE: Models {"folder":"./models","models":12}
2023-05-08 09:14:10 STATE: Models {"folder":"../human-models/models","models":44}
2023-05-08 09:14:10 STATE: Models {"folder":"../blazepose/model/","models":4}
2023-05-08 09:14:10 STATE: Models {"folder":"../anti-spoofing/model","models":1}
2023-05-08 09:14:10 STATE: Models {"folder":"../efficientpose/models","models":3}
2023-05-08 09:14:10 STATE: Models {"folder":"../insightface/models","models":5}
2023-05-08 09:14:10 STATE: Models {"folder":"../movenet/models","models":3}
2023-05-08 09:14:10 STATE: Models {"folder":"../nanodet/models","models":4}
2023-05-08 09:14:11 STATE: Models: {"count":58,"totalSize":380063249}
2023-05-08 09:14:11 INFO:  Human Build complete... {"logFile":"test/build.log"}

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<ul class="tsd-hierarchy">
<li><span class="tsd-signature-type">InferenceModel</span></li></ul></section><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:34</li></ul></aside>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:34</li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -97,7 +97,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<h5><code class="tsd-tag ts-flagOptional">Optional</code> tfio: <span class="tsd-signature-type">__module</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <a href="GraphModel.html" class="tsd-signature-type" data-tsd-kind="Class">GraphModel</a><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">ModelURL</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:66</li></ul></aside></li></ul></section></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:66</li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Accessors</h2>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="inputNodes" class="tsd-anchor"></a>
@ -107,7 +107,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:49</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:49</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="inputs" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>inputs</span><a href="#inputs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@ -116,7 +116,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">TensorInfo</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Implementation of InferenceModel.inputs</p>
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:51</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:51</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="metadata" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>metadata</span><a href="#metadata" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@ -125,7 +125,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{}</span></h4>
<ul class="tsd-parameters"></ul><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:54</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:54</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="modelSignature" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>model<wbr/>Signature</span><a href="#modelSignature" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@ -134,7 +134,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{}</span></h4>
<ul class="tsd-parameters"></ul><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:55</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:55</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="modelStructuredOutputKeys" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>model<wbr/>Structured<wbr/>Output<wbr/>Keys</span><a href="#modelStructuredOutputKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@ -143,7 +143,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">{}</span></h4>
<ul class="tsd-parameters"></ul><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:56</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:56</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="modelVersion" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>model<wbr/>Version</span><a href="#modelVersion" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@ -151,7 +151,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:48</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:48</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="outputNodes" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>output<wbr/>Nodes</span><a href="#outputNodes" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@ -159,7 +159,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:50</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:50</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="outputs" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>outputs</span><a href="#outputs" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@ -168,7 +168,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">TensorInfo</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Implementation of InferenceModel.outputs</p>
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:52</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:52</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-accessor tsd-parent-kind-class"><a id="weights" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>weights</span><a href="#weights" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-accessor tsd-parent-kind-class">
@ -176,7 +176,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<li class="tsd-description">
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">NamedTensorsMap</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:53</li></ul></aside></li></ul></section></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:53</li></ul></aside></li></ul></section></section>
<section class="tsd-panel-group tsd-member-group">
<h2>Methods</h2>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="dispose" class="tsd-anchor"></a>
@ -189,7 +189,7 @@ the command line converter tool and loaded via <code>tf.loadGraphModel</code>.</
<h3>Doc</h3></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:266</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:266</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="disposeIntermediateTensors" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>dispose<wbr/>Intermediate<wbr/>Tensors</span><a href="#disposeIntermediateTensors" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@ -201,7 +201,7 @@ KEEP_INTERMEDIATE_TENSORS is true).</p>
<h3>Doc</h3></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:259</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:259</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="execute" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>execute</span><a href="#execute" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@ -233,7 +233,7 @@ outputs array.</p>
<h4 class="tsd-returns-title">Returns <a href="Tensor-1.html" class="tsd-signature-type" data-tsd-kind="Class">Tensor</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/Rank.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Rank</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><a href="Tensor-1.html" class="tsd-signature-type" data-tsd-kind="Class">Tensor</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/Rank.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Rank</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span></h4><aside class="tsd-sources">
<p>Implementation of InferenceModel.execute</p>
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:228</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:228</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="executeAsync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>execute<wbr/>Async</span><a href="#executeAsync" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@ -264,7 +264,7 @@ array.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="Tensor-1.html" class="tsd-signature-type" data-tsd-kind="Class">Tensor</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/Rank.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Rank</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><a href="Tensor-1.html" class="tsd-signature-type" data-tsd-kind="Class">Tensor</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/Rank.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Rank</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:245</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:245</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="getIntermediateTensors" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>get<wbr/>Intermediate<wbr/>Tensors</span><a href="#getIntermediateTensors" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@ -276,7 +276,7 @@ KEEP_INTERMEDIATE_TENSORS is true).</p>
<h3>Doc</h3></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">NamedTensorsMap</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:252</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:252</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="load" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>load</span><a href="#load" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@ -287,7 +287,7 @@ compile the inference graph.</p>
</div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">UrlIOHandler</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">ModelURL</span><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-type">IOHandlerSync</span><span class="tsd-signature-symbol"> ? </span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> : </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:72</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:72</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="loadSync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>load<wbr/>Sync</span><a href="#loadSync" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@ -304,7 +304,7 @@ compile the inference graph.</p>
<h5>artifacts: <span class="tsd-signature-type">ModelArtifacts</span></h5></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:79</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:79</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="predict" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>predict</span><a href="#predict" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@ -346,7 +346,7 @@ Currently the batch size option is ignored for graph model.</p>
<h4 class="tsd-returns-title">Returns <a href="Tensor-1.html" class="tsd-signature-type" data-tsd-kind="Class">Tensor</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/Rank.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Rank</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><a href="Tensor-1.html" class="tsd-signature-type" data-tsd-kind="Class">Tensor</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/Rank.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Rank</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">NamedTensorMap</span></h4><aside class="tsd-sources">
<p>Implementation of InferenceModel.predict</p>
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:165</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:165</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="predictAsync" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>predict<wbr/>Async</span><a href="#predictAsync" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@ -388,7 +388,7 @@ Currently the batch size option is ignored for graph model.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="Tensor-1.html" class="tsd-signature-type" data-tsd-kind="Class">Tensor</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/Rank.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Rank</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol"> | </span><a href="Tensor-1.html" class="tsd-signature-type" data-tsd-kind="Class">Tensor</a><span class="tsd-signature-symbol">&lt;</span><a href="../enums/Rank.html" class="tsd-signature-type" data-tsd-kind="Enumeration">Rank</a><span class="tsd-signature-symbol">&gt;</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">NamedTensorMap</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:206</li></ul></aside></li></ul></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:206</li></ul></aside></li></ul></section>
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class"><a id="save" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>save</span><a href="#save" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
@ -432,7 +432,7 @@ scheme-based string shortcut for <code>IOHandler</code>.</p>
</div></li></ul></div>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">SaveResult</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.2.0_@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:124</li></ul></aside></li></ul></section></section></div>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-converter@4.5.0_@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-converter/dist/executor/graph_model.d.ts:124</li></ul></aside></li></ul></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

File diff suppressed because it is too large Load Diff

View File

@ -16,7 +16,7 @@
<li><a href="Rank.html">Rank</a></li></ul>
<h1>Enumeration Rank</h1></div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:61</li></ul></aside>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:62</li></ul></aside>
<section class="tsd-panel-group tsd-index-group">
<section class="tsd-panel tsd-index-panel">
<details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
@ -38,37 +38,37 @@
<h3 class="tsd-anchor-link"><span>R0</span><a href="#R0" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
<div class="tsd-signature">R0<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;R0&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:62</li></ul></aside></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:63</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="R1" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>R1</span><a href="#R1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">R1<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;R1&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:63</li></ul></aside></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:64</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="R2" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>R2</span><a href="#R2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">R2<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;R2&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:64</li></ul></aside></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:65</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="R3" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>R3</span><a href="#R3" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">R3<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;R3&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:65</li></ul></aside></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:66</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="R4" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>R4</span><a href="#R4" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">R4<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;R4&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:66</li></ul></aside></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:67</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="R5" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>R5</span><a href="#R5" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">R5<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;R5&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:67</li></ul></aside></section>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:68</li></ul></aside></section>
<section class="tsd-panel tsd-member tsd-kind-enum-member tsd-parent-kind-enum"><a id="R6" class="tsd-anchor"></a>
<h3 class="tsd-anchor-link"><span>R6</span><a href="#R6" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
<div class="tsd-signature">R6<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;R6&quot;</span></div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:68</li></ul></aside></section></section></div>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:69</li></ul></aside></section></section></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

View File

@ -19,145 +19,145 @@
<div class="tsd-comment tsd-typography"><p>Explict reexport of main @tensorflow/tfjs types</p>
</div></section><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:116</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:131</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/abs.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/acos.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/acosh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/add.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/all.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/any.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/arg_max.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/arg_min.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as_scalar.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as_type.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as1d.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as2d.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as3d.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as4d.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as5d.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/asin.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/asinh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atan.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atan2.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atanh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/avg_pool.d.ts:21</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/batch_to_space_nd.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/batchnorm.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/broadcast_to.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cast.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ceil.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/clip_by_value.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/concat.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv1d.d.ts:5</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv2d_transpose.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv2d.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cos.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cosh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cumprod.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cumsum.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/depth_to_space.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/depthwise_conv2d.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/dilation2d.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/div_no_nan.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/div.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/dot.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/elu.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/equal.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/erf.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/euclidean_norm.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/exp.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/expand_dims.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/expm1.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/fft.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/flatten.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/floor.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/floorDiv.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/gather.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/greater_equal.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/greater.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ifft.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/irfft.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_finite.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_inf.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_nan.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/leaky_relu.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/less_equal.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/less.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/local_response_normalization.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_sigmoid.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_softmax.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_sum_exp.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log1p.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_and.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_not.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_or.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_xor.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mat_mul.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/max_pool.d.ts:21</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/max.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/maximum.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mean.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/min.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/minimum.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mirror_pad.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mod.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mul.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/neg.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/norm.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/not_equal.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/one_hot.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ones_like.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pad.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pool.d.ts:21</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pow.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/prelu.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/prod.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reciprocal.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/relu.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/relu6.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reshape_as.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reshape.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/resize_bilinear.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/resize_nearest_neighbor.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reverse.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/rfft.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/round.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/rsqrt.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/selu.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/separable_conv2d.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sigmoid.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sign.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sin.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sinh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/slice.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/softmax.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/softplus.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/space_to_batch_nd.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/split.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sqrt.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/square.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/squared_difference.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/squeeze.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/stack.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/step.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/strided_slice.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sub.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sum.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tan.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tanh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tile.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_bool.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_float.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_int.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/topk.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/transpose.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unique.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unsorted_segment_sum.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unstack.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/where.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/zeros_like.d.ts:20</li></ul></aside></div>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:115</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:130</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/abs.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/acos.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/acosh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/add.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/all.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/any.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/arg_max.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/arg_min.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as_scalar.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as_type.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as1d.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as2d.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as3d.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as4d.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/as5d.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/asin.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/asinh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atan.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atan2.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/atanh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/avg_pool.d.ts:21</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/batch_to_space_nd.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/batchnorm.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/broadcast_to.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cast.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ceil.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/clip_by_value.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/concat.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv1d.d.ts:5</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv2d_transpose.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/conv2d.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cos.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cosh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cumprod.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/cumsum.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/depth_to_space.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/depthwise_conv2d.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/dilation2d.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/div_no_nan.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/div.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/dot.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/elu.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/equal.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/erf.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/euclidean_norm.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/exp.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/expand_dims.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/expm1.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/fft.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/flatten.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/floor.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/floorDiv.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/gather.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/greater_equal.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/greater.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ifft.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/irfft.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_finite.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_inf.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/is_nan.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/leaky_relu.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/less_equal.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/less.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/local_response_normalization.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_sigmoid.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_softmax.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log_sum_exp.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/log1p.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_and.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_not.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_or.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/logical_xor.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mat_mul.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/max_pool.d.ts:21</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/max.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/maximum.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mean.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/min.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/minimum.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mirror_pad.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mod.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/mul.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/neg.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/norm.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/not_equal.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/one_hot.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/ones_like.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pad.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pool.d.ts:21</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/pow.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/prelu.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/prod.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reciprocal.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/relu.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/relu6.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reshape_as.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reshape.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/resize_bilinear.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/resize_nearest_neighbor.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/reverse.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/rfft.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/round.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/rsqrt.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/selu.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/separable_conv2d.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sigmoid.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sign.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sin.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sinh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/slice.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/softmax.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/softplus.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/space_to_batch_nd.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/split.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sqrt.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/square.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/squared_difference.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/squeeze.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/stack.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/step.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/strided_slice.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sub.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/sum.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tan.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tanh.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/tile.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_bool.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_float.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/to_int.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/topk.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/transpose.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unique.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unsorted_segment_sum.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/unstack.d.ts:4</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/where.d.ts:20</li>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/public/chained_ops/zeros_like.d.ts:20</li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

View File

@ -20,7 +20,7 @@
<h3>Doclink</h3><p>Tensor</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:283</li></ul></aside></div>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:280</li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

View File

@ -20,7 +20,7 @@
<h3>Doclink</h3><p>Tensor</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:285</li></ul></aside></div>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:282</li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

View File

@ -20,7 +20,7 @@
<h3>Doclink</h3><p>Tensor</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:287</li></ul></aside></div>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:284</li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

View File

@ -20,7 +20,7 @@
<h3>Doclink</h3><p>Tensor</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:289</li></ul></aside></div>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/tensor.d.ts:286</li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

View File

@ -20,7 +20,7 @@
<h3>Docalias</h3><p>TypedArray|Array</p>
</div><aside class="tsd-sources">
<ul>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.2.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:79</li></ul></aside></div>
<li>Defined in node_modules/.pnpm/@tensorflow+tfjs-core@4.5.0/node_modules/@tensorflow/tfjs-core/dist/types.d.ts:80</li></ul></aside></div>
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
<div class="tsd-navigation settings">
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">

5
types/human.d.ts vendored
View File

@ -905,7 +905,6 @@ declare interface GPUData {
texture?: WebGLTexture;
buffer?: GPUBuffer;
texShape?: [number, number];
bufSize?: number;
}
/**
@ -2486,12 +2485,10 @@ export declare class Tensor<R extends Rank = Rank> implements TensorInfo {
* texShape: [number, number] // [height, width]
* }
*
* For WebGPU backend, a GPUData contains the new buffer and
* its information.
* For WebGPU backend, a GPUData contains the new buffer.
* {
* tensorRef: The tensor that is associated with this buffer,
* buffer: GPUBuffer,
* bufSize: number
* }
*
* Remember to dispose the GPUData after it is used by

233
types/tfjs-core.d.ts vendored
View File

@ -364,6 +364,8 @@ declare interface ArrayMap {
declare function arraysEqual(n1: FlatVector, n2: FlatVector): boolean;
declare function arraysEqualWithNull(n1: number[], n2: number[]): boolean;
export declare const Asin = "Asin";
export declare const asin: typeof asin_;
@ -994,6 +996,34 @@ export declare interface BincountAttrs {
export declare type BincountInputs = Pick<NamedTensorInfoMap, 'x' | 'weights'>;
export declare const BitwiseAnd = "BitwiseAnd";
export declare const bitwiseAnd: typeof bitwiseAnd_;
/**
* Bitwise `AND` operation for input tensors.
*
* Given two input tensors, returns a new tensor
* with the `AND` calculated values.
*
* The method supports int32 values
*
*
* ```js
* const x = tf.tensor1d([0, 5, 3, 14], 'int32');
* const y = tf.tensor1d([5, 0, 7, 11], 'int32');
* tf.bitwiseAnd(x, y).print();
* ```
*
* @param x The input tensor to be calculated.
* @param y The input tensor to be calculated.
*
* @doc {heading: 'Operations', subheading: 'Logical'}
*/
declare function bitwiseAnd_<R extends Rank>(x: Tensor, y: Tensor): Tensor<R>;
export declare type BitwiseAndInputs = BinaryInputs;
export declare const booleanMaskAsync: typeof booleanMaskAsync_;
/**
@ -1078,6 +1108,7 @@ declare namespace browser {
export {
fromPixelsAsync,
toPixels,
draw,
fromPixels
}
}
@ -1354,6 +1385,37 @@ declare function complexWithOddIndex(complex: Float32Array): {
imag: Float32Array;
};
/**
* Wraps a list of ArrayBuffers into a `slice()`-able object without allocating
* a large ArrayBuffer.
*
* Allocating large ArrayBuffers (~2GB) can be unstable on Chrome. TFJS loads
* its weights as a list of (usually) 4MB ArrayBuffers and then slices the
* weight tensors out of them. For small models, it's safe to concatenate all
* the weight buffers into a single ArrayBuffer and then slice the weight
* tensors out of it, but for large models, a different approach is needed.
*/
declare class CompositeArrayBuffer {
private shards;
private previousShardIndex;
private bufferUniformSize?;
readonly byteLength: number;
/**
* Concatenate a number of ArrayBuffers into one.
*
* @param buffers An array of ArrayBuffers to concatenate, or a single
* ArrayBuffer.
* @returns Result of concatenating `buffers` in order.
*/
static join(buffers?: ArrayBuffer[] | ArrayBuffer): ArrayBuffer;
constructor(buffers?: ArrayBuffer | ArrayBuffer[] | TypedArray | TypedArray[]);
slice(start?: number, end?: number): ArrayBuffer;
/**
* Get the index of the shard that contains the byte at `byteIndex`.
*/
private findShardForByte;
}
/**
* Computes the information for a forward pass of a convolution/pooling
* operation.
@ -1562,10 +1624,13 @@ export declare interface ConcatAttrs {
/**
* Concatenate a number of ArrayBuffers into one.
*
* @param buffers A number of array buffers to concatenate.
* @param buffers An array of ArrayBuffers to concatenate, or a single
* ArrayBuffer.
* @returns Result of concatenating `buffers` in order.
*
* @deprecated Use tf.io.CompositeArrayBuffer.join() instead.
*/
declare function concatenateArrayBuffers(buffers: ArrayBuffer[]): ArrayBuffer;
declare function concatenateArrayBuffers(buffers: ArrayBuffer[] | ArrayBuffer): ArrayBuffer;
export declare type ConcatInputs = TensorInfo[];
@ -1642,6 +1707,19 @@ declare const confusionMatrix: typeof confusionMatrix_;
*/
declare function confusionMatrix_(labels: Tensor1D | TensorLike, predictions: Tensor1D | TensorLike, numClasses: number): Tensor2D;
declare interface ContextOptions {
/**
* Optional. If the canvas has created a context, it would not make effects.
* If it is not set, it would be variable based on the current backend.
*/
contextType?: string;
/**
* Optional. A WebGLContextAttributes configuration. If the canvas has created
* a context, it would not make effects.
*/
contextAttributes?: WebGLContextAttributes;
}
export declare const conv1d: typeof conv1d_;
/**
@ -2311,15 +2389,16 @@ declare function decodeString(bytes: Uint8Array, encoding?: string): string;
*
* This function is the reverse of `encodeWeights`.
*
* @param buffer A flat ArrayBuffer carrying the binary values of the tensors
* concatenated in the order specified in `specs`.
* @param weightData A flat ArrayBuffer or an array of ArrayBuffers carrying the
* binary values of the tensors concatenated in the order specified in
* `specs`.
* @param specs Specifications of the names, dtypes and shapes of the tensors
* whose value are encoded by `buffer`.
* @return A map from tensor name to tensor value, with the names corresponding
* to names in `specs`.
* @throws Error, if any of the tensors has unsupported dtype.
*/
declare function decodeWeights(buffer: ArrayBuffer, specs: WeightsManifestEntry[]): NamedTensorMap;
declare function decodeWeights(weightData: WeightData, specs: WeightsManifestEntry[]): NamedTensorMap;
export declare const DenseBincount = "DenseBincount";
@ -2700,6 +2779,48 @@ export declare const dot: typeof dot_;
*/
declare function dot_(t1: Tensor | TensorLike, t2: Tensor | TensorLike): Tensor;
export declare const Draw = "Draw";
/**
* Draws a `tf.Tensor` to a canvas.
*
* When the dtype of the input is 'float32', we assume values in the range
* [0-1]. Otherwise, when input is 'int32', we assume values in the range
* [0-255].
*
* @param image The tensor to draw on the canvas. Must match one of
* these shapes:
* - Rank-2 with shape `[height, width`]: Drawn as grayscale.
* - Rank-3 with shape `[height, width, 1]`: Drawn as grayscale.
* - Rank-3 with shape `[height, width, 3]`: Drawn as RGB with alpha set in
* `imageOptions` (defaults to 1, which is opaque).
* - Rank-3 with shape `[height, width, 4]`: Drawn as RGBA.
* @param canvas The canvas to draw to.
* @param options The configuration arguments for image to be drawn and the
* canvas to draw to.
*
* @doc {heading: 'Browser', namespace: 'browser'}
*/
declare function draw(image: Tensor2D | Tensor3D | TensorLike, canvas: HTMLCanvasElement, options?: DrawOptions): void;
export declare interface DrawAttrs {
canvas: HTMLCanvasElement;
options?: DrawOptions;
}
export declare type DrawInputs = Pick<NamedTensorInfoMap, 'image'>;
declare interface DrawOptions {
/**
* Optional. An object of options to customize the values of image tensor.
*/
imageOptions?: ImageOptions;
/**
* Optional. An object to configure the context of the canvas to draw to.
*/
contextOptions?: ContextOptions;
}
export declare const dropout: typeof dropout_;
/**
@ -3097,6 +3218,35 @@ declare class EngineState {
dispose(): void;
}
export declare const ensureShape: typeof ensureShape_;
/**
* Checks the input tensor mathes the given shape.
*
* Given an input tensor, returns a new tensor with the same values as the
* input tensor with shape `shape`.
*
* The method supports the null value in tensor. It will still check the shapes,
* and null is a placeholder.
*
*
* ```js
* const x = tf.tensor1d([1, 2, 3, 4]);
* const y = tf.tensor1d([1, null, 3, 4]);
* const z = tf.tensor2d([1, 2, 3, 4], [2,2]);
* tf.ensureShape(x, [4]).print();
* tf.ensureShape(y, [4]).print();
* tf.ensureShape(z, [null, 2]).print();
* ```
*
* @param x The input tensor to be ensured.
* @param shape A TensorShape representing the shape of this tensor, an array
* or null.
*
* @doc {heading: 'Tensors', subheading: 'Transformations'}
*/
declare function ensureShape_<R extends Rank>(x: Tensor, shape: ShapeMap[R]): Tensor;
export declare let ENV: Environment;
/**
@ -3131,6 +3281,7 @@ export declare class Environment {
get(flagName: string): FlagValue;
getNumber(flagName: string): number;
getBool(flagName: string): boolean;
getString(flagName: string): string;
getFlags(): Flags;
get features(): Flags;
set(flagName: string, value: FlagValue): void;
@ -3378,7 +3529,7 @@ number
* If not, `tf.util.fetch` returns a platform-specific solution.
*
* ```js
* const resource = await tf.util.fetch('https://unpkg.com/@tensorflow/tfjs');
* const resource = await tf.util.fetch('https://cdn.jsdelivr.net/npm/@tensorflow/tfjs');
* // handle response
* ```
*
@ -3456,7 +3607,7 @@ declare type Flags = {
[featureName: string]: FlagValue;
};
declare type FlagValue = number | boolean;
declare type FlagValue = number | boolean | string;
/**
* Flattens an arbitrarily nested array.
@ -3565,7 +3716,7 @@ declare type FromConfigMethod<T extends Serializable> = (cls: SerializableConstr
*
* @returns A passthrough `IOHandler` that simply loads the provided data.
*/
declare function fromMemory(modelArtifacts: {} | ModelArtifacts, weightSpecs?: WeightsManifestEntry[], weightData?: ArrayBuffer, trainingConfig?: TrainingConfig): IOHandler;
declare function fromMemory(modelArtifacts: {} | ModelArtifacts, weightSpecs?: WeightsManifestEntry[], weightData?: WeightData, trainingConfig?: TrainingConfig): IOHandler;
/**
* Creates an IOHandler that loads model artifacts from memory.
@ -3588,7 +3739,7 @@ declare function fromMemory(modelArtifacts: {} | ModelArtifacts, weightSpecs?: W
*
* @returns A passthrough `IOHandlerSync` that simply loads the provided data.
*/
declare function fromMemorySync(modelArtifacts: {} | ModelArtifacts, weightSpecs?: WeightsManifestEntry[], weightData?: ArrayBuffer, trainingConfig?: TrainingConfig): IOHandlerSync;
declare function fromMemorySync(modelArtifacts: {} | ModelArtifacts, weightSpecs?: WeightsManifestEntry[], weightData?: WeightData, trainingConfig?: TrainingConfig): IOHandlerSync;
export declare const FromPixels = "FromPixels";
@ -4172,7 +4323,7 @@ declare const getLoadHandlers: (url: string | string[], loadOptions?: LoadOption
*/
declare function getModelArtifactsForJSON(modelJSON: ModelJSON, loadWeights: (weightsManifest: WeightsManifestConfig) => Promise<[
WeightsManifestEntry[],
ArrayBuffer
WeightData
]>): Promise<ModelArtifacts>;
/**
@ -4181,12 +4332,12 @@ ArrayBuffer
* @param modelJSON Object containing the parsed JSON of `model.json`
* @param weightSpecs The list of WeightsManifestEntry for the model. Must be
* passed if the modelJSON has a weightsManifest.
* @param weightData An ArrayBuffer of weight data for the model corresponding
* to the weights in weightSpecs. Must be passed if the modelJSON has a
* weightsManifest.
* @param weightData An ArrayBuffer or array of ArrayBuffers of weight data for
* the model corresponding to the weights in weightSpecs. Must be passed if
* the modelJSON has a weightsManifest.
* @returns A Promise of the `ModelArtifacts`, as described by the JSON file.
*/
declare function getModelArtifactsForJSONSync(modelJSON: ModelJSON, weightSpecs?: WeightsManifestEntry[], weightData?: ArrayBuffer): ModelArtifacts;
declare function getModelArtifactsForJSONSync(modelJSON: ModelJSON, weightSpecs?: WeightsManifestEntry[], weightData?: WeightData): ModelArtifacts;
/**
* Populate ModelArtifactsInfo fields for a model with JSON topology.
@ -4440,7 +4591,6 @@ export declare interface GPUData {
texture?: WebGLTexture;
buffer?: GPUBuffer;
texShape?: [number, number];
bufSize?: number;
}
/**
@ -4716,6 +4866,15 @@ export declare const image: {
transform: (image: TensorLike | Tensor4D, transforms: TensorLike | Tensor2D, interpolation?: "nearest" | "bilinear", fillMode?: "nearest" | "constant" | "reflect" | "wrap", fillValue?: number, outputShape?: [number, number]) => Tensor4D;
};
declare interface ImageOptions {
/**
* Optional. A number in range [0-1]. If the image is a 2D tensor or a 3D
* tensor with 1 or 3 channels, the alpha channels would set as its value;
* otherwise, it would not make effects.
*/
alpha?: number;
}
export declare type ImagInputs = Pick<NamedTensorInfoMap, 'input'>;
/**
@ -4822,6 +4981,7 @@ declare namespace io {
removeModel,
browserFiles,
browserHTTPRequest,
CompositeArrayBuffer,
concatenateArrayBuffers,
decodeWeights,
encodeWeights,
@ -4852,6 +5012,7 @@ declare namespace io {
SaveHandler,
SaveResult,
TrainingConfig,
WeightData,
WeightGroup,
weightsLoaderFactory,
WeightsManifestConfig,
@ -6315,10 +6476,12 @@ declare interface ModelArtifacts {
*/
weightSpecs?: WeightsManifestEntry[];
/**
* Binary buffer for all weight values concatenated in the order specified
* by `weightSpecs`.
* Binary buffer(s) for all weight values in the order specified by
* `weightSpecs`. This may be a single ArrayBuffer of all the weights
* concatenated together or an Array of ArrayBuffers containing the weights
* (weights may be sharded across multiple ArrayBuffers).
*/
weightData?: ArrayBuffer;
weightData?: WeightData;
/**
* Hard-coded format name for models saved from TensorFlow.js or converted
* by TensorFlow.js Converter.
@ -7865,11 +8028,38 @@ export declare const randomUniform: typeof randomUniform_;
* @param maxval The upper bound on the range of random values to generate.
* Defaults to 1.
* @param dtype The data type of the output tensor. Defaults to 'float32'.
* @param seed An optional int. Defaults to 0. If seed is set to be non-zero,
* the random number generator is seeded by the given seed. Otherwise, it is
* seeded by a random seed.
*
* @doc {heading: 'Tensors', subheading: 'Random'}
*/
declare function randomUniform_<R extends Rank>(shape: ShapeMap[R], minval?: number, maxval?: number, dtype?: DataType, seed?: number | string): Tensor<R>;
export declare const randomUniformInt: typeof randomUniformInt_;
/**
* Creates a `tf.Tensor` with integers sampled from a uniform distribution.
*
* The generated values are uniform integers in the range [minval, maxval). The
* lower bound minval is included in the range, while the upper bound maxval is
* excluded.
*
* ```js
* tf.randomUniformInt([2, 2], 0, 10).print();
* ```
*
* @param shape An array of integers defining the output tensor shape.
* @param minval Inclusive lower bound on the generated integers.
* @param maxval Exclusive upper bound on the generated integers.
* @param seed An optional int. Defaults to 0. If seed is set to be non-zero,
* the random number generator is seeded by the given seed. Otherwise, it is
* seeded by a random seed.
*
* @doc {heading: 'Tensors', subheading: 'Random'}
*/
declare function randomUniformInt_<R extends Rank>(shape: ShapeMap[R], minval: number, maxval: number, seed?: number | string): Tensor<R>;
/**
* Returns a sample from a uniform [a, b) distribution.
*
@ -10003,12 +10193,10 @@ export declare class Tensor<R extends Rank = Rank> implements TensorInfo {
* texShape: [number, number] // [height, width]
* }
*
* For WebGPU backend, a GPUData contains the new buffer and
* its information.
* For WebGPU backend, a GPUData contains the new buffer.
* {
* tensorRef: The tensor that is associated with this buffer,
* buffer: GPUBuffer,
* bufSize: number
* }
*
* Remember to dispose the GPUData after it is used by
@ -11042,6 +11230,7 @@ declare namespace util {
assertNonNull,
sizeFromShape,
isScalarShape,
arraysEqualWithNull,
arraysEqual,
isInt,
tanh_2 as tanh,
@ -11288,6 +11477,8 @@ export declare interface WebGPUData {
zeroCopy?: boolean;
}
declare type WeightData = ArrayBuffer | ArrayBuffer[];
/**
* Group to which the weight belongs.
*

41
types/tfjs.esm.d.ts vendored
View File

@ -22,7 +22,6 @@ import { PixelData } from './tfjs-core';
import { Rank } from './tfjs-core';
import { Scalar } from './tfjs-core';
import { serialization } from './tfjs-core';
import { ShapeMap } from './tfjs-core';
import { Tensor } from './tfjs-core';
import { Tensor2D } from './tfjs-core';
import { Tensor3D } from './tfjs-core';
@ -992,11 +991,7 @@ declare function bindVertexBufferToProgramAttribute(gl: WebGLRenderingContext, p
declare function bindVertexProgramAttributeStreams(gl: WebGLRenderingContext, program: WebGLProgram, vertexBuffer: WebGLBuffer): boolean;
declare type BufferInfo = {
size: number;
usage: GPUBufferUsageFlags;
buffer: GPUBuffer;
};
declare const bitwiseAndImpl: SimpleBinaryKernelImpl;
/**
* @license
@ -1023,10 +1018,8 @@ declare class BufferManager {
numBytesUsed: number;
numBytesAllocated: number;
constructor(device: GPUDevice);
acquireUploadBuffer(size: number, usage: GPUBufferUsageFlags): GPUBuffer;
acquireBuffer(size: number, usage: GPUBufferUsageFlags, mappedAtCreation?: boolean): GPUBuffer;
releaseBuffer(buffer: GPUBuffer, size: number, usage: GPUBufferUsageFlags): void;
releaseUploadBuffer(buffer: GPUBuffer, size: number, usage: GPUBufferUsageFlags): void;
acquireBuffer(size: number, usage: GPUBufferUsageFlags, mappedAtCreation?: boolean, reuse?: boolean): any;
releaseBuffer(buffer: GPUBuffer, reuse?: boolean): void;
getNumUsedBuffers(): number;
getNumFreeBuffers(): number;
dispose(): void;
@ -1268,7 +1261,7 @@ export declare type ClassWeightMap = {
[outputName: string]: ClassWeight;
};
declare const compileProgram: (device: GPUDevice, program: WebGPUProgram, inputsData: InputInfo[], output: TensorInfo_2) => GPUComputePipeline;
declare const compileProgram: (device: GPUDevice, program: WebGPUProgram, inputsData: InputInfo[], output: TensorInfo_2, parallelCompilation: boolean) => GPUComputePipeline | Promise<GPUComputePipeline>;
declare type ComplexBinaryKernelImpl = (aShape: number[], bShape: number[], aRealVals: Float32Array, aImagVals: Float32Array, bRealVals: Float32Array, bImagVals: Float32Array) => [TypedArray, TypedArray, number[]];
@ -3142,6 +3135,7 @@ export declare class GPGPUContext {
private createFence;
downloadMatrixFromPackedTexture(texture: WebGLTexture, physicalRows: number, physicalCols: number): Float32Array;
createProgram(fragmentShader: WebGLShader): GPGPUContextProgram;
buildVao(program: GPGPUContextProgram): void;
deleteProgram(program: GPGPUContextProgram): void;
setProgram(program: GPGPUContextProgram | null): void;
getUniformLocation(program: WebGLProgram, uniformName: string, shouldThrow?: boolean): WebGLUniformLocation;
@ -5822,7 +5816,7 @@ export declare interface LSTMLayerArgs extends SimpleRNNLayerArgs {
implementation?: number;
}
declare function makeShaderKey<R extends Rank>(program: WebGPUProgram, shapes: Array<ShapeMap[R]>, inputsData: InputInfo[], output: TensorInfo_2): string;
declare function makeShaderKey<R extends Rank>(program: WebGPUProgram, inputsData: InputInfo[], output: TensorInfo_2): string;
declare function MAPE(yTrue: Tensor, yPred: Tensor): Tensor;
@ -7503,7 +7497,6 @@ declare class RandomWidth extends BaseRandomLayer {
private widthLower;
private widthUpper;
private imgHeight;
private adjustedWidth;
private widthFactor;
constructor(args: RandomWidthArgs);
getConfig(): serialization.ConfigDict;
@ -8670,6 +8663,7 @@ declare namespace shared {
addImpl,
bincountImpl,
bincountReduceImpl,
bitwiseAndImpl,
castImpl,
ceilImpl,
concatImpl,
@ -9252,7 +9246,7 @@ declare type TensorData_3 = {
dtype: DataType;
shape: number[];
refCount: number;
resourceInfo?: BufferInfo | TextureInfo;
resource?: GPUBuffer | GPUTexture | GPUExternalTexture;
external?: boolean;
complexTensorInfos?: {
real: TensorInfo_2;
@ -9324,14 +9318,6 @@ declare interface TextureData {
};
}
declare type TextureInfo = {
width: number;
height: number;
format: GPUTextureFormat;
usage: GPUTextureUsageFlags;
texture: GPUTexture | GPUExternalTexture;
};
declare class TextureManager {
private readonly gpgpu;
private numUsedTextures;
@ -9378,7 +9364,7 @@ declare class TextureManager_2 {
numBytesAllocated: number;
constructor(device: GPUDevice);
acquireTexture(width: number, height: number, format: GPUTextureFormat, usage: GPUTextureUsageFlags): GPUTexture;
releaseTexture(texture: GPUTexture, width: number, height: number, format: GPUTextureFormat, usage: GPUTextureUsageFlags): void;
releaseTexture(texture: GPUTexture): void;
getNumUsedTextures(): number;
getNumFreeTextures(): number;
dispose(): void;
@ -9893,10 +9879,10 @@ export declare class WebGPUBackend extends KernelBackend {
private supportTimeQuery;
private uniformPendingDisposal;
private uploadWaitMs;
private hasReadSyncWarned;
private nextDataId;
constructor(device: GPUDevice, adapterInfo?: GPUAdapterInfo);
floatPrecision(): 32;
defaultGpuBufferUsage(): number;
/**
* Dispose the memory if the dataId has 0 refCount. Return true if the memory
* is released or memory is not managed in this backend, false if memory is
@ -9919,7 +9905,8 @@ export declare class WebGPUBackend extends KernelBackend {
ensureCommandEncoderReady(): void;
ensureComputePassEnded(): void;
getComputePass(): GPUComputePassEncoder;
getBufferData(buffer: GPUBuffer, size: number): Promise<ArrayBuffer>;
checkCompileCompletionAsync(): Promise<void>;
getBufferData(buffer: GPUBuffer): Promise<ArrayBuffer>;
private convertAndCacheOnCPU;
readSync(dataId: object): BackendValues;
read(dataId: object): Promise<BackendValues>;
@ -9927,7 +9914,7 @@ export declare class WebGPUBackend extends KernelBackend {
/**
* Create a TF.js tensor out of an existing WebGPU buffer.
*/
createTensorFromGPUData(values: WebGPUData, shape: number[], dtype: DataType): Tensor;
createTensorFromGPUData(webGPUData: WebGPUData, shape: number[], dtype: DataType): Tensor;
/**
* Read tensor to a new GPUBuffer.
* @param dataId The source tensor.
@ -9941,6 +9928,7 @@ export declare class WebGPUBackend extends KernelBackend {
uploadToGPU(dataId: DataId_4): void;
private makeUniforms;
runWebGPUProgram(program: webgpu_program.WebGPUProgram, inputs: TensorInfo_2[], outputDtype: DataType, programDefinedUniform?: ProgramUniform, output?: TensorInfo_2): TensorInfo_2;
private recordAndSubmit;
getTimeFromQuerySet(querySet: GPUQuerySet): Promise<number>;
shouldExecuteOnCPU(inputs: TensorInfo_2[], sizeThreshold?: any): boolean;
numDataIds(): number;
@ -9971,6 +9959,7 @@ export declare interface WebGPUProgram {
variableComponents?: number[];
workgroupSize: [number, number, number];
workPerThread?: number;
pipeline?: GPUComputePipeline | Promise<GPUComputePipeline>;
getUserCode: () => string;
}