/frameworks/ml/nn/common/operations/ |
D | Cast.cpp | 36 void copyCast(const FromT* in, ToT* out, int numElements) { in copyCast() argument 37 std::transform(in, in + numElements, out, [](FromT a) -> ToT { in copyCast() 47 bool copyToTensor(const FromT* inputData, int numElements, uint8_t* outputData, in copyToTensor() argument 52 copyCast(inputData, reinterpret_cast<dataType*>(outputData), numElements); \ in copyToTensor() 78 int numElements = getNumberOfElements(inputShape); in eval() local 83 copyToTensor(reinterpret_cast<const dataType*>(inputData), numElements, outputData, \ in eval()
|
D | Activation.cpp | 55 int numElements = getNumberOfElements(inputShape); in reluFloat() local 56 for (int i = 0; i < numElements; i++, inputData++, outputData++) { in reluFloat() 91 int numElements = getNumberOfElements(inputShape); in tanhFloat16() local 92 for (int i = 0; i < numElements; i++, inputData++, outputData++) { in tanhFloat16() 101 int numElements = getNumberOfElements(inputShape); in tanhFloat32() local 102 for (int i = 0; i < numElements; i++, inputData++, outputData++) { in tanhFloat32() 112 int numElements = getNumberOfElements(inputShape); in logisticFloat() local 113 for (int i = 0; i < numElements; i++, inputData++, outputData++) { in logisticFloat() 126 int numElements = getNumberOfElements(inputShape); in reluXQuant8() local 133 for (int i = 0; i < numElements; i++, inputData++, outputData++) { in reluXQuant8() [all …]
|
D | Dequantize.cpp | 40 const int numElements = getNumberOfElements(inputShape); in compute() local 43 for (int i = 0; i < numElements; ++i) { in compute() 61 const int numElements = getNumberOfElements(inputShape); in computePerChannel() local 64 for (int i = 0; i < numElements; ++i) { in computePerChannel()
|
D | Elu.cpp | 48 int numElements = getNumberOfElements(inputShape); in eluFloat() local 49 for (int i = 0; i < numElements; ++i) { in eluFloat()
|
D | Fill.cpp | 41 const int numElements = getNumberOfElements(context->getOutputShape(kOutputTensor)); in executeTyped() local 43 for (int i = 0; i < numElements; ++i) { in executeTyped()
|
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | FullyConnected.cpp | 29 RandomVariable numElements = 1; in fullyConnectedConstructor() local 32 numElements = numElements * op->inputs[0]->dimensions[i]; in fullyConnectedConstructor() 42 op->outputs[0]->dimensions = {numElements.exactDiv(op->inputs[1]->dimensions[1]), in fullyConnectedConstructor()
|
D | Selection.cpp | 40 uint32_t numElements = op->inputs[0]->getNumberOfElements(); in embeddingLookupFinalizer() local 41 for (uint32_t i = 0; i < numElements; i++) { in embeddingLookupFinalizer() 142 uint32_t numElements = op->inputs[2]->getNumberOfElements(); in gatherFinalizer() local 143 for (uint32_t i = 0; i < numElements; i++) { in gatherFinalizer()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.cpp | 356 uint8_t numElements = readNextValue<uint8_t>(); in parseBuffer() local 357 if (numElements < 2 || numElements > 127) mValid = false; in parseBuffer() 362 numElements--; in parseBuffer() 367 numElements--; in parseBuffer() 370 for (pos[0] = 1; pos[0] <= numElements && mValid; pos[0]++) { in parseBuffer() 371 last[0] = (pos[0] == numElements); in parseBuffer()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | Utils.java | 64 public static UiObject2 startElementLayout(Instrumentation instrumentation, int numElements) { in startElementLayout() argument 68 intent.putExtra(ElementLayoutActivity.NUM_ELEMENTS_KEY, numElements); in startElementLayout()
|
D | ElementLayoutActivity.java | 62 int numElements = getIntent().getIntExtra(NUM_ELEMENTS_KEY, DEFAULT_NUM_ELEMENTS); in onCreate() local 64 for (int i = 0; i < numElements; ++i) { in onCreate()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 258 uint32_t numElements = layerIds.size(); in getChangedCompositionTypes() local 266 outTypes->reserve(numElements); in getChangedCompositionTypes() 267 for (uint32_t element = 0; element < numElements; ++element) { in getChangedCompositionTypes() 361 uint32_t numElements = layerIds.size(); in getRequests() local 369 outLayerRequests->reserve(numElements); in getRequests() 370 for (uint32_t element = 0; element < numElements; ++element) { in getRequests() 451 uint32_t numElements = layerIds.size(); in getReleaseFences() local 457 releaseFences.reserve(numElements); in getReleaseFences() 458 for (uint32_t element = 0; element < numElements; ++element) { in getReleaseFences() 466 for (; element < numElements; ++element) { in getReleaseFences()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BroadcastDispatcher.java | 676 final int numElements = list.size(); in findUidLocked() local 677 for (int i = 0; i < numElements; i++) { in findUidLocked() 703 final int numElements = list.size(); in insertLocked() local 704 for (i = 0; i < numElements; i++) { in insertLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 97 IntRange(IntRange intRange, int numElements) { in IntRange() argument 101 for (int i=0; i < numElements; i++) { in IntRange()
|
/frameworks/base/core/java/android/app/ |
D | ActivityTransitionCoordinator.java | 1011 final int numElements = mTransitioningViews == null ? 0 : mTransitioningViews.size(); in setTransitioningViewsVisiblity() local 1012 for (int i = 0; i < numElements; i++) { in setTransitioningViewsVisiblity()
|
D | FragmentTransition.java | 814 final int numElements = map.size(); in findKeyForValue() local 815 for (int i = 0; i < numElements; i++) { in findKeyForValue()
|
/frameworks/compile/slang/ |
D | slang_rs_export_type.cpp | 224 unsigned numElements = EVT->getNumElements(); in ConstantArrayTypeExportableHelper() local 233 if (numElements == 3 && CAT->getSize() != 1) { in ConstantArrayTypeExportableHelper()
|
/frameworks/ml/nn/tools/test_generator/ |
D | test_generator.py | 373 numElements = reduce(lambda x,y: x*y, self.type.dimensions, 1) 374 self.value = [0 for x in range(numElements)]
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |