Update davit.py

pull/1630/head
Fredo Guan 3 years ago
parent 45da04d620
commit 4303034189

@ -38,6 +38,8 @@ class MySequential(nn.Sequential):
def forward(self, inputs : Tensor, size : Tuple[int, int]): def forward(self, inputs : Tensor, size : Tuple[int, int]):
for module in self: for module in self:
inputs : Tensor
size : Tuple[int, int]
(inputs, size) = module(inputs, size) (inputs, size) = module(inputs, size)
return inputs return inputs

Loading…
Cancel
Save