#include <armnn/BackendId.hpp>
#include <vector>
Go to the source code of this file.
◆ RunSoftmaxProfilerJsonPrinterTest()
void RunSoftmaxProfilerJsonPrinterTest |
( |
const std::vector< armnn::BackendId > & |
backends | ) |
|
Definition at line 246 of file JsonPrinterTestImpl.cpp.
References armnn::CpuAcc, GetSoftmaxProfilerJson(), armnn::GpuAcc, and ValidateProfilerJson().
Referenced by TEST_CASE_FIXTURE(), and TEST_SUITE().
257 CHECK(result.find(
"OpenClKernelTimer/: softmax_layer_max_shift_exp_sum_quantized_serial GWS[,,]")
258 != std::string::npos);
262 CHECK(result.find(
"NeonKernelTimer") != std::string::npos);
264 bool softmaxCheck = ((result.find(
"softmax") != std::string::npos) ||
265 (result.find(
"Softmax") != std::string::npos) ||
266 (result.find(
"SoftMax") != std::string::npos));
std::string GetSoftmaxProfilerJson(const std::vector< armnn::BackendId > &backends)
GPU Execution: OpenCL: ArmCompute.
CPU Execution: NEON: ArmCompute.
void ValidateProfilerJson(std::string &result)