提交 6b25596e authored 作者: Frederic Bastien's avatar Frederic Bastien

add __str__ to Join and GpuJoin

上级 303885e5
......@@ -2749,6 +2749,8 @@ class Join(Op):
return type(self) == type(other)
def __hash__(self):
return hash(type(self))
def __str__(self):
return '%s' %(self.__class__.__name__)
def make_node(self, *axis_and_tensors):
"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论