Skip to content

Commit

Permalink
[Fix] Fix conv2d alter op for arm cpu (apache#5532)
Browse files Browse the repository at this point in the history
  • Loading branch information
icemelon authored and Trevor Morris committed Jun 18, 2020
1 parent 1597b00 commit 6b7eaeb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions python/tvm/runtime/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,6 @@ def imported_modules(self):
nmod = _ffi_api.ModuleImportsSize(self)
return [_ffi_api.ModuleGetImport(self, i) for i in range(nmod)]

def is_empty(self):
return _ffi_api.IsEmpty(self)

def save(self, file_name, fmt=""):
"""Save the module to file.
Expand Down
2 changes: 0 additions & 2 deletions src/runtime/graph/graph_runtime.cc
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,6 @@ std::pair<std::function<void()>, std::shared_ptr<GraphRuntime::OpArgs> > GraphRu
};
return {fexec, arg_ptr};
}
CHECK(!module_.IsEmpty())
<< "Module cannot be empty in order to get functions from the lib";

// Get compiled function from the module that contains both host and device
// code.
Expand Down

0 comments on commit 6b7eaeb

Please sign in to comment.