pull/97/head
Vladimir Mandic 2021-12-06 06:34:50 -05:00
parent 62da12758f
commit 63476fcbc0
7 changed files with 8706 additions and 23409 deletions

View File

@ -96,7 +96,7 @@
"name": "tfjs/browser/esm/bundle", "name": "tfjs/browser/esm/bundle",
"platform": "browser", "platform": "browser",
"format": "esm", "format": "esm",
"input": "src/tfjs/tf-custom.ts", "input": "src/tfjs/tf-browser.ts",
"output": "dist/tfjs.esm.js" "output": "dist/tfjs.esm.js"
}, },
{ {

View File

@ -11,9 +11,7 @@
### **HEAD -> master** 2021/12/03 mandic00@live.com ### **HEAD -> master** 2021/12/03 mandic00@live.com
- release preview
### **origin/master** 2021/12/01 mandic00@live.com
- switch to custom tfjs and new typedefs - switch to custom tfjs and new typedefs
- rebuild - rebuild

12998
dist/face-api.esm.js vendored

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

3371
dist/face-api.js vendored

File diff suppressed because one or more lines are too long

15571
dist/tfjs.esm.js vendored

File diff suppressed because it is too large Load Diff

View File

@ -145,6 +145,7 @@ export class NetInput {
}); });
const batchTensor = tf.stack(inputTensors.map((t) => tf.cast(t, 'float32'))).as4D(this.batchSize, inputSize, inputSize, 3); const batchTensor = tf.stack(inputTensors.map((t) => tf.cast(t, 'float32'))).as4D(this.batchSize, inputSize, inputSize, 3);
// const batchTensor = tf.stack(inputTensors.map((t) => tf.cast(t, 'float32'))) as tf.Tensor4D;
return batchTensor; return batchTensor;
}); });