Home
last modified time | relevance | path

Searched refs:minimum_size (Results 1 – 14 of 14) sorted by relevance

/external/tensorflow/tensorflow/tools/graph_transforms/
Dquantize_weights.cc37 int32 minimum_size; in QuantizeWeights() local
39 context.GetOneInt32Parameter("minimum_size", 1024, &minimum_size)); in QuantizeWeights()
42 [minimum_size](const NodeMatch& match, in QuantizeWeights()
64 if ((old_dtype != DT_FLOAT) || (num_elements < minimum_size)) { in QuantizeWeights()
DREADME.md604 * minimum_size: Tensors with fewer elements than this won't be quantized
609 Converts any large (more than minimum_size) float Const op into an eight-bit
/external/v8/src/heap/
Dfree-list.cc30 FreeSpace FreeListCategory::PickNodeFromList(size_t minimum_size, in PickNodeFromList() argument
35 if (static_cast<size_t>(node.Size()) < minimum_size) { in PickNodeFromList()
45 FreeSpace FreeListCategory::SearchForNodeInList(size_t minimum_size, in SearchForNodeInList() argument
52 if (size >= minimum_size) { in SearchForNodeInList()
114 size_t minimum_size, size_t* node_size) { in TryFindNodeIn() argument
117 FreeSpace node = category->PickNodeFromList(minimum_size, node_size); in TryFindNodeIn()
129 size_t minimum_size, in SearchForNodeInList() argument
135 node = current->SearchForNodeInList(minimum_size, node_size); in SearchForNodeInList()
Dfree-list.h67 FreeSpace PickNodeFromList(size_t minimum_size, size_t* node_size);
71 FreeSpace SearchForNodeInList(size_t minimum_size, size_t* node_size);
230 FreeSpace TryFindNodeIn(FreeListCategoryType type, size_t minimum_size,
234 FreeSpace SearchForNodeInList(FreeListCategoryType type, size_t minimum_size,
/external/virglrenderer/src/gallium/auxiliary/util/
Du_bitmask.c92 unsigned minimum_size = minimum_index + 1; in util_bitmask_resize() local
97 if(!minimum_size) in util_bitmask_resize()
100 if(bm->size >= minimum_size) in util_bitmask_resize()
105 while(new_size < minimum_size) { in util_bitmask_resize()
/external/mesa3d/src/gallium/auxiliary/util/
Du_bitmask.c93 const unsigned minimum_size = minimum_index + 1; in util_bitmask_resize() local
98 if (!minimum_size) in util_bitmask_resize()
101 if (bm->size >= minimum_size) in util_bitmask_resize()
106 while (new_size < minimum_size) { in util_bitmask_resize()
Du_handle_table.c101 unsigned minimum_size) in handle_table_resize() argument
106 if(ht->size > minimum_size) in handle_table_resize()
110 while(!(new_size > minimum_size)) in handle_table_resize()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_dma.c210 rmesa->dma.minimum_size = MAX_DMA_BUF_SZ; in radeon_init_dma()
218 if (size > rmesa->dma.minimum_size) in radeonRefillCurrentDmaRegion()
219 rmesa->dma.minimum_size = (size + 15) & (~15); in radeonRefillCurrentDmaRegion()
222 __func__, size, rmesa->dma.minimum_size); in radeonRefillCurrentDmaRegion()
231 0, rmesa->dma.minimum_size, 4, in radeonRefillCurrentDmaRegion()
365 __func__, free, wait, reserved, rmesa->dma.minimum_size); in radeonReleaseDmaRegions()
379 if (dma_bo->bo->size < rmesa->dma.minimum_size) { in radeonReleaseDmaRegions()
397 if (dma_bo->bo->size < rmesa->dma.minimum_size) { in radeonReleaseDmaRegions()
Dradeon_common_context.h264 size_t minimum_size; member
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_dma.c210 rmesa->dma.minimum_size = MAX_DMA_BUF_SZ; in radeon_init_dma()
218 if (size > rmesa->dma.minimum_size) in radeonRefillCurrentDmaRegion()
219 rmesa->dma.minimum_size = (size + 15) & (~15); in radeonRefillCurrentDmaRegion()
222 __func__, size, rmesa->dma.minimum_size); in radeonRefillCurrentDmaRegion()
231 0, rmesa->dma.minimum_size, 4, in radeonRefillCurrentDmaRegion()
365 __func__, free, wait, reserved, rmesa->dma.minimum_size); in radeonReleaseDmaRegions()
379 if (dma_bo->bo->size < rmesa->dma.minimum_size) { in radeonReleaseDmaRegions()
397 if (dma_bo->bo->size < rmesa->dma.minimum_size) { in radeonReleaseDmaRegions()
Dradeon_common_context.h264 size_t minimum_size; member
/external/v8/src/wasm/
Dwasm-objects.cc1179 uint32_t minimum_size) { in EnsureIndirectFunctionTableWithMinimumSize() argument
1187 WasmIndirectFunctionTable::Resize(isolate, table, minimum_size); in EnsureIndirectFunctionTableWithMinimumSize()
1192 if (old_size >= minimum_size) return false; // Nothing to do. in EnsureIndirectFunctionTableWithMinimumSize()
1195 if (native_allocations->indirect_function_table_capacity() < minimum_size) { in EnsureIndirectFunctionTableWithMinimumSize()
1198 minimum_size); in EnsureIndirectFunctionTableWithMinimumSize()
1200 minimum_size); in EnsureIndirectFunctionTableWithMinimumSize()
1202 instance->set_indirect_function_table_size(minimum_size); in EnsureIndirectFunctionTableWithMinimumSize()
1203 for (uint32_t j = old_size; j < minimum_size; j++) { in EnsureIndirectFunctionTableWithMinimumSize()
Dwasm-objects.h507 uint32_t minimum_size);
/external/v8/src/ic/
Daccessor-assembler.cc43 int minimum_size = 0; in LoadHandlerDataField() local
47 minimum_size = DataHandler::kSizeWithData1; in LoadHandlerDataField()
51 minimum_size = DataHandler::kSizeWithData2; in LoadHandlerDataField()
55 minimum_size = DataHandler::kSizeWithData3; in LoadHandlerDataField()
60 USE(minimum_size); in LoadHandlerDataField()
63 IntPtrConstant(minimum_size / kTaggedSize))); in LoadHandlerDataField()