human/tfjs/tf-browser.ts

20 lines
671 B
TypeScript
Raw Normal View History

2021-05-25 14:58:20 +02:00
/**
* Creates tfjs bundle used by Human browser build target
2021-06-07 01:00:34 +02:00
* @external
2021-05-25 14:58:20 +02:00
*/
2021-09-15 04:07:13 +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
2021-10-22 19:49:40 +02:00
// export * from '@tensorflow/tfjs-backend-webgpu/dist/index.js';
2021-09-15 04:07:13 +02:00
// export versions, overrides version object from @tensorflow/tfjs
export { version } from '../dist/tfjs.version.js';
2021-10-22 19:49:40 +02:00
// export utility types used by Human
export { Tensor } from '@tensorflow/tfjs/dist/index.js';
export { GraphModel } from '@tensorflow/tfjs-converter/dist/index';