Home
last modified time | relevance | path

Searched refs:batch (Results 1 – 25 of 37) sorted by relevance

12

/packages/modules/NeuralNetworks/common/
DQuantUtils.cpp87 for (int batch = 0; batch < n_batch; ++batch) { in ApplySigmoid() local
91 const int index = batch * n_input + c; in ApplySigmoid()
101 for (int batch = 0; batch < n_batch; ++batch) { in CwiseMul() local
103 const int index = batch * n_input + i; in CwiseMul()
114 for (int batch = 0; batch < n_batch; ++batch) { in CwiseMul() local
116 const int index = batch * n_input + i; in CwiseMul()
140 for (int batch = 0; batch < n_batch; ++batch) { in CwiseAdd() local
142 const int index = batch * n_input + i; in CwiseAdd()
151 for (int batch = 0; batch < n_batch; ++batch) { in CwiseClipping() local
153 const int index = batch * n_input + i; in CwiseClipping()
[all …]
DQuantUtils.h40 for (int batch = 0; batch < n_batch; ++batch) { in MatrixBatchVectorMultiplyAccumulate() local
44 int8_t input_val = input[batch * n_input + col]; in MatrixBatchVectorMultiplyAccumulate()
50 acc += output[batch * n_output + row]; in MatrixBatchVectorMultiplyAccumulate()
57 output[batch * n_output + row] = static_cast<T>(acc); in MatrixBatchVectorMultiplyAccumulate()
157 for (int batch = 0; batch < n_batch; ++batch) { in ApplyTanh() local
159 const int index = batch * n_input + i; in ApplyTanh()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DBatchingNamedTaskExecutor.kt46 var batch = arrayOfNulls<NamedTask?>(0) in executeNextBatch() variable
50 batch = nextTasks.toArray(batch) in executeNextBatch()
54 for (task in batch) { in executeNextBatch()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/opp/
DBluetoothOppService.java1047 BluetoothOppBatch batch = mBatches.get(i); in updateShare() local
1048 if (mServerTransfer != null && batch.mId == mServerTransfer.getBatchId()) { in updateShare()
1055 BluetoothOppBatch batch = mBatches.get(i); in updateShare() local
1056 if (batch.mStatus == Constants.BATCH_STATUS_FINISHED in updateShare()
1057 || batch.mStatus == Constants.BATCH_STATUS_FAILED) { in updateShare()
1058 Log.v(TAG, "Batch " + batch.mId + " is finished"); in updateShare()
1059 if (batch.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in updateShare()
1068 } else if (batch.mId == mTransfer.getBatchId()) { in updateShare()
1074 + batch.mId in updateShare()
1094 } else if (batch.mId == mServerTransfer.getBatchId()) { in updateShare()
[all …]
DBluetoothOppTransfer.java233 Context context, BluetoothOppBatch batch, BluetoothOppObexSession session) { in BluetoothOppTransfer() argument
236 mBatch = requireNonNull(batch); in BluetoothOppTransfer()
243 public BluetoothOppTransfer(Context context, BluetoothOppBatch batch) { in BluetoothOppTransfer() argument
244 this(context, batch, null); in BluetoothOppTransfer()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/impl/
DCobaltPeriodicJobImpl.java231 ObservationBatch batch = observation.encrypt(mEncrypter); in uploadObservations() local
232 int batchBytes = batch.getSerializedSize(); in uploadObservations()
244 currentBatches.add(batch); in uploadObservations()
276 for (ObservationBatch batch : observationBatches) { in buildEnvelope()
277 ObservationMetadata metadata = batch.getMetaData(); in buildEnvelope()
278 List<EncryptedMessage> encryptedMessages = batch.getEncryptedObservationList(); in buildEnvelope()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSelectionManager.java158 int batch = 50; in expandMediaSet() local
162 int count = index + batch < total in expandMediaSet()
163 ? batch in expandMediaSet()
173 index += batch; in expandMediaSet()
/packages/services/Car/tests/BugReportApp/libs/
Dgoogle-api-client-1.30.2.jar ... com/google/api/client/googleapis/batch/ com/google/api/client/googleapis ...
/packages/apps/Car/DebuggingRestrictionController/libs/
Dgoogle-api-client-1.30.10.jar ... com/google/api/client/googleapis/batch/ com/google/api/client/googleapis ...
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java65 int period, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
71 request.maxScansToCache = batch; in createRequest()
76 public static WifiScanner.ScanSettings createRequest(int type, int band, int period, int batch, in createRequest() argument
79 batch, bssidsPerScan, reportEvents); in createRequest()
82 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, in createRequest() argument
84 return createRequest(WifiScanner.SCAN_TYPE_HIGH_ACCURACY, band, period, 0, 0, batch, in createRequest()
92 int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
101 request.maxScansToCache = batch; in createRequest()
DApplicationQosPolicyRequestHandlerTest.java167 for (List<QosPolicyParams> batch : batches) { in addPoliciesToTable()
168 mDut.queueAddRequest(batch, mIListListener, mBinder, TEST_UID); in addPoliciesToTable()
169 triggerAndVerifyApCallback(TEST_IFACE_NAME_0, batch, in addPoliciesToTable()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsTransaction.java71 public ContactsTransaction(boolean batch) { in ContactsTransaction() argument
72 mBatch = batch; in ContactsTransaction()
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/observations/
DNonPrivateObservationGenerator.java106 UnencryptedObservationBatch.Builder batch = in generateObservations() local
117 batches.add(batch.build()); in generateObservations()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DApplicationQosPolicyRequestHandler.java345 for (List<Integer> batch : batches) { in queueRemoveAllRequest()
347 REQUEST_TYPE_REMOVE, null, batch, null, null, uid); in queueRemoveAllRequest()
384 for (List<QosPolicyParams> batch : batches) { in queueAllPoliciesOnIface()
386 REQUEST_TYPE_ADD, batch, null, null, null, DEFAULT_UID); in queueAllPoliciesOnIface()
391 batch.size(), WifiManager.QOS_REQUEST_STATUS_TRACKING); in queueAllPoliciesOnIface()
/packages/modules/AdServices/adservices/libraries/cobalt/proto/
Dunencrypted_observation_store.proto24 // A batch of unencrypted Observations with their metadata, similar to
30 // The Metadata for all of the observations in this batch.
Dobservation_batch.proto65 // A batch of encrypted Observations with common metadata.
79 // The common Metadata for all of the encrypted observations in this batch.
Denvelope.proto39 repeated ObservationBatch batch = 1; field
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/
DDaoBuildingBlocks.java108 for (UnencryptedObservationBatch batch : observationBatches) { in insertObservationBatches()
109 observationStoreEntities.add(ObservationStoreEntity.createForInsertion(batch)); in insertObservationBatches()
DDataService.java478 for (UnencryptedObservationBatch batch : batches) { in generateObservationsSync()
479 numObservations += batch.getUnencryptedObservationsCount(); in generateObservationsSync()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
DBoundingBox.cpp96 uint32_t batch = op->inputs[0]->dimensions[0].getValue(); in roiFinalizer() local
119 for (uint32_t i = 0; i < numRois; i++) batchIndex[i] = getUniform<int32_t>(0, batch - 1); in roiFinalizer()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec215 * [batch, height, width, channels]. Alternatively, the data layout could
216 * be NCHW, the data storage order of: [batch, channels, height, width].
1258 * output[batch, row, col, channel] =
1259 * input[batch, row, col, channel] /
1260 * sqrt(sum_{c} pow(input[batch, row, col, c], 2))
2235 * * “bias” is a bias vector (added to each output vector in the batch);
2280 * batch, by normalizing the input vector so the maximum coefficient is
2285 * output[batch, i] =
2286 * exp((input[batch, i] - max(input[batch, :])) * beta) /
2287 * sum_{k}{exp((input[batch, k] - max(input[batch, :])) * beta)}
[all …]
/packages/modules/Wifi/flags/
Dwifi_flags.aconfig14 description: "Control the feature delay the save to store in batch to reduce the blocking time"
/packages/services/Car/cpp/telemetry/cartelemetryd/sampleclient/
DREADME.md16 adb shell /system/bin/android.automotive.telemetryd-sampleclient --batch-size 1000 --cardata-size 1…
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DSyncMessagesAction.java410 final SyncMessageBatch batch = new SyncMessageBatch(smsToAdd, mmsToAdd, in processBackgroundResponse() local
412 batch.updateLocalDatabase(); in processBackgroundResponse()
/packages/modules/Virtualization/virtualizationservice/src/
Dmaintenance.rs194 let batch = &vm_ids[..len]; in delete_ids() localVariable
195 self.delete_ids_batch(batch); in delete_ids()

12