File size: 411 Bytes
c9a67a3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---

license: mit
tags:
- pytorch
- safetensors
- threshold-logic
- neuromorphic
- sorting
---


# threshold-bitonic-sort

4-element bitonic sorting network. Sorts single-bit elements in ascending order.

## Circuit

Outputs sorted bits: Y0 ≤ Y1 ≤ Y2 ≤ Y3

## Parameters

| | |
|---|---|
| Elements | 4 |
| Neurons | 4 |
| Parameters | 20 |
| Magnitude | 26 |

## License

MIT