Skip to content

Commit

Permalink
Fix rebase artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
weberlo committed Nov 12, 2019
1 parent 6843be6 commit babeb97
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/runtime/micro/micro_module.cc
Expand Up @@ -78,15 +78,14 @@ class MicroWrappedFunc {

private:
/*! \brief reference to the session for this function (to keep the session alive) */
std::shared_ptr<MicroSession> session_;
ObjectPtr<MicroSession> session_;
/*! \brief offset of the function to be called */
DevPtr func_ptr_;
};

PackedFunc MicroModuleNode::GetFunction(
const std::string& name,
const ObjectPtr<Object>& sptr_to_self) {
std::cout << "[MicroModuleNode::GetFunction(name=" << name << ")]" << std::endl;
DevPtr func_ptr;
if (name == tvm::runtime::symbol::tvm_module_main) {
if (symbol_map_.HasSymbol(tvm::runtime::symbol::tvm_module_main)) {
Expand Down

0 comments on commit babeb97

Please sign in to comment.