mirror of https://github.com/vladmandic/human
enhanced typing exports
parent
f1639837a6
commit
c3dab75414
|
@ -9,8 +9,9 @@
|
|||
|
||||
## Changelog
|
||||
|
||||
### **HEAD -> main** 2021/10/21 mandic00@live.com
|
||||
### **HEAD -> main** 2021/10/22 mandic00@live.com
|
||||
|
||||
- add optional autodetected custom wasm path
|
||||
|
||||
### **2.3.6** 2021/10/21 mandic00@live.com
|
||||
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
"global": {
|
||||
"target": "es2018",
|
||||
"sourcemap": false,
|
||||
"treeShaking": true,
|
||||
"ignoreAnnotations": true,
|
||||
"banner": { "js": "/*\n Human\n homepage: <https://github.com/vladmandic/human>\n author: <https://github.com/vladmandic>'\n*/\n" }
|
||||
},
|
||||
"targets": [
|
||||
|
|
|
@ -86,5 +86,8 @@
|
|||
"tslib": "^2.3.1",
|
||||
"typedoc": "0.22.6",
|
||||
"typescript": "4.4.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"long": "^4.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,3 +11,8 @@ export { Tensor } from '@tensorflow/tfjs-core/dist/index';
|
|||
* @external
|
||||
*/
|
||||
export { GraphModel } from '@tensorflow/tfjs-converter/dist/index';
|
||||
|
||||
/** Tensorflow Long type
|
||||
* @external
|
||||
*/
|
||||
export { Long } from 'long';
|
||||
|
|
|
@ -9,7 +9,11 @@ export * from '@tensorflow/tfjs-backend-webgl/dist/index.js';
|
|||
export * from '@tensorflow/tfjs-backend-wasm/dist/index.js';
|
||||
|
||||
// add webgpu to bundle, experimental
|
||||
export * from '@tensorflow/tfjs-backend-webgpu/dist/index.js';
|
||||
// export * from '@tensorflow/tfjs-backend-webgpu/dist/index.js';
|
||||
|
||||
// export versions, overrides version object from @tensorflow/tfjs
|
||||
export { version } from '../dist/tfjs.version.js';
|
||||
|
||||
// export utility types used by Human
|
||||
export { Tensor } from '@tensorflow/tfjs/dist/index.js';
|
||||
export { GraphModel } from '@tensorflow/tfjs-converter/dist/index';
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"moduleResolution": "node",
|
||||
"outDir": "types",
|
||||
"baseUrl": "./",
|
||||
"paths": { "tslib": ["node_modules/tslib/tslib.d.ts"] },
|
||||
"paths": { "tslib": ["./node_modules/tslib/tslib.d.ts"] },
|
||||
"allowJs": true,
|
||||
"allowSyntheticDefaultImports": false,
|
||||
"allowUnreachableCode": false,
|
||||
|
@ -14,7 +14,7 @@
|
|||
"declaration": true,
|
||||
"declarationMap": true,
|
||||
"emitDecoratorMetadata": true,
|
||||
"esModuleInterop": false,
|
||||
"esModuleInterop": true,
|
||||
"exactOptionalPropertyTypes": true,
|
||||
"experimentalDecorators": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
|
|
Loading…
Reference in New Issue