threshold-rotateleft4

4-bit rotate left by 1 bit.

Function

rotateleft4(a3, a2, a1, a0) = [a2, a1, a0, a3]

MSB wraps around to LSB position.

Examples

Input Output
0001 0010
1000 0001
1010 0101
1111 1111

Architecture

Single layer with 4 neurons.

Output Source Weights Bias
y3 a2 [0,1,0,0] -1
y2 a1 [0,0,1,0] -1
y1 a0 [0,0,0,1] -1
y0 a3 [1,0,0,0] -1

Parameters

Inputs 4
Outputs 4
Neurons 4
Layers 1
Parameters 8
Magnitude 8

License

MIT

Downloads last month
10
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Collection including phanerozoic/threshold-rotateleft4