# zyx-derive This crate contains procedural macros for zyx. Macro Module automatically implements IntoIterator for your module, so that you can use it in backpropagation and save it to disk. ```rust use zyx_core::backend::Backend; use zyx_core::tensor::Tensor; #[derive(Module)] struct MyNet { b: Tensor, w: Tensor, } impl MyNet { fn forward(&self, x: &Tensor) -> Tensor { x.dot(self.w) + self.b } } ``` For README and source code, please visit [github](https://www.github.com/zk4x/zyx). For more details, there is a [book](https://zk4x.github.io/zyx). # Features - std - enables zyx-core/std