Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
vision
Commits
3b0b201a
Unverified
Commit
3b0b201a
authored
Mar 04, 2020
by
Shuaizhen Jing
Committed by
GitHub
Mar 04, 2020
Browse files
add @torch.jit.script to ImageList (#1919)
parent
e1e975f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
torchvision/models/detection/image_list.py
torchvision/models/detection/image_list.py
+1
-0
No files found.
torchvision/models/detection/image_list.py
View file @
3b0b201a
...
...
@@ -6,6 +6,7 @@ from torch.jit.annotations import List, Tuple
from
torch
import
Tensor
@
torch
.
jit
.
script
class
ImageList
(
object
):
"""
Structure that holds a list of images (of possibly
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment