Closed yangchenyun closed 1 year ago
Thanks for reporting. I'll fix it for flat-tensor. For a temporary workaround, please switch completely to the learner representation.
@themetaschemer thanks for your timely response. I am eventually getting to the part which implements tensor!
I also couldn't find a place where operations like +/-/*...
are replaced by the one defined in the malt
collection, could you point me to the right place or some Racket documentation to see how this happens?
The operators get renamed at provide. See, for example, flat-tensors.rkt
. There is a provide
form called rename-out
that allows functions to be renamed at export.
@yangchenyun Thanks for your patience. I have just pushed a new commit c8220b5 where I have set the default implementation to be learner
, and added some other mechanisms to switch implementations more easily (the README is correspondingly updated). This should avoid future problems with trying to use ext1 and ext2 examples from the book.
Use
malt
:Use
malt/learner
: