Home
last modified time | relevance | path

Searched refs:reduce (Results 1 – 25 of 33) sorted by relevance

12

/packages/modules/NeuralNetworks/common/operations/
DReduce.cpp33 namespace reduce { namespace
259 NN_REGISTER_OPERATION(REDUCE_PROD, "REDUCE_PROD", reduce::validateProdSum, reduce::prepare,
260 reduce::executeProd);
261 NN_REGISTER_OPERATION(REDUCE_SUM, "REDUCE_SUM", reduce::validateProdSum, reduce::prepare,
262 reduce::executeSum);
263 NN_REGISTER_OPERATION(REDUCE_MAX, "REDUCE_MAX", reduce::validateMaxMin, reduce::prepare,
264 reduce::executeMax);
265 NN_REGISTER_OPERATION(REDUCE_MIN, "REDUCE_MIN", reduce::validateMaxMin, reduce::prepare,
266 reduce::executeMin);
267 NN_REGISTER_OPERATION(REDUCE_ANY, "REDUCE_ANY", reduce::validateLogical, reduce::prepare,
[all …]
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
DReduce.cpp27 bool reduce[4] = {false, false, false, false}; in reduceOpConstructor() local
36 reduce[toPositiveAxis(dim, rank)] = true; in reduceOpConstructor()
48 if (!reduce[i]) { in reduceOpConstructor()
/packages/apps/Camera2/src/com/android/camera/settings/
DResolutionUtil.java279 Size aspectRatio = reduce(size); in aspectRatioDescription()
290 public static Size reduce(Size aspectRatio) { in reduce() method in ResolutionUtil
306 Size aspectRatio = reduce(size); in aspectRatioNumerator()
319 Size aspectRatio = reduce(size); in getApproximateSize()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/
DStorageLifetimeFragment.java94 .reduce(0L, (x,y)->x+y);
98 .reduce(0L, (x,y)->x+y);
/packages/apps/Car/libs/car-uxr-client-lib/
DREADME.md2 Components and resources designed to reduce the amount of work needed by
/packages/services/Car/service/proto/
Doperation_type.proto10 // Ensure that these values are positive to reduce incurring too many bytes
/packages/apps/Launcher3/src/com/android/launcher3/widget/util/
DWidgetsTableUtils.java80 .reduce(/* default= */ 0, Integer::sum); in groupWidgetItemsIntoTable()
/packages/apps/Dialer/java/com/android/dialer/contacts/displaypreference/
DContactDisplayPreferences.java46 .reduce( in fromValue()
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DTraceHelperForTest.java103 .mapToInt(info -> info.flags).reduce(0, (a, b) -> a | b)); in updateBinderTracking()
/packages/services/Car/service/src/com/android/car/storagemonitoring/
DWearHistory.java143 return mWearHistory.stream().map(WearEstimateRecord::toString).reduce( in toString()
/packages/services/Car/tests/carservice_test/src/com/android/car/
DCarDiagnosticConstantsTest.java75 fields.keySet().stream().reduce("", in fieldsOnlyInClass1()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetPhoneState.java116 .reduce(PhoneStateListener.LISTEN_NONE, (a, b) -> a | b); in getTelephonyEventsToListen()
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/
Dfeatures.md16 * Use template and inline functions to reduce function call overheads.
Dfaq.md91 … strings directly into the input JSON. This is an optimization which can reduce memory consumption…
255 …Many design decisions of RapidJSON is aimed at time/space performance. These may reduce user-frien…
Dinternals.md103 * To reduce memory consumption for 64-bit architecture, `SizeType` is typedef as `unsigned` instead…
127 This optimization can reduce memory usage for copy-string. It can also improve cache-coherence thus…
Dpointer.md218 …ct once, and then apply it to different DOMs or in different times. This reduce time and memory al…
Dstream.md374 …asses available in RapidJSON. Memory streams are simple. File stream can reduce the memory require…
Ddom.md61 …ocator` instance. On the other hand, `Value` does not do so, in order to reduce memory consumption.
/packages/modules/NeuralNetworks/tools/test_generator/
Dtest_generator.py29 from functools import reduce
211 return reduce(lambda x,y: x*y, self.dimensions, 1)
340 numElements = reduce(lambda x,y: x*y, self.type.dimensions, 1)
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec2586 * Reduces the input tensor along the given dimensions to reduce. Unless
2606 * to reduce. Must be in the range
2611 * would reduce across all dimensions. This behavior was never
3123 * reduce across. Negative index is used to specify axis from the
3152 * reduce across. Negative index is used to specify axis from the
4664 * reduce across. Negative index is used to specify axis from the
5112 * to reduce. Dimension values must be in the range [-n, n).
5140 * to reduce. Dimension values must be in the range [-n, n).
5173 * to reduce. Dimension values must be in the range [-n, n).
5214 * to reduce. Dimension values must be in the range [-n, n).
[all …]
DNeuralNetworksTypes.t537 * ANeuralNetworksBurst is an opaque type that can be used to reduce the latency
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPermissionDetailsFragment.java459 .reduce(0L, (dur1, dur2) -> dur1 + dur2); in updateUI()
/packages/modules/NeuralNetworks/tools/test_generator/test_harness/
DTestHarness.cpp63 return std::reduce(op.dimensions.begin(), op.dimensions.end(), 1u, std::multiplies<uint32_t>()); in getNumberOfElements()
/packages/modules/NeuralNetworks/runtime/test/
DTestPartitioning.cpp646 uint32_t result = std::reduce(dims.begin(), dims.end(), 1u, std::multiplies<>()); in numberOfElements()
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile1526 # option to 1 or 2 may greatly reduce the computation time needed for large

12