rongzha1 commented on a change in pull request #13699: add mkldnn softmax_output
URL: https://github.com/apache/incubator-mxnet/pull/13699#discussion_r243876725
##########
File path: src/operator/softmax_output-inl.h
##########
@@ -267,9 +278,44 @@ class SoftmaxOutputOp : public Operator {
SoftmaxOutputParam param_;
}; // class SoftmaxOutputOp
-// Decalre Factory function, used for dispatch specialization
template<typename xpu>
-Operator* CreateOp(SoftmaxOutputParam param, int dtype);
+void SoftmaxOutputCompute(const nnvm::NodeAttrs& attrs,
+ const OpContext& ctx, const std::vector<TBlob>&
inputs,
+ const std::vector<OpReqType>& req,
+ const std::vector<TBlob>& outputs) {
+ const SoftmaxOutputParam ¶m =
nnvm::get<SoftmaxOutputParam>(attrs.parsed);
+ const std::vector<TBlob> no_use_but_adapt_origin_api;
+ CHECK_EQ(inputs.size(), 2U);
+ std::vector<TBlob> in_data(inputs.begin(),
Review comment:
will remove
----------------------------------------------------------------
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