fix: torch type decls

This commit is contained in:
Shunsuke Shibayama 2024-02-03 20:51:58 +09:00
parent 9c9f8b7a0a
commit 3be5d75d05
13 changed files with 149 additions and 83 deletions

View file

@ -3,7 +3,7 @@ dataset = pyimport "./dataset"
{Sampler;} = pyimport "./sampler"
.DataLoader: ClassType
.DataLoader <: Iterable((torch.Tensor(_, _), torch.Tensor(_, _)))
.DataLoader <: Iterable((torch.Tensor!(_, _), torch.Tensor!(_, _)))
.DataLoader.
__call__: (
dataset: dataset.Dataset,