Home
last modified time | relevance | path

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

/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.h36 for (int batch = 0; batch < n_batch; ++batch) { in MatrixBatchVectorMultiplyAccumulate() local
40 int8_t input_val = input[batch * n_input + col]; in MatrixBatchVectorMultiplyAccumulate()
46 acc += output[batch * n_output + row]; in MatrixBatchVectorMultiplyAccumulate()
53 output[batch * n_output + row] = static_cast<T>(acc); in MatrixBatchVectorMultiplyAccumulate()
153 for (int batch = 0; batch < n_batch; ++batch) { in ApplyTanh() local
155 const int index = batch * n_input + i; in ApplyTanh()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppService.java900 BluetoothOppBatch batch = mBatches.get(i); in updateShare() local
901 if (mServerTransfer != null && batch.mId == mServerTransfer.getBatchId()) { in updateShare()
908 BluetoothOppBatch batch = mBatches.get(i); in updateShare() local
909 if (batch.mStatus == Constants.BATCH_STATUS_FINISHED in updateShare()
910 || batch.mStatus == Constants.BATCH_STATUS_FAILED) { in updateShare()
912 Log.v(TAG, "Batch " + batch.mId + " is finished"); in updateShare()
914 if (batch.mDirection == BluetoothShare.DIRECTION_OUTBOUND) { in updateShare()
917 } else if (batch.mId == mTransfer.getBatchId()) { in updateShare()
920 Log.e(TAG, "Unexpected error! batch id " + batch.mId in updateShare()
927 } else if (batch.mId == mServerTransfer.getBatchId()) { in updateShare()
[all …]
DBluetoothOppTransfer.java178 public BluetoothOppTransfer(Context context, BluetoothOppBatch batch, in BluetoothOppTransfer() argument
182 mBatch = batch; in BluetoothOppTransfer()
190 public BluetoothOppTransfer(Context context, BluetoothOppBatch batch) { in BluetoothOppTransfer() argument
191 this(context, batch, null); in BluetoothOppTransfer()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DBatchingNamedTaskExecutor.java65 NamedTask[] batch = new NamedTask[0]; in executeNextBatch() local
69 batch = nextTasks.toArray(batch); in executeNextBatch()
74 for (NamedTask task : batch) { in executeNextBatch()
/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/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DScanTestUtil.java62 int period, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
68 request.maxScansToCache = batch; in createRequest()
73 public static WifiScanner.ScanSettings createRequest(int type, int band, int period, int batch, in createRequest() argument
76 batch, bssidsPerScan, reportEvents); in createRequest()
79 public static WifiScanner.ScanSettings createRequest(int band, int period, int batch, in createRequest() argument
81 return createRequest(WifiScanner.SCAN_TYPE_HIGH_ACCURACY, band, period, 0, 0, batch, in createRequest()
89 int maxPeriod, int stepCount, int batch, int bssidsPerScan, int reportEvents) { in createRequest() argument
98 request.maxScansToCache = batch; in createRequest()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsTransaction.java71 public ContactsTransaction(boolean batch) { in ContactsTransaction() argument
72 mBatch = batch; in ContactsTransaction()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec170 * [batch, height, width, channels]. Alternatively, the data layout could
171 * be NCHW, the data storage order of: [batch, channels, height, width].
1208 * output[batch, row, col, channel] =
1209 * input[batch, row, col, channel] /
1210 * sqrt(sum_{c} pow(input[batch, row, col, c], 2))
2182 * * “bias” is a bias vector (added to each output vector in the batch);
2227 * batch, by normalizing the input vector so the maximum coefficient is
2232 * output[batch, i] =
2233 * exp((input[batch, i] - max(input[batch, :])) * beta) /
2234 * sum_{k}{exp((input[batch, k] - max(input[batch, :])) * beta)}
[all …]
/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/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/apps/TV/src/com/android/tv/data/epg/
DEpgFetcherImpl.java459 for (Iterable<EpgChannel> batch : Iterables.partition(epgChannels, batchSize)) { in batchFetchEpg()
460 batchUpdateEpg(mEpgReader.getPrograms(ImmutableSet.copyOf(batch), durationSec)); in batchFetchEpg()
/packages/modules/NeuralNetworks/common/operations/
DGenerateProposals.cpp512 std::vector<uint32_t> batch; in boxWithNmsLimitFloat32Compute() local
/packages/inputmethods/LatinIME/dictionaries/
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz1dictionary=main:en,locale=en,description=English,date=1414726273, ...
Dnl_wordlist.combined.gz1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ...
Dit_wordlist.combined.gz1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ...
Dpt_BR_wordlist.combined.gz1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...
Dnb_wordlist.combined.gz
Dsv_wordlist.combined.gz
Dfr_wordlist.combined.gz1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ...