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-spline-conv
Commits
2041aef6
Commit
2041aef6
authored
Mar 16, 2018
by
rusty1s
Browse files
typo
parent
1f915586
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
torch_spline_conv/kernel/kernel.cu
torch_spline_conv/kernel/kernel.cu
+1
-1
No files found.
torch_spline_conv/kernel/kernel.cu
View file @
2041aef6
...
...
@@ -60,7 +60,7 @@ __global__ void weightingBackwardWeightKernel(TensorInfo<Real> gradWeight, Tenso
b
=
basis
.
data
[
edgeOffset
*
S
+
s
];
weightOffset
=
weightIndex
.
data
[
edgeOffset
*
S
+
s
]
*
M_in
*
M_out
+
m_out
;
for
(
m_in
=
0
;
m_in
<
M_in
;
m_in
++
)
{
gradWeight
.
data
[
weightOffset
+
m_in
*
M_out
]
+=
b
*
value
*
input
.
data
[
inputOffset
+
m_in
*
input
.
stride
[
1
]];
atomicAdd
(
&
gradWeight
.
data
[
weightOffset
+
m_in
*
M_out
]
,
b
*
value
*
input
.
data
[
inputOffset
+
m_in
*
input
.
stride
[
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