From add078b7f9a658d52ee6e8fe6771ea0517c07674 Mon Sep 17 00:00:00 2001 From: mathad01 Date: Mon, 10 May 2021 16:51:20 +0100 Subject: IVGCVSW-5908 Update 21.05 Doxygen Documents Signed-off-by: mathad01 Change-Id: I95316d4fc5f9d10185492dc835bb2411c1daea7b --- 21.05/_is_layer_supported_test_impl_8hpp.xhtml | 319 +++++++++++++++++++++++++ 1 file changed, 319 insertions(+) create mode 100644 21.05/_is_layer_supported_test_impl_8hpp.xhtml (limited to '21.05/_is_layer_supported_test_impl_8hpp.xhtml') diff --git a/21.05/_is_layer_supported_test_impl_8hpp.xhtml b/21.05/_is_layer_supported_test_impl_8hpp.xhtml new file mode 100644 index 0000000000..bf2537cc09 --- /dev/null +++ b/21.05/_is_layer_supported_test_impl_8hpp.xhtml @@ -0,0 +1,319 @@ + + + + + + + + + + + + + +ArmNN: src/backends/backendsCommon/test/IsLayerSupportedTestImpl.hpp File Reference + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  21.05 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+ +
+
IsLayerSupportedTestImpl.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + +

+Macros

#define DECLARE_LAYER_POLICY_CUSTOM_PARAM(name, descType)
 
#define DECLARE_LAYER_POLICY_MAP_PARAM(name, descType)
 
#define DECLARE_LAYER_POLICY_1_PARAM(name)   DECLARE_LAYER_POLICY_CUSTOM_PARAM(name, void)
 
#define DECLARE_LAYER_POLICY_2_PARAM(name)   DECLARE_LAYER_POLICY_CUSTOM_PARAM(name, armnn::name##Descriptor)
 
#define DECLARE_LAYER_POLICY_EXCEPTION(name, descType)
 
#define DECLARE_LAYER_POLICY_EXCEPTION_1_PARAM(name)   DECLARE_LAYER_POLICY_EXCEPTION(name, void)
 
#define DECLARE_LAYER_POLICY_EXCEPTION_2_PARAM(name)   DECLARE_LAYER_POLICY_EXCEPTION(name, armnn::name##Descriptor)
 
+

Macro Definition Documentation

+ +

◆ DECLARE_LAYER_POLICY_1_PARAM

+ +
+
+ + + + + + + + +
#define DECLARE_LAYER_POLICY_1_PARAM( name)   DECLARE_LAYER_POLICY_CUSTOM_PARAM(name, void)
+
+ +

Definition at line 527 of file IsLayerSupportedTestImpl.hpp.

+ +
+
+ +

◆ DECLARE_LAYER_POLICY_2_PARAM

+ +
+
+ + + + + + + + +
#define DECLARE_LAYER_POLICY_2_PARAM( name)   DECLARE_LAYER_POLICY_CUSTOM_PARAM(name, armnn::name##Descriptor)
+
+ +

Definition at line 531 of file IsLayerSupportedTestImpl.hpp.

+ +
+
+ +

◆ DECLARE_LAYER_POLICY_CUSTOM_PARAM

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define DECLARE_LAYER_POLICY_CUSTOM_PARAM( name,
 descType 
)
+
+Value:
template<armnn::DataType DataType> \
struct LayerTypePolicy<armnn::LayerType::name, DataType> \
{ \
using Type = armnn::name##Layer; \
using Desc = descType; \
using QueueDesc = armnn::name##QueueDescriptor; \
constexpr static const char* NameStr = #name; \
constexpr static const bool IsException = false; \
\
static std::unique_ptr<armnn::IWorkload> MakeDummyWorkload(armnn::IWorkloadFactory *factory, \
unsigned int nIn, unsigned int nOut) \
{ \
QueueDesc desc; \
armnn::WorkloadInfo info = MakeDummyWorkloadInfo<DataType>(nIn, nOut); \
return factory->Create##name(desc, info); \
} \
};
+ + +
+

Definition at line 485 of file IsLayerSupportedTestImpl.hpp.

+ +
+
+ +

◆ DECLARE_LAYER_POLICY_EXCEPTION

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define DECLARE_LAYER_POLICY_EXCEPTION( name,
 descType 
)
+
+Value:
template<armnn::DataType DataType> \
struct LayerTypePolicy<armnn::LayerType::name, DataType> \
{ \
using Type = armnn::name##Layer; \
using Desc = descType; \
constexpr static const char* NameStr = #name; \
constexpr static const bool IsException = true; \
\
static std::unique_ptr<armnn::IWorkload> MakeDummyWorkload(armnn::IWorkloadFactory *factory, \
unsigned int nIn, unsigned int nOut) \
{ \
IgnoreUnused(factory, nIn, nOut); \
return std::unique_ptr<armnn::IWorkload>(); \
} \
};
+ +
+

Definition at line 534 of file IsLayerSupportedTestImpl.hpp.

+ +
+
+ +

◆ DECLARE_LAYER_POLICY_EXCEPTION_1_PARAM

+ +
+
+ + + + + + + + +
#define DECLARE_LAYER_POLICY_EXCEPTION_1_PARAM( name)   DECLARE_LAYER_POLICY_EXCEPTION(name, void)
+
+ +

Definition at line 551 of file IsLayerSupportedTestImpl.hpp.

+ +
+
+ +

◆ DECLARE_LAYER_POLICY_EXCEPTION_2_PARAM

+ +
+
+ + + + + + + + +
#define DECLARE_LAYER_POLICY_EXCEPTION_2_PARAM( name)   DECLARE_LAYER_POLICY_EXCEPTION(name, armnn::name##Descriptor)
+
+ +

Definition at line 552 of file IsLayerSupportedTestImpl.hpp.

+ +
+
+ +

◆ DECLARE_LAYER_POLICY_MAP_PARAM

+ +
+
+ + + + + + + + + + + + + + + + + + +
#define DECLARE_LAYER_POLICY_MAP_PARAM( name,
 descType 
)
+
+Value:
template<armnn::DataType DataType> \
struct LayerTypePolicy<armnn::LayerType::name, DataType> \
{ \
using Type = armnn::name##Layer; \
using Desc = descType; \
using QueueDesc = armnn::name##QueueDescriptor; \
using Workload = armnn::name##Workload; \
constexpr static const char* NameStr = #name; \
constexpr static const bool IsException = false; \
\
static std::unique_ptr<armnn::IWorkload> MakeDummyWorkload(armnn::IWorkloadFactory* factory, \
unsigned int nIn, unsigned int nOut) \
{ \
IgnoreUnused(factory); \
QueueDesc desc; \
armnn::WorkloadInfo info = MakeDummyWorkloadInfo<DataType>(nIn, nOut); \
return std::make_unique<armnn::name##Workload>(desc, info); \
} \
};
+ + +
+

Definition at line 504 of file IsLayerSupportedTestImpl.hpp.

+ +
+
+
+
+ + + + -- cgit v1.2.1