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
447d16bd
Unverified
Commit
447d16bd
authored
Apr 21, 2018
by
Zheng Zhang
Committed by
GitHub
Apr 21, 2018
Browse files
Merge pull request #2 from zzhang-cn/tensor
remove old fragments
parents
9a5aebc4
c2bdedc0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
mx.py
mx.py
+0
-6
No files found.
mx.py
View file @
447d16bd
...
@@ -21,12 +21,6 @@ class mx_Graph(Graph):
...
@@ -21,12 +21,6 @@ class mx_Graph(Graph):
assert
u
in
self
.
nodes
assert
u
in
self
.
nodes
kwarg
=
{
name
:
h_u
}
kwarg
=
{
name
:
h_u
}
self
.
add_node
(
u
,
**
kwarg
)
self
.
add_node
(
u
,
**
kwarg
)
'''
if name == None:
self.add_node(u, h=h_u)
else:
self.add_node(u, name=h_u)
'''
def
get_repr
(
self
,
u
,
name
=
'h'
):
def
get_repr
(
self
,
u
,
name
=
'h'
):
assert
u
in
self
.
nodes
assert
u
in
self
.
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