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
torch-scatter
Commits
cb6c8b71
Commit
cb6c8b71
authored
Jul 18, 2019
by
rusty1s
Browse files
update to torch nightly
parent
0a9f541c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
test/utils.py
test/utils.py
+2
-0
No files found.
test/utils.py
View file @
cb6c8b71
...
@@ -6,6 +6,8 @@ dtypes = get_all_dtypes()
...
@@ -6,6 +6,8 @@ dtypes = get_all_dtypes()
dtypes
.
remove
(
torch
.
half
)
dtypes
.
remove
(
torch
.
half
)
dtypes
.
remove
(
torch
.
short
)
# PyTorch scatter does not work on short types.
dtypes
.
remove
(
torch
.
short
)
# PyTorch scatter does not work on short types.
dtypes
.
remove
(
torch
.
bool
)
dtypes
.
remove
(
torch
.
bool
)
if
torch
.
bfloat16
in
dtypes
:
dtypes
.
remove
(
torch
.
bfloat16
)
grad_dtypes
=
[
torch
.
float
,
torch
.
double
]
grad_dtypes
=
[
torch
.
float
,
torch
.
double
]
...
...
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