# # ChangeLog for src/ai # # Generated by Trac 1.2 # Dec 3, 2024, 9:22:38 PM Wed, 29 Dec 2021 16:52:00 GMT Paul Brossier [7f270f8] * src/ai/batchnorm.h (modified) [batchnorm] add basic documentation, shuffle declarations to match ... Wed, 29 Dec 2021 16:52:00 GMT Paul Brossier [e75bd80] * src/ai/batchnorm.c (modified) [batchnorm] remove comments, add a note about no input parameter Wed, 29 Dec 2021 16:52:00 GMT Paul Brossier [2de864e] * src/ai/activation.h (modified) [ai] add some documentation to activation.h Wed, 29 Dec 2021 16:52:00 GMT Paul Brossier [72f450a] * src/ai/batchnorm.c (modified) * src/ai/batchnorm.h (modified) [batchnorm] accepts any input size, allocate weights in get_output_shape Wed, 29 Dec 2021 16:51:59 GMT Paul Brossier [9b05ea9] * src/ai/batchnorm.c (modified) [batchnorm] wrap long lines Wed, 29 Dec 2021 16:51:59 GMT Paul Brossier [05808d5] * src/ai/batchnorm.c (modified) [batchnorm] generalise to any number of dimensions Wed, 29 Dec 2021 16:51:59 GMT Paul Brossier [49688ef] * src/ai/batchnorm.h (modified) [batchnorm] remove train for now Wed, 29 Dec 2021 16:51:59 GMT Paul Brossier [71b6437] * src/ai/maxpool2d.c (modified) * src/ai/maxpool2d.h (modified) [maxpool2d] remove train methods Wed, 29 Dec 2021 16:51:59 GMT Paul Brossier [3837125] * src/ai/conv2d.c (modified) [conv2d] simplify padding modes enum, use _t suffix for type Wed, 29 Dec 2021 16:51:58 GMT Paul Brossier [7ba59f1] * src/ai/conv1d.c (modified) [conv1d] fix plain version Wed, 29 Dec 2021 16:51:58 GMT Paul Brossier [f352c75] * src/ai/conv1d.c (modified) [conv1d] improve comments, wrap long line Wed, 29 Dec 2021 16:51:58 GMT Paul Brossier [0d16cf9] * src/ai/conv2d.c (modified) [conv2d] add simple blas version (im2row + gemm) Wed, 29 Dec 2021 16:51:58 GMT Paul Brossier [1cbd27c] * src/ai/conv2d.c (modified) [conv2d] fix debug string Wed, 29 Dec 2021 16:51:58 GMT Paul Brossier [b2e2cd0] * src/ai/conv2d.c (modified) [conv2d] remove relu Wed, 29 Dec 2021 16:51:58 GMT Paul Brossier [49ac607f] * src/ai/conv2d.c (modified) [conv2d] fix debug string, clean up Wed, 29 Dec 2021 16:51:58 GMT Paul Brossier [abb75ec] * src/ai/activation.h (added) [activation] add header template Wed, 29 Dec 2021 16:51:58 GMT Paul Brossier [387a5b1] * src/ai/activation.c (added) [activation] add sigmoid and relu, in-place Wed, 29 Dec 2021 16:51:57 GMT Paul Brossier [8f99431] * src/ai/dense.c (modified) [dense] remove activation function Wed, 29 Dec 2021 16:51:57 GMT Paul Brossier [72d4e42] * src/ai/conv1d.c (modified) [conv1d] remove activation function Wed, 29 Dec 2021 16:51:57 GMT Paul Brossier [1f7cb6a] * src/ai/conv1d.c (modified) [conv1d] improve comment and indentation Wed, 29 Dec 2021 16:51:49 GMT Paul Brossier [1b6a0035] * src/ai/maxpool2d.c (modified) [maxpool2d] improve debug string Wed, 29 Dec 2021 16:51:49 GMT Paul Brossier [6bd83c1] * src/ai/dense.c (modified) [dense] improve debug string Wed, 29 Dec 2021 16:51:49 GMT Paul Brossier [b5b0ddd] * src/ai/conv1d.c (modified) [conv1d] improve debug string Wed, 29 Dec 2021 16:51:49 GMT Paul Brossier [d91fa83] * src/ai/conv1d.c (modified) [conv1d] avoid unused variable, update comment Wed, 29 Dec 2021 16:51:48 GMT Paul Brossier [c97f7ed] * src/ai/conv1d.c (modified) [conv1d] add second blas optimisation using gemv Wed, 29 Dec 2021 16:51:48 GMT Paul Brossier [337e70d] * src/ai/conv1d.c (modified) [conv1d] add first blas optimisation using sdot Wed, 29 Dec 2021 16:51:48 GMT Paul Brossier [b6097ac] * src/ai/conv2d.c (modified) * src/ai/conv2d.h (modified) [conv2d] set_stride accepts int[] Wed, 29 Dec 2021 16:51:48 GMT Paul Brossier [bee3d52] * src/ai/batchnorm.c (modified) [batchnorm] improve debug string Wed, 29 Dec 2021 16:51:48 GMT Paul Brossier [4d452fb] * src/ai/maxpool1d.c (modified) [maxpool1d] improve debug string Wed, 29 Dec 2021 16:51:48 GMT Paul Brossier [3cbcc40] * src/ai/maxpool2d.c (modified) [maxpool2d] use first element to initialize output value, add stride Wed, 29 Dec 2021 16:51:48 GMT Paul Brossier [6c39d11] * src/ai/maxpool1d.c (modified) [maxpool1d] use first element to initialize output value, add a stride Wed, 29 Dec 2021 16:51:48 GMT Paul Brossier [6d1566e] * src/ai/maxpool2d.c (added) * src/ai/maxpool2d.h (added) [maxpool2d] add first draft implementation Wed, 29 Dec 2021 16:51:48 GMT Paul Brossier [a33c395] * src/ai/tensor.c (modified) * src/ai/tensor.h (modified) [tensor] add matmul Wed, 29 Dec 2021 16:51:47 GMT Paul Brossier [bacf0c6] * src/ai/conv2d.c (added) * src/ai/conv2d.h (added) [conv2d] add first plain draft Wed, 29 Dec 2021 16:51:47 GMT Paul Brossier [83ef8f0] * src/ai/tensor.c (modified) [tensor] always use buffer in tensor_as_fvec Wed, 29 Dec 2021 16:51:47 GMT Paul Brossier [8359052] * src/ai/tensor.c (modified) [tensor] add header Wed, 29 Dec 2021 16:51:47 GMT Paul Brossier [00d4f53] * src/ai/dense.c (added) * src/ai/dense.h (added) [dense] add first plain version Wed, 29 Dec 2021 16:51:47 GMT Paul Brossier [7b2a58c] * src/ai/batchnorm.c (added) * src/ai/batchnorm.h (added) [batchnorm] add first plain version Wed, 29 Dec 2021 16:51:46 GMT Paul Brossier [da7dbd3] * src/ai/tensor.h (modified) [tensor] add some documentation Wed, 29 Dec 2021 16:51:46 GMT Paul Brossier [2396987] * src/ai/tensor.h (modified) [tensor] remove old macro, add more public prototypes Wed, 29 Dec 2021 16:51:46 GMT Paul Brossier [49e7171] * src/ai/tensor.c (modified) [tensor] add print helpers Wed, 29 Dec 2021 16:51:46 GMT Paul Brossier [f90051d] * src/ai/tensor.c (modified) [tensor] add have_same_size Wed, 29 Dec 2021 16:51:46 GMT Paul Brossier [b496aa8] * src/ai/tensor.c (modified) * src/ai/tensor.h (modified) [tensor] add get_subtensor Wed, 29 Dec 2021 16:51:46 GMT Paul Brossier [a5986ff] * src/ai/tensor.c (modified) [tensor] complet get_shape_string Wed, 29 Dec 2021 16:51:46 GMT Paul Brossier [533187f] * src/ai/tensor.c (modified) [tensor] set initial max value to first element Wed, 29 Dec 2021 16:51:46 GMT Paul Brossier [0d9ef90] * src/ai/tensor.c (modified) [tensor] view any tensor as fvec/fmat Wed, 29 Dec 2021 16:51:46 GMT Paul Brossier [2859f89] * src/ai/tensor.c (modified) [tensor] set buffer, remove old comments Wed, 29 Dec 2021 16:51:46 GMT Paul Brossier [d3d72b7] * src/ai/tensor.h (modified) [tensor] add buffer field, improve documentation Wed, 29 Dec 2021 16:51:45 GMT Paul Brossier [c61cf97] * src/ai/tensor.c (modified) [tensor] add get_shape_string Wed, 29 Dec 2021 16:51:45 GMT Paul Brossier [a5199ad] * src/ai/tensor.c (modified) [tensor] also set size when viewing fmat/fvec Wed, 29 Dec 2021 16:51:45 GMT Paul Brossier [83ec87f] * src/ai/tensor.c (modified) * src/ai/tensor.h (modified) [tensor] rename n_items to size, remove items_per_row Wed, 29 Dec 2021 16:51:45 GMT Paul Brossier [6ad67a5] * src/ai/tensor.c (modified) [tensor] use new member names Wed, 29 Dec 2021 16:51:45 GMT Paul Brossier [97985d4] * src/ai/maxpool1d.c (modified) [maxpool1d] update to new tensor members Wed, 29 Dec 2021 16:51:45 GMT Paul Brossier [f4c5a95] * src/ai/conv1d.c (modified) [conv1d] update to new tensor members Wed, 29 Dec 2021 16:51:45 GMT Paul Brossier [b508ba6] * src/ai/tensor.c (modified) * src/ai/tensor.h (modified) [tensor] rename attributes to ndim and shape[] to match numpy Wed, 29 Dec 2021 16:51:44 GMT Paul Brossier [8f83f9c] * src/ai/maxpool1d.c (added) * src/ai/maxpool1d.h (added) [ai] add first maxpool1d draft Wed, 29 Dec 2021 16:51:44 GMT Paul Brossier [4cb5496] * src/ai/conv1d.c (added) * src/ai/conv1d.h (added) [ai] add first conv1d draft Wed, 29 Dec 2021 16:51:44 GMT Paul Brossier [1fe822d] * src/ai/tensor.c (added) * src/ai/tensor.h (added) [ai] add first tensor draft