https://github.com/load1n9/denograd
pytorch's autograd deno implementation
https://github.com/load1n9/denograd
autograd deno machine-learning neural-network pytorch
Last synced: 6 months ago
JSON representation
pytorch's autograd deno implementation
- Host: GitHub
- URL: https://github.com/load1n9/denograd
- Owner: load1n9
- Created: 2022-05-25T12:08:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-23T16:37:53.000Z (over 2 years ago)
- Last Synced: 2025-03-30T10:45:22.380Z (7 months ago)
- Topics: autograd, deno, machine-learning, neural-network, pytorch
- Language: TypeScript
- Homepage:
- Size: 8.79 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DenoGrad
## Toy AutoGrad Implementation in Deno. DO NOT USE
### Maintainers
- Loading ([@load1n9](https://github.com/load1n9))
### Usage
```typescript
import { Scalar } from "https://crux.land/2KCiqA";const a = new Scalar(1.5);
const b = new Scalar(-4.0);
const c = a.pow(3).div(5);
const d = c.add((b.pow(2)).relu());d.backward();
console.log(d.value); // 16.675
```