2021-10-30 18:21:54 +02:00
|
|
|
/** Creates tfjs bundle used by Human browser build target
|
2021-09-15 02:07:08 +02:00
|
|
|
* @external
|
|
|
|
*/
|
2022-07-16 15:08:58 +02:00
|
|
|
// export * from '@vladmandic/tfjs';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Creates tfjs bundle used by Human browser build target
|
|
|
|
* @external
|
|
|
|
*/
|
|
|
|
|
2022-08-21 19:34:51 +02:00
|
|
|
/* eslint-disable import/no-extraneous-dependencies */
|
|
|
|
|
2022-07-16 15:08:58 +02:00
|
|
|
// export all from build bundle
|
|
|
|
export * from '@tensorflow/tfjs/dist/index.js';
|
|
|
|
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';
|
|
|
|
|
2022-07-19 23:49:58 +02:00
|
|
|
// add tflite to bundle, experimental
|
2022-08-21 19:34:51 +02:00
|
|
|
// @ts-ignore duplicate definition for setWasmPath
|
2022-07-19 23:49:58 +02:00
|
|
|
// export * from '@tensorflow/tfjs-tflite/dist/index.js';
|
|
|
|
|
2022-07-16 15:08:58 +02:00
|
|
|
// 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';
|