Skip to content

Commit

Permalink
add @torch.jit.script to ImageList (pytorch#1919)
Browse files Browse the repository at this point in the history
  • Loading branch information
buendiya authored and fmassa committed Jun 9, 2020
1 parent addae9f commit 9539e1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torchvision/models/detection/image_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from torch import Tensor


@torch.jit.script
class ImageList(object):
"""
Structure that holds a list of images (of possibly
Expand Down

0 comments on commit 9539e1b

Please sign in to comment.