From 7bfd38a721360183f3392f9ab35db18a0dd7fef8 Mon Sep 17 00:00:00 2001 From: Nikhil Raj Date: Fri, 19 Aug 2022 15:23:36 +0100 Subject: Update Doxygen for 22.08 Release Signed-off-by: Nikhil Raj Change-Id: I4789fe868e0492839be1482e5cee3642ed90d756 --- 22.08/_leaky_relu_8cpp_source.xhtml | 118 ++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 22.08/_leaky_relu_8cpp_source.xhtml (limited to '22.08/_leaky_relu_8cpp_source.xhtml') diff --git a/22.08/_leaky_relu_8cpp_source.xhtml b/22.08/_leaky_relu_8cpp_source.xhtml new file mode 100644 index 0000000000..6a366e964d --- /dev/null +++ b/22.08/_leaky_relu_8cpp_source.xhtml @@ -0,0 +1,118 @@ + + + + + + + + + + + + + +ArmNN: src/armnnTfLiteParser/test/LeakyRelu.cpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  22.08 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
LeakyRelu.cpp
+
+
+Go to the documentation of this file.
1 //
2 // Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
7 
8 
9 TEST_SUITE("TensorflowLiteParser_LeakyRelu")
10 {
11 struct LeakyReluFixture : public ParserFlatbuffersFixture
12 {
13  explicit LeakyReluFixture()
14  {
15  m_JsonString = R"(
16  {
17  "version": 3,
18  "operator_codes": [ { "builtin_code": "LEAKY_RELU" } ],
19  "subgraphs": [ {
20  "tensors": [
21  {
22  "shape": [ 1, 7 ],
23  "type": "FLOAT32",
24  "buffer": 0,
25  "name": "inputTensor",
26  "quantization": {
27  "min": [ 0.0 ],
28  "max": [ 255.0 ],
29  "scale": [ 1.0 ],
30  "zero_point": [ 0 ],
31  }
32  },
33  {
34  "shape": [ 1, 7 ],
35  "type": "FLOAT32",
36  "buffer": 1,
37  "name": "outputTensor",
38  "quantization": {
39  "min": [ 0.0 ],
40  "max": [ 255.0 ],
41  "scale": [ 1.0 ],
42  "zero_point": [ 0 ],
43  }
44  }
45  ],
46  "inputs": [ 0 ],
47  "outputs": [ 1 ],
48  "operators": [
49  {
50  "opcode_index": 0,
51  "inputs": [ 0 ],
52  "outputs": [ 1 ],
53  "builtin_options_type": "LeakyReluOptions",
54  "builtin_options": {
55  "alpha": 0.01
56  },
57  "custom_options_format": "FLEXBUFFERS"
58  }
59  ],
60  } ],
61  "buffers" : [ {}, {} ]
62  }
63  )";
64  SetupSingleInputSingleOutput("inputTensor", "outputTensor");
65  }
66 };
67 
68 TEST_CASE_FIXTURE(LeakyReluFixture, "ParseLeakyRelu")
69 {
70  RunTest<2, armnn::DataType::Float32>(0,
71  {{ "inputTensor", { -0.1f, -0.2f, -0.3f, -0.4f, 0.1f, 0.2f, 0.3f }}},
72  {{ "outputTensor", { -0.001f, -0.002f, -0.003f, -0.004f, 0.1f, 0.2f, 0.3f }}});
73 }
74 
75 }
+
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")
+ +
void SetupSingleInputSingleOutput(const std::string &inputName, const std::string &outputName)
+
TEST_SUITE("TensorflowLiteParser_LeakyRelu")
Definition: LeakyRelu.cpp:9
+
+
+ + + + -- cgit v1.2.1