From 711c2c4820632ca67bb15c901cf9ab1ffaa54f39 Mon Sep 17 00:00:00 2001
From: Olivier BICHLER <olivier.bichler@cea.fr>
Date: Thu, 4 Jan 2024 11:28:02 +0100
Subject: [PATCH] Fixed doc issue

---
 include/aidge/backend/TensorImpl.hpp | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/include/aidge/backend/TensorImpl.hpp b/include/aidge/backend/TensorImpl.hpp
index 34fcd6a33..2345fb0d9 100644
--- a/include/aidge/backend/TensorImpl.hpp
+++ b/include/aidge/backend/TensorImpl.hpp
@@ -44,7 +44,7 @@ public:
     /**
      * Copy data from the same device.
      * @param src Pointer on current implementation device.
-     * @param length Number of bytes to copy.
+     * @param length Number of elements to copy.
     */
     virtual void copy(const void *src, NbElts_t length) = 0;
 
@@ -52,7 +52,7 @@ public:
      * Copy-convert data from the same device.
      * @param srcDt Source data type.
      * @param src Pointer on current implementation device.
-     * @param length Number of bytes to copy.
+     * @param length Number of elements to copy.
     */
     virtual void copyCast(const void *src, NbElts_t length, const DataType srcDt) = 0;
 
@@ -60,21 +60,21 @@ public:
      * Copy data from an other device on the same backend.
      * @param device (backend, device) pair to copy from. The backend must match current implementation backend.
      * @param src Pointer on current implementation backend.
-     * @param length Number of bytes to copy.
+     * @param length Number of elements to copy.
     */
     virtual void copyFromDevice(const void *src, NbElts_t length, const std::pair<std::string, int>& device) = 0;
 
     /**
      * Copy data from host.
      * @param src Host pointer to copy from.
-     * @param length Number of bytes to copy.
+     * @param length Number of elements to copy.
     */
     virtual void copyFromHost(const void *src, NbElts_t length) = 0;
 
     /**
      * Copy data to host.
      * @param src Host pointer to copy to.
-     * @param length Number of bytes to copy.
+     * @param length Number of elements to copy.
     */
     virtual void copyToHost(void *dst, NbElts_t length) const = 0;
 
-- 
GitLab