X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=documentation%2F_c_l_batch_normalization_layer_8h_source.xhtml;h=e87b09e26539cdb9a1a7a6f4e6d76ca2e3fe1a08;hb=HEAD;hp=ef4b059569e18e728a195c9ac8cc09174aa45a86;hpb=67c8c91522e5be8156b77f57e63c0253535c902a;p=platform%2Fupstream%2Farmcl.git diff --git a/documentation/_c_l_batch_normalization_layer_8h_source.xhtml b/documentation/_c_l_batch_normalization_layer_8h_source.xhtml index ef4b059..e87b09e 100644 --- a/documentation/_c_l_batch_normalization_layer_8h_source.xhtml +++ b/documentation/_c_l_batch_normalization_layer_8h_source.xhtml @@ -40,7 +40,7 @@
Compute Library -  18.03 +  18.05
@@ -117,20 +117,19 @@ $(document).ready(function(){initNavTree('_c_l_batch_normalization_layer_8h_sour
CLBatchNormalizationLayer.h
-Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017-2018 ARM Limited.
3  *
4  * SPDX-License-Identifier: MIT
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a copy
7  * of this software and associated documentation files (the "Software"), to
8  * deal in the Software without restriction, including without limitation the
9  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10  * sell copies of the Software, and to permit persons to whom the Software is
11  * furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in all
14  * copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22  * SOFTWARE.
23  */
24 #ifndef __ARM_COMPUTE_CLBATCHNORMALIZATIONLAYER_H__
25 #define __ARM_COMPUTE_CLBATCHNORMALIZATIONLAYER_H__
26 
28 
30 #include "arm_compute/core/Types.h"
31 
32 namespace arm_compute
33 {
34 class ICLTensor;
35 
43 {
44 public:
62  void configure(ICLTensor *input, ICLTensor *output, const ICLTensor *mean, const ICLTensor *var, const ICLTensor *beta, const ICLTensor *gamma, float epsilon,
79  static Status validate(const ITensorInfo *input, const ITensorInfo *output,
80  const ITensorInfo *mean, const ITensorInfo *var,
81  const ITensorInfo *beta, const ITensorInfo *gamma,
82  float epsilon, ActivationLayerInfo act_info);
83 
84  // Inherited methods overridden:
85  void run() override;
86 
87 private:
88  CLBatchNormalizationLayerKernel _norm_kernel;
89 };
90 }
91 #endif /* __ARM_COMPUTE_CLBATCHNORMALIZATIONLAYER_H__ */
void run() override
Run the kernels contained in the function.
+Go to the documentation of this file.
1 /*
2  * Copyright (c) 2017-2018 ARM Limited.
3  *
4  * SPDX-License-Identifier: MIT
5  *
6  * Permission is hereby granted, free of charge, to any person obtaining a copy
7  * of this software and associated documentation files (the "Software"), to
8  * deal in the Software without restriction, including without limitation the
9  * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10  * sell copies of the Software, and to permit persons to whom the Software is
11  * furnished to do so, subject to the following conditions:
12  *
13  * The above copyright notice and this permission notice shall be included in all
14  * copies or substantial portions of the Software.
15  *
16  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22  * SOFTWARE.
23  */
24 #ifndef __ARM_COMPUTE_CLBATCHNORMALIZATIONLAYER_H__
25 #define __ARM_COMPUTE_CLBATCHNORMALIZATIONLAYER_H__
26 
28 
30 #include "arm_compute/core/Types.h"
31 
32 namespace arm_compute
33 {
34 class ICLTensor;
35 
43 {
44 public:
62  void configure(ICLTensor *input, ICLTensor *output, const ICLTensor *mean, const ICLTensor *var, const ICLTensor *beta = nullptr, const ICLTensor *gamma = nullptr, float epsilon = 0.001f,
79  static Status validate(const ITensorInfo *input, const ITensorInfo *output,
80  const ITensorInfo *mean, const ITensorInfo *var,
81  const ITensorInfo *beta = nullptr, const ITensorInfo *gamma = nullptr,
82  float epsilon = 0.001f, ActivationLayerInfo act_info = ActivationLayerInfo());
83 
84  // Inherited methods overridden:
85  void run() override;
86 
87 private:
88  CLBatchNormalizationLayerKernel _norm_kernel;
89 };
90 }
91 #endif /* __ARM_COMPUTE_CLBATCHNORMALIZATIONLAYER_H__ */
void run() override
Run the kernels contained in the function.
Base class for all functions.
Definition: IFunction.h:30
Basic function to run CLNormalizationLayerKernel and simulate a batch normalization layer...
Store the tensor's metadata.
Definition: ITensorInfo.h:40
-
Status class.
Definition: Error.h:39
-
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const ITensorInfo *mean, const ITensorInfo *var, const ITensorInfo *beta, const ITensorInfo *gamma, float epsilon, ActivationLayerInfo act_info)
Static function to check if given info will lead to a valid configuration of CLBatchNormalizationLaye...
-
Activation Layer Information class.
Definition: Types.h:701
+
static Status validate(const ITensorInfo *input, const ITensorInfo *output, const ITensorInfo *mean, const ITensorInfo *var, const ITensorInfo *beta=nullptr, const ITensorInfo *gamma=nullptr, float epsilon=0.001f, ActivationLayerInfo act_info=ActivationLayerInfo())
Static function to check if given info will lead to a valid configuration of CLBatchNormalizationLaye...
+
Status class.
Definition: Error.h:51
+
Activation Layer Information class.
Definition: Types.h:809
CLBatchNormalizationLayer()
Default constructor.
This file contains all available output stages for GEMMLowp on OpenCL.
-
ICLImage ICLTensor
Definition: CLHistogram.h:34
+
void configure(ICLTensor *input, ICLTensor *output, const ICLTensor *mean, const ICLTensor *var, const ICLTensor *beta=nullptr, const ICLTensor *gamma=nullptr, float epsilon=0.001f, ActivationLayerInfo act_info=ActivationLayerInfo())
Set the input and output tensors.
Interface for OpenCL tensor.
Definition: ICLTensor.h:40
-
void configure(ICLTensor *input, ICLTensor *output, const ICLTensor *mean, const ICLTensor *var, const ICLTensor *beta, const ICLTensor *gamma, float epsilon, ActivationLayerInfo act_info=ActivationLayerInfo())
Set the input and output tensors.
Interface for the BatchNormalization layer kernel.
@@ -140,7 +139,7 @@ $(document).ready(function(){initNavTree('_c_l_batch_normalization_layer_8h_sour