12 explicit ShapeFixture(
const std::string& inputShape,
13 const std::string& outputShape,
14 const std::string& inputDataType,
15 const std::string& outputDataType)
20 "operator_codes": [ { "builtin_code": "SHAPE" } ], 24 "shape": )" + inputShape + R"(, 25 "type": )" + inputDataType + R"(, 27 "name": "inputTensor", 36 "shape": )" + outputShape + R"(, 37 "type": )" + outputDataType + R"(, 39 "name": "outputTensor", 55 "custom_options_format": "FLEXBUFFERS" 59 "buffers" : [ {}, {} ] 67 struct SimpleShapeFixture : ShapeFixture
69 SimpleShapeFixture() : ShapeFixture(
"[ 1, 3, 3, 1 ]",
77 RunTest<1, armnn::DataType::Signed32>(
79 {{
"inputTensor", { 1, 1, 1, 1, 1, 1, 1, 1, 1 }}},
80 {{
"outputTensor",{ 1, 3, 3, 1 }}});
TEST_CASE_FIXTURE(ClContextControlFixture, "CopyBetweenNeonAndGpu")
TEST_SUITE("OnnxParser_Shape")
void SetupSingleInputSingleOutput(const std::string &inputName, const std::string &outputName)