piotrwolinski-intel commented on code in PR #20987:
URL: https://github.com/apache/incubator-mxnet/pull/20987#discussion_r842780329
##########
src/operator/quantization/requantize.cc:
##########
@@ -29,6 +29,26 @@
namespace mxnet {
namespace op {
+
+#if MXNET_USE_ONEDNN == 1
+void RequantizeForwardExCPU(const nnvm::NodeAttrs& attrs,
+ const OpContext& ctx,
+ const std::vector<NDArray>& inputs,
+ const std::vector<OpReqType>& req,
+ const std::vector<NDArray>& outputs) {
+ const RequantizeParam& param = nnvm::get<RequantizeParam>(attrs.parsed);
+ auto out_type = GetQuantizeOutputType(param);
Review Comment:
Thank You for this advice, I will take a look at it and try to find the best
way to deal with it. Unifying is definitely nice, but I will dig further and
try to create the function, as You suggested.
--
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]