File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,15 +111,15 @@ class Module : public ObjectRef {
111111 *
112112 * \endcode
113113 */
114- class TVM_DLL ModuleNode : public Object {
114+ class ModuleNode : public Object {
115115 public:
116116 /* ! \brief virtual destructor */
117- virtual ~ModuleNode () {}
117+ TVM_DLL virtual ~ModuleNode () {}
118118 /* !
119119 * \return The per module type key.
120120 * \note This key is used to for serializing custom modules.
121121 */
122- virtual const char * type_key () const = 0;
122+ TVM_DLL virtual const char * type_key () const = 0;
123123 /* !
124124 * \brief Get a PackedFunc from module.
125125 *
@@ -137,7 +137,7 @@ class TVM_DLL ModuleNode : public Object {
137137 * If the function need resource from the module(e.g. late linking),
138138 * it should capture sptr_to_self.
139139 */
140- virtual PackedFunc GetFunction (
140+ TVM_DLL virtual PackedFunc GetFunction (
141141 const std::string& name,
142142 const ObjectPtr<Object>& sptr_to_self) = 0;
143143 /* !
You can’t perform that action at this time.
0 commit comments