Home
last modified time | relevance | path

Searched refs:min_size (Results 1 – 25 of 156) sorted by relevance

1234567

/external/tensorflow/tensorflow/core/kernels/
Dqr_op_impl.h74 int64 min_size = std::min(m, n); in GetOutputMatrixShapes() local
79 {TensorShape({m, min_size}), TensorShape({min_size, n})}); in GetOutputMatrixShapes()
87 double min_size = std::min(m, n); in GetCostPerUnit() local
88 double cost = 2 * max_size * min_size * min_size - in GetCostPerUnit()
89 2 * min_size * min_size * min_size / 3.; in GetCostPerUnit()
106 const int min_size = std::min(m, n); in ComputeMatrix() local
115 Matrix tmp = Matrix::Identity(m, min_size); in ComputeMatrix()
117 auto qr_top = qr.matrixQR().block(0, 0, min_size, n); in ComputeMatrix()
144 const int64 min_size = std::min(m, n); in ComputeAsync() local
159 q_shape.set_dim(ndims - 1, full_matrices_ ? m : min_size); in ComputeAsync()
[all …]
Dsvd_op_impl.h60 int64 min_size = std::min(m, n); in GetOutputMatrixShapes() local
62 return TensorShapes({TensorShape({min_size}), in GetOutputMatrixShapes()
63 TensorShape({m, full_matrices_ ? m : min_size}), in GetOutputMatrixShapes()
64 TensorShape({n, full_matrices_ ? n : min_size})}); in GetOutputMatrixShapes()
66 return TensorShapes({TensorShape({min_size})}); in GetOutputMatrixShapes()
/external/webrtc/webrtc/modules/rtp_rtcp/source/
Dvp8_partition_aggregator.cc168 void Vp8PartitionAggregator::SetPriorMinMax(int min_size, int max_size) { in SetPriorMinMax() argument
170 assert(min_size >= 0); in SetPriorMinMax()
171 assert(max_size >= min_size); in SetPriorMinMax()
172 root_->set_min_parent_size(min_size); in SetPriorMinMax()
197 int* min_size, in CalcMinMax() argument
199 if (*min_size < 0) { in CalcMinMax()
200 *min_size = std::numeric_limits<int>::max(); in CalcMinMax()
214 if (this_size < static_cast<size_t>(*min_size)) { in CalcMinMax()
215 *min_size = this_size; in CalcMinMax()
227 int min_size, in CalcNumberOfFragments() argument
[all …]
Drtp_format_vp8.cc353 int min_size, max_size; in GeneratePacketsBalancedAggregates() local
354 AggregateSmallPartitions(&partition_decision, &min_size, &max_size); in GeneratePacketsBalancedAggregates()
363 remaining_partition, max_payload_len, overhead, min_size, max_size); in GeneratePacketsBalancedAggregates()
374 if (static_cast<int>(this_packet_bytes) < min_size) { in GeneratePacketsBalancedAggregates()
375 min_size = this_packet_bytes; in GeneratePacketsBalancedAggregates()
405 int* min_size, in AggregateSmallPartitions() argument
407 assert(min_size && max_size); in AggregateSmallPartitions()
408 *min_size = -1; in AggregateSmallPartitions()
430 if (*min_size >= 0 && *max_size >= 0) { in AggregateSmallPartitions()
431 aggregator.SetPriorMinMax(*min_size, *max_size); in AggregateSmallPartitions()
[all …]
Dvp8_partition_aggregator_unittest.cc108 int min_size = -1; in VerifyMinMax() local
110 aggregator.CalcMinMax(opt_config, &min_size, &max_size); in VerifyMinMax()
111 EXPECT_EQ(expected_min, min_size); in VerifyMinMax()
148 int min_size = 382; in TEST() local
150 aggregator->CalcMinMax(opt_config, &min_size, &max_size); in TEST()
151 EXPECT_EQ(382, min_size); in TEST()
/external/libvpx/libvpx/test/
Dexternal_frame_buffer_test.cc63 int GetFreeFrameBuffer(size_t min_size, vpx_codec_frame_buffer_t *fb) { in GetFreeFrameBuffer() argument
68 if (ext_fb_list_[idx].size < min_size) { in GetFreeFrameBuffer()
70 ext_fb_list_[idx].data = new uint8_t[min_size]; in GetFreeFrameBuffer()
71 memset(ext_fb_list_[idx].data, 0, min_size); in GetFreeFrameBuffer()
72 ext_fb_list_[idx].size = min_size; in GetFreeFrameBuffer()
83 int GetZeroFrameBuffer(size_t min_size, vpx_codec_frame_buffer_t *fb) { in GetZeroFrameBuffer() argument
88 if (ext_fb_list_[idx].size < min_size) { in GetZeroFrameBuffer()
91 ext_fb_list_[idx].size = min_size; in GetZeroFrameBuffer()
163 int get_vp9_frame_buffer(void *user_priv, size_t min_size, in get_vp9_frame_buffer() argument
167 return fb_list->GetFreeFrameBuffer(min_size, fb); in get_vp9_frame_buffer()
[all …]
/external/libaom/libaom/test/
Dexternal_frame_buffer_test.cc63 int GetFreeFrameBuffer(size_t min_size, aom_codec_frame_buffer_t *fb) { in GetFreeFrameBuffer() argument
68 if (ext_fb_list_[idx].size < min_size) { in GetFreeFrameBuffer()
70 ext_fb_list_[idx].data = new uint8_t[min_size]; in GetFreeFrameBuffer()
71 memset(ext_fb_list_[idx].data, 0, min_size); in GetFreeFrameBuffer()
72 ext_fb_list_[idx].size = min_size; in GetFreeFrameBuffer()
83 int GetZeroFrameBuffer(size_t min_size, aom_codec_frame_buffer_t *fb) { in GetZeroFrameBuffer() argument
88 if (ext_fb_list_[idx].size < min_size) { in GetZeroFrameBuffer()
91 ext_fb_list_[idx].size = min_size; in GetZeroFrameBuffer()
161 int get_aom_frame_buffer(void *user_priv, size_t min_size, in get_aom_frame_buffer() argument
165 return fb_list->GetFreeFrameBuffer(min_size, fb); in get_aom_frame_buffer()
[all …]
/external/tensorflow/tensorflow/python/keras/applications/
Dimagenet_utils.py247 min_size, argument
304 if ((input_shape[1] is not None and input_shape[1] < min_size) or
305 (input_shape[2] is not None and input_shape[2] < min_size)):
306 raise ValueError('Input size must be at least ' + str(min_size) +
307 'x' + str(min_size) + '; got `input_shape=' +
316 if ((input_shape[0] is not None and input_shape[0] < min_size) or
317 (input_shape[1] is not None and input_shape[1] < min_size)):
318 raise ValueError('Input size must be at least ' + str(min_size) +
319 'x' + str(min_size) + '; got `input_shape=' +
Dimagenet_utils_test.py141 min_size=139,
164 min_size=139,
178 min_size=139,
192 min_size=139,
201 min_size=139,
209 min_size=139,
216 min_size=139,
223 min_size=139,
230 min_size=139,
237 min_size=139,
[all …]
/external/bcc/tools/old/
Dmemleak.py108 min_size = args.min_size variable
111 if min_size is not None and max_size is not None and min_size > max_size:
219 if min_size is not None and max_size is not None:
221 (min_size, max_size)
222 elif min_size is not None:
223 size_filter = "if (size < %d) return 0;" % min_size
/external/harfbuzz_ng/src/
Dhb-subset-cff-common.cc125 …subset_fdselect_size = FDSelect::min_size + FDSelect4::min_size + FDSelect4_Range::static_size * n… in hb_plan_subset_cff_fdselect()
130 …unsigned int format0_size = FDSelect::min_size + FDSelect0::min_size + HBUINT8::static_size * subs… in hb_plan_subset_cff_fdselect()
132 …unsigned int format3_size = FDSelect::min_size + FDSelect3::min_size + FDSelect3_Range::static_siz… in hb_plan_subset_cff_fdselect()
189 size -= FDSelect::min_size; in hb_serialize_cff_fdselect()
Dhb-ot-hdmx-table.hh45 { return hb_ceil_to_4 (min_size + count * HBUINT8::static_size); } in get_size()
88 { return min_size + numRecords * sizeDeviceRecord; } in get_size()
154 return sizeDeviceRecord - DeviceRecord::min_size; in get_num_glyphs()
162 sizeDeviceRecord >= DeviceRecord::min_size && in sanitize()
Dhb-ot-cff1-table.hh191 …Encoding0 *fmt0 = c->allocate_size<Encoding0> (Encoding0::min_size + HBUINT8::static_size * enc_co… in serialize()
208 …Encoding1 *fmt1 = c->allocate_size<Encoding1> (Encoding1::min_size + Encoding1_Range::static_size … in serialize()
225 …CFF1SuppEncData *suppData = c->allocate_size<CFF1SuppEncData> (CFF1SuppEncData::min_size + SuppEnc… in serialize()
243 unsigned int size = min_size; in calculate_serialized_size()
246 case 0: size += Encoding0::min_size + HBUINT8::static_size * enc_count; break; in calculate_serialized_size()
247 case 1: size += Encoding1::min_size + Encoding1_Range::static_size * enc_count; break; in calculate_serialized_size()
251 size += CFF1SuppEncData::min_size + SuppEncoding::static_size * supp_count; in calculate_serialized_size()
257 unsigned int size = min_size; in get_size()
479 …Charset0 *fmt0 = c->allocate_size<Charset0> (Charset0::min_size + HBUINT16::static_size * (num_gly… in serialize()
493 …Charset1 *fmt1 = c->allocate_size<Charset1> (Charset1::min_size + Charset1_Range::static_size * si… in serialize()
[all …]
Dhb-machinery.hh118 static constexpr unsigned min_size = (size); \
125 static constexpr unsigned min_size = (size)
130 static constexpr unsigned min_size = (size)
134 static constexpr unsigned min_size = (size)
140 static constexpr unsigned min_size = (size)
143 unsigned int get_size () const { return (size - (array).min_size + (array).get_size ()); } \
Dhb-ot-color-cbdt-table.hh423 if (unlikely (image_length < GlyphBitmapDataFormat17::min_size)) in get_extents()
431 if (unlikely (image_length < GlyphBitmapDataFormat18::min_size)) in get_extents()
476 if (unlikely (image_length < GlyphBitmapDataFormat17::min_size)) in reference_png()
481 image_offset + GlyphBitmapDataFormat17::min_size, in reference_png()
485 if (unlikely (image_length < GlyphBitmapDataFormat18::min_size)) in reference_png()
490 image_offset + GlyphBitmapDataFormat18::min_size, in reference_png()
494 if (unlikely (image_length < GlyphBitmapDataFormat19::min_size)) in reference_png()
499 image_offset + GlyphBitmapDataFormat19::min_size, in reference_png()
/external/webrtc/webrtc/modules/video_coding/codecs/vp9/
Dvp9_frame_buffer_pool.cc55 Vp9FrameBufferPool::GetFrameBuffer(size_t min_size) { in GetFrameBuffer() argument
56 RTC_DCHECK_GT(min_size, 0u); in GetFrameBuffer()
81 available_buffer->SetSize(min_size); in GetFrameBuffer()
102 size_t min_size, in VpxGetFrameBuffer() argument
108 rtc::scoped_refptr<Vp9FrameBuffer> buffer = pool->GetFrameBuffer(min_size); in VpxGetFrameBuffer()
/external/image_io/src/base/
Distream_ref_data_source.cc16 size_t begin, size_t min_size) { in GetDataSegment() argument
20 current_data_segment_ = Read(begin, min_size); in GetDataSegment()
30 size_t min_size = std::min(data_range.GetLength(), best_size); in TransferData() local
32 current_data_segment_->GetLength() >= min_size && in TransferData()
38 size_t chunk_size = min_size; in TransferData()
/external/bcc/tools/
Dmemleak.py115 min_size = args.min_size variable
119 if min_size is not None and max_size is not None and min_size > max_size:
376 if min_size is not None and max_size is not None:
378 (min_size, max_size)
379 elif min_size is not None:
380 size_filter = "if (size < %d) return 0;" % min_size
/external/autotest/server/site_tests/brillo_DiskSizeTest/
Dbrillo_DiskSizeTest.py19 min_size=_DEFAULT_MIN_SIZE): argument
34 if int(device_size) < int(min_size):
37 (device, device_size, min_size))
/external/libvpx/libvpx/vp9/common/
Dvp9_frame_buffers.c40 int vp9_get_frame_buffer(void *cb_priv, size_t min_size, in vp9_get_frame_buffer() argument
54 if (int_fb_list->int_fb[i].size < min_size) { in vp9_get_frame_buffer()
59 int_fb_list->int_fb[i].data = (uint8_t *)vpx_calloc(1, min_size); in vp9_get_frame_buffer()
61 int_fb_list->int_fb[i].size = min_size; in vp9_get_frame_buffer()
/external/libaom/libaom/av1/common/
Dframe_buffers.c57 int av1_get_frame_buffer(void *cb_priv, size_t min_size, in av1_get_frame_buffer() argument
71 if (int_fb_list->int_fb[i].size < min_size) { in av1_get_frame_buffer()
76 int_fb_list->int_fb[i].data = (uint8_t *)aom_calloc(1, min_size); in av1_get_frame_buffer()
81 int_fb_list->int_fb[i].size = min_size; in av1_get_frame_buffer()
/external/libcups/cups/
Ddest-options.c1535 dinfo->min_size.width = INT_MAX; in cups_create_media_db()
1536 dinfo->min_size.length = INT_MAX; in cups_create_media_db()
1599 dinfo->min_size.width = x_dimension->values[0].range.lower; in cups_create_media_db()
1600 dinfo->min_size.length = y_dimension->values[0].range.lower; in cups_create_media_db()
1601 dinfo->min_size.left = in cups_create_media_db()
1602 dinfo->min_size.right = 635; /* Default 1/4" side margins */ in cups_create_media_db()
1603 dinfo->min_size.top = in cups_create_media_db()
1604 dinfo->min_size.bottom = 1270; /* Default 1/2" top/bottom margins */ in cups_create_media_db()
1680 dinfo->min_size.top = in cups_create_media_db()
1688 dinfo->min_size.left = in cups_create_media_db()
[all …]
/external/eigen/test/
Dqr_fullpivoting.cpp19 Index min_size = numext::maxi(1,EIGEN_TEST_MAX_SIZE/10); in qr() local
20 Index rows = internal::random<Index>(min_size,max_size), in qr()
21 cols = internal::random<Index>(min_size,max_size), in qr()
22 cols2 = internal::random<Index>(min_size,max_size), in qr()
79 Index min_size = numext::maxi(1,EIGEN_TEST_MAX_SIZE/10); in qr_invertible() local
80 Index size = internal::random<Index>(min_size,max_size); in qr_invertible()
/external/libgav1/libgav1/src/
Dinternal_frame_buffer_list.cc80 const size_t min_size = info.y_buffer_size + 2 * info.uv_buffer_size; in GetFrameBuffer() local
97 if (buffer->size < min_size) { in GetFrameBuffer()
99 static_cast<uint8_t*>(malloc(min_size))); in GetFrameBuffer()
102 buffer->size = min_size; in GetFrameBuffer()
/external/linux-kselftest/tools/testing/selftests/drivers/net/mlxsw/spectrum/
Ddevlink_resources.sh71 local min_size
85 min_size=$(devlink_resource_get kvd "$j" | \
87 size=$((size - min_size))

1234567