import React from 'react'; import { createRoot } from 'react-dom/client'; import { BrowserRouter } from 'react-router-dom'; import * as tf from '@tensorflow/tfjs'; import { LineModelComponent } from './components/LineModel'; import { Binary } from './components/BinaryModel'; import { Multi } from './components/MultiModel'; import { Emotion } from './components/Emotion'; export const App = (): React.JSX.Element => { return (

tf version:

{JSON.stringify(tf.version)}

tf backend:

{JSON.stringify(tf.getBackend())}

tf memory

{JSON.stringify(tf.memory())}

tensor number in memory

{JSON.stringify(tf.memory().numTensors)}
{/* */} {} {/* */}
); }; const container = document.getElementById('app')!; const root = createRoot(container); root.render( <> , );