/external/tensorflow/tensorflow/core/kernels/image/ |
D | non_max_suppression_op_test.cc | 56 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() 70 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() 85 test::FillValues<int>(&expected, {3, 0}); in TEST_F() 102 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() 115 test::FillValues<int>(&expected, {0, 1, 2}); in TEST_F() 130 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() 142 test::FillValues<int>(&expected, {0}); in TEST_F() 165 test::FillValues<int>(&expected, {0}); in TEST_F() 205 test::FillValues<int>(&expected, {}); in TEST_F() 238 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() [all …]
|
D | resize_nearest_neighbor_op_test.cc | 110 test::FillValues<float>(&expected, {1}); in TEST_P() 128 test::FillValues<float>(&expected, {1}); in TEST_P() 145 test::FillValues<float>(&expected, in TEST_P() 166 test::FillValues<float>(&expected, in TEST_P() 188 test::FillValues<float>(&expected, in TEST_P() 210 test::FillValues<float>(&expected, in TEST_P() 229 test::FillValues<float>(&expected, in TEST_P() 252 test::FillValues<float>(&expected, in TEST_P() 277 test::FillValues<float>(&expected, in TEST_P() 297 test::FillValues<float>(&expected, in TEST_P() [all …]
|
D | colorspace_op_test.cc | 47 test::FillValues<T>(&expected, {0.0, 0.0, 0.0}); in CheckBlack() 57 test::FillValues<T>(&expected, {0.0, 0.0, .5}); in CheckGray() 67 test::FillValues<T>(&expected, {0.0, 0.0, 1.0}); in CheckWhite() 81 test::FillValues<T>(&expected, {expected_h, expected_s, expected_v}); in CheckRedMax() 95 test::FillValues<T>(&expected, {expected_h, expected_s, expected_v}); in CheckGreenMax() 109 test::FillValues<T>(&expected, {expected_h, expected_s, expected_v}); in CheckBlueMax() 122 test::FillValues<T>(&expected, {expected_h, expected_s, expected_v}); in CheckNegativeDifference() 143 test::FillValues<T>(&expected, {0, 0, 0}); in CheckBlack() 153 test::FillValues<T>(&expected, {.5, .5, .5}); in CheckGray() 163 test::FillValues<T>(&expected, {1, 1, 1}); in CheckWhite() [all …]
|
D | crop_and_resize_op_test.cc | 60 test::FillValues<float>(&expected, {2.5}); \ 73 test::FillValues<float>(&expected, {4.0}); \ 100 test::FillValues<float>(&expected, {2.5}); in REGISTER_TEST() 116 test::FillValues<float>(&expected, {4.0}); in TEST_F() 132 test::FillValues<float>(&expected, {2.5}); in TEST_F() 148 test::FillValues<float>(&expected, {4.0}); in TEST_F() 165 test::FillValues<float>(&expected, in TEST_F() 186 test::FillValues<float>(&expected, in TEST_F() 207 test::FillValues<float>(&expected, in TEST_F() 228 test::FillValues<float>(&expected, in TEST_F() [all …]
|
D | non_max_suppression_op_gpu_test.cc | 72 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() 93 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() 110 test::FillValues<int>(&expected, {3, 0}); in TEST_F() 127 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() 140 test::FillValues<int>(&expected, {0}); in TEST_F() 164 test::FillValues<int>(&expected, {0}); in TEST_F() 208 test::FillValues<int>(&expected, {}); in TEST_F() 248 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() 266 test::FillValues<int>(&expected, {3, 0}); in TEST_F() 286 test::FillValues<int>(&expected, {3, 0}); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | fold_old_batch_norms_test.cc | 45 test::FillValues<float>( in TestFoldOldBatchNorms() 52 test::FillValues<float>(&weights_data, in TestFoldOldBatchNorms() 61 test::FillValues<float>(&mean_data, {10.0f, 20.0f}); in TestFoldOldBatchNorms() 66 test::FillValues<float>(&variance_data, {0.25f, 0.5f}); in TestFoldOldBatchNorms() 71 test::FillValues<float>(&beta_data, {0.1f, 0.6f}); in TestFoldOldBatchNorms() 76 test::FillValues<float>(&gamma_data, {1.0f, 2.0f}); in TestFoldOldBatchNorms() 129 test::FillValues<float>( in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() 136 test::FillValues<float>(&weights_data, in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() 145 test::FillValues<float>(&mean_data, {10.0f, 20.0f, 30.0f, 40.0f}); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() 150 test::FillValues<float>(&variance_data, {0.25f, 0.5f, 0.75f, 1.0f}); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() [all …]
|
D | quantize_nodes_test.cc | 163 test::FillValues<float>(&tensor, values); in TestIgnoreOps() 214 test::FillValues<float>(&a_tensor, a_values); in TestQuantizeMatMul() 218 test::FillValues<float>(&b_tensor, b_values); in TestQuantizeMatMul() 265 test::FillValues<float>(&x_float_tensor, x_values); in TestQuantizeMul() 269 test::FillValues<float>(&y_float_tensor, y_values); in TestQuantizeMul() 300 test::FillValues<float>(&x_float_tensor, x_values); in TestQuantizeAdd() 304 test::FillValues<float>(&y_float_tensor, y_values); in TestQuantizeAdd() 325 test::FillValues<float>(&input_tensor, input_values); in TestQuantizeConv2D() 331 test::FillValues<float>(&filter_tensor, filter_values); in TestQuantizeConv2D() 372 test::FillValues<int32>(&shape_tensor, {0}); in TestQuantizeConcat() [all …]
|
D | fold_batch_norms_test.cc | 44 test::FillValues<float>( in TestFoldBatchNormsConv2D() 51 test::FillValues<float>(&weights_data, in TestFoldBatchNormsConv2D() 60 test::FillValues<float>(&mul_values_data, {2.0f, 3.0f}); in TestFoldBatchNormsConv2D() 95 test::FillValues<float>( in TestFoldBatchNormsDepthwiseConv2dNative() 102 test::FillValues<float>(&weights_data, in TestFoldBatchNormsDepthwiseConv2dNative() 111 test::FillValues<float>(&mul_values_data, {2.0f, 3.0f, 4.0f, 5.0f}); in TestFoldBatchNormsDepthwiseConv2dNative() 146 test::FillValues<float>( in TestFoldBatchNormsConv2DShared() 153 test::FillValues<float>(&weights_data, in TestFoldBatchNormsConv2DShared() 162 test::FillValues<float>(&mul_values_data, {2.0f, 3.0f}); in TestFoldBatchNormsConv2DShared() 169 test::FillValues<float>(&mul_values_data_2, {1.0f, 2.0f}); in TestFoldBatchNormsConv2DShared() [all …]
|
D | fuse_convolutions_test.cc | 49 test::FillValues<float>( in TestFuseResizePadAndConv() 60 test::FillValues<int32>(&pad_dims_data, {0, 0, 1, 1, 2, 2, 0, 0}); in TestFuseResizePadAndConv() 67 test::FillValues<float>(&weights_data, in TestFuseResizePadAndConv() 106 test::FillValues<float>( in TestFuseResizeAndConv() 117 test::FillValues<float>(&weights_data, in TestFuseResizeAndConv() 155 test::FillValues<float>( in TestFusePadAndConv() 162 test::FillValues<int32>(&pad_dims_data, {0, 0, 1, 1, 2, 2, 0, 0}); in TestFusePadAndConv() 169 test::FillValues<float>(&weights_data, in TestFusePadAndConv()
|
D | sparsify_gather_test.cc | 89 test::FillValues<float>(&weights, {0.2, 0.000001, 1.2, 0.001}); in TestSinglePartition() 110 test::FillValues<tstring>(&tensor_names_values, {"w"}); in TestSinglePartition() 213 test::FillValues<int64>(&expected_indices_tensor, {0, 2, 3}); in TestSinglePartition() 221 test::FillValues<float>(&expected_values_tensor, {0.2, 1.2, 0.001}); in TestSinglePartition() 241 test::FillValues<float>(&expected_gather_default_tensor, {0.0}); in TestSinglePartition() 249 test::FillValues<int32>(&expected_expand_dims_tensor, {-1}); in TestSinglePartition() 310 test::FillValues<float>(&weights, {0.2, 0.000001, 1.2, 0.001}); in TestMultiPartition() 323 test::FillValues<tstring>(&tensor_names_values, {"w1", "w2"}); in TestMultiPartition() 435 test::FillValues<int64>(&expected_indices_tensor1, {0, 2, 3}); in TestMultiPartition() 443 test::FillValues<float>(&expected_values_tensor1, {0.2, 1.2, 0.001}); in TestMultiPartition() [all …]
|
/external/tensorflow/tensorflow/core/kernels/ |
D | fake_quant_ops_test.cc | 32 using tensorflow::test::FillValues; 74 FillValues<float>(&expected, expected_data); in RunTestFakeQuantWithMinMaxArgs() 103 FillValues<float>(&expected, expected_data); in RunTestFakeQuantWithMinMaxVars() 133 FillValues<float>(&expected, expected_data); in RunTestFakeQuantWithMinMaxVarsPerChannel() 382 FillValues<float>(&expected, {0.0f, input_flat(1), input_flat(2), in TEST_F() 412 FillValues<float>(&expected, {0.0f, input_flat(1), input_flat(2), in TEST_F() 443 FillValues<float>(&expected, {0.0f, input_flat(1), input_flat(2), in TEST_F() 474 FillValues<float>(&expected, {0.0f, input_flat(1), input_flat(2), in TEST_F() 671 FillValues<float>( in TEST_F() 716 FillValues<float>(&expected_bprop_wrt_input, {0.0f, in_flat(1), in_flat(2), in TEST_F() [all …]
|
D | ragged_tensor_from_variant_op_test.cc | 68 test::FillValues<SPLIT_TYPE>(&splits, ragged_split); in CreateVariantFromRagged() 72 test::FillValues<VALUE_TYPE>(&values, ragged_values); in CreateVariantFromRagged() 89 test::FillValues<int64>(&expected_splits_1, split_1); in TEST_F() 90 test::FillValues<int64>(&expected_splits_2, split_2); in TEST_F() 91 test::FillValues<int>(&expected_values, values); in TEST_F() 118 test::FillValues<int64>(&expected_splits_1, batched_splits_1); in TEST_F() 119 test::FillValues<int64>(&expected_splits_2, split_1); in TEST_F() 120 test::FillValues<int64>(&expected_splits_3, split_2); in TEST_F() 121 test::FillValues<int>(&expected_values, values); in TEST_F() 168 test::FillValues<int64>(&expected_splits_1, batched_splits_1); in TEST_F() [all …]
|
D | as_string_op_test.cc | 54 test::FillValues<tstring>(&expected, {"-42", "0", "42"}); in TEST_F() 64 test::FillValues<tstring>(&expected, {"-42", "0", "42"}); in TEST_F() 74 test::FillValues<tstring>( in TEST_F() 86 test::FillValues<tstring>(&expected, {"-4.200000e+01", "0.000000e+00", in TEST_F() 98 test::FillValues<tstring>(&expected, {"-42", "0", "3.14159", "42"}); in TEST_F() 108 test::FillValues<tstring>(&expected, {"-42.00", "0.00", "3.14", "42.00"}); in TEST_F() 118 test::FillValues<tstring>( in TEST_F() 129 test::FillValues<tstring>(&expected, {"-42.00", " 0.00", " 3.14", "42.00"}); in TEST_F() 139 test::FillValues<tstring>( in TEST_F() 150 test::FillValues<tstring>(&expected, {"true", "false"}); in TEST_F() [all …]
|
D | quantize_op_test.cc | 56 test::FillValues<quint8>(&expected, {0, 1, 1, 2, 127, 255, 255}); in TEST_F() 119 test::FillValues<quint8>( in TEST_P() 153 test::FillValues<quint8>(&expected, {0, 0, 255}); in TEST_F() 157 test::FillValues<float>(&expected_output_min, {0.0}); in TEST_F() 161 test::FillValues<float>(&expected_output_max, {2.0}); in TEST_F() 199 test::FillValues<qint8>( in TEST_P() 249 test::FillValues<qint8>( in TEST_P() 285 test::FillValues<qint8>(&expected, {-64, 0, 127}); in TEST_F() 289 test::FillValues<float>(&expected_output_min, {-0.128}); in TEST_F() 293 test::FillValues<float>(&expected_output_max, {0.127}); in TEST_F() [all …]
|
D | dynamic_partition_op_test.cc | 65 test::FillValues<float>(&expected, {0, 13}); in TEST_F() 70 test::FillValues<float>(&expected, {17}); in TEST_F() 75 test::FillValues<float>(&expected, {2, 4}); in TEST_F() 80 test::FillValues<float>(&expected, {39}); in TEST_F() 98 test::FillValues<float>(&expected, {0, 1, 2, 3, 4, 5}); in TEST_F() 103 test::FillValues<float>(&expected, {15, 16, 17}); in TEST_F() 108 test::FillValues<float>(&expected, {6, 7, 8, 12, 13, 14}); in TEST_F() 113 test::FillValues<float>(&expected, {9, 10, 11}); in TEST_F() 133 test::FillValues<float>(&expected, {0, 13, 4}); in TEST_F() 141 test::FillValues<float>(&expected, {2, 39, 17}); in TEST_F()
|
D | identity_n_op_test.cc | 47 test::FillValues<int32>(&expected0, {1, 2, 3, 4, 5, 6}); in TEST_F() 50 test::FillValues<double>(&expected1, {7.3, 8.3, 9.3, 10.3, 11.3, 12.3}); in TEST_F() 60 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6}); in TEST_F() 62 test::FillValues<int32>(&expected, {7, 8, 9, 10, 11, 12}); in TEST_F() 72 test::FillValues<tstring>(&expected0, {"A", "b", "C", "d", "E", "f"}); in TEST_F() 75 test::FillValues<int32>(&expected1, {1, 3, 5, 7, 9, 11, 13, 15}); in TEST_F()
|
D | roll_op_test.cc | 64 test::FillValues<float>(&expected, {2, 3, 4, 0, 1}); in TEST_F() 79 test::FillValues<tstring>(&expected, {"c", "d", "e", "a", "b"}); in TEST_F() 97 test::FillValues<std::complex<float>>( in TEST_F() 116 test::FillValues<float>(&expected, in TEST_F() 134 test::FillValues<tstring>(&expected, {"g", "h", "i", "j", "f", "l", "m", "n", in TEST_F() 151 test::FillValues<float>(&expected, {10, 11, 9, 7, 8, 6, 4, 5, 3, 1, 2, 0}); in TEST_F() 168 test::FillValues<tstring>( in TEST_F() 185 test::FillValues<float>(&expected, in TEST_F() 203 test::FillValues<tstring>(&expected, {"f", "d", "e", "i", "g", "h", "l", "j", in TEST_F() 220 test::FillValues<float>(&expected, {1, 2, 0, 4, 5, 3, 7, 8, 6, 10, 11, 9}); in TEST_F() [all …]
|
D | debug_ops_test.cc | 67 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6}); in TEST_F() 92 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6}); in TEST_F() 165 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6}); in TEST_F() 174 test::FillValues<tstring>(&expected, {"A", "b", "C", "d", "E", "f"}); in TEST_F() 200 test::FillValues<int64>(&expected_nan_count, {3}); in TEST_F() 212 test::FillValues<int64>(&expected_nan_count, {0}); in TEST_F() 225 test::FillValues<int64>(&expected_nan_count, {3}); in TEST_F() 237 test::FillValues<int64>(&expected_nan_count, {0}); in TEST_F() 285 test::FillValues<double>( in TEST_F() 324 test::FillValues<double>( in TEST_F() [all …]
|
D | quantized_batch_norm_op_test.cc | 68 test::FillValues<float>(&input_float, in TEST_F() 75 test::FillValues<float>(&mean_float, {10, 20}); in TEST_F() 81 test::FillValues<float>(&variance_float, {0.25, 0.5}); in TEST_F() 87 test::FillValues<float>(&beta_float, {0.1, 0.6}); in TEST_F() 93 test::FillValues<float>(&gamma_float, {0.0, 0.0}); in TEST_F() 122 test::FillValues<float>( in TEST_F() 165 test::FillValues<float>(&input_float, in TEST_F() 172 test::FillValues<float>(&mean_float, {10, 20}); in TEST_F() 178 test::FillValues<float>(&variance_float, {0.25, 0.5}); in TEST_F() 184 test::FillValues<float>(&beta_float, {0.1, 0.6}); in TEST_F() [all …]
|
D | isotonic_regression_op_test.cc | 67 test::FillValues<float>(&expected, in TEST_F() 80 test::FillValues<float>(&expected, in TEST_F() 85 test::FillValues<int>(&expected_ord, in TEST_F() 98 test::FillValues<float>(&expected, in TEST_F() 103 test::FillValues<int>(&expected_ord, in TEST_F()
|
D | sequence_ops_test.cc | 67 test::FillValues<int32>(&expected, {0, 2, 4, 6, 8}); in TEST_F() 82 test::FillValues<float>(&expected, {0.5, 0.8, 1.1, 1.4, 1.7}); in TEST_F() 99 test::FillValues<double>(&expected, gtl::ArraySlice<double>(result)); in TEST_F() 114 test::FillValues<float>(&expected, {3.0, 5.0, 7.0}); in TEST_F() 150 test::FillValues<float>(&expected, {9.0}); in TEST_F() 165 test::FillValues<double>(&expected, {5.0, 5.2, 5.4, 5.6, 5.8, 6.0}); in TEST_F()
|
D | quantized_bias_add_op_test.cc | 56 test::FillValues<float>(&input_float, in TEST_F() 65 test::FillValues<float>(&bias_float, {1.0f, 2.0f, 3.0f}); in TEST_F() 70 test::FillValues<float>(&expected_float, in TEST_F() 106 test::FillValues<float>( in TEST_F() 125 test::FillValues<float>( in TEST_F() 142 test::FillValues<float>( in TEST_F()
|
D | quantize_and_dequantize_op_test.cc | 63 test::FillValues<float>(&expected, {-3.5}); in TEST_F() 89 test::FillValues<float>(&expected, {-3.5}); in TEST_F() 156 test::FillValues<float>( in TEST_P() 207 test::FillValues<float>(&expected, ScalePerSliceAlongAxis<float>( in TEST_P() 262 test::FillValues<float>( in TEST_P() 298 test::FillValues<float>(&expected, in TEST_F() 351 test::FillValues<float>( in TEST_P() 409 test::FillValues<float>(&expected, expected_vals); in TEST_P() 437 test::FillValues<float>(&expected, {-1, -0.5, 0, 0.25, 0.75, 0.5}); in TEST_F() 466 test::FillValues<float>(&expected, {-1, -0.5, 0, 0.375, 0.75, 0.5}); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_quantize_op_test.cc | 60 test::FillValues<quint8>(&expected, {0, 1, 1, 2, 127, 255, 255, 2}); in TEST_F() 61 test::FillValues<float>(&expected_min, {0.0}); in TEST_F() 62 test::FillValues<float>(&expected_max, {255.0}); in TEST_F() 91 test::FillValues<qint8>(&expected, {0, -1, 1, -2, -24, -128, -80, 127}); in TEST_F() 93 test::FillValues<float>(&expected_min, {-127.0}); in TEST_F() 94 test::FillValues<float>(&expected_max, {127.0}); in TEST_F() 121 test::FillValues<quint8>(&expected, {1, 1, 2, 2, 3, 127, 255, 255}); in TEST_F() 151 test::FillValues<quint8>(&expected, {32, 64, 96, 128, 159, 191, 223, 255}); in TEST_F() 181 test::FillValues<quint8>(&expected, {223, 191, 159, 128, 96, 64, 32, 0}); in TEST_F()
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | recognize_commands_test.cc | 29 test::FillValues<float>(&results, {1.0f, 0.0f, 0.0f}); in TEST() 43 test::FillValues<float>(&results, {0.0f, 1.0f, 0.0f}); in TEST() 62 test::FillValues<float>(&results, {0.0f, 0.0f, 1.0f}); in TEST() 86 test::FillValues<float>(&bad_results, {1.0f, 0.0f}); in TEST() 101 test::FillValues<float>(&results, {1.0f, 0.0f, 0.0f}); in TEST()
|