Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Add: (with-config ~) macro #98

Open
hikettei opened this issue Mar 19, 2023 · 0 comments
Open

Add: (with-config ~) macro #98

hikettei opened this issue Mar 19, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@hikettei
Copy link
Owner

Tensorデータ型やBackendは全てdefparameterを参照しているから

(with-config (:dtype :float)
             (:backends (:simd :numcl :mgl)) ; Backendの優先順位
   ...)```

みたいなマクロでまとめて設定できると便利そう。FP16対応する方法思いついたら作ろっかな〜
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant