Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
87bd799e
Unverified
Commit
87bd799e
authored
Nov 22, 2019
by
Tianqi Chen
Committed by
GitHub
Nov 22, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[RUNTIME] Move module export to the function level. (#4405)
parent
e0810512
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
include/tvm/runtime/module.h
+4
-4
No files found.
include/tvm/runtime/module.h
View file @
87bd799e
...
...
@@ -111,15 +111,15 @@ class Module : public ObjectRef {
*
* \endcode
*/
class
TVM_DLL
ModuleNode
:
public
Object
{
class
ModuleNode
:
public
Object
{
public
:
/*! \brief virtual destructor */
virtual
~
ModuleNode
()
{}
TVM_DLL
virtual
~
ModuleNode
()
{}
/*!
* \return The per module type key.
* \note This key is used to for serializing custom modules.
*/
virtual
const
char
*
type_key
()
const
=
0
;
TVM_DLL
virtual
const
char
*
type_key
()
const
=
0
;
/*!
* \brief Get a PackedFunc from module.
*
...
...
@@ -137,7 +137,7 @@ class TVM_DLL ModuleNode : public Object {
* If the function need resource from the module(e.g. late linking),
* it should capture sptr_to_self.
*/
virtual
PackedFunc
GetFunction
(
TVM_DLL
virtual
PackedFunc
GetFunction
(
const
std
::
string
&
name
,
const
ObjectPtr
<
Object
>&
sptr_to_self
)
=
0
;
/*!
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment