eric-haibin-lin commented on a change in pull request #11325: [MXNET-703]
TensorRT runtime integration
URL: https://github.com/apache/incubator-mxnet/pull/11325#discussion_r205174730
##########
File path: src/executor/graph_executor.cc
##########
@@ -782,8 +789,13 @@ void GraphExecutor::InitArguments(const
nnvm::IndexedGraph& idx,
<< arg_name << " for the current executor";
aux_state_vec->emplace_back(aux_nd);
} else {
- EmplaceBackZeros(inferred_stype, inferred_shape,
aux_state_ctxes[aux_top],
- inferred_dtype, aux_state_vec);
+ auto it = shared_buffer->find(arg_name);
+ if ( it != shared_buffer->end() ) {
Review comment:
nit: `if (it != shared_buffer->end()) {`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services