ITADN

Update nn.Sequential signature to match pytorch

#2826Openjustinchuby 创建于 2026-02-25
topic: api
J
justinchubycommented
`def __init__(self, modules: list[Module] | None = None) -> None` should become `def __init__(self, *modules: Module = None) -> None:` to match pytorch signature.
0 条评论