提交 3bed6aa7 编写于 作者: M michaelowenliu

add function component support

上级 ec33e843
......@@ -20,6 +20,7 @@ import inspect
class ComponentManager:
"""
Implement a manager class to add the new component properly.
The component can be added as either class or function type.
For example:
>>> model_manager = ComponentManager()
>>> class AlexNet: ...
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册