ooooona opened a new issue #20343: URL: https://github.com/apache/incubator-mxnet/issues/20343
## Description I'm confuse about the coding here: ```c++ /*! \brief construct a new chunk */ Chunk(mxnet::TShape shape, Context ctx_, bool delay_alloc_, int dtype) : static_data(false), delay_alloc(true), ctx(ctx_), storage_ref_(Storage::_GetSharedRef()), engine_ref_(Engine::_GetSharedRef()) { storage_shape = shape; if (shape_is_known(storage_shape)) { shandle.size = shape.Size() * mshadow::mshadow_sizeof(dtype); } var = Engine::Get()->NewVariable(); shandle.ctx = ctx_; if (!delay_alloc_) { this->CheckAndAlloc(); } } ``` here is [source code](https://github.com/apache/incubator-mxnet/blob/7740ccae6f8efeba87fb0e0f6a4801ba60a9e4c1/include/mxnet/ndarray.h#L904) # question why not assign `delay_alloc_` to `delay_alloc`? -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@mxnet.apache.org For additional commands, e-mail: issues-h...@mxnet.apache.org