提交 14c46d93 编写于 作者: 李寅

Use T to determine output type first

上级 028b4ab3
......@@ -148,6 +148,9 @@ class MemoryOptimizer(object):
mem_id = self.op_mem.get(op.input[0], -1)
else:
output_type = mace_pb2.DT_FLOAT
for arg in op.arg:
if arg.name == 'T':
output_type = arg.i
if len(op.output_type) > i:
output_type = op.output_type[i]
op_mem_block = self.get_op_mem_block(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册