Home
last modified time | relevance | path

Searched refs:top_size (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/core/lib/gtl/
Dtop_n_test.cc56 size_t top_size = std::min(limit, n_elements); in TestIntTopNHelper() local
57 EXPECT_EQ(top_size, top.size()); in TestIntTopNHelper()
58 if (test_peek && top_size != 0) { in TestIntTopNHelper()
59 EXPECT_EQ(shadow[top_size - 1], top.peek_bottom()); in TestIntTopNHelper()
68 EXPECT_EQ(top_size, v.size()); in TestIntTopNHelper()
69 for (int i = 0; i != top_size; ++i) { in TestIntTopNHelper()
/external/libgav1/libgav1/src/tile/bitstream/
Dpalette.cc36 const int top_size = in GetPaletteCache() local
43 if (left_size == 0 && top_size == 0) return 0; in GetPaletteCache()
46 const uint16_t* top = (top_size > 0) in GetPaletteCache()
52 std::merge(top, top + top_size, left, left + left_size, cache); in GetPaletteCache()
56 std::distance(cache, std::unique(cache, cache + left_size + top_size))); in GetPaletteCache()
/external/bcc/tools/lib/
Duobjnew.py184 elif args.top_size:
186 data = data[-args.top_size:]
/external/webp/src/dec/
Dframe_dec.c687 const size_t top_size = sizeof(VP8TopSamples) * mb_w; in AllocateMemory() local
698 const size_t cache_size = top_size * cache_height; in AllocateMemory()
703 + top_size + mb_info_size + f_info_size in AllocateMemory()
726 mem += top_size; in AllocateMemory()
/external/libgav1/libgav1/src/tile/
Dprediction.cc264 const int top_size = is_directional_mode ? top_and_left_size : width; in IntraPrediction() local
313 Memset(top_row, buffer[y][x - 1], top_size); in IntraPrediction()
315 Memset(top_row, (1 << (bitdepth - 1)) - 1, top_size); in IntraPrediction()
322 if (top_size - top_limit > 0) { in IntraPrediction()
324 top_size - top_limit); in IntraPrediction()
/external/webp/src/enc/
Diterator_enc.c36 const size_t top_size = enc->mb_w_ * 16; in InitTop() local
37 memset(enc->y_top_, 127, 2 * top_size); in InitTop()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dhlo_ops.cc1191 size_t top_size = 1; in foldConcatenateHelper() local
1193 top_size = top_size * shape[i]; in foldConcatenateHelper()
1196 for (size_t i = 0; i < top_size; i++) { in foldConcatenateHelper()
1199 size_t bottom_size = attr.getNumElements() / top_size; in foldConcatenateHelper()