starter/pytorch-new-module icon
public
Published on 1/29/2025
PyTorch New Module

Prompts
New Module
Create a new PyTorch module
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__