Compute gradient of 100-layer neural network with minimum energy:
- Red pebbles (SRAM): Max 11
- Blue pebbles (DRAM): Unlimited
- Compute: 1 energy
- Store/Load: 100 energy each
- Delete: 0 energy
| import { Component, createSignal } from 'solid-js'; | |
| import { For, Show } from 'solid-js'; | |
| import logo from './logo.svg'; | |
| import styles from './App.module.css'; | |
| const App: Component = () => { | |
| const [isOn, setOn] = createSignal(false); | |
| const [getCard, setCards] = createSignal([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]); | |
| const [getCount, setCount] = createSignal(5); |