| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | - | - | ||||
| multiplex_1/ | 03-May-2024 | - | 378 | 225 | ||
| multiplex_2/ | 03-May-2024 | - | 466 | 270 | ||
| multiplex_3/ | 03-May-2024 | - | 621 | 463 | ||
| multiplex_4/ | 03-May-2024 | - | 634 | 401 | ||
| simple_hash_table/ | 03-May-2024 | - | 963 | 710 | ||
| sleep/ | 03-May-2024 | - | 473 | 293 | ||
| README.md | D | 03-May-2024 | 467 | 11 | 8 |
README.md
1# Custom Ops Examples 2 3The following subdirectories have examples of Custom Ops. 4 5* multiplex_1: starting example, similar to np.where 6* multiplex_2: GPU (and CPU) example, similar to np.where 7* multiplex_3: dispatch to special case kernel (and sparse tensors) 8* multiplex_4: C++ backward compatibility example: lists of tensors 9* simple_hash_table: internal state using a Resource using ref-counting 10* sleep: Asynchronous (non-blocking) sleep op using AsyncOpKernel 11