1 | /******************************************************************************* |
2 | * Copyright 2016-2020 Intel Corporation |
3 | * |
4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | * you may not use this file except in compliance with the License. |
6 | * You may obtain a copy of the License at |
7 | * |
8 | * http://www.apache.org/licenses/LICENSE-2.0 |
9 | * |
10 | * Unless required by applicable law or agreed to in writing, software |
11 | * distributed under the License is distributed on an "AS IS" BASIS, |
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
13 | * See the License for the specific language governing permissions and |
14 | * limitations under the License. |
15 | *******************************************************************************/ |
16 | |
17 | #ifndef CPU_CPU_SOFTMAX_PD_HPP |
18 | #define CPU_CPU_SOFTMAX_PD_HPP |
19 | |
20 | #include <assert.h> |
21 | |
22 | #include "common/c_types_map.hpp" |
23 | #include "common/softmax_pd.hpp" |
24 | #include "common/type_helpers.hpp" |
25 | #include "common/utils.hpp" |
26 | #include "cpu/cpu_engine.hpp" |
27 | |
28 | namespace dnnl { |
29 | namespace impl { |
30 | namespace cpu { |
31 | |
32 | struct cpu_softmax_fwd_pd_t : public softmax_fwd_pd_t { |
33 | using softmax_fwd_pd_t::softmax_fwd_pd_t; |
34 | }; |
35 | |
36 | struct cpu_softmax_bwd_pd_t : public softmax_bwd_pd_t { |
37 | using softmax_bwd_pd_t::softmax_bwd_pd_t; |
38 | }; |
39 | |
40 | } // namespace cpu |
41 | } // namespace impl |
42 | } // namespace dnnl |
43 | |
44 | #endif |
45 | |
46 | // vim: et ts=4 sw=4 cindent cino+=l0,\:4,N-s |
47 | |