提交 51d2e95d authored 作者: Ian Goodfellow's avatar Ian Goodfellow

removed debugging printfs

上级 875711f4
...@@ -4088,7 +4088,6 @@ class Subtensor(Op): ...@@ -4088,7 +4088,6 @@ class Subtensor(Op):
z, = outputs z, = outputs
rval = """ rval = """
fprintf(stderr, "Enter helper_c_code\\n");
#define PyArray_set_dim(obj, idx, d) PyArray_DIMS(obj)[idx]=d #define PyArray_set_dim(obj, idx, d) PyArray_DIMS(obj)[idx]=d
#define PyArray_set_stride(obj, idx, d) PyArray_STRIDES(obj)[idx]=d #define PyArray_set_stride(obj, idx, d) PyArray_STRIDES(obj)[idx]=d
#define PyArray_set_data(obj, ptr, base) PyArray_BYTES(obj)=ptr #define PyArray_set_data(obj, ptr, base) PyArray_BYTES(obj)=ptr
...@@ -4598,7 +4597,6 @@ class IncSubtensor(Op): ...@@ -4598,7 +4597,6 @@ class IncSubtensor(Op):
copy_input_if_necessary = """ copy_input_if_necessary = """
if (%(inplace)s) if (%(inplace)s)
{ {
fprintf(stderr, "Inplace\\n");
if (%(x)s != %(z)s) if (%(x)s != %(z)s)
{ {
if (%(z)s) if (%(z)s)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论