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

Function ValidateFloorOperator

delegate/classic/src/SharedFunctions.cpp:18–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16{
17
18TfLiteStatus ValidateFloorOperator(DelegateData& delegateData,
19 TfLiteContext* tfLiteContext,
20 const armnn::TensorInfo& inputTensorInfo,
21 const armnn::TensorInfo& outputTensorInfo)
22{
23 bool isSupported = false;
24 auto validateFunc = [&](const armnn::TensorInfo& outInfo, bool& isSupported)
25 {
26 FORWARD_LAYER_SUPPORT_FUNC("FLOOR",
27 tfLiteContext,
28 IsFloorSupported,
29 delegateData.m_Backends,
30 isSupported,
31 armnn::BackendId(),
32 inputTensorInfo,
33 outInfo);
34 };
35 validateFunc(outputTensorInfo, isSupported);
36 return isSupported ? kTfLiteOk : kTfLiteError;
37}
38
39TfLiteStatus ValidateFusedActivationOperator(DelegateData& delegateData,
40 TfLiteContext* tfLiteContext,

Callers 2

VisitFloorOperatorFunction · 0.70
ValidateFloorDivOperatorFunction · 0.70

Calls 1

BackendIdClass · 0.50

Tested by

no test coverage detected