/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | gather_quant8_signed.mod.py | 19 indices = Input("indices", "TENSOR_INT32", "{3, 2}") variable 22 model = Model().Operation("GATHER", input0, axis, indices).To(output0) 33 indices: [2, 0, 46 def test(input0, axis, indices, output0, input_data, output_data): argument 47 model = Model().Operation("GATHER", input0, axis, indices).To(output0) 62 indices=[1, 0], 73 indices=[1], # Unlike TensorFlow, 0-D arguments and outputs are not supported. 83 indices=[1], 92 indices=[1, 0], 101 indices=[0, 0], [all …]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | gather.mod.py | 17 def test(input0, axis, indices, output0, input_data, output_data): argument 18 model = Model().Operation("GATHER", input0, axis, indices).To(output0) 43 indices=[1, 0], 54 indices=[1], # Unlike TensorFlow, 0-D arguments and outputs are not supported. 64 indices=[1], 73 indices=[1, 0], 82 indices=[0, 0], 95 indices=[1, 3], 104 indices=[1, 0], 115 indices=[2, 0],
|
D | gather_higher_rank.mod.py | 19 indices = Input("indices", "TENSOR_INT32", "{3, 2}") variable 22 model = Model().Operation("GATHER", input0, axis, indices).To(output0) 33 indices: [2, 0,
|
/packages/modules/StatsD/statsd/src/anomaly/ |
D | indexed_priority_queue.h | 75 std::unordered_map<sp<const AA>, size_t, SpHash<AA>> indices; variable 98 indices.insert({a, idx}); in push() 106 size_t idx = indices[a]; in remove() 112 indices.erase(a); in remove() 119 indices[last_a] = idx; in remove() 120 indices.erase(a); in remove() 137 indices.erase(a); in pop() 144 indices[last_a] = idx; in pop() 145 indices.erase(a); in pop() 154 indices.clear(); in clear() [all …]
|
/packages/modules/NeuralNetworks/common/cpu_operations/ |
D | Densify.cpp | 47 uint64_t getFlattenedIndex(const std::vector<int32_t>& indices, const std::vector<uint32_t>& shape, in getFlattenedIndex() argument 53 index += uint64_t(indices[i] * subElems); in getFlattenedIndex() 90 void populate(const T* srcData, std::vector<int32_t>* indices, uint32_t level, uint32_t prevIdx, in populate() argument 95 if (level == (*indices).size()) { // level == size of traversal order in populate() 101 origIdx[origDim] = (*indices)[i]; in populate() 104 for (; i < (*indices).size(); i++) { in populate() 107 origIdx[origDim] = origIdx[origDim] * blockSize[blockIdx] + (*indices)[i]; in populate() 117 (*indices)[level] = i; in populate() 118 populate(srcData, indices, level + 1, prevIdx * shapeOfLevel + i, destData, destDims, in populate() 125 (*indices)[level] = arrayIndices[i]; in populate() [all …]
|
D | Gather.cpp | 57 Shape indices = context->getInputShape(kInputIndices); in prepare() local 61 output.dimensions.reserve(getNumberOfDimensions(input) + getNumberOfDimensions(indices) - 1); in prepare() 64 output.dimensions.insert(output.dimensions.end(), indices.dimensions.begin(), in prepare() 65 indices.dimensions.end()); in prepare()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | FontSizeData.java | 70 private static int fontSizeValueToIndex(float val, String[] indices) { in fontSizeValueToIndex() argument 71 float lastVal = Float.parseFloat(indices[0]); in fontSizeValueToIndex() 72 for (int i = 1; i < indices.length; i++) { in fontSizeValueToIndex() 73 float thisVal = Float.parseFloat(indices[i]); in fontSizeValueToIndex() 79 return indices.length - 1; in fontSizeValueToIndex()
|
/packages/apps/Settings/src/com/android/settings/deletionhelper/ |
D | AutomaticStorageManagerSettings.java | 148 private static int daysValueToIndex(int value, String[] indices) { in daysValueToIndex() argument 149 for (int i = 0; i < indices.length; i++) { in daysValueToIndex() 150 int thisValue = Integer.parseInt(indices[i]); in daysValueToIndex() 155 return indices.length - 1; in daysValueToIndex()
|
/packages/modules/Virtualization/pvmfw/src/ |
D | gpt.rs | 59 indices: RangeInclusive<usize>, field 71 Self { partitions, indices: first..=last } in new() 74 pub fn indices(&self) -> RangeInclusive<usize> { in indices() method 75 self.indices.clone() in indices() 89 if self.indices.contains(&index) { in block_index()
|
D | instance.rs | 207 let mut indices = partition.indices(); in locate_entry() localVariable 208 let header_index = indices.next().ok_or(Error::MissingInstanceImageHeader)?; in locate_entry() 216 while let Some(header_index) = indices.next() { in locate_entry() 229 let _ = indices.nth(n - 1); // consume in locate_entry()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/ |
D | Cube.java | 55 byte indices[] = { in Cube() 84 mIndexBuffer = ByteBuffer.allocateDirect(indices.length); in Cube() 85 mIndexBuffer.put(indices); in Cube()
|
/packages/modules/Bluetooth/system/packet/base/ |
D | packet.h | 45 auto indices = pkt->GetPayloadIndecies(); in Packet() local 46 packet_start_index_ = indices.first; in Packet() 47 packet_end_index_ = indices.second; in Packet()
|
/packages/modules/NeuralNetworks/tools/api/ |
D | OperationTypes.t | 111 * together specify the sparse indices along that dimension. The first pair of arguments 115 * of array segments and array indices to encode that dimension: 117 * the array segments. The array segments represent how to segment the indices array, 119 * interspersed with array indices (listed below), so this input could be input (5, 5 + 124 * the array indices. The array indices represent the index of the non-zero elements 126 * row pointers and the second array is column indices). Array indices are interspersed
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
D | FolderIconLoadTest.kt | 161 private fun verifyHighRes(items: ArrayList<WorkspaceItemInfo>, vararg indices: Int) { in verifyHighRes() 162 for (index in indices) { in verifyHighRes() 169 private fun verifyLowRes(items: ArrayList<WorkspaceItemInfo>, vararg indices: Int) { in verifyLowRes() 170 for (index in indices) { in verifyLowRes()
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
D | SpareParts.java | 205 String[] indices = getResources().getStringArray(resid); in floatToIndex() local 206 float lastVal = Float.parseFloat(indices[0]); in floatToIndex() 207 for (int i=1; i<indices.length; i++) { in floatToIndex() 208 float thisVal = Float.parseFloat(indices[i]); in floatToIndex() 214 return indices.length-1; in floatToIndex()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/ |
D | DvrStorageManager.java | 227 ArrayList<BufferManager.PositionHolder> indices = new ArrayList<>(); in readOldIndexFile() local 232 indices.add(new BufferManager.PositionHolder(positionUs, positionUs, 0)); in readOldIndexFile() 234 return indices; in readOldIndexFile() 240 ArrayList<BufferManager.PositionHolder> indices = new ArrayList<>(); in readNewIndexFile() local 247 indices.add(new BufferManager.PositionHolder(positionUs, basePositionUs, offset)); in readNewIndexFile() 249 return indices; in readNewIndexFile()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/ |
D | DvrStorageManager.java | 227 ArrayList<BufferManager.PositionHolder> indices = new ArrayList<>(); in readOldIndexFile() local 232 indices.add(new BufferManager.PositionHolder(positionUs, positionUs, 0)); in readOldIndexFile() 234 return indices; in readOldIndexFile() 240 ArrayList<BufferManager.PositionHolder> indices = new ArrayList<>(); in readNewIndexFile() local 247 indices.add(new BufferManager.PositionHolder(positionUs, basePositionUs, offset)); in readNewIndexFile() 249 return indices; in readNewIndexFile()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/ |
D | AtPhonebook.java | 338 String[] indices = atCommand.split(","); in handleCpbrCommand() local 340 for (int i = 0; i < indices.length; i++) { in handleCpbrCommand() 341 indices[i] = indices[i].replace(';', ' ').trim(); in handleCpbrCommand() 344 index1 = Integer.parseInt(indices[0]); in handleCpbrCommand() 345 if (indices.length == 1) { in handleCpbrCommand() 348 index2 = Integer.parseInt(indices[1]); in handleCpbrCommand()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/paging/ |
D | MediaProviderClientTest.kt | 54 for (index in availableProviders.indices) { in <lambda>() 77 for (index in media.indices) { in <lambda>() 210 for (index in albums.indices) { in <lambda>() 238 for (index in albumMedia.indices) { in <lambda>()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/ |
D | FetchPreviewsInteractor.kt | 54 leftTriggerIndex = initialPreviewMap.indices.first(), in <lambda>() 55 rightTriggerIndex = initialPreviewMap.indices.last(), in <lambda>()
|
/packages/apps/DeskClock/src/com/android/deskclock/data/ |
D | TimeZones.kt | 34 for (i in timeZoneIds.indices) { in getTimeZoneName()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/ |
D | GrantPermissionsAutoViewHandler.java | 167 int stringId, @Result int result, int... indices) { in createListItem() argument 169 if (IntStream.of(indices) in createListItem()
|
/packages/modules/AdServices/adservices/libraries/cobalt/java/com/android/cobalt/data/ |
D | AggregateStoreEntity.java | 59 indices = {@Index(value = {"system_profile_hash"})})
|
/packages/apps/ThemePicker/src/com/android/customization/picker/clock/ui/viewmodel/ |
D | ClockColorViewModel.kt | 48 ids.indices.forEach { index -> in <lambda>()
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/data/adselection/ |
D | DBReportingUris.java | 44 indices = {@Index(value = {"ad_selection_id"})},
|