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
c379ebfe
"...text-generation-inference.git" did not exist on "7fbfbb0dc5d9f928ee4c496a04bff4a0eca8a9c8"
Commit
c379ebfe
authored
Apr 12, 2018
by
rusty1s
Browse files
typo
parent
79064f03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
c379ebfe
...
@@ -71,7 +71,7 @@ from torch_spline_conv import spline_conv
...
@@ -71,7 +71,7 @@ from torch_spline_conv import spline_conv
src
=
torch
.
Tensor
(
4
,
2
)
# 4 nodes with 2 features each
src
=
torch
.
Tensor
(
4
,
2
)
# 4 nodes with 2 features each
edge_index
=
torch
.
LongTensor
([[
0
,
1
,
1
,
2
,
2
,
3
],
[
1
,
0
,
2
,
1
,
3
,
2
]])
# 6 edges
edge_index
=
torch
.
LongTensor
([[
0
,
1
,
1
,
2
,
2
,
3
],
[
1
,
0
,
2
,
1
,
3
,
2
]])
# 6 edges
pseudo
=
torch
.
Tensor
(
6
,
2
)
# two-dimensional edge attributes
pseudo
=
torch
.
Tensor
(
6
,
2
)
# two-dimensional edge attributes
weight
=
torch
.
Tensor
(
25
,
2
,
4
)
# 25 trainable parameters for
each
in_channels x out_channels
combination
weight
=
torch
.
Tensor
(
25
,
2
,
4
)
# 25 trainable parameters for in_channels x out_channels
kernel_size
=
torch
.
LongTensor
([
5
,
5
])
# 5 trainable parameters in each edge dimension
kernel_size
=
torch
.
LongTensor
([
5
,
5
])
# 5 trainable parameters in each edge dimension
is_open_spline
=
torch
.
ByteTensor
([
1
,
1
])
# only use open B-splines
is_open_spline
=
torch
.
ByteTensor
([
1
,
1
])
# only use open B-splines
degree
=
1
# B-spline degree of 1
degree
=
1
# B-spline degree of 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