提交 edce6c8b 编写于 作者: Q qiaolongfei

restore embedding_layer name to embedding

上级 639c6a91
...@@ -822,7 +822,7 @@ def data_layer(name, size, height=None, width=None, layer_attr=None): ...@@ -822,7 +822,7 @@ def data_layer(name, size, height=None, width=None, layer_attr=None):
return LayerOutput(name, LayerType.DATA, size=size) return LayerOutput(name, LayerType.DATA, size=size)
@wrap_name_default("embedding_layer") @wrap_name_default("embedding")
@wrap_param_attr_default() @wrap_param_attr_default()
@layer_support(ERROR_CLIPPING) @layer_support(ERROR_CLIPPING)
def embedding_layer(input, size, name=None, param_attr=None, layer_attr=None): def embedding_layer(input, size, name=None, param_attr=None, layer_attr=None):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册