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

[FixME] Dynamically Shaped Conv2D isn't working due to !reshape #132

Closed hikettei closed 8 months ago

hikettei commented 9 months ago
;; Code
(call (Conv2D 3 6 `(5 5)) (make-input `(N C H W) :X))

won't work since the implementation include:

...
(asnode #'!reshape (* N C-out H-out) t)

Generally speaking, when a mathematical(arithmetic) function needs to be called in the shape calculation, it also needs to be lazily evaluated because the value of N isn't determined at that time.

(TODO: More details)

hikettei commented 8 months ago

Fixed at #135 closing