diff options
Diffstat (limited to 'arm_compute/runtime/ITransformWeights.h')
-rw-r--r-- | arm_compute/runtime/ITransformWeights.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/arm_compute/runtime/ITransformWeights.h b/arm_compute/runtime/ITransformWeights.h index 9392be05e5..08671bbe3c 100644 --- a/arm_compute/runtime/ITransformWeights.h +++ b/arm_compute/runtime/ITransformWeights.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019-2020 Arm Limited. + * Copyright (c) 2019-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -37,9 +37,8 @@ class ITensor; * to generate a unique id. We use the following conversion using an unsigned 32bit value: * * Lower two bits store the target: - * 00 -> NEON + * 00 -> Neon * 01 -> CL - * 10 -> GLES * 11 -> Unused * * Five bits store the id of the reshape function: @@ -73,7 +72,7 @@ public: /** Allow instances of this class to be moved */ ITransformWeights &operator=(ITransformWeights &&other) { - if(this != &other) + if (this != &other) { _num_refcount = other._num_refcount.load(); _reshape_run = other._reshape_run; @@ -120,9 +119,9 @@ public: } protected: - std::atomic<int32_t> _num_refcount{ 0 }; - bool _reshape_run{ false }; + std::atomic<int32_t> _num_refcount{0}; + bool _reshape_run{false}; }; -} // arm_compute +} // namespace arm_compute #endif /*ARM_COMPUTE_ITRANSFORMWEIGHTS_H */ |