semvec/pypi-packages huggingface dataset:
torch-dataclasses 0.1.2
dataclass + nn.Module
License: MIT
Requires Python: >=3.10,<4.0

# DataclassModule

dataclass + nn.Module

## Usage 

```python
from dataclassmodule import DataclassModule

class ExampleModule(DataclassModule):
    x: int
    
    def __post_init__(self):
        self.layer = nn.Linear(2, 2)
```