Home
last modified time | relevance | path

Searched refs:getInputType (Results 1 – 25 of 133) sorted by relevance

123456

/packages/modules/NeuralNetworks/common/types/operations/src/
DBatchMatmul.cpp29 OperandType inputLHSTensorType = context->getInputType(kInputLHSTensor); in validate()
30 OperandType inputRHSTensorType = context->getInputType(kInputRHSTensor); in validate()
40 OperandType inputLHSAdjType = context->getInputType(kInputLHSAdj); in validate()
41 OperandType inputRHSAdjType = context->getInputType(kInputRHSAdj); in validate()
DElementwise.cpp27 OperandType inputType = context->getInputType(kInputTensor); in validate()
39 OperandType inputType = context->getInputType(kInputTensor); in validateAbs()
52 OperandType inputType = context->getInputType(kInputTensor); in validateFloor()
70 OperandType inputType = context->getInputType(kInputTensor); in validateRsqrt()
DReshape.cpp33 auto inputType = context->getInputType(0); in validateDepthToSpace()
73 auto inputType = context->getInputType(0); in validateSpaceToDepth()
110 auto inputType = context->getInputType(0); in validatePad()
158 auto inputType = context->getInputType(0); in validatePadV2()
208 auto inputType = context->getInputType(0); in validateBatchToSpaceND()
258 auto inputType = context->getInputType(0); in validateSpaceToBatchND()
312 auto inputType = context->getInputType(0); in validateReshape()
DGenerateProposals.cpp32 auto inputType = context->getInputType(kRoiTensor); in validate()
33 auto deltaInputType = context->getInputType(kDeltaTensor); in validate()
61 auto inputType = context->getInputType(kScoreTensor); in validate()
110 auto inputType = context->getInputType(kScoreTensor); in validate()
175 auto inputType = context->getInputType(kScoreTensor); in validate()
DMirrorPad.cpp31 const OperandType inputTensorType = context->getInputType(kInputTensor); in validate()
39 NN_RET_CHECK_EQ(context->getInputType(kInputPaddingTensor), OperandType::TENSOR_INT32); in validate()
50 NN_RET_CHECK_EQ(context->getInputType(kInputModeScalar), OperandType::INT32); in validate()
DReduce.cpp27 OperandType inputType = context->getInputType(kInputTensor); in validateProdSum()
44 OperandType inputType = context->getInputType(kInputTensor); in validateMaxMin()
67 OperandType inputType = context->getInputType(kInputTensor); in validateLogical()
DDepthwiseConv2D.cpp31 auto inputType = context->getInputType(kInputTensor); in validate()
32 auto filterType = context->getInputType(kFilterTensor); in validate()
87 if (context->getInputType(8) == OperandType::INT32 && numInputs >= 11) { in validate()
DConv2D.cpp40 auto inputType = context->getInputType(kInputTensor); in validate()
41 auto filterType = context->getInputType(kFilterTensor); in validate()
91 if (context->getInputType(7) == OperandType::INT32 && inputCount >= 10) { in validate()
DLSHProjection.cpp29 auto inputType = context->getInputType(1); in validate()
34 auto hashType = context->getInputType(0); in validate()
DReverse.cpp31 const OperandType inputTensorType = context->getInputType(kInputTensor); in validate()
39 NN_RET_CHECK_EQ(context->getInputType(kInputAxisTensor), OperandType::TENSOR_INT32); in validate()
DTransposeConv2D.cpp30 const auto inputType = context->getInputType(kInputTensor); in validate()
31 const auto filterType = context->getInputType(kFilterTensor); in validate()
DGroupedConv2D.cpp32 auto inputType = context->getInputType(0); in validate()
33 auto filterType = context->getInputType(1); in validate()
DActivation.cpp27 auto inputType = context->getInputType(kInputTensor); in validate()
56 auto inputType = context->getInputType(kInputTensor); in validateHardSwish()
DResizeImageOps.cpp37 auto inputType = context->getInputType(kInputTensor); in validate()
38 auto scalarType = context->getInputType(kOutputHeightParamScalar); in validate()
/packages/modules/NeuralNetworks/common/cpu_operations/
DReduce.cpp104 switch (context->getInputType(kInputTensor)) { in executeProd()
123 switch (context->getInputType(kInputTensor)) { in executeSum()
134 switch (context->getInputType(kInputTensor)) { in executeMax()
153 switch (context->getInputType(kInputTensor)) { in executeMin()
172 switch (context->getInputType(kInputTensor)) { in executeAny()
182 switch (context->getInputType(kInputTensor)) { in executeAll()
DComparisons.cpp129 switch (context->getInputType(kInputTensor1)) { in executeLess()
148 switch (context->getInputType(kInputTensor1)) { in executeLessEqual()
167 switch (context->getInputType(kInputTensor1)) { in executeEqual()
186 switch (context->getInputType(kInputTensor1)) { in executeNotEqual()
205 switch (context->getInputType(kInputTensor1)) { in executeGreaterEqual()
224 switch (context->getInputType(kInputTensor1)) { in executeGreater()
DDepthwiseConv2D.cpp58 if ((inCount >= 9 && context->getInputType(8) == OperandType::BOOL) || inCount == 8) { in initialize()
72 } else if (inCount >= 11 && context->getInputType(8) == OperandType::INT32) { in initialize()
480 switch (context->getInputType(kInputTensor)) { in execute()
508 if (context->getInputType(kFilterTensor) == in execute()
525 } else if (context->getInputType(kFilterTensor) == OperandType::TENSOR_QUANT8_ASYMM) { in execute()
542 if (context->getInputType(kFilterTensor) == in execute()
559 } else if (context->getInputType(kFilterTensor) == in execute()
DActivation.cpp400 switch (context->getInputType(kInputTensor)) { in executeRelu()
429 switch (context->getInputType(kInputTensor)) { in executeRelu1()
458 switch (context->getInputType(kInputTensor)) { in executeRelu6()
487 switch (context->getInputType(kInputTensor)) { in executeLogistic()
516 switch (context->getInputType(kInputTensor)) { in executeTanh()
545 switch (context->getInputType(kInputTensor)) { in executeHardSwish()
DElementwise.cpp74 switch (context->getInputType(kInputTensor)) { in execute()
91 switch (context->getInputType(kInputTensor)) { in executeAbs()
113 const auto tensorType = context->getInputType(kInputTensor); in executeRsqrt()
DConv2D.cpp73 if ((inCount >= 8 && context->getInputType(7) == OperandType::BOOL) || inCount == 7) { in initialize()
86 } else if (inCount >= 10 && context->getInputType(7) == OperandType::INT32) { in initialize()
598 switch (context->getInputType(kInputTensor)) { in execute()
624 if (context->getInputType(kFilterTensor) == in execute()
641 } else if (context->getInputType(kFilterTensor) == OperandType::TENSOR_QUANT8_ASYMM) { in execute()
657 if (context->getInputType(kFilterTensor) == in execute()
674 } else if (context->getInputType(kFilterTensor) == in execute()
/packages/modules/NeuralNetworks/common/types/src/
DOperationsValidationUtils.cpp65 NN_RET_CHECK_EQ(getInputType(i), inExpectedTypes[i]) in validateOperationOperandTypes()
66 << "Invalid input tensor type " << getInputType(i) << " for input " << i in validateOperationOperandTypes()
81 [context](uint32_t index) { return context->getInputType(index); }); in validateInputTypes()
100 message << context->getInputType(i); in validateVersion()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiPasswordDialogTest.java86 assertThat(editText.getInputType()).isEqualTo( in onDialogCreated_editTextInputTypeSet()
97 assertThat(editText.getInputType()).isEqualTo( in onCheckboxChanged_editTextInputTypeSet()
100 assertThat(editText.getInputType()).isEqualTo( in onCheckboxChanged_editTextInputTypeSet()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DValidatedEditTextPreferenceTest.java117 assertThat(editText.getInputType() in bindDialogView_isPassword_shouldSetInputType()
130 assertThat(textView.getInputType() in bindViewHolder_isPassword_shouldSetInputType()
143 assertThat(textView.getInputType()).isEqualTo( in bindViewHolder_isNotPassword_shouldNotAutoCorrectText()
/packages/inputmethods/LatinIME/tools/EditTextVariations/src/com/android/inputmethod/tools/edittextvariations/
DEditTextVariations.java128 int inputType = e.getInputType(); in onCreate()
287 hint += inputTypeToString(e.getInputType()); in setupHintText()
319 e.getInputType() & InputType.TYPE_MASK_CLASS, in setupHintText()
320 e.getInputType() & InputType.TYPE_MASK_VARIATION, in setupHintText()
321 e.getInputType() & InputType.TYPE_MASK_FLAGS, hint)); in setupHintText()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPasswordEditTextPreferenceDialogFragmentTest.java95 assertThat(editText.getInputType()).isEqualTo(InputType.TYPE_CLASS_TEXT in onCheckBoxChecked_shouldRevealRawPassword()
112 assertThat(editText.getInputType()).isEqualTo((InputType.TYPE_CLASS_TEXT in onCheckBoxUnchecked_shouldObscureRawPassword()

123456