update tfjs
parent
31170e750b
commit
4ba4a99ee1
|
@ -15,9 +15,6 @@
|
|||
### **1.6.9** 2022/05/18 mandic00@live.com
|
||||
|
||||
|
||||
### **origin/master** 2022/05/09 mandic00@live.com
|
||||
|
||||
|
||||
### **1.6.8** 2022/05/09 mandic00@live.com
|
||||
|
||||
- exclude impossible detected face boxes
|
||||
|
|
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
File diff suppressed because one or more lines are too long
|
@ -4,4 +4,4 @@
|
|||
author: <https://github.com/vladmandic>'
|
||||
*/
|
||||
|
||||
var e="3.17.0";var s="3.17.0";var t="3.17.0";var r="3.17.0";var l="3.17.0";var i="3.17.0";var a="3.17.0";var n="3.17.0";var G={tfjs:e,"tfjs-core":s,"tfjs-data":t,"tfjs-layers":r,"tfjs-converter":l,"tfjs-backend-cpu":i,"tfjs-backend-webgl":a,"tfjs-backend-wasm":n};export{G as version};
|
||||
var e="3.18.0";var s="3.18.0";var t="3.18.0";var r="3.18.0";var l="3.18.0";var i="3.18.0";var a="3.18.0";var n="3.18.0";var G={tfjs:e,"tfjs-core":s,"tfjs-data":t,"tfjs-layers":r,"tfjs-converter":l,"tfjs-backend-cpu":i,"tfjs-backend-webgl":a,"tfjs-backend-wasm":n};export{G as version};
|
||||
|
|
32
package.json
32
package.json
|
@ -43,22 +43,22 @@
|
|||
],
|
||||
"devDependencies": {
|
||||
"@canvas/image": "^1.0.1",
|
||||
"@microsoft/api-extractor": "^7.24.0",
|
||||
"@tensorflow/tfjs": "^3.17.0",
|
||||
"@tensorflow/tfjs-backend-cpu": "^3.17.0",
|
||||
"@tensorflow/tfjs-backend-wasm": "^3.17.0",
|
||||
"@tensorflow/tfjs-backend-webgl": "^3.17.0",
|
||||
"@tensorflow/tfjs-backend-webgpu": "0.0.1-alpha.10",
|
||||
"@tensorflow/tfjs-converter": "^3.17.0",
|
||||
"@tensorflow/tfjs-core": "^3.17.0",
|
||||
"@tensorflow/tfjs-data": "^3.17.0",
|
||||
"@tensorflow/tfjs-layers": "^3.17.0",
|
||||
"@tensorflow/tfjs-node": "^3.17.0",
|
||||
"@tensorflow/tfjs-node-gpu": "^3.17.0",
|
||||
"@types/node": "^17.0.34",
|
||||
"@microsoft/api-extractor": "^7.24.1",
|
||||
"@tensorflow/tfjs": "^3.18.0",
|
||||
"@tensorflow/tfjs-backend-cpu": "^3.18.0",
|
||||
"@tensorflow/tfjs-backend-wasm": "^3.18.0",
|
||||
"@tensorflow/tfjs-backend-webgl": "^3.18.0",
|
||||
"@tensorflow/tfjs-backend-webgpu": "0.0.1-alpha.11",
|
||||
"@tensorflow/tfjs-converter": "^3.18.0",
|
||||
"@tensorflow/tfjs-core": "^3.18.0",
|
||||
"@tensorflow/tfjs-data": "^3.18.0",
|
||||
"@tensorflow/tfjs-layers": "^3.18.0",
|
||||
"@tensorflow/tfjs-node": "^3.18.0",
|
||||
"@tensorflow/tfjs-node-gpu": "^3.18.0",
|
||||
"@types/node": "^17.0.35",
|
||||
"@types/offscreencanvas": "^2019.6.4",
|
||||
"@typescript-eslint/eslint-plugin": "^5.25.0",
|
||||
"@typescript-eslint/parser": "^5.25.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.26.0",
|
||||
"@typescript-eslint/parser": "^5.26.0",
|
||||
"@vladmandic/build": "^0.7.4",
|
||||
"@vladmandic/pilogger": "^0.4.4",
|
||||
"@vladmandic/tfjs": "github:vladmandic/tfjs",
|
||||
|
@ -66,7 +66,7 @@
|
|||
"chokidar": "^3.5.3",
|
||||
"dayjs": "^1.11.2",
|
||||
"esbuild": "^0.14.39",
|
||||
"eslint": "^8.15.0",
|
||||
"eslint": "^8.16.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-plugin-import": "^2.26.0",
|
||||
"eslint-plugin-json": "^3.1.0",
|
||||
|
|
|
@ -548,16 +548,12 @@ export declare function createTinyYolov2(weights: Float32Array, withSeparableCon
|
|||
*/
|
||||
declare type DataId = object;
|
||||
|
||||
declare type DataToGPUOptions = DataToGPUWebGLOption | DataToGPUWebGPUOption;
|
||||
declare type DataToGPUOptions = DataToGPUWebGLOption;
|
||||
|
||||
declare interface DataToGPUWebGLOption {
|
||||
customTexShape?: [number, number];
|
||||
}
|
||||
|
||||
declare interface DataToGPUWebGPUOption {
|
||||
customBufSize?: number;
|
||||
}
|
||||
|
||||
/** @docalias 'float32'|'int32'|'bool'|'complex64'|'string' */
|
||||
declare type DataType = keyof DataTypeMap;
|
||||
|
||||
|
@ -2398,6 +2394,9 @@ declare class Tensor<R extends Rank = Rank> {
|
|||
* For WebGL backend, the data will be stored on a densely packed texture.
|
||||
* This means that the texture will use the RGBA channels to store value.
|
||||
*
|
||||
* For WebGPU backend, the data will be stored on a buffer. There is no
|
||||
* parameter, so can not use an user defined size to create the buffer.
|
||||
*
|
||||
* @param options:
|
||||
* For WebGL,
|
||||
* - customTexShape: Optional. If set, will use the user defined
|
||||
|
@ -2410,6 +2409,15 @@ declare class Tensor<R extends Rank = Rank> {
|
|||
* texture: WebGLTexture,
|
||||
* texShape: [number, number] // [height, width]
|
||||
* }
|
||||
*
|
||||
* For WebGPU backend, a GPUData contains the new buffer and
|
||||
* its information.
|
||||
* {
|
||||
* tensorRef: The tensor that is associated with this buffer,
|
||||
* buffer: GPUBuffer,
|
||||
* bufSize: number
|
||||
* }
|
||||
*
|
||||
* Remember to dispose the GPUData after it is used by
|
||||
* `res.tensorRef.dispose()`.
|
||||
*
|
||||
|
@ -2966,10 +2974,11 @@ declare const transpose: typeof transpose_;
|
|||
*
|
||||
* @param x The tensor to transpose.
|
||||
* @param perm The permutation of the dimensions of a.
|
||||
* @param conjugate Will conjugate complex input if true.
|
||||
*
|
||||
* @doc {heading: 'Operations', subheading: 'Matrices'}
|
||||
*/
|
||||
declare function transpose_<T extends Tensor>(x: T | TensorLike, perm?: number[]): T;
|
||||
declare function transpose_<T extends Tensor>(x: T | TensorLike, perm?: number[], conjugate?: boolean): T;
|
||||
|
||||
export declare type TResolvedNetInput = TMediaElement | tf.Tensor3D | tf.Tensor4D;
|
||||
|
||||
|
|
Loading…
Reference in New Issue