UNPKG

clustering-tfjs

Version:

High-performance TypeScript clustering algorithms (K-Means, Spectral, Agglomerative) with TensorFlow.js acceleration and scikit-learn compatibility

17 lines 599 B
/** * Alternative browser adapter that uses global tf directly * This is a test to see if bypassing the import system fixes the issue */ import type * as tfTypes from '@tensorflow/tfjs-core'; declare global { interface Window { tf: typeof tfTypes; } } declare const tfProxy: typeof tfTypes; export default tfProxy; export declare const tensor2d: typeof tfTypes.tensor2d; export declare const tensor: typeof tfTypes.tensor; export declare const tidy: typeof tfTypes.tidy; export declare const dispose: typeof tfTypes.dispose; //# sourceMappingURL=tf-adapter-global.browser.d.ts.map