From 3bed6aa7d5c062b251db216d63163224a01ff682 Mon Sep 17 00:00:00 2001 From: michaelowenliu Date: Mon, 3 Aug 2020 10:59:57 +0800 Subject: [PATCH] add function component support --- dygraph/cvlibs/manager.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dygraph/cvlibs/manager.py b/dygraph/cvlibs/manager.py index eefc4495..7e179e1e 100644 --- a/dygraph/cvlibs/manager.py +++ b/dygraph/cvlibs/manager.py @@ -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: ... -- GitLab