aboutsummaryrefslogtreecommitdiff
path: root/tests/AssetsLibrary.h
diff options
context:
space:
mode:
authorAlex Gilday <alexander.gilday@arm.com>2018-03-21 13:54:09 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:49:16 +0000
commitc357c47be8a3f210f9eee9a05cc13f1051b036d3 (patch)
treea88ac857150da970a0862a3479b78c616d8aa1d3 /tests/AssetsLibrary.h
parent724079d6fce3bf6a05cd6c7b4884b132b27e9e90 (diff)
downloadComputeLibrary-c357c47be8a3f210f9eee9a05cc13f1051b036d3.tar.gz
COMPMID-1008: Fix Doxygen issues
Change-Id: Ie73d8771f85d1f5b059f3a56f1bbd73c98e94a38 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124723 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/AssetsLibrary.h')
-rw-r--r--tests/AssetsLibrary.h32
1 files changed, 29 insertions, 3 deletions
diff --git a/tests/AssetsLibrary.h b/tests/AssetsLibrary.h
index 7e2a042e9d..ae88824298 100644
--- a/tests/AssetsLibrary.h
+++ b/tests/AssetsLibrary.h
@@ -66,27 +66,39 @@ public:
*/
AssetsLibrary(std::string path, std::random_device::result_type seed);
- /** Path to assets directory used to initialise library. */
+ /** Path to assets directory used to initialise library.
+ *
+ * @return the path to the assets directory.
+ */
std::string path() const;
- /** Seed that is used to fill tensors with random values. */
+ /** Seed that is used to fill tensors with random values.
+ *
+ * @return the initial random seed.
+ */
std::random_device::result_type seed() const;
/** Provides a tensor shape for the specified image.
*
* @param[in] name Image file used to look up the raw tensor.
+ *
+ * @return the tensor shape for the specified image.
*/
TensorShape get_image_shape(const std::string &name);
- /** Provides a contant raw tensor for the specified image.
+ /** Provides a constant raw tensor for the specified image.
*
* @param[in] name Image file used to look up the raw tensor.
+ *
+ * @return a raw tensor for the specified image.
*/
const RawTensor &get(const std::string &name) const;
/** Provides a raw tensor for the specified image.
*
* @param[in] name Image file used to look up the raw tensor.
+ *
+ * @return a raw tensor for the specified image.
*/
RawTensor get(const std::string &name);
@@ -96,6 +108,8 @@ public:
* @param[in] name Image file used to initialise the tensor.
* @param[in] data_type Data type used to initialise the tensor.
* @param[in] num_channels Number of channels used to initialise the tensor.
+ *
+ * @return a raw tensor for the specified image.
*/
RawTensor get(const std::string &name, DataType data_type, int num_channels = 1) const;
@@ -104,6 +118,8 @@ public:
*
* @param[in] name Image file used to look up the raw tensor.
* @param[in] format Format used to look up the raw tensor.
+ *
+ * @return a raw tensor for the specified image.
*/
const RawTensor &get(const std::string &name, Format format) const;
@@ -112,6 +128,8 @@ public:
*
* @param[in] name Image file used to look up the raw tensor.
* @param[in] format Format used to look up the raw tensor.
+ *
+ * @return a raw tensor for the specified image.
*/
RawTensor get(const std::string &name, Format format);
@@ -123,6 +141,8 @@ public:
*
* @note The channel has to be unambiguous so that the format can be
* inferred automatically.
+ *
+ * @return a raw tensor for the specified image channel.
*/
const RawTensor &get(const std::string &name, Channel channel) const;
@@ -134,6 +154,8 @@ public:
*
* @note The channel has to be unambiguous so that the format can be
* inferred automatically.
+ *
+ * @return a raw tensor for the specified image channel.
*/
RawTensor get(const std::string &name, Channel channel);
@@ -143,6 +165,8 @@ public:
* @param[in] name Image file used to look up the raw tensor.
* @param[in] format Format used to look up the raw tensor.
* @param[in] channel Channel used to look up the raw tensor.
+ *
+ * @return a raw tensor for the specified image channel.
*/
const RawTensor &get(const std::string &name, Format format, Channel channel) const;
@@ -152,6 +176,8 @@ public:
* @param[in] name Image file used to look up the raw tensor.
* @param[in] format Format used to look up the raw tensor.
* @param[in] channel Channel used to look up the raw tensor.
+ *
+ * @return a raw tensor for the specified image channel.
*/
RawTensor get(const std::string &name, Format format, Channel channel);