diff options
Diffstat (limited to 'arm_compute/core/ITensor.h')
-rw-r--r-- | arm_compute/core/ITensor.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arm_compute/core/ITensor.h b/arm_compute/core/ITensor.h index 501279eb25..aad8313261 100644 --- a/arm_compute/core/ITensor.h +++ b/arm_compute/core/ITensor.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2019 ARM Limited. + * Copyright (c) 2016-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -32,7 +32,7 @@ namespace arm_compute { class Coordinates; -/** Interface for NEON tensor */ +/** Interface for CPU tensor */ class ITensor { public: @@ -90,11 +90,13 @@ public: bool is_used() const; /** Marks a tensor as unused */ void mark_as_unused() const; + /** Marks a tensor as used */ + void mark_as_used() const; private: - mutable bool _is_used = { true }; /**< Flag that marks if the tensor is used or not */ + mutable bool _is_used = {true}; /**< Flag that marks if the tensor is used or not */ }; using IImage = ITensor; -} +} // namespace arm_compute #endif /*ARM_COMPUTE_ITENSOR_H */ |