未验证 提交 4f3b73ed 编写于 作者: T Tao Luo 提交者: GitHub

Merge pull request #9128 from luotao1/layer_function_generator

fix AttributeError: 'module' object has no attribute 'framework_pb2'
...@@ -16,10 +16,7 @@ import cStringIO ...@@ -16,10 +16,7 @@ import cStringIO
import functools import functools
import warnings import warnings
from .. import proto from ..proto import framework_pb2
framework_pb2 = proto.framework_pb2
from ..framework import OpProtoHolder, Variable from ..framework import OpProtoHolder, Variable
from ..layer_helper import LayerHelper from ..layer_helper import LayerHelper
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册