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
d66dbcce
Commit
d66dbcce
authored
Dec 28, 2017
by
rusty1s
Browse files
added backward test
parent
2ba6da8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
test/backward.json
test/backward.json
+9
-0
No files found.
test/backward.json
View file @
d66dbcce
...
...
@@ -8,6 +8,15 @@
"grad"
:
[[
10
,
20
,
30
,
40
,
50
,
60
],
[
15
,
25
,
35
,
45
,
55
,
65
]],
"expected"
:
[[
50
,
60
,
50
,
30
,
40
],
[
15
,
15
,
35
,
35
,
25
]]
},
{
"name"
:
"mean"
,
"index"
:
[[
4
,
5
,
4
,
2
,
3
],
[
0
,
0
,
2
,
2
,
1
]],
"input"
:
[[
2
,
0
,
1
,
4
,
3
],
[
0
,
2
,
1
,
3
,
4
]],
"dim"
:
1
,
"fill_value"
:
0
,
"grad"
:
[[
10
,
20
,
30
,
40
,
50
,
60
],
[
15
,
25
,
35
,
45
,
55
,
65
]],
"expected"
:
[[
50
,
60
,
50
,
30
,
40
],
[
15
,
15
,
35
,
35
,
25
]]
},
{
"name"
:
"max"
,
"index"
:
[[
4
,
5
,
4
,
2
,
3
],
[
0
,
0
,
2
,
2
,
1
]],
...
...
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