Commit b9ba5bc2 authored by Yuxin Wu's avatar Yuxin Wu

fix last commit

parent 8f623281
......@@ -61,8 +61,6 @@ bugs. See https://github.com/tensorpack/tensorpack/issues/497 for workarounds.")
def run(op):
deps = get_backward_walk_ops(op, control_inputs=True)
for dep_op in deps:
if dep_op.op_def.is_stateful:
print(dep_op.type)
if blocking_op(dep_op):
logger.warn(
"Initializer '{}' depends on a blocking op '{}'. This initializer is likely to hang!".format(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment