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
64777175
Commit
64777175
authored
Apr 28, 2018
by
rusty1s
Browse files
typo
parent
6fd0ce97
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
64777175
...
@@ -82,8 +82,8 @@ from torch_spline_conv import SplineConv
...
@@ -82,8 +82,8 @@ from torch_spline_conv import SplineConv
src
=
torch
.
rand
((
4
,
2
),
dtype
=
torch
.
float
)
# 4 nodes with 2 features each
src
=
torch
.
rand
((
4
,
2
),
dtype
=
torch
.
float
)
# 4 nodes with 2 features each
edge_index
=
torch
.
tensor
([[
0
,
1
,
1
,
2
,
2
,
3
],
[
1
,
0
,
2
,
1
,
3
,
2
]])
# 6 edges
edge_index
=
torch
.
tensor
([[
0
,
1
,
1
,
2
,
2
,
3
],
[
1
,
0
,
2
,
1
,
3
,
2
]])
# 6 edges
pseudo
=
torch
.
rand
((
6
,
2
),
dtype
=
torch
.
float
)
# two-dimensional edge attributes
pseudo
=
torch
.
rand
((
6
,
2
),
dtype
=
torch
.
float
)
# two-dimensional edge attributes
weight
=
torch
.
rand
((
25
,
2
,
4
),
dtype
=
torch
.
float
)
# 25
trainable
parameters for in_channels x out_channels
weight
=
torch
.
rand
((
25
,
2
,
4
),
dtype
=
torch
.
float
)
# 25 parameters for in_channels x out_channels
kernel_size
=
torch
.
tensor
([
5
,
5
])
# 5
trainable
parameters in each edge dimension
kernel_size
=
torch
.
tensor
([
5
,
5
])
# 5 parameters in each edge dimension
is_open_spline
=
torch
.
tensor
([
1
,
1
],
dtype
=
torch
.
uint8
)
# only use open B-splines
is_open_spline
=
torch
.
tensor
([
1
,
1
],
dtype
=
torch
.
uint8
)
# only use open B-splines
degree
=
1
# B-spline degree of 1
degree
=
1
# B-spline degree of 1
root_weight
=
torch
.
rand
((
2
,
4
),
dtype
=
torch
.
float
)
# separately weight root nodes
root_weight
=
torch
.
rand
((
2
,
4
),
dtype
=
torch
.
float
)
# separately weight root nodes
...
...
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