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
e58d83e7
Commit
e58d83e7
authored
Nov 28, 2018
by
rusty1s
Browse files
no print
parent
2a3dca8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
torch_scatter/std.py
torch_scatter/std.py
+0
-1
No files found.
torch_scatter/std.py
View file @
e58d83e7
...
@@ -6,7 +6,6 @@ from torch_scatter.utils.gen import gen
...
@@ -6,7 +6,6 @@ from torch_scatter.utils.gen import gen
def
scatter_std
(
src
,
index
,
dim
=-
1
,
out
=
None
,
dim_size
=
None
,
unbiased
=
True
):
def
scatter_std
(
src
,
index
,
dim
=-
1
,
out
=
None
,
dim_size
=
None
,
unbiased
=
True
):
src
,
out
,
index
,
dim
=
gen
(
src
,
index
,
dim
,
out
,
dim_size
,
fill_value
=
0
)
src
,
out
,
index
,
dim
=
gen
(
src
,
index
,
dim
,
out
,
dim_size
,
fill_value
=
0
)
print
(
'src'
,
src
.
mean
())
tmp
=
scatter_add
(
src
,
index
,
dim
,
None
,
dim_size
)
tmp
=
scatter_add
(
src
,
index
,
dim
,
None
,
dim_size
)
count
=
scatter_add
(
torch
.
ones_like
(
src
),
index
,
dim
,
None
,
dim_size
)
count
=
scatter_add
(
torch
.
ones_like
(
src
),
index
,
dim
,
None
,
dim_size
)
...
...
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