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",
"platform": "browser",
"format": "esm",
"input": "src/tfjs/tf-custom.ts",
"input": "src/tfjs/tf-browser.ts",
"output": "dist/tfjs.esm.js"
},
{

View File

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

13078
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

3375
dist/face-api.js vendored

File diff suppressed because one or more lines are too long

15651
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'))) as tf.Tensor4D;
return batchTensor;
});