Home
last modified time | relevance | path

Searched refs:kNumInputs (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/ml/nn/common/operations/
DLocalResponseNormalization.cpp35 constexpr uint32_t kNumInputs = 6; variable
123 int32_t axis = context->getNumInputs() == kNumInputs in executeTyped()
137 NN_RET_CHECK(context->getNumInputs() == kNumInputs || in validate()
138 context->getNumInputs() == kNumInputs - 1); in validate()
162 if (context->getNumInputs() == kNumInputs) { in validate()
180 int32_t axis = context->getNumInputs() == kNumInputs in prepare()
DResizeImageOps.cpp37 constexpr uint32_t kNumInputs = 4; variable
177 NN_RET_CHECK(numInputs >= kNumInputs - 1 && numInputs <= kNumInputs + kNumOptionalInputs); in validate()
179 NN_RET_CHECK(numInputs >= kNumInputs && numInputs <= kNumInputs + kNumOptionalInputs); in validate()
209 if (numInputs < kNumInputs) { in validate()
211 } else if (numInputs == kNumInputs) { in validate()
DLogicalNot.cpp27 constexpr uint32_t kNumInputs = 1; variable
48 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DRank.cpp28 constexpr uint32_t kNumInputs = 1; variable
35 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DElementwise.cpp30 constexpr uint32_t kNumInputs = 1; variable
89 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
101 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validateAbs()
114 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validateFloor()
DL2Normalization.cpp36 constexpr uint32_t kNumInputs = 2; variable
203 NN_RET_CHECK(context->getNumInputs() == kNumInputs || in validate()
204 context->getNumInputs() == kNumInputs - 1); in validate()
218 if (context->getNumInputs() == kNumInputs) { in validate()
235 int32_t axis = context->getNumInputs() == kNumInputs in prepare()
258 int32_t axis = context->getNumInputs() == kNumInputs in execute()
DElu.cpp35 constexpr uint32_t kNumInputs = 2; variable
59 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DNeg.cpp32 constexpr uint32_t kNumInputs = 1; variable
54 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DSoftmax.cpp38 constexpr uint32_t kNumInputs = 3; variable
232 NN_RET_CHECK(context->getNumInputs() == kNumInputs || in validate()
233 context->getNumInputs() == kNumInputs - 1); in validate()
253 if (context->getNumInputs() == kNumInputs) { in validate()
280 int32_t axis = (context->getNumInputs() == kNumInputs) in execute()
DFill.cpp27 constexpr uint32_t kNumInputs = 2; variable
68 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DReduce.cpp34 constexpr uint32_t kNumInputs = 3; variable
73 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validateProdSum()
90 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validateMaxMin()
113 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validateLogical()
DLogicalAndOr.cpp28 constexpr uint32_t kNumInputs = 2; variable
64 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DSqueeze.cpp32 constexpr uint32_t kNumInputs = 2; variable
42 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DQuantize.cpp32 constexpr uint32_t kNumInputs = 1; variable
70 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DLogSoftmax.cpp34 constexpr uint32_t kNumInputs = 3; variable
75 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DSelect.cpp28 constexpr uint32_t kNumInputs = 3; variable
73 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DTopK_V2.cpp31 constexpr uint32_t kNumInputs = 2; variable
80 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DChannelShuffle.cpp32 constexpr uint32_t kNumInputs = 3; variable
64 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DTranspose.cpp36 constexpr uint32_t kNumInputs = 2; variable
77 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DDequantize.cpp28 constexpr uint32_t kNumInputs = 1; variable
80 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DInstanceNormalization.cpp33 constexpr uint32_t kNumInputs = 5; variable
106 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DGather.cpp30 constexpr uint32_t kNumInputs = 3; variable
66 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DPRelu.cpp38 constexpr uint32_t kNumInputs = 2; variable
102 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
DSlice.cpp32 constexpr uint32_t kNumInputs = 3; variable
85 NN_RET_CHECK_EQ(context->getNumInputs(), kNumInputs); in validate()
/frameworks/ml/nn/runtime/test/fibonacci_extension/
DFibonacciDriver.cpp45 constexpr uint32_t kNumInputs = 1; variable
68 NN_RET_CHECK_EQ(operation.inputs.size(), kNumInputs); in validate()

12