Commit Graph

25 Commits

Author SHA1 Message Date
6f320f593c Added function for array comparison. Fixed mistake in Makefile. 2023-09-07 19:39:35 +02:00
7fa38be6a3 Added element wise division. 2023-09-07 14:13:12 +02:00
0af2024991 Added element wise multiplication. Refined comments. 2023-09-07 13:45:04 +02:00
526deb402e Renamed the index_offsets array to stride. Performance improvements when creating the stride array. 2023-09-07 11:54:55 +02:00
5a4946c744 Put dtype definition in separate file. 2023-09-03 10:12:41 +02:00
427c75f1a6 Added comments 2023-09-03 09:45:20 +02:00
7d96a0f7f1 Added stdbool.h 2023-05-08 17:06:49 +02:00
113220f484 Removed useless includes. 2023-05-07 17:18:04 +02:00
1513222f12 Removed scalar operations on tensors because they can be done with iterators. 2023-05-07 17:05:31 +02:00
19c644f450 Added iterators over scalars of tensors 2023-05-07 16:58:49 +02:00
78623d2e9d Changed int type to uint_8/uint_32 2023-05-07 14:38:41 +02:00
836e113d32 Changed dimension naming to rank 2023-05-07 13:31:04 +02:00
721ac75389 Changed implementation of scalar operations to use map. 2023-04-11 20:39:14 +02:00
f7b8589b87 Renaming of tensor_for_each_element and tensor_add/_sub. 2023-04-11 20:04:23 +02:00
7fa02795a3 Added custom data types and modified print function vor higher ranks. 2023-04-11 17:51:01 +02:00
0ef0eeb047 Added tensor subtraction. 2023-03-18 20:58:02 +01:00
52d240fa98 Added scalar math fuctions. 2023-03-18 20:52:26 +01:00
91d25e5d54 Added assertions, added index_offset array to improve performance when indexing, rewritten set_size 2023-03-13 15:45:30 +01:00
35b866f1c9 tensor_is_equal and tensor_cpy added. 2023-03-12 20:29:55 +01:00
dbf11ef652 Added tensor addition. 2023-02-27 14:45:21 +01:00
3cb2f272eb Removed identity function because ist is incorrect. 2023-02-24 21:04:26 +01:00
be2db961a9 Added init function for identity tensor. 2023-02-24 20:53:00 +01:00
30c459f24f Added max argument to init_rand function. 2023-02-24 19:20:09 +01:00
fdfe67d83e Added const keyword to functions, when possible. 2023-02-24 19:17:31 +01:00
7cce34a3e1 Init, Implementation of Create, Destroy, Init and basic get and set functions. 2023-02-24 19:10:32 +01:00