Compatibility with Flax
See original GitHub issueWill diffrax.diffeqsolve
work inside a Flax linen Module? How would you set up the initialization to use Flax inside of ODETerm
instead of Equinox?
Issue Analytics
- State:
- Created a year ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Fluorination of flax fibers for improving the interfacial ...
Thereby, treated fibers become perfectly compatible with hydrophobic polymer, and an improvement in the mechanical performance of the resulting composite is ...
Read more >Versatile Flaxseed Linked to Many Health Benefits
Science shows flaxseed's fiber, healthy fats, protein and other nutrients may help you avoid ills from cancer to diabetes and heart disease ...
Read more >Flax Seeds - 88 Acres
Flax is one fibrous little seed. Fiber from foods like flax can help improve digestive health, lower cholesterol, and even reduce the risk...
Read more >Adsorption of albumin on flax fibers increases ... - PubMed
Adsorption of albumin on flax fibers increases endothelial cell adhesion and blood compatibility in vitro. J Biomater Sci Polym Ed. 2014;25(7):698-712. doi: ...
Read more >Checkpointing with flax.training.checkpoints - Read the Docs
... '--xla_force_host_platform_device_count=8' command works only with ... with `@flax.struct.dataclass` decorator to make it compatible. tx ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hurrah! I’m glad you figured this out.
Ah, I figured out a (slightly hacky) way to do this:
Then you can simply use this like any other
nn.Module
:This just uses
flax.struct.PyTreeNode
instead ofeqx.Module
. I didn’t want to mix both of them in my codebase. Thanks a lot for the help!