tfjs.esm.d.ts 1.3 KB

12345678910111213141516171819202122232425262728
  1. /*
  2. import '@tensorflow/tfjs-core';
  3. import '@tensorflow/tfjs-core/dist/types';
  4. import '@tensorflow/tfjs-core/dist/register_all_gradients';
  5. import '@tensorflow/tfjs-core/dist/public/chained_ops/register_all_chained_ops';
  6. import '@tensorflow/tfjs-data';
  7. import '@tensorflow/tfjs-layers';
  8. import '@tensorflow/tfjs-converter';
  9. import '@tensorflow/tfjs-backend-cpu';
  10. import '@tensorflow/tfjs-backend-webgl';
  11. import '@tensorflow/tfjs-backend-wasm';
  12. import '@tensorflow/tfjs-backend-webgpu';
  13. */
  14. export declare const version: {
  15. 'tfjs-core': string;
  16. 'tfjs-backend-cpu': string;
  17. 'tfjs-backend-webgl': string;
  18. 'tfjs-data': string;
  19. 'tfjs-layers': string;
  20. 'tfjs-converter': string;
  21. tfjs: string;
  22. };
  23. export { io, browser, image } from '@tensorflow/tfjs-core';
  24. export { tensor, tidy, softmax, unstack, relu, add, conv2d, cast, zeros, concat, avgPool, stack, fill, transpose, tensor1d, tensor2d, tensor3d, tensor4d, maxPool, matMul, mul, sub, scalar } from '@tensorflow/tfjs-core';
  25. export { div, pad, slice, reshape, slice3d, expandDims, depthwiseConv2d, separableConv2d, sigmoid, exp, tile, batchNorm, clipByValue } from '@tensorflow/tfjs-core';
  26. export { ENV, Variable, Tensor, TensorLike, Rank, Tensor1D, Tensor2D, Tensor3D, Tensor4D, Tensor5D, NamedTensorMap } from '@tensorflow/tfjs-core';