MCPcopy Create free account
hub / github.com/QWTforGithub/T2LDM / __init__

Method __init__

timm/models/pit.py:68–69  ·  view source on GitHub ↗
(self, *args)

Source from the content-addressed store, hash-verified

66class SequentialTuple(nn.Sequential):
67 """ This module exists to work around torchscript typing issues list -> list"""
68 def __init__(self, *args):
69 super(SequentialTuple, self).__init__(*args)
70
71 def forward(self, x: Tuple[torch.Tensor, torch.Tensor]) -> Tuple[torch.Tensor, torch.Tensor]:
72 for module in self:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected