Searched refs:random_func (Results 1 – 7 of 7) sorted by relevance
/external/tensorflow/tensorflow/lite/testing/ |
D | generate_testspec_test.cc | 28 auto random_func = [&]() { in TEST() local 36 const auto& data = GenerateRandomTensor<float>({1, 3, 4}, random_func); in TEST()
|
D | generate_testspec.h | 60 RandomFunction random_func) { in GenerateRandomTensor() argument 67 std::generate_n(result.data(), num_elements, random_func); in GenerateRandomTensor()
|
/external/tflite-support/tensorflow_lite_support/custom_ops/ |
D | tflite_inference_main.cc | 33 const std::function<std::string()>& random_func) { in FillRandomString() argument 39 auto str = random_func(); in FillRandomString()
|
/external/tensorflow/tensorflow/lite/testing/kernel_test/ |
D | input_generator.cc | 33 const std::function<T(int)>& random_func) { in GenerateRandomTensor() argument 41 result[i] = random_func(i); in GenerateRandomTensor()
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_ops_impl.py | 374 random_func = functools.partial(random_ops.random_uniform, seed=seed) 375 return _random_flip(image, 0, random_func, 'random_flip_up_down') 422 random_func = functools.partial(random_ops.random_uniform, seed=seed) 423 return _random_flip(image, 1, random_func, 'random_flip_left_right') 451 random_func = functools.partial( 454 image, 1, random_func, 'stateless_random_flip_left_right') 482 random_func = functools.partial( 485 image, 0, random_func, 'stateless_random_flip_up_down') 488 def _random_flip(image, flip_index, random_func, scope_name): argument 512 uniform_random = random_func(shape=[], minval=0, maxval=1.0) [all …]
|
/external/tensorflow/tensorflow/lite/tools/benchmark/ |
D | benchmark_tflite_model.cc | 100 const std::function<std::string()>& random_func) { in FillRandomString() argument 103 auto str = random_func(); in FillRandomString()
|
/external/tensorflow/tensorflow/python/data/kernel_tests/ |
D | map_test.py | 983 def random_func(x): function 989 _ = dataset_ops.Dataset.range(10).map(random_func)
|