shoubhik commented on issue #16177: How to dump quantized weights from MKLDNN as Ndarray URL: https://github.com/apache/incubator-mxnet/issues/16177#issuecomment-532051643 @ZhennanQin in your previous comment for s8 it should be? `int8_t* ptr = static_cast<int8_t*>(cached_weight_.GetMKLDNNData()->get_data_handle())` and for u8 case in your code snippet you have written ``` MKLDNNStream::Get()->Submit(); .... data[0] = cached_weight_.Reorder2Default(); ``` for s8 should it be ``` MKLDNNStream::Get()->Submit(); .... `int8_t* ptr = static_cast<int8_t*>(cached_weight_.GetMKLDNNData()->get_data_handle()) ```
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services
