• Home
  • Raw
  • Download

Lines Matching refs:TestData

29 struct TestData  struct
60 const armnn::TensorShape TestData::s_BoxEncodingsShape = { 1, 6, 4 };
61 const armnn::TensorShape TestData::s_ScoresShape = { 1, 6, 3 };
62 const armnn::TensorShape TestData::s_AnchorsShape = { 6, 4 };
64 const QuantData TestData::s_BoxEncodingsQuantData = { 1.00f, 1 };
65 const QuantData TestData::s_ScoresQuantData = { 0.01f, 0 };
66 const QuantData TestData::s_AnchorsQuantData = { 0.50f, 0 };
68 const FloatData TestData::s_BoxEncodings =
78 const FloatData TestData::s_Scores =
88 const FloatData TestData::s_Anchors =
263 armnn::TensorInfo(TestData::s_BoxEncodingsShape, armnn::DataType::Float32), in DetectionPostProcessRegularNmsFloatTest()
264 armnn::TensorInfo(TestData::s_ScoresShape, armnn::DataType::Float32), in DetectionPostProcessRegularNmsFloatTest()
265 armnn::TensorInfo(TestData::s_AnchorsShape, armnn::DataType::Float32), in DetectionPostProcessRegularNmsFloatTest()
266 TestData::s_BoxEncodings, in DetectionPostProcessRegularNmsFloatTest()
267 TestData::s_Scores, in DetectionPostProcessRegularNmsFloatTest()
268 TestData::s_Anchors, in DetectionPostProcessRegularNmsFloatTest()
281 armnn::TensorInfo boxEncodingsInfo(TestData::s_BoxEncodingsShape, QuantizedType); in DetectionPostProcessRegularNmsQuantizedTest()
282 armnn::TensorInfo scoresInfo(TestData::s_ScoresShape, QuantizedType); in DetectionPostProcessRegularNmsQuantizedTest()
283 armnn::TensorInfo anchorsInfo(TestData::s_AnchorsShape, QuantizedType); in DetectionPostProcessRegularNmsQuantizedTest()
285 boxEncodingsInfo.SetQuantizationScale(TestData::s_BoxEncodingsQuantData.first); in DetectionPostProcessRegularNmsQuantizedTest()
286 boxEncodingsInfo.SetQuantizationOffset(TestData::s_BoxEncodingsQuantData.second); in DetectionPostProcessRegularNmsQuantizedTest()
288 scoresInfo.SetQuantizationScale(TestData::s_ScoresQuantData.first); in DetectionPostProcessRegularNmsQuantizedTest()
289 scoresInfo.SetQuantizationOffset(TestData::s_ScoresQuantData.second); in DetectionPostProcessRegularNmsQuantizedTest()
291 anchorsInfo.SetQuantizationScale(TestData::s_AnchorsQuantData.first); in DetectionPostProcessRegularNmsQuantizedTest()
292 anchorsInfo.SetQuantizationOffset(TestData::s_BoxEncodingsQuantData.second); in DetectionPostProcessRegularNmsQuantizedTest()
294 std::vector<RawType> boxEncodingsData(TestData::s_BoxEncodingsShape.GetNumElements()); in DetectionPostProcessRegularNmsQuantizedTest()
296 TestData::s_BoxEncodings.data(), in DetectionPostProcessRegularNmsQuantizedTest()
299 std::vector<RawType> scoresData(TestData::s_ScoresShape.GetNumElements()); in DetectionPostProcessRegularNmsQuantizedTest()
301 TestData::s_Scores.data(), in DetectionPostProcessRegularNmsQuantizedTest()
304 std::vector<RawType> anchorsData(TestData::s_AnchorsShape.GetNumElements()); in DetectionPostProcessRegularNmsQuantizedTest()
306 TestData::s_Anchors.data(), in DetectionPostProcessRegularNmsQuantizedTest()
327 armnn::TensorInfo(TestData::s_BoxEncodingsShape, armnn::DataType::Float32), in DetectionPostProcessFastNmsFloatTest()
328 armnn::TensorInfo(TestData::s_ScoresShape, armnn::DataType::Float32), in DetectionPostProcessFastNmsFloatTest()
329 armnn::TensorInfo(TestData::s_AnchorsShape, armnn::DataType::Float32), in DetectionPostProcessFastNmsFloatTest()
330 TestData::s_BoxEncodings, in DetectionPostProcessFastNmsFloatTest()
331 TestData::s_Scores, in DetectionPostProcessFastNmsFloatTest()
332 TestData::s_Anchors, in DetectionPostProcessFastNmsFloatTest()
345 armnn::TensorInfo boxEncodingsInfo(TestData::s_BoxEncodingsShape, QuantizedType); in DetectionPostProcessFastNmsQuantizedTest()
346 armnn::TensorInfo scoresInfo(TestData::s_ScoresShape, QuantizedType); in DetectionPostProcessFastNmsQuantizedTest()
347 armnn::TensorInfo anchorsInfo(TestData::s_AnchorsShape, QuantizedType); in DetectionPostProcessFastNmsQuantizedTest()
349 boxEncodingsInfo.SetQuantizationScale(TestData::s_BoxEncodingsQuantData.first); in DetectionPostProcessFastNmsQuantizedTest()
350 boxEncodingsInfo.SetQuantizationOffset(TestData::s_BoxEncodingsQuantData.second); in DetectionPostProcessFastNmsQuantizedTest()
352 scoresInfo.SetQuantizationScale(TestData::s_ScoresQuantData.first); in DetectionPostProcessFastNmsQuantizedTest()
353 scoresInfo.SetQuantizationOffset(TestData::s_ScoresQuantData.second); in DetectionPostProcessFastNmsQuantizedTest()
355 anchorsInfo.SetQuantizationScale(TestData::s_AnchorsQuantData.first); in DetectionPostProcessFastNmsQuantizedTest()
356 anchorsInfo.SetQuantizationOffset(TestData::s_BoxEncodingsQuantData.second); in DetectionPostProcessFastNmsQuantizedTest()
358 std::vector<RawType> boxEncodingsData(TestData::s_BoxEncodingsShape.GetNumElements()); in DetectionPostProcessFastNmsQuantizedTest()
360 TestData::s_BoxEncodings.data(), in DetectionPostProcessFastNmsQuantizedTest()
363 std::vector<RawType> scoresData(TestData::s_ScoresShape.GetNumElements()); in DetectionPostProcessFastNmsQuantizedTest()
365 TestData::s_Scores.data(), in DetectionPostProcessFastNmsQuantizedTest()
368 std::vector<RawType> anchorsData(TestData::s_AnchorsShape.GetNumElements()); in DetectionPostProcessFastNmsQuantizedTest()
370 TestData::s_Anchors.data(), in DetectionPostProcessFastNmsQuantizedTest()