Closed hikettei closed 1 year ago
(defun softmax-cross-entropy-test1 () (let ((a (parameter (randn `(10 10)))) (b (parameter (randn `(10 10))))) (proceed-backward (!sum (softmax-cross-entropy (!relu a) (!relu b)))) (and (some #'(lambda (x) (not (= x 0))) (tensor-vec (grad a))) (some #'(lambda (x) (not (= x 0))) (tensor-vec (grad b))))))
define-static-node with multiple variables is now working.
define-static-node with multiple variables is now working.