Searched refs:numInputs (Results 1 – 7 of 7) sorted by relevance
/packages/modules/NeuralNetworks/common/types/operations/src/ |
D | ResizeImageOps.cpp | 28 const auto numInputs = context->getNumInputs(); in validate() local 30 NN_RET_CHECK(numInputs >= kNumInputs - 1 && numInputs <= kNumInputs + kNumOptionalInputs); in validate() 32 NN_RET_CHECK(numInputs >= kNumInputs && numInputs <= kNumInputs + kNumOptionalInputs); in validate() 63 if (numInputs < kNumInputs) { in validate() 65 } else if (numInputs == kNumInputs) { in validate() 69 while (inExpectedTypes.size() < numInputs) { in validate()
|
D | DepthwiseConv2D.cpp | 27 const uint32_t numInputs = context->getNumInputs(); in validate() local 29 std::binary_search(std::begin(kNumInputsArray), std::end(kNumInputsArray), numInputs)); in validate() 86 if (numInputs >= 9) { in validate() 87 if (context->getInputType(8) == OperandType::INT32 && numInputs >= 11) { in validate() 94 if (numInputs >= 9u + inputOffset) { in validate() 98 NN_RET_CHECK_NE(numInputs, 10u + inputOffset) in validate() 101 if (numInputs == 11u + inputOffset) { in validate()
|
D | Conv2D.cpp | 27 const uint32_t numInputs = context->getNumInputs(); in validate() local 29 std::binary_search(std::begin(kNumInputsArray), std::end(kNumInputsArray), numInputs)); in validate()
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | Concatenation.cpp | 146 uint32_t numInputs = context->getNumInputs(); in prepare() local 147 NN_RET_CHECK_GE(numInputs, 2u); in prepare() 150 int32_t axis = context->getInputValue<int32_t>(numInputs - 1); in prepare() 156 for (uint32_t i = 1; i < numInputs - 1; ++i) { in prepare()
|
D | ResizeImageOps.cpp | 172 [[maybe_unused]] const auto numInputs = context->getNumInputs(); in prepare() local
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/ |
D | ConcatSplit.cpp | 24 static void concatConstructor(uint32_t numInputs, bool isV1_0, uint32_t rank, RandomOperation* op) { in concatConstructor() argument 25 for (uint32_t i = 0; i < numInputs; i++) { in concatConstructor() 32 op->inputs[numInputs]->setScalarValue<int32_t>(axis); in concatConstructor() 36 for (uint32_t j = 1; j < numInputs; j++) { in concatConstructor()
|
/packages/modules/NeuralNetworks/runtime/test/fuzzing/ |
D | RandomGraphGenerator.cpp | 185 uint32_t numInputs = 0; in generateValue() local 187 if (operand->type == RandomOperandType::INPUT) numInputs++; in generateValue() 198 if (asConstant(operand, prob) && numInputs > 1) { in generateValue() 199 if (operand->type == RandomOperandType::INPUT) numInputs--; in generateValue()
|