MCPcopy Create free account
hub / github.com/ARM-software/armnn / PreProcessing

Method PreProcessing

samples/KeywordSpotting/src/KeywordSpottingPipeline.cpp:21–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19
20
21std::vector<int8_t> KWSPipeline::PreProcessing(std::vector<float>& audio)
22{
23 return m_preProcessor->Invoke(audio.data(), audio.size(), m_executor->GetQuantizationOffset(),
24 m_executor->GetQuantizationScale());
25}
26
27void KWSPipeline::Inference(const std::vector<int8_t>& preprocessedData,
28 common::InferenceResults<int8_t>& result)

Callers 2

mainFunction · 0.45

Calls 5

InvokeMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45
GetQuantizationOffsetMethod · 0.45
GetQuantizationScaleMethod · 0.45

Tested by

no test coverage detected