Skip to content

Commit

Permalink
amend
Browse files Browse the repository at this point in the history
  • Loading branch information
vmoens committed Jul 3, 2024
1 parent 9f73b87 commit 12698b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tutorials/sphinx_tuto/tensorclass_fashion.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@
import torch
import torch.nn as nn

from tensordict import MemoryMappedTensor
from tensordict.prototype import tensorclass
from tensordict import MemoryMappedTensor, tensorclass
from torch.utils.data import DataLoader
from torchvision import datasets
from torchvision.transforms import ToTensor
Expand Down
3 changes: 1 addition & 2 deletions tutorials/sphinx_tuto/tensorclass_imagenet.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@
import torch.nn as nn
import tqdm

from tensordict import MemoryMappedTensor
from tensordict.prototype import tensorclass
from tensordict import MemoryMappedTensor, tensorclass
from tensordict.utils import strtobool
from torch.utils.data import DataLoader
from torchvision import datasets, transforms
Expand Down

0 comments on commit 12698b4

Please sign in to comment.