diff options
author | Nikhil Raj <nikhil.raj@arm.com> | 2021-04-19 16:59:48 +0100 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2021-04-27 17:37:11 +0100 |
commit | 5d955cf70ae0c5558d4f431f0fc6bd4552cd43a5 (patch) | |
tree | 4fb59200899808b8b008d6f48322d0d799b8b631 /src/armnnTfParser/test/TestMultiInputsOutputs.cpp | |
parent | 4a621c43174b6bdd9dc0bff839b245bc2139d6a6 (diff) | |
download | armnn-5d955cf70ae0c5558d4f431f0fc6bd4552cd43a5.tar.gz |
IVGCVSW-5721 Remove the Tensorflow Parser from ArmNN
Signed-off-by: Nikhil Raj <nikhil.raj@arm.com>
Change-Id: Ida37d3ee3a1af0c75aa905199bd861726c646846
Diffstat (limited to 'src/armnnTfParser/test/TestMultiInputsOutputs.cpp')
-rw-r--r-- | src/armnnTfParser/test/TestMultiInputsOutputs.cpp | 92 |
1 files changed, 0 insertions, 92 deletions
diff --git a/src/armnnTfParser/test/TestMultiInputsOutputs.cpp b/src/armnnTfParser/test/TestMultiInputsOutputs.cpp deleted file mode 100644 index a6d18b374c..0000000000 --- a/src/armnnTfParser/test/TestMultiInputsOutputs.cpp +++ /dev/null @@ -1,92 +0,0 @@ -// -// Copyright © 2017 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#include <boost/test/unit_test.hpp> -#include "armnnTfParser/ITfParser.hpp" -#include "ParserPrototxtFixture.hpp" - -BOOST_AUTO_TEST_SUITE(TensorflowParser) - -struct MultiInputsOutputsFixture : public armnnUtils::ParserPrototxtFixture<armnnTfParser::ITfParser> -{ - MultiInputsOutputsFixture() - { - // Input1 = tf.placeholder(tf.float32, shape=[], name = "input1") - // Input2 = tf.placeholder(tf.float32, shape = [], name = "input2") - // Add1 = tf.add(input1, input2, name = "add1") - // Add2 = tf.add(input1, input2, name = "add2") - m_Prototext = R"( -node { - name: "input1" - op: "Placeholder" - attr { - key: "dtype" - value { - type: DT_FLOAT - } - } - attr { - key: "shape" - value { - shape { - } - } - } -} -node { - name: "input2" - op: "Placeholder" - attr { - key: "dtype" - value { - type: DT_FLOAT - } - } - attr { - key: "shape" - value { - shape { - } - } - } -} -node { - name: "add1" - op: "Add" - input: "input1" - input: "input2" - attr { - key: "T" - value { - type: DT_FLOAT - } - } -} -node { - name: "add2" - op: "Add" - input: "input1" - input: "input2" - attr { - key: "T" - value { - type: DT_FLOAT - } - } -} - )"; - Setup({ { "input1", { 1 } }, - { "input2", { 1 } } }, - { "add1", "add2" }); - } -}; - -BOOST_FIXTURE_TEST_CASE(MultiInputsOutputs, MultiInputsOutputsFixture) -{ - RunTest<1>({ { "input1", {12.0f} }, { "input2", { 13.0f } } }, - { { "add1", { 25.0f } }, { "add2", { 25.0f } } }); -} - -BOOST_AUTO_TEST_SUITE_END() |