提交 90f0f4a9 编写于 作者: S SunAhong1993

add tfstatic

......@@ -278,10 +278,6 @@ def prim_list(layer, indent=1, init_func=[], forward_func=[], layer_id=None, dif
line = "{} = [{}]".format(layer.outputs[0], inputs_str)
forward_func.extend(gen_codes([line], indent=indent))
def prim_list_mul(layer, indent=1, init_func=[], forward_func=[], layer_id=None, different_attrs=None):
line = "{} = [a*b for a,b in zip({}, {})]".format(layer.outputs[0],
get_value(layer, "list0", different_attrs),
get_value(layer, "list1", different_attrs))
def prim_list_unpack(layer, indent=1, init_func=[], forward_func=[], layer_id=None, different_attrs=None):
line = "{} = {}".format(", ".join(layer.outputs), get_value(layer, "input", different_attrs))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册
反馈
建议
客服 返回
顶部