#include #include #include namespace migraphx { inline namespace MIGRAPHX_INLINE_NS { namespace cpu { struct dnnl_softmax : dnnl_extend_op { dnnl::softmax_forward::desc get_desc(const std::unordered_map& m) const { int axis = this->op.axis; return {dnnl::prop_kind::forward_inference, m.at(MIGRAPHX_DNNL_PREFIX(ARG_SRC_0)), axis}; } }; } // namespace cpu } // namespace MIGRAPHX_INLINE_NS } // namespace migraphx