Home
last modified time | relevance | path

Searched refs:FillRandom (Results 1 – 25 of 33) sorted by relevance

12

/external/libaom/libaom/test/
Dsad_test.cc283 void FillRandom(uint8_t *data, int stride) { in FillRandom() function in __anonf5d3fa5c0111::SADTestBase
568 FillRandom(source_data_, source_stride_); in TEST_P()
569 FillRandom(reference_data_, reference_stride_); in TEST_P()
579 FillRandom(source_data_, source_stride_); in TEST_P()
580 FillRandom(reference_data_, reference_stride_); in TEST_P()
590 FillRandom(source_data_, source_stride_); in TEST_P()
591 FillRandom(reference_data_, reference_stride_); in TEST_P()
603 FillRandom(source_data_, source_stride_); in TEST_P()
604 FillRandom(reference_data_, reference_stride_); in TEST_P()
626 FillRandom(source_data_, source_stride_); in TEST_P()
[all …]
Davg_test.cc77 void FillRandom() { in FillRandom() function in __anon47a276820111::AverageTestBase
134 FillRandom(); in TEST_P()
227 FillRandom(); in TEST_P()
242 FillRandom(); in TEST_P()
/external/tensorflow/tensorflow/lite/kernels/internal/
Dtest_util.h60 void FillRandom(std::vector<float>* vec, float min, float max);
64 void FillRandom(std::vector<T>* vec, T min, T max) { in FillRandom() function
72 void FillRandom(std::vector<T>* vec) { in FillRandom() function
73 FillRandom(vec, std::numeric_limits<T>::min(), std::numeric_limits<T>::max()); in FillRandom()
77 void FillRandom(typename std::vector<T>::iterator begin_it, in FillRandom() function
95 FillRandom(base_it, left_it, std::numeric_limits<T>::min(), sides_max); in FillRandomSkyscraper()
96 FillRandom(left_it, right_it, middle_min, std::numeric_limits<T>::max()); in FillRandomSkyscraper()
97 FillRandom(right_it, base_it + depth, std::numeric_limits<T>::min(), in FillRandomSkyscraper()
Ddepthwiseconv_float_test.cc127 FillRandom(&input_data, -input_amplitude, input_amplitude); in TryTestOneDepthwiseConv()
128 FillRandom(&filter_data, -filter_amplitude, filter_amplitude); in TryTestOneDepthwiseConv()
129 FillRandom(&bias_data, -bias_amplitude, bias_amplitude); in TryTestOneDepthwiseConv()
Daveragepool_quantized_test.cc88 FillRandom(&input_data); in CreateDataAndRunAveragePool()
178 FillRandom(&input_data, min, max); in CreateExtremalDataAndRunAveragePool()
184 FillRandom(&input_data, min, max); in CreateExtremalDataAndRunAveragePool()
Ddepthwiseconv_per_channel_quantized_test.cc267 FillRandom(&input_data); in TryTestOneDepthwiseConv3x3Filter()
268 FillRandom(&filter_data); in TryTestOneDepthwiseConv3x3Filter()
269 FillRandom(&bias_data, -1000, 1000); in TryTestOneDepthwiseConv3x3Filter()
Ddepthwiseconv_quantized_test.cc857 FillRandom(&bias_data, -10000, 10000); in TryTestDepthwiseConv()
862 FillRandom(&input_data, static_cast<int8>(-127), static_cast<int8>(127)); in TryTestDepthwiseConv()
863 FillRandom(&filter_data, static_cast<int8>(-127), static_cast<int8>(127)); in TryTestDepthwiseConv()
874 FillRandom(&output_multiplier_adjust, -(1 << 26), 0); in TryTestDepthwiseConv()
875 FillRandom(&output_shift_adjust, -4, 0); in TryTestDepthwiseConv()
887 FillRandom(&input_data); in TryTestDepthwiseConv()
888 FillRandom(&filter_data); in TryTestDepthwiseConv()
Dsoftmax_quantized_test.cc175 FillRandom(&input_data); in TryOneUniformSoftmax()
237 FillRandom(&input_data); in TryOneUniformSoftmaxInt8()
Dtest_util.cc106 void FillRandom(std::vector<float>* vec, float min, float max) { in FillRandom() function
Dmaxpool_quantized_test.cc84 FillRandom(&input_data); in CreateDataAndRunMaxPool()
Dresize_nearest_neighbor_test.cc162 FillRandom(&input_data, static_cast<uint8>(0), static_cast<uint8>(255)); in TestOptimizedResizeNearestNeighbor()
Dresize_bilinear_test.cc48 FillRandom(&input_data, min_amplitude, max_amplitude); in TestOneResizeBilinear()
/external/libvpx/libvpx/test/
Dsad_test.cc244 void FillRandom(uint8_t *data, int stride) { in FillRandom() function in __anoncdf5d27e0111::SADTestBase
383 FillRandom(source_data_, source_stride_); in TEST_P()
384 FillRandom(reference_data_, reference_stride_); in TEST_P()
394 FillRandom(source_data_, source_stride_); in TEST_P()
395 FillRandom(reference_data_, reference_stride_); in TEST_P()
403 FillRandom(source_data_, source_stride_); in TEST_P()
404 FillRandom(reference_data_, reference_stride_); in TEST_P()
411 FillRandom(source_data_, source_stride_); in TEST_P()
436 FillRandom(source_data_, source_stride_); in TEST_P()
437 FillRandom(reference_data_, reference_stride_); in TEST_P()
[all …]
Dconsistency_test.cc81 void FillRandom(uint8_t *data, int stride, int width, int height) { in FillRandom() function in __anon8b59b7b80111::ConsistencyTestBase
89 void FillRandom(uint8_t *data, int stride) { in FillRandom() function in __anon8b59b7b80111::ConsistencyTestBase
90 FillRandom(data, stride, width_, height_); in FillRandom()
154 FillRandom(source_data_[0], source_stride_); in TEST_P()
168 FillRandom(source_data_[0], source_stride_); in TEST_P()
169 FillRandom(source_data_[1], source_stride_); in TEST_P()
170 FillRandom(reference_data_[0], reference_stride_); in TEST_P()
171 FillRandom(reference_data_[1], reference_stride_); in TEST_P()
184 FillRandom(source_data_[0], source_stride_); in TEST_P()
Davg_test.cc84 void FillRandom() { in FillRandom() function in __anon1fc44ea40111::AverageTestBase
254 virtual void FillRandom() = 0;
274 virtual void FillRandom() { in FillRandom() function in __anon1fc44ea40111::SatdLowbdTest
313 void FillRandom() { in FillRandom() function in __anon1fc44ea40111::BlockErrorTestFP
355 FillRandom(); in TEST_P()
375 FillRandom(); in TEST_P()
392 FillRandom(); in TEST_P()
407 FillRandom(); in TEST_P()
436 FillRandom(); in TEST_P()
444 FillRandom(); in TEST_P()
[all …]
Dblockiness_test.cc78 void FillRandom(uint8_t *data, int stride, int width, int height) { in FillRandom() function in __anonaaa8a8130111::BlockinessTestBase
86 void FillRandom(uint8_t *data, int stride) { in FillRandom() function in __anonaaa8a8130111::BlockinessTestBase
87 FillRandom(data, stride, width_, height_); in FillRandom()
93 FillRandom(data + h * stride + w, stride, 4, 4); in FillRandomBlocky()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dtridiagonal_test.cc58 lower_diagonal.FillRandom(1.0, /*mean=*/0.0, /*seed=*/0); in XLA_TEST_P()
59 main_diagonal.FillRandom(0.05, /*mean=*/1.0, in XLA_TEST_P()
61 upper_diagonal.FillRandom(1.0, /*mean=*/0.0, in XLA_TEST_P()
63 rhs.FillRandom(1.0, /*mean=*/0.0, /*seed=*/3 * max_batch_size * num_eqs); in XLA_TEST_P()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dreduce_window_test.cc179 input_array.FillRandom(2.f, 2.f); in XLA_TEST_P()
194 input_array.FillRandom(2.f, 2.f); in XLA_TEST_P()
208 input_array.FillRandom(2.f, 2.f); in XLA_TEST_P()
261 input_array.FillRandom(2.f, 2.f); in XLA_TEST_P()
286 input_array.FillRandom(2.f, 4.f); in XLA_TEST_P()
364 input_array.FillRandom(2.f, 2.f); in XLA_TEST_P()
422 input_array.FillRandom(2.0f); in XLA_TEST_P()
443 input_array.FillRandom(2.0f); in XLA_TEST_P()
464 input_array.FillRandom(2.0f); in XLA_TEST_P()
485 input_array.FillRandom(2.0f); in XLA_TEST_P()
Dreduce_test.cc179 input_data.FillRandom(0, 1); in RunR2ToR1PredTest()
212 input_data.FillRandom(3.14f, 0.04); in RunR2ToR0Test()
239 input_data.FillRandom(3.14f, 0.04); in RunR2ToR1Test()
450 input_data.FillRandom(3.14f, 0.04); in XLA_TEST_F()
481 input_data.FillRandom(3.14f, 0.04); in XLA_TEST_F()
528 input_data.FillRandom(3.14f, 0.04); in XLA_TEST_F()
590 input.FillRandom(214.0f); in XLA_TEST_F()
605 input.FillRandom(214.0f); in XLA_TEST_F()
996 input_data.FillRandom(3.0f); in XLA_TEST_F()
Dtriangular_solve_test.cc459 avals.FillRandom(1.0); in XLA_TEST_P()
467 bvals.FillRandom(1.0); in XLA_TEST_P()
Dselect_and_scatter_test.cc75 o.FillRandom(1.5f); in XLA_TEST_P()
80 s.FillRandom(12.0f); in XLA_TEST_P()
Dbatch_normalization_test.cc552 input_array.FillRandom(GetParam().random_value_var, in XLA_TEST_P()
653 input_array.FillRandom(GetParam().random_value_var, in XLA_TEST_P()
761 input_array.FillRandom(GetParam().random_value_var, in XLA_TEST_P()
765 grad_output_array.FillRandom(GetParam().random_value_var, in XLA_TEST_P()
Dslice_test.cc160 values.FillRandom(3.14f); in TEST_F()
191 values.FillRandom(3.14f); in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/xla/
Darray.cc23 void Array<complex64>::FillRandom(const complex64& stddev, const double mean, in FillRandom() function in xla::Array
/external/gemmlowp/standalone/
Dneon-gemm-kernel-benchmark.cc4904 void FillRandom(CacheLineAlignedBuffer<DataType>* buffer) { in FillRandom() function
4974 FillRandom(&lhs); in test_kernel()
4975 FillRandom(&rhs); in test_kernel()
4976 FillRandom(&accum_initial); in test_kernel()

12