Skip to content

Commit

Permalink
arm_compute v19.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins committed Jan 22, 2020
1 parent 0e205f7 commit 7f09cf7
Show file tree
Hide file tree
Showing 7,821 changed files with 22,427 additions and 22,242 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2017-2019 ARM Software
Copyright (c) 2017-2020 ARM Software

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ Tutorials:

Documentation (API, changelogs, build guide, contribution guide, errata, etc.) available here:

- [v19.11.1](https://arm-software.github.io/ComputeLibrary/v19.11.1/)
- [v19.11](https://arm-software.github.io/ComputeLibrary/v19.11/)
- [v19.08.1](https://arm-software.github.io/ComputeLibrary/v19.08.1/)
- [v19.08](https://arm-software.github.io/ComputeLibrary/v19.08/)
- [v19.05](https://arm-software.github.io/ComputeLibrary/v19.05/)
- [v19.02](https://arm-software.github.io/ComputeLibrary/v19.02/)
Expand All @@ -47,8 +49,12 @@ Documentation (API, changelogs, build guide, contribution guide, errata, etc.) a

Binaries available here:

- [v19.11.1-linux](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.11.1/arm_compute-v19.11.1-bin-linux.tar.gz)
- [v19.11.1-android](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.11.1/arm_compute-v19.11.1-bin-android.tar.gz)
- [v19.11-linux](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.11/arm_compute-v19.11-bin-linux.tar.gz)
- [v19.11-android](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.11/arm_compute-v19.11-bin-android.tar.gz)
- [v19.08.1-linux](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.08.1/arm_compute-v19.08.1-bin-linux.tar.gz)
- [v19.08.1-android](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.08.1/arm_compute-v19.08.1-bin-android.tar.gz)
- [v19.08-linux](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.08/arm_compute-v19.08-bin-linux.tar.gz)
- [v19.08-android](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.08/arm_compute-v19.08-bin-android.tar.gz)
- [v19.05-linux](https://github.com/ARM-software/ComputeLibrary/releases/download/v19.05/arm_compute-v19.05-bin-linux.tar.gz)
Expand Down
4 changes: 2 additions & 2 deletions SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ import os.path
import re
import subprocess

VERSION = "v19.11"
SONAME_VERSION="17.0.0"
VERSION = "v19.11.1"
SONAME_VERSION="17.1.0"

Import('env')
Import('vars')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2019 ARM Limited.
* Copyright (c) 2017-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
Expand Down Expand Up @@ -72,6 +72,7 @@ class CLDeconvolutionLayerUpsampleKernel : public ICLKernel
const ICLTensor *_input;
ICLTensor *_output;
PadStrideInfo _info;
DataLayout _data_layout;
};
} // namespace arm_compute
#endif /*__ARM_COMPUTE_CLDECONVOLUTIONLAYERUPSAMPLEKERNEL_H__ */
3 changes: 2 additions & 1 deletion arm_compute/core/CL/kernels/CLDirectConvolutionLayerKernel.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2019 ARM Limited.
* Copyright (c) 2017-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
Expand Down Expand Up @@ -94,6 +94,7 @@ class CLDirectConvolutionLayerKernel : public ICLKernel
const ICLTensor *_biases;
const ICLTensor *_weights;
ICLTensor *_output;
DataLayout _data_layout;
BorderSize _border_size;
int _conv_stride_x;
int _conv_stride_y;
Expand Down
1 change: 1 addition & 0 deletions arm_compute/core/CL/kernels/CLIm2ColKernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ class CLIm2ColKernel : public ICLKernel
public:
const ICLTensor *_input;
ICLTensor *_output;
DataLayout _data_layout;
std::pair<unsigned int, unsigned int> _convolved_dims;
unsigned int _num_elems_processed_per_iteration;
Size2D _kernel_dims;
Expand Down
1 change: 1 addition & 0 deletions arm_compute/core/CL/kernels/CLPoolingLayerKernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class CLPoolingLayerKernel : public ICLKernel
const ICLTensor *_input;
ICLTensor *_output;
PoolingLayerInfo _pool_info;
DataLayout _data_layout;
BorderSize _border_size;
unsigned int _num_elems_processed_per_iteration;
};
Expand Down
1 change: 1 addition & 0 deletions arm_compute/core/CL/kernels/CLScaleKernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class CLScaleKernel : public ICLSimple2DKernel

public:
InterpolationPolicy _interpolationPolicy = InterpolationPolicy::BILINEAR;
DataLayout _data_layout = DataLayout::UNKNOWN;
};
} // namespace arm_compute
#endif /*__ARM_COMPUTE_CLSCALEKERNEL_H__ */
1 change: 1 addition & 0 deletions arm_compute/core/CL/kernels/CLUpsampleLayerKernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class CLUpsampleLayerKernel : public ICLKernel
const ICLTensor *_input;
ICLTensor *_output;
Size2D _info;
DataLayout _data_layout;
unsigned int _num_elems_processed_per_iteration_input_x;
};
} // namespace arm_compute
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ class CLWinogradInputTransformKernel : public ICLKernel
BorderSize _border_size;
const ICLTensor *_input;
ICLTensor *_output;
DataLayout _data_layout;
int _num_tiles_x;
int _num_tiles_y;
unsigned int _step_z;
Expand Down
1 change: 1 addition & 0 deletions arm_compute/core/NEON/kernels/NEDepthToSpaceLayerKernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class NEDepthToSpaceLayerKernel : public INEKernel
const ITensor *_input; /**< Source tensor */
ITensor *_output; /**< Destination tensor */
int32_t _block_shape; /**< Block shape */
DataLayout _data_layout; /**< Data layout of the operation */
};
} // namespace arm_compute
#endif /* __ARM_COMPUTE_NEDEPTHTOSPACELAYERKERNEL_H__ */
3 changes: 2 additions & 1 deletion arm_compute/core/NEON/kernels/NEIm2ColKernel.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2018 ARM Limited.
* Copyright (c) 2017-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
Expand Down Expand Up @@ -131,6 +131,7 @@ class NEIm2ColKernel : public INEKernel
unsigned int _kernel_height;
bool _has_bias;
Size2D _dilation;
DataLayout _data_layout;
};
} // namespace arm_compute
#endif /*__ARM_COMPUTE_NEIM2COLKERNEL_H__ */
1 change: 1 addition & 0 deletions arm_compute/core/NEON/kernels/NEPoolingLayerKernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ class NEPoolingLayerKernel : public INEKernel
const ITensor *_input;
ITensor *_output;
PoolingLayerInfo _pool_info;
DataLayout _data_layout;
unsigned int _num_elems_processed_per_iteration;
BorderSize _border_size;
bool _is_square;
Expand Down
1 change: 1 addition & 0 deletions arm_compute/core/NEON/kernels/NESpaceToDepthLayerKernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ class NESpaceToDepthLayerKernel : public INEKernel
const ITensor *_input; /**< Source tensor */
ITensor *_output; /**< Destination tensor */
int32_t _block_shape; /**< Block shape */
DataLayout _data_layout; /**< Data layout of the operation */
};
} // namespace arm_compute
#endif /* __ARM_COMPUTE_NESPACETODEPTHLAYERKERNEL_H__ */
36 changes: 36 additions & 0 deletions arm_compute/core/utils/misc/ShapeCalculator.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,42 @@ namespace misc
{
namespace shape_calculator
{
/** Calculate the output tensor shape for the reduce mean operation
*
* @param[in] input Input tensor shape
* @param[in] reduction_axis Reduction axis
* @param[in] keep_dims Flag to indicate if dimensions are kept
*
* @return the calculated shape
*/
inline TensorShape calculate_reduce_mean_shape(ITensor *input, const Coordinates &reduction_axis, bool keep_dims)
{
const int reduction_ops = reduction_axis.num_dimensions();
Coordinates axis_local = reduction_axis;
const int input_dims = input->info()->num_dimensions();
convert_negative_axis(axis_local, input_dims);
TensorShape out_shape = input->info()->tensor_shape();
// Configure reshape layer if we want to drop the dimensions
if(!keep_dims)
{
// We have to sort the reduction axis vectors in order for remove_dimension
// to work properly
std::sort(axis_local.begin(), axis_local.begin() + reduction_ops);
for(int i = 0; i < reduction_ops; ++i)
{
out_shape.remove_dimension(axis_local[i] - i);
}
return out_shape;
}
else
{
for(int i = 0; i < reduction_ops; ++i)
{
out_shape.set(axis_local[i], 1);
}
return out_shape;
}
}
/** Calculate the output tensor shape of a vector input given the convolution dimensions
*
* @param[in] input Input tensor shape
Expand Down
2 changes: 1 addition & 1 deletion arm_compute/runtime/CL/functions/CLReduceMean.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class CLReduceMean : public IFunction
std::vector<CLReductionOperation> _reduction_kernels;
std::vector<CLTensor> _reduced_outs;
CLReshapeLayer _reshape;
unsigned int _reduction_ops;
int _reduction_ops;
bool _keep_dims;
};
} // namespace arm_compute
Expand Down
16 changes: 16 additions & 0 deletions docs/00_introduction.dox
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,14 @@ If there is more than one release in a month then an extra sequential number is

@subsection S2_2_changelog Changelog

v19.11.1 Public maintenance release
- Fix offset calculation in NEReductionOperationKernel.
- Fix data layout in NEScaleKernel for nhwc.
- Retain configuration step data layout to avoid side-effects.
- Perform sqrt in double domain for L2 pooling.
- Fix output shape calculation for Reduce Mean
- Restrict cases where optimized NEPadLayer runs.

v19.11 Public major release
- Various bug fixes.
- Various optimisations.
Expand Down Expand Up @@ -302,6 +310,14 @@ v19.11 Public major release
- Optimized CL generic depthwise convolution layer by introducing @ref CLDepthwiseConvolutionLayerNativeKernel.
- Reduced memory consumption by implementing weights sharing.

v19.08.1 Public maintenance release
- Fix offset calculation in NEReductionOperationKernel.
- Fix data layout in NEScaleKernel for nhwc.
- Retain configuration step data layout to avoid side-effects.
- Perform sqrt in double domain for L2 pooling.
- Fix output shape calculation for Reduce Mean
- Fix broadcast CLPixelwiseMultiplication with 5D tensors

v19.08 Public major release
- Various bug fixes.
- Various optimisations.
Expand Down
2 changes: 1 addition & 1 deletion docs/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = "Compute Library"
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 19.11
PROJECT_NUMBER = 19.11.1

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
4 changes: 2 additions & 2 deletions documentation/00__introduction_8dox.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.11</span>
&#160;<span id="projectnumber">19.11.1</span>
</div>
</td>
</tr>
Expand Down Expand Up @@ -115,7 +115,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="00__introduction_8dox.xhtml">00_introduction.dox</a></li>
<li class="footer">Generated on Thu Nov 28 2019 16:53:07 for Compute Library by
<li class="footer">Generated on Wed Jan 22 2020 18:07:47 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions documentation/01__library_8dox.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.11</span>
&#160;<span id="projectnumber">19.11.1</span>
</div>
</td>
</tr>
Expand Down Expand Up @@ -115,7 +115,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="01__library_8dox.xhtml">01_library.dox</a></li>
<li class="footer">Generated on Thu Nov 28 2019 16:53:07 for Compute Library by
<li class="footer">Generated on Wed Jan 22 2020 18:07:47 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions documentation/02__tests_8dox.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.11</span>
&#160;<span id="projectnumber">19.11.1</span>
</div>
</td>
</tr>
Expand Down Expand Up @@ -117,7 +117,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="02__tests_8dox.xhtml">02_tests.dox</a></li>
<li class="footer">Generated on Thu Nov 28 2019 16:53:07 for Compute Library by
<li class="footer">Generated on Wed Jan 22 2020 18:07:47 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions documentation/03__scripts_8dox.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.11</span>
&#160;<span id="projectnumber">19.11.1</span>
</div>
</td>
</tr>
Expand Down Expand Up @@ -115,7 +115,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="03__scripts_8dox.xhtml">03_scripts.dox</a></li>
<li class="footer">Generated on Thu Nov 28 2019 16:53:07 for Compute Library by
<li class="footer">Generated on Wed Jan 22 2020 18:07:47 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions documentation/04__adding__operator_8dox.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.11</span>
&#160;<span id="projectnumber">19.11.1</span>
</div>
</td>
</tr>
Expand Down Expand Up @@ -115,7 +115,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="04__adding__operator_8dox.xhtml">04_adding_operator.dox</a></li>
<li class="footer">Generated on Thu Nov 28 2019 16:53:07 for Compute Library by
<li class="footer">Generated on Wed Jan 22 2020 18:07:47 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions documentation/05__contribution__guidelines_8dox.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.11</span>
&#160;<span id="projectnumber">19.11.1</span>
</div>
</td>
</tr>
Expand Down Expand Up @@ -115,7 +115,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="05__contribution__guidelines_8dox.xhtml">05_contribution_guidelines.dox</a></li>
<li class="footer">Generated on Thu Nov 28 2019 16:53:07 for Compute Library by
<li class="footer">Generated on Wed Jan 22 2020 18:07:47 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions documentation/06__functions__list_8dox.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.11</span>
&#160;<span id="projectnumber">19.11.1</span>
</div>
</td>
</tr>
Expand Down Expand Up @@ -115,7 +115,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="06__functions__list_8dox.xhtml">06_functions_list.dox</a></li>
<li class="footer">Generated on Thu Nov 28 2019 16:53:07 for Compute Library by
<li class="footer">Generated on Wed Jan 22 2020 18:07:47 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions documentation/07__errata_8dox.xhtml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
<img alt="Compute Library" src="https://raw.githubusercontent.com/ARM-software/ComputeLibrary/gh-pages/ACL_logo.png" style="max-width: 100%;margin-top: 15px;margin-left: 10px"/>
<td style="padding-left: 0.5em;">
<div id="projectname">
&#160;<span id="projectnumber">19.11</span>
&#160;<span id="projectnumber">19.11.1</span>
</div>
</td>
</tr>
Expand Down Expand Up @@ -115,7 +115,7 @@ Namespaces</h2></td></tr>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="07__errata_8dox.xhtml">07_errata.dox</a></li>
<li class="footer">Generated on Thu Nov 28 2019 16:53:07 for Compute Library by
<li class="footer">Generated on Wed Jan 22 2020 18:07:47 for Compute Library by
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.15 </li>
</ul>
Expand Down
Loading

0 comments on commit 7f09cf7

Please sign in to comment.