UNPKG

clustering-tfjs

Version:

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

14 lines 544 B
/** * TensorFlow.js adapter module * * This module provides a platform-agnostic interface to TensorFlow.js, * allowing the library to work in both Node.js and browser environments. * * Phase 2 implementation: For now, we maintain backward compatibility * by still importing tfjs-node directly, but the infrastructure for * dynamic loading is ready in tf-backend.ts and loaders. */ declare let tf: typeof import('@tensorflow/tfjs-node'); export default tf; export * from '@tensorflow/tfjs-core'; //# sourceMappingURL=tf-adapter.d.ts.map