提交 382cb4d3 authored 作者: Frederic Bastien's avatar Frederic Bastien

remove debug code.

上级 a35e466a
...@@ -531,7 +531,6 @@ class TensorType(Type): ...@@ -531,7 +531,6 @@ class TensorType(Type):
@staticmethod @staticmethod
def may_share_memory(a,b): def may_share_memory(a,b):
import pdb;pdb.set_trace()
#when this is called with a an ndarray and b #when this is called with a an ndarray and b
#a sparce matrix, numpy.may_share_memory fail. #a sparce matrix, numpy.may_share_memory fail.
if a.__class__ is b.__class__: if a.__class__ is b.__class__:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论