An open API service indexing awesome lists of open source software.

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

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.