C++ API Reference for Intel® Data Analytics Acceleration Library 2019 Update 4

loss_layer_backward_types.h
1 /* file: loss_layer_backward_types.h */
2 /*******************************************************************************
3 * Copyright 2014-2019 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 /*
17 //++
18 // Implementation of the backward loss layer types.
19 //--
20 */
21 
22 #ifndef __LOSS_LAYER_BACKWARD_TYPES_H__
23 #define __LOSS_LAYER_BACKWARD_TYPES_H__
24 
25 #include "algorithms/algorithm.h"
26 #include "data_management/data/tensor.h"
27 #include "data_management/data/homogen_tensor.h"
28 #include "services/daal_defines.h"
29 #include "algorithms/neural_networks/layers/layer_backward_types.h"
30 
31 namespace daal
32 {
33 namespace algorithms
34 {
35 namespace neural_networks
36 {
37 namespace layers
38 {
39 namespace loss
40 {
50 namespace backward
51 {
55 namespace interface1
56 {
61 class DAAL_EXPORT Input : public layers::backward::Input
62 {
63 public:
64  typedef layers::backward::Input super;
66  Input();
67 
69  Input(const Input& other);
70 
71  virtual ~Input() {}
72 
76  using layers::backward::Input::get;
77 
81  using layers::backward::Input::set;
82 
90  services::Status check(const daal::algorithms::Parameter *par, int method) const DAAL_C11_OVERRIDE;
91 };
92 
98 class DAAL_EXPORT Result : public layers::backward::Result
99 {
100 public:
102  Result();
103 
104  virtual ~Result() {};
105 
109  using layers::backward::Result::get;
110 
114  using layers::backward::Result::set;
115 
124  services::Status check(const daal::algorithms::Input *input, const daal::algorithms::Parameter *par, int method) const DAAL_C11_OVERRIDE;
125 };
126 } // namespace interface1
127 using interface1::Input;
128 using interface1::Result;
129 } // namespace backward
131 } // namespace loss
132 } // namespace layers
133 } // namespace neural_networks
134 } // namespace algorithm
135 } // namespace daal
136 #endif
daal
Definition: algorithm_base_common.h:31
daal::algorithms::neural_networks::layers::loss::backward::interface1::Result
Provides methods to access the result obtained with the compute() method of the backward loss layer...
Definition: loss_layer_backward_types.h:98
daal_defines.h
daal::algorithms::neural_networks::layers::loss::backward::interface1::Input
Input objects for the backward loss layer
Definition: loss_layer_backward_types.h:61

For more complete information about compiler optimizations, see our Optimization Notice.