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
d14df490
"git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "9a7a4b95332ab791c5386689c660f92dd16bc982"
Commit
d14df490
authored
Feb 28, 2018
by
rusty1s
Browse files
fix
parent
2f8f1501
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
compute_spline_basis.py
compute_spline_basis.py
+1
-1
No files found.
compute_spline_basis.py
View file @
d14df490
...
@@ -31,7 +31,7 @@ const long* kernel_size, const long* is_open_spline, int num_threads) {
...
@@ -31,7 +31,7 @@ const long* kernel_size, const long* is_open_spline, int num_threads) {
k_idx >>= 1;
k_idx >>= 1;
value = input[e_idx * ${dim} + d_idx];
value = input[e_idx * ${dim} + d_idx];
if (value >
=
1) { a = 0; i = 0; break; }
if (value > 1) { a = 0; i = 0; break; }
value *= kernel_size[d_idx] - is_open_spline[d_idx];
value *= kernel_size[d_idx] - is_open_spline[d_idx];
frac = value - floor(value);
frac = value - floor(value);
...
...
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