Commit Graph

182 Commits

Author SHA1 Message Date
Nicolas Kruse 0d0e675207 general tensor type introduced replacing "matrix" 2025-12-30 17:58:34 +01:00
Nicolas 069f79094c fast "abs" function for int and float added including test 2025-12-26 14:43:22 +01:00
Nicolas e69c0ff24b __eq__ for Op extended with caching 2025-12-26 13:37:15 +01:00
Nicolas a6ca756d51 __eq__ for Op type implemented 2025-12-24 16:40:46 +01:00
Nicolas aacdc9b676 pow function fixed in _math.py 2025-12-24 14:11:12 +01:00
Nicolas f43e025f2e __hash__ and __eq__ for Net and Node partial revised, __eq__ not yet working 2025-12-24 14:09:31 +01:00
Nicolas cf18dc69a1 armv6 support added 2025-12-23 18:24:36 +01:00
Nicolas 6dcaa6797c Net and value types separated 2025-12-23 17:54:57 +01:00
Nicolas cc3730d696 extended some docstrings 2025-12-22 15:37:31 +01:00
Nicolas 60891395d0 Readme and docstrings updated 2025-12-21 14:03:30 +01:00
Nicolas Kruse c75b4788c3 Docstrings updated 2025-12-20 22:59:31 +01:00
Nicolas Kruse a8e70cd5d6 volatile property from value type removed. 2025-12-20 22:10:22 +01:00
Nicolas Kruse 51c7322742 initialized runmem_t struct with zeros for coparun executable 2025-12-19 21:41:59 +01:00
Nicolas Kruse a07332f3a4 type checker annotation fixed for jit decorator function 2025-12-19 20:43:01 +01:00
Nicolas Kruse ce15e83c2b fix auto graph stripping 2025-12-19 20:34:48 +01:00
Nicolas Kruse 3c5f01db7f auto stripping of equal graph branches added 2025-12-19 18:37:13 +01:00
Nicolas Kruse 83e74a8ae9 fix of new coparun signature in write_value 2025-12-19 16:18:47 +01:00
Nicolas Kruse c2e10ec0cb abs dunder function added for values 2025-12-19 16:08:10 +01:00
Nicolas Kruse 369c279a68 jit decorator added 2025-12-19 16:08:10 +01:00
Nicolas c8e6848530 Added multi-target support for coparun-module 2025-12-16 16:15:50 +01:00
Nicolas Kruse 8f29662c9e ci/cd: path for pelfy project fixed &
type hints fixed for vector._map2
2025-12-15 08:55:21 +01:00
Nicolas Kruse 8877b4d893 pelfy dependency vendored 2025-12-14 22:04:37 +01:00
Nicolas Kruse d436dd9116 get_dag_stats function added to inspect DAG 2025-12-14 19:14:25 +01:00
Nicolas Kruse 247fc1a28f sharing the constant for scalar/vector and scalar/
matrix operations;
volatile property for net objects added
2025-12-14 18:54:43 +01:00
Nicolas 6251dbda5d Aarch64 patching fixed for R_AARCH64_LDST32_ABS_LO12_NC and R_AARCH64_LDST64_ABS_LO12_NC relocations 2025-12-08 14:03:00 +01:00
Nicolas 2e48fe5ec2 "variable" type renamed to "value" 2025-12-06 18:09:25 +01:00
Nicolas 19fc403d37 autograd updated with get_all_dag_edges_between to increase speed 2025-12-06 15:14:06 +01:00
Nicolas a21970de79 type hint fixes 2025-12-06 15:13:28 +01:00
Nicolas d526c5ddc0 added get_all_dag_edges_between function 2025-12-06 15:12:49 +01:00
Nicolas Kruse 959d80b082 shape property added and __getitem__ of matrix extended 2025-12-05 08:28:02 +01:00
Nicolas Kruse da92aa9e2c eye function added for creating matrices 2025-12-04 22:38:52 +01:00
Nicolas Kruse 5daa54fafb code style adjustments 2025-12-04 18:19:33 +01:00
Nicolas Kruse ebb4abc5d3 type hints revised 2025-12-04 18:18:29 +01:00
Nicolas Kruse 61dc29e68b added auto grad feature "grad(..)" 2025-12-03 17:30:38 +01:00
Nicolas Kruse c5048980c2 added optimization for + 0, - 0 and * 1 operations 2025-12-03 17:28:49 +01:00
Nicolas Kruse a30ee12d0f fixed get_all_dag_edges prevent it emitting edges multiple time 2025-12-03 17:27:29 +01:00
Nicolas Kruse cc5582ae73 replaced list type by Sequence to improve type hinting 2025-12-02 16:59:14 +01:00
Nicolas Kruse d2df1dd3fb cp.sign and cp.relu added to _math.py 2025-12-02 16:57:22 +01:00
Nicolas Kruse 9f77ef5642 optimization for float/int operations added 2025-12-01 16:44:49 +01:00
Nicolas Kruse 8fe51a2e45 benchmark script added 2025-12-01 08:29:39 +01:00
Nicolas Kruse e14092a2c3 matrix class added 2025-12-01 00:13:38 +01:00
Nicolas Kruse 29f5a26278 helping functions separated for vectors and matrices 2025-12-01 00:13:08 +01:00
Nicolas Kruse bb4472eccb variable type hints updated 2025-12-01 00:12:22 +01:00
Nicolas Kruse a8eeea874b median, mean and argsort added for vector class 2025-11-27 17:21:33 +01:00
Nicolas Kruse 054ce6d507 __iter__ type annotation fixed for vector class 2025-11-27 17:20:46 +01:00
Nicolas Kruse 89e8efb864 read_value function extended to work with vectors 2025-11-27 17:20:07 +01:00
Nicolas Kruse ad78c4089c type annotations for iif function fixed 2025-11-27 17:19:25 +01:00
Nicolas Kruse 99a880861a typing fixed, variable[bool] replaced by variable[int] 2025-11-27 12:50:53 +01:00
Nicolas 77924a5655 Aux functions are now copied with there whole section to alow for branches without relocation inside of sections. 2025-11-24 16:40:37 +01:00
Nicolas Kruse 1a062760f7 detect_process_arch() updated to work for armv7 2025-11-24 16:40:37 +01:00