/external/libaom/libaom/test/ |
D | sad_test.cc | 283 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 …]
|
D | avg_test.cc | 77 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/ |
D | test_util.h | 60 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()
|
D | depthwiseconv_float_test.cc | 127 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()
|
D | averagepool_quantized_test.cc | 88 FillRandom(&input_data); in CreateDataAndRunAveragePool() 178 FillRandom(&input_data, min, max); in CreateExtremalDataAndRunAveragePool() 184 FillRandom(&input_data, min, max); in CreateExtremalDataAndRunAveragePool()
|
D | depthwiseconv_per_channel_quantized_test.cc | 267 FillRandom(&input_data); in TryTestOneDepthwiseConv3x3Filter() 268 FillRandom(&filter_data); in TryTestOneDepthwiseConv3x3Filter() 269 FillRandom(&bias_data, -1000, 1000); in TryTestOneDepthwiseConv3x3Filter()
|
D | depthwiseconv_quantized_test.cc | 857 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()
|
D | softmax_quantized_test.cc | 175 FillRandom(&input_data); in TryOneUniformSoftmax() 237 FillRandom(&input_data); in TryOneUniformSoftmaxInt8()
|
D | test_util.cc | 106 void FillRandom(std::vector<float>* vec, float min, float max) { in FillRandom() function
|
D | maxpool_quantized_test.cc | 84 FillRandom(&input_data); in CreateDataAndRunMaxPool()
|
D | resize_nearest_neighbor_test.cc | 162 FillRandom(&input_data, static_cast<uint8>(0), static_cast<uint8>(255)); in TestOptimizedResizeNearestNeighbor()
|
D | resize_bilinear_test.cc | 48 FillRandom(&input_data, min_amplitude, max_amplitude); in TestOneResizeBilinear()
|
/external/libvpx/libvpx/test/ |
D | sad_test.cc | 244 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 …]
|
D | consistency_test.cc | 81 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()
|
D | avg_test.cc | 84 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 …]
|
D | blockiness_test.cc | 78 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/ |
D | tridiagonal_test.cc | 58 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/ |
D | reduce_window_test.cc | 179 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()
|
D | reduce_test.cc | 179 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()
|
D | triangular_solve_test.cc | 459 avals.FillRandom(1.0); in XLA_TEST_P() 467 bvals.FillRandom(1.0); in XLA_TEST_P()
|
D | select_and_scatter_test.cc | 75 o.FillRandom(1.5f); in XLA_TEST_P() 80 s.FillRandom(12.0f); in XLA_TEST_P()
|
D | batch_normalization_test.cc | 552 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()
|
D | slice_test.cc | 160 values.FillRandom(3.14f); in TEST_F() 191 values.FillRandom(3.14f); in XLA_TEST_F()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | array.cc | 23 void Array<complex64>::FillRandom(const complex64& stddev, const double mean, in FillRandom() function in xla::Array
|
/external/gemmlowp/standalone/ |
D | neon-gemm-kernel-benchmark.cc | 4904 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()
|