john5934 / Neuron_ASM

Weighted sum of a neuron in a neural net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Weighted sum of a neuron in a neural net


Languages

Language:Assembly 100.0%