public:
/** Access the KernelLibrary singleton.
- * This method has been deprecated and will be removed in the next release.
+ * This method has been deprecated and will be removed in future releases
* @return The KernelLibrary instance.
*/
static CLKernelLibrary &get();
/*
- * Copyright (c) 2017-2019 Arm Limited.
+ * Copyright (c) 2017-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
/** Prevent instances of this class from being copied */
const GCKernelLibrary &operator=(const GCKernelLibrary &) = delete;
/** Get the static instance of @ref GCKernelLibrary.
- * This method has been deprecated and will be removed in the next release.
+ * This method has been deprecated and will be removed in future releases.
* @return The static instance of GCKernelLibrary.
*/
static GCKernelLibrary &get();
/*
- * Copyright (c) 2017-2020 Arm Limited.
+ * Copyright (c) 2017-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
}
/** Calculate the matrix multiplication output shape of two tensors
- *
- * @note Deprecated. Remove when GEMMReshapeInfo is not used anymore by any other kernels
*
* @param[in] input0 First input tensor info
* @param[in] input1 Second input tensor info
/*
- * Copyright (c) 2016-2020 Arm Limited.
+ * Copyright (c) 2016-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
* @param[in] ctx (Optional) Pointer to a @ref CLRuntimeContext.
* If nullptr is passed in, the legacy api using the singletons will be used. Otherwise the memory for the
* tensor will allocate on the context passed in.
- * The singletons legacy api has been deprecated and will be removed.
+ * The singletons legacy api has been deprecated and will be removed in future releases.
*/
CLTensor(IRuntimeContext *ctx = nullptr);
/*
- * Copyright (c) 2016-2020 Arm Limited.
+ * Copyright (c) 2016-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
class CLThreshold : public ICLSimpleFunction
{
public:
- /** Initialise the function's source, destination, thresholds and threshold type
- *
- * @param[in] input First tensor input. Data types supported: U8.
- * @param[out] output Output tensor. Data types supported: U8.
- * @param[in] threshold Threshold. If upper threshold is specified, this will be used as the lower threshold.
- * @param[in] false_value Value to assign when the condition is false.
- * @param[in] true_value value to assign when the condition is true.
- * @param[in] type Thresholding type. Can either be BINARY or RANGE.
- * @param[in] upper Upper threshold. Only used with RANGE thresholding
- */
- ARM_COMPUTE_DEPRECATED_REL(20.08)
- void configure(const ICLTensor *input, ICLTensor *output, uint8_t threshold,
- uint8_t false_value = 0, uint8_t true_value = 0,
- ThresholdType type = ThresholdType::BINARY, uint8_t upper = 0);
/** Initialise the function's source, destination, thresholds and threshold type
*
* @param[in] input First tensor input. Data types supported: U8.
/** Access the scheduler singleton
*
- * @note this method has been deprecated and will be remover in the upcoming releases
+ * @note this method has been deprecated and will be remover in future releases
* @return The scheduler
*/
static CPPScheduler &get();
/*
- * Copyright (c) 2016-2020 Arm Limited.
+ * Copyright (c) 2016-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
class GCScale : public IGCSimpleFunction
{
public:
- /** Initialize the function's source, destination, interpolation type and border_mode.
- *
- * @param[in,out] input Source tensor. Data types supported: F16. (Written to only for @p border_mode != UNDEFINED)
- * @param[out] output Destination tensor. Data types supported: Same as @p input
- * All but the lowest two dimensions must be the same size as in the input tensor, i.e. scaling is only performed within the XY-plane.
- * @param[in] policy The interpolation type.
- * @param[in] border_mode Strategy to use for borders.
- * @param[in] constant_border_value (Optional) Constant value to use for borders if border_mode is set to CONSTANT.
- * @param[in] sampling_policy (Optional) Sampling policy used by the interpolation. Defaults to @ref SamplingPolicy::CENTER
- * @param[in] use_padding (Optional) Is padding in use or not. Defaults to true.
- * @param[in] align_corners (Optional) Align corners of input and output, only affecting bilinear policy with TOP_LEFT sampling policy. Defaults to false.
- */
- ARM_COMPUTE_DEPRECATED_REL(20.08)
- void configure(IGCTensor *input, IGCTensor *output, InterpolationPolicy policy, BorderMode border_mode, PixelValue constant_border_value = PixelValue(),
- SamplingPolicy sampling_policy = SamplingPolicy::CENTER, bool use_padding = true, bool align_corners = false);
/** Initialize the function's source, destination, interpolation type and border_mode.
*
* @param[in,out] input Source tensor. Data types supported: F16. (Written to only for @p border_mode != UNDEFINED)
/*
- * Copyright (c) 2016-2020 Arm Limited.
+ * Copyright (c) 2016-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
class NEThreshold : public INESimpleFunctionNoBorder
{
public:
- /** Initialise the function's source, destination, thresholds and threshold type
- *
- * @param[in] input First tensor input. Data type supported: U8.
- * @param[out] output Output tensor. Data type supported: U8.
- * @param[in] threshold Threshold. If upper threshold is specified, this will be used as the lower threshold
- * @param[in] false_value Value to assign when the condition is false
- * @param[in] true_value value to assign when the condition is true
- * @param[in] type Thresholding type. Can either be BINARY or RANGE.
- * @param[in] upper Upper threshold. Only used with RANGE thresholding
- */
- ARM_COMPUTE_DEPRECATED_REL(20.08)
- void configure(const ITensor *input, ITensor *output, uint8_t threshold, uint8_t false_value = 0, uint8_t true_value = 0,
- ThresholdType type = ThresholdType::BINARY, uint8_t upper = 0);
/** Initialise the function's source, destination, thresholds and threshold type
*
* @param[in] input First tensor input. Data type supported: U8.
/*
- * Copyright (c) 2016-2020 Arm Limited.
+ * Copyright (c) 2016-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
/** Basic function to run @ref NEWarpAffineKernel
*
- * @deprecated This function is deprecated and will be removed in release 20.02
+ * @deprecated This function is deprecated and will be removed in release 21.05
*
*/
class NEWarpAffine : public INESimpleFunction
- @ref CLBitwiseKernel
- ClFloorKernel
- @ref CLTransposeKernel
+ - Deprecate functions in CLTuner:
+ - add_lws_to_table
+ - import_lws_table
+ - lws_table
- Remove functions:
- NELocallyConnectedLayer / CLLocallyConnectedLayer
- NEIm2Col
/*
- * Copyright (c) 2016-2020 Arm Limited.
+ * Copyright (c) 2016-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
namespace arm_compute
{
-void CLThreshold::configure(const ICLTensor *input, ICLTensor *output, uint8_t threshold, uint8_t false_value, uint8_t true_value, ThresholdType type, uint8_t upper)
-{
- configure(CLKernelLibrary::get().get_compile_context(), input, output, ThresholdKernelInfo(threshold, false_value, true_value, type, upper));
-}
-
void CLThreshold::configure(const ICLTensor *input, ICLTensor *output, const ThresholdKernelInfo &info)
{
configure(CLKernelLibrary::get().get_compile_context(), input, output, info);
};
/*
- * This singleton has been deprecated and will be removed in the next release
+ * This singleton has been deprecated and will be removed in future releases
*/
CPPScheduler &CPPScheduler::get()
{
/*
- * Copyright (c) 2016-2020 Arm Limited.
+ * Copyright (c) 2016-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
namespace arm_compute
{
-void GCScale::configure(IGCTensor *input, IGCTensor *output, InterpolationPolicy policy, BorderMode border_mode, PixelValue constant_border_value, SamplingPolicy sampling_policy, bool use_padding,
- bool align_corners)
-{
- configure(input, output, ScaleKernelInfo{ policy, border_mode, constant_border_value, sampling_policy, use_padding, align_corners });
-}
-
void GCScale::configure(IGCTensor *input, IGCTensor *output, const ScaleKernelInfo &info)
{
auto k = std::make_unique<GCScaleKernel>();
/*
- * Copyright (c) 2016-2020 Arm Limited.
+ * Copyright (c) 2016-2021 Arm Limited.
*
* SPDX-License-Identifier: MIT
*
namespace arm_compute
{
-void NEThreshold::configure(const ITensor *input, ITensor *output, uint8_t threshold, uint8_t false_value, uint8_t true_value, ThresholdType type, uint8_t upper)
-{
- configure(input, output, ThresholdKernelInfo(threshold, false_value, true_value, type, upper));
-}
-
void NEThreshold::configure(const ITensor *input, ITensor *output, const ThresholdKernelInfo &info)
{
auto k = std::make_unique<NEThresholdKernel>();
auto gles_ctx = std::make_unique<GCRuntimeContext>();
ARM_COMPUTE_ERROR_ON(gles_ctx == nullptr);
{
- // Legacy singletons API: This has been deprecated and the singletons will be removed
+ // Legacy singletons API: This has been deprecated and the singletons will be removed in future releases
// Setup singleton for backward compatibility
GCScheduler::get().default_init();
}