Skip to content

Commit

Permalink
Merge pull request #2 from zzhang-cn/tensor
Browse files Browse the repository at this point in the history
remove old fragments
  • Loading branch information
zzhang-cn authored Apr 21, 2018
2 parents 9a5aebc + c2bdedc commit 447d16b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mx.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ def set_repr(self, u, h_u, name='h'):
assert u in self.nodes
kwarg = {name: h_u}
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'):
assert u in self.nodes
Expand Down

0 comments on commit 447d16b

Please sign in to comment.