https://github.com/dirkschumacher/tfjs-backsolve
Back-substitution for rank2/1 tensors in tensorflow.js
https://github.com/dirkschumacher/tfjs-backsolve
tensorflow tensorflow-js
Last synced: about 2 hours ago
JSON representation
Back-substitution for rank2/1 tensors in tensorflow.js
- Host: GitHub
- URL: https://github.com/dirkschumacher/tfjs-backsolve
- Owner: dirkschumacher
- License: mit
- Created: 2019-06-22T12:24:03.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-05-06T03:04:08.000Z (about 2 years ago)
- Last Synced: 2025-06-19T00:51:43.791Z (2 days ago)
- Topics: tensorflow, tensorflow-js
- Language: JavaScript
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tfjs-backsolve
Back-substitution for rank 2 tensors in tensorflow.jsExperimental. Use at own risk.
```js
const L = tfc.tensor2d([[2, 4, 8], [0, 16, 32], [0, 0, 64]])
const b = tfc.tensor2d([[20], [400], [8000]])
const result = backsolve(L, b)
// [[-40], [-225], [125]]
```