Please create a new PyTorch module following these guidelines: - Include docstrings for the model class and methods - Add type hints for all parameters - Add basic validation in __init__