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
dgl
Commits
b7ce4b6a
Unverified
Commit
b7ce4b6a
authored
Mar 09, 2023
by
DominikaJedynak
Committed by
GitHub
Mar 09, 2023
Browse files
Tensorflow examples fix (#5433)
parent
e102543b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
examples/tensorflow/dgi/train.py
examples/tensorflow/dgi/train.py
+1
-1
examples/tensorflow/gat/train.py
examples/tensorflow/gat/train.py
+1
-1
examples/tensorflow/gcn/train.py
examples/tensorflow/gcn/train.py
+1
-1
No files found.
examples/tensorflow/dgi/train.py
View file @
b7ce4b6a
...
...
@@ -51,7 +51,7 @@ def main(args):
test_mask
=
g
.
ndata
[
"test_mask"
]
in_feats
=
features
.
shape
[
1
]
n_classes
=
data
.
num_labels
n_edges
=
data
.
graph
.
number_of_edges
()
n_edges
=
g
.
number_of_edges
()
# add self loop
if
args
.
self_loop
:
...
...
examples/tensorflow/gat/train.py
View file @
b7ce4b6a
...
...
@@ -67,7 +67,7 @@ def main(args):
test_mask
=
g
.
ndata
[
"test_mask"
]
num_feats
=
features
.
shape
[
1
]
n_classes
=
data
.
num_labels
n_edges
=
data
.
graph
.
number_of_edges
()
n_edges
=
g
.
number_of_edges
()
print
(
"""----Data statistics------'
#Edges %d
...
...
examples/tensorflow/gcn/train.py
View file @
b7ce4b6a
...
...
@@ -44,7 +44,7 @@ def main(args):
test_mask
=
g
.
ndata
[
"test_mask"
]
in_feats
=
features
.
shape
[
1
]
n_classes
=
data
.
num_labels
n_edges
=
data
.
graph
.
number_of_edges
()
n_edges
=
g
.
number_of_edges
()
print
(
"""----Data statistics------'
#Edges %d
...
...
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