https://github.com/john5934/neuron_asm
Weighted sum of a neuron in a neural net
https://github.com/john5934/neuron_asm
arm64 assembly-language neural-network neuron weighted-sum x86-64
Last synced: 3 months ago
JSON representation
Weighted sum of a neuron in a neural net
- Host: GitHub
- URL: https://github.com/john5934/neuron_asm
- Owner: john5934
- Created: 2024-04-28T21:44:21.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-02T03:01:41.000Z (10 months ago)
- Last Synced: 2025-03-15T05:17:08.105Z (3 months ago)
- Topics: arm64, assembly-language, neural-network, neuron, weighted-sum, x86-64
- Language: Assembly
- Homepage:
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
PURPOSE: To compute the weighted sum of a neuron in a neural net.
These primitives are written in assembler for speed and can be called from C on Linux.
Parameters are passed in registers according to the Linux ABI standard, so any C compiler should work.
The x86_64 version requires the NASM assembler.
The ARM64 version builds with the 'as' assembler available on Raspberry Pi OS and Debian.
In the C code comments, type 'f64' is a 64-bit floating-point value, and 'u32' is an unsigned 32-bit integer.
LICENSE: This code is released to the public domain.
It is provided "as-is" without warranty of any kind.