hikettei / cl-waffe2

[Experimental] Graph and Tensor Abstraction for Deep Learning all in Common Lisp
https://hikettei.github.io/cl-waffe2/
MIT License
122 stars 5 forks source link

[Enhancement] Conv2D, and more new features. #59

Closed hikettei closed 11 months ago

hikettei commented 11 months ago

New Arithmetic Operators

cl-waffe2/base-impl:!+ cl-waffe2/base-impl:!- cl-waffe2/base-impl:!* cl-waffe2/base-impl:!/ are added.

(!+ 1 1 2 2 3 3)

Padding is added

・[Added] New functions: cl-waffe2/base-impl:padding

Minor changes on JITCPUTensor

・[Added] New methods: cl-waffe2/vm.nodes:on-finished-compiling

Reshape/View/Permute with λ function.

Some operators: !reshape, !view and !permute are now able to receive functions as an argument.

;; Example
(!reshape (ax+b `(10 1) 0 1) #'reverse)

Conv2D

・[Added] im2col Conv2D (I dunno whether they're correctly working though...)