d-smirnov commented on code in PR #10189:
URL: https://github.com/apache/tvm/pull/10189#discussion_r894357874
##########
src/runtime/aot_executor/aot_executor.cc:
##########
@@ -62,9 +65,38 @@ AotExecutor::AotExecutor(tvm::runtime::Module module, const
std::vector<Device>&
output->dtype(), devices_[0]));
}
- for (auto pool : metadata_->pools()) {
- args_.emplace_back(NDArray::Empty(ShapeTuple(pool->shape().begin(),
pool->shape().end()),
- pool->dtype(), devices_[0]));
+ auto get_array_byte_size = [](DataType data_type, auto shape) {
Review Comment:
wanted to be local as this is used in the constructor only
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]