/external/tensorflow/tensorflow/python/ops/ragged/ |
D | ragged_rank_op_test.py | 35 test_input=1, 40 test_input=[1], 44 test_input=[1, 2, 3, 4], 49 test_input=[[1], [2], [3]], 54 test_input=[[[1], [2, 3]], [[4], [5, 6, 7]]], 59 test_input=[[[1], [2, 3], [10, 20]], 66 test_input=[[[[1], [2]]], 72 test_input=[ 81 def testRaggedRank(self, test_input, expected_rank, ragged_rank=None): argument 82 test_input = ragged_factory_ops.constant( [all …]
|
D | ragged_size_op_test.py | 42 def testRaggedSize(self, test_input, size, ragged_rank=None): argument 43 input_rt = ragged_factory_ops.constant(test_input, ragged_rank=ragged_rank)
|
/external/python/cpython3/Lib/distutils/tests/ |
D | test_text_file.py | 50 def test_input(count, description, file, expected_result): function 65 test_input(1, "no processing", in_file, result1) 72 test_input(2, "strip comments", in_file, result2) 79 test_input(3, "strip blanks", in_file, result3) 85 test_input(4, "default processing", in_file, result4) 92 test_input(5, "join lines without collapsing", in_file, result5) 99 test_input(6, "join lines with collapsing", in_file, result6)
|
/external/python/setuptools/setuptools/_distutils/tests/ |
D | test_text_file.py | 50 def test_input(count, description, file, expected_result): function 65 test_input(1, "no processing", in_file, result1) 72 test_input(2, "strip comments", in_file, result2) 79 test_input(3, "strip blanks", in_file, result3) 85 test_input(4, "default processing", in_file, result4) 92 test_input(5, "join lines without collapsing", in_file, result5) 99 test_input(6, "join lines with collapsing", in_file, result6)
|
/external/python/cpython2/Lib/distutils/tests/ |
D | test_text_file.py | 50 def test_input(count, description, file, expected_result): function 65 test_input(1, "no processing", in_file, result1) 72 test_input(2, "strip comments", in_file, result2) 79 test_input(3, "strip blanks", in_file, result3) 85 test_input(4, "default processing", in_file, result4) 92 test_input(5, "join lines without collapsing", in_file, result5) 99 test_input(6, "join lines with collapsing", in_file, result6)
|
/external/tensorflow/tensorflow/lite/kernels/internal/ |
D | log_quantized_test.cc | 72 const std::vector<int32>& test_input, in CheckOutputData() argument 85 test_input[i] > 5 in CheckOutputData() 93 << ", test_input[i]=" << test_input[i] << "=" in CheckOutputData() 94 << static_cast<double>(test_input[i]) / (1 << (31 - input_integer_bits)) in CheckOutputData() 120 void RunSingleTest(const std::vector<int32>& test_input, in RunSingleTest() argument 122 const int n = test_input.size(); in RunSingleTest() 130 fudged_input[i] = std::max(test_input[i], 2); in RunSingleTest() 148 CheckOutputData(quantized_output, float_gen_output, test_input, label.str(), in RunSingleTest() 154 void RunSingleTest(const std::vector<int32>& test_input, int input_integer_bits, in RunSingleTest() argument 158 return RunSingleTest<OutputIntegerBits, K>(test_input, check_label, \ in RunSingleTest() [all …]
|
/external/tensorflow/tensorflow/compiler/tests/ |
D | reduce_ops_test.py | 49 for test_input in test_inputs: 55 result = sess.run(out, {a: test_input, index: [0]}) 57 result, np_reduce_fn(test_input, axis=0), rtol=rtol, atol=atol) 59 result = sess.run(out, {a: test_input, index: [1]}) 61 result, np_reduce_fn(test_input, axis=1), rtol=rtol, atol=atol) 63 result = sess.run(out, {a: test_input, index: [-1]}) 65 result, np_reduce_fn(test_input, axis=1), rtol=rtol, atol=atol) 72 sess.run(out, {a: test_input, index: [-33]}) 76 sess.run(out, {a: test_input, index: [2]}) 209 for test_input in test_inputs: [all …]
|
D | quantized_ops_test.py | 55 def pack_uint8_r2_to_uint32(self, test_input): argument 56 num_rows, num_columns = test_input.get_shape().as_list() 59 math_ops.cast(test_input, dtype=dtypes.uint8), 88 test_input = ops.convert_to_tensor(random_input, dtype=dtypes.float32) 89 transposed_input = array_ops.transpose(test_input, [1, 0])
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | conv_ops_3d_test.py | 476 padding, test_input, data_format, use_gpu): argument 549 if test_input: 582 test_input=True) 594 test_input=False) 606 test_input=True) 618 test_input=False) 630 test_input=True) 642 test_input=False) 654 test_input=True) 666 test_input=False) [all …]
|
D | depthwise_conv_op_test.py | 593 test_input, argument 657 if test_input: 699 test_input=True, 722 test_input=True, 732 test_input=True, 759 test_input=True, 785 test_input=True, 809 test_input=False, 820 test_input=False, 843 test_input=False, [all …]
|
D | conv_ops_test.py | 859 for test_input in [True, False]: 872 test_input=test_input, 881 for test_input in [True, False]: 894 test_input=test_input, 1867 test_input, argument 1926 if test_input: 1961 test_input=True, 1979 test_input=False, 1997 test_input=True, 2015 test_input=False, [all …]
|
D | template_test.py | 82 test_input, test_output = ([5., 6., 7., 8.], [11, 13, 15, 17]) 96 test_prediction = line_template(test_input) 123 test_input, test_output = ([5., 6., 7., 8.], [11, 13, 15, 17]) 142 test_prediction = line_template(test_input) 164 test_input, test_output = ([5., 6., 7., 8.], [11, 13, 15, 17]) 183 test_prediction = line_template(test_input)
|
/external/tensorflow/tensorflow/lite/python/ |
D | lite_flex_test.py | 70 test_input = np.array([[1.0, 2.0, 3.0, 4.0]], dtype=np.float32) 71 interpreter.set_tensor(input_details[0]['index'], test_input) 117 test_input = np.array([[1.0, 2.0, 3.0, 4.0]], dtype=np.float32) 118 interpreter.set_tensor(input_details[0]['index'], test_input) 153 test_input = np.array([4.0], dtype=np.float32) 154 interpreter.set_tensor(input_details[0]['index'], test_input) 235 test_input = np.array([[1.0, 2.0, 3.0, 4.0]], dtype=np.int32) 236 interpreter.set_tensor(input_details[0]['index'], test_input)
|
D | interpreter_test.py | 148 test_input = np.array([[1.0, 2.0, 3.0, 4.0]], dtype=np.float32) 150 interpreter.set_tensor(input_details[0]['index'], test_input) 164 test_input = np.array([[1.0, 2.0, 3.0, 4.0]], dtype=np.float32) 166 interpreter.set_tensor(input_details[0]['index'], test_input) 200 test_input = np.array([[1, 2, 3, 4]], dtype=np.uint8) 202 interpreter.resize_tensor_input(input_details[0]['index'], test_input.shape) 204 interpreter.set_tensor(input_details[0]['index'], test_input) 240 test_input = np.array([1, 2, 3], dtype=np.int64) 241 interpreter.set_tensor(input_details[1]['index'], test_input) 243 test_input = np.array(['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j']) [all …]
|
/external/protobuf/src/google/protobuf/compiler/ruby/ |
D | ruby_generator_unittest.cc | 70 string test_input; in RubyTest() local 73 &test_input, in RubyTest() 77 test_input, in RubyTest()
|
/external/tensorflow/tensorflow/lite/testing/kernel_test/ |
D | BUILD | 39 "//tensorflow/lite:testdata/test_input.csv", 85 "//tensorflow/lite:testdata/test_input.csv", 109 "//tensorflow/lite:testdata/test_input.csv",
|
/external/tensorflow/tensorflow/python/autograph/converters/ |
D | lists_test.py | 93 test_input = [1, 2, [1, 2, 3]] 97 self.assertAllEqual(tr(test_input), 3)
|
/external/tensorflow/tensorflow/python/keras/preprocessing/ |
D | image_test.py | 59 test_input = np.random.random((20, 40, 3)) 60 output = preprocessing_image.smart_resize(test_input, size=(50, 50)) 63 output = preprocessing_image.smart_resize(test_input, size=(10, 10)) 65 output = preprocessing_image.smart_resize(test_input, size=(100, 50)) 67 output = preprocessing_image.smart_resize(test_input, size=(5, 15))
|
/external/rust/crates/libfuzzer-sys/src/ |
D | lib.rs | 28 let test_input = ::std::panic::catch_unwind(|| unsafe { in test_input_wrap() localVariable 32 if test_input.err().is_some() { in test_input_wrap()
|
/external/catch2/projects/SelfTest/UsageTests/ |
D | Generators.tests.cpp | 61 auto [test_input, expected] = GENERATE( table<std::string, size_t>({ 68 REQUIRE( test_input.size() == expected );
|
/external/vixl/tools/test_generator/ |
D | generator.py | 385 def InputDefinition(test_input): argument 388 for input in test_input.GenerateInputs(self.inputs) 392 """.format(name=test_input.name, input=",".join(inputs))
|
/external/tensorflow/tensorflow/python/ops/ |
D | gradients_test.py | 1570 test_input = constant(np.ones((10, 10), dtype=np.float32)) 1572 grads_re, grads = self._TestFnVariablesGradient(test_input, TestFn, 1573 test_input) 1580 grads_re, grads = self._TestFnVariablesGradient(test_input, TestFn, 1588 grads_re, grads = self._TestFnVariablesGradient(test_input, TestFnSeq, 1589 test_input) 1595 grads_re, grads = self._TestFnVariablesGradient(test_input, TestFnSeq,
|
/external/python/cpython3/Lib/test/ |
D | test_winconsoleio.py | 143 def test_input(self): member in WindowsConsoleIOTests
|
/external/openscreen/third_party/abseil/src/absl/time/internal/cctz/src/ |
D | time_zone_format.cc | 919 std::string test_input = "1"; in parse() local 920 test_input.append(orig_data, static_cast<std::size_t>(data - orig_data)); in parse() 921 const char* test_data = test_input.c_str(); in parse()
|
/external/libtextclassifier/abseil-cpp/absl/time/internal/cctz/src/ |
D | time_zone_format.cc | 919 std::string test_input = "1"; in parse() local 920 test_input.append(orig_data, static_cast<std::size_t>(data - orig_data)); in parse() 921 const char* test_data = test_input.c_str(); in parse()
|