/external/tensorflow/tensorflow/core/kernels/ |
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() 117 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() 129 test::FillValues<int>(&expected, {0}); in TEST_F() 152 test::FillValues<int>(&expected, {0}); in TEST_F() 193 test::FillValues<int>(&expected, {}); in TEST_F() 226 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() 242 test::FillValues<int>(&expected, {3, 0, 5}); in TEST_F() [all …]
|
D | resize_nearest_neighbor_op_test.cc | 84 test::FillValues<float>(&expected, {1}); in TEST_F() 102 test::FillValues<float>(&expected, {1}); in TEST_F() 119 test::FillValues<float>(&expected, in TEST_F() 140 test::FillValues<float>(&expected, in TEST_F() 162 test::FillValues<float>(&expected, in TEST_F() 184 test::FillValues<float>(&expected, in TEST_F() 203 test::FillValues<float>(&expected, in TEST_F() 226 test::FillValues<float>(&expected, in TEST_F() 251 test::FillValues<float>(&expected, in TEST_F() 271 test::FillValues<float>(&expected, in TEST_F() [all …]
|
D | fake_quant_ops_test.cc | 31 using tensorflow::test::FillValues; 73 FillValues<float>(&expected, expected_data); in RunTestFakeQuantWithMinMaxArgs() 102 FillValues<float>(&expected, expected_data); in RunTestFakeQuantWithMinMaxVars() 132 FillValues<float>(&expected, expected_data); in RunTestFakeQuantWithMinMaxVarsPerChannel() 381 FillValues<float>(&expected, {0.0f, input_flat(1), input_flat(2), in TEST_F() 411 FillValues<float>(&expected, {0.0f, input_flat(1), input_flat(2), in TEST_F() 442 FillValues<float>(&expected, {0.0f, input_flat(1), input_flat(2), in TEST_F() 473 FillValues<float>(&expected, {0.0f, input_flat(1), input_flat(2), in TEST_F() 670 FillValues<float>( in TEST_F() 715 FillValues<float>(&expected_bprop_wrt_input, {0.0f, in_flat(1), in_flat(2), in TEST_F() [all …]
|
D | quantize_op_test.cc | 50 test::FillValues<quint8>(&expected, {0, 1, 1, 2, 127, 255, 255}); in TEST_F() 74 test::FillValues<quint8>(&expected, {0, 0, 2, 3, 4, 129, 255, 255}); in TEST_F() 78 test::FillValues<float>(&expected_output_min, {0.0}); in TEST_F() 82 test::FillValues<float>(&expected_output_max, {127.0}); in TEST_F() 104 test::FillValues<quint8>(&expected, {0, 0, 255}); in TEST_F() 108 test::FillValues<float>(&expected_output_min, {0.0}); in TEST_F() 112 test::FillValues<float>(&expected_output_max, {2.0}); in TEST_F() 134 test::FillValues<qint8>(&expected, {-128, 0, 1, 1, 2, 64, 127}); in TEST_F() 138 test::FillValues<float>(&expected_output_min, {-128.0}); in TEST_F() 142 test::FillValues<float>(&expected_output_max, {127.0}); in TEST_F() [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 | 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 | debug_ops_test.cc | 66 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6}); in TEST_F() 91 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6}); in TEST_F() 164 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6}); in TEST_F() 173 test::FillValues<string>(&expected, {"A", "b", "C", "d", "E", "f"}); in TEST_F() 199 test::FillValues<int64>(&expected_nan_count, {3}); in TEST_F() 211 test::FillValues<int64>(&expected_nan_count, {0}); in TEST_F() 224 test::FillValues<int64>(&expected_nan_count, {3}); in TEST_F() 236 test::FillValues<int64>(&expected_nan_count, {0}); in TEST_F() 284 test::FillValues<double>( in TEST_F() 323 test::FillValues<double>( in TEST_F() [all …]
|
D | roll_op_test.cc | 63 test::FillValues<float>(&expected, {2, 3, 4, 0, 1}); in TEST_F() 78 test::FillValues<string>(&expected, {"c", "d", "e", "a", "b"}); in TEST_F() 96 test::FillValues<std::complex<float>>( in TEST_F() 115 test::FillValues<float>(&expected, in TEST_F() 133 test::FillValues<string>(&expected, {"g", "h", "i", "j", "f", "l", "m", "n", in TEST_F() 150 test::FillValues<float>(&expected, {10, 11, 9, 7, 8, 6, 4, 5, 3, 1, 2, 0}); in TEST_F() 167 test::FillValues<string>( in TEST_F() 184 test::FillValues<float>(&expected, in TEST_F() 202 test::FillValues<string>(&expected, {"f", "d", "e", "i", "g", "h", "l", "j", in TEST_F() 219 test::FillValues<float>(&expected, {1, 2, 0, 4, 5, 3, 7, 8, 6, 10, 11, 9}); in TEST_F() [all …]
|
D | quantize_and_dequantize_op_test.cc | 58 test::FillValues<float>(&expected, {-3.5}); in TEST_F() 84 test::FillValues<float>(&expected, {-3.5}); in TEST_F() 114 test::FillValues<float>( in TEST_F() 147 test::FillValues<float>(&expected, {-1, -0.5, 0, 38.0 / 128, 102.0 / 128, in TEST_F() 178 test::FillValues<float>(&expected, in TEST_F() 207 test::FillValues<float>(&expected, {-1, -0.5, 0, 0.25, 0.75, 0.5}); in TEST_F() 236 test::FillValues<float>(&expected, {-1, -0.5, 0, 0.375, 0.75, 0.5}); in TEST_F() 265 test::FillValues<float>(&expected, {-1, -0.5, 0, 0.25, 0.75, 0.5}); in TEST_F() 297 test::FillValues<float>( in TEST_F() 329 test::FillValues<float>( in TEST_F() [all …]
|
D | fused_batch_norm_op_test.cc | 53 test::FillValues<float>(&expected, {-3.86, -3.86, -1.51, -1.51, 0.83, 0.83, in TEST_F() 58 test::FillValues<float>(&expected_mean, {10, 10}); in TEST_F() 62 test::FillValues<float>(&expected_variance, {14.00, 14.00}); in TEST_F() 87 test::FillValues<float>(&expected, {-3.86, -3.86, -1.51, -1.51, 0.83, 0.83, in TEST_F() 115 test::FillValues<float>(&expected_x, {-1.34, -1.34, 2.47, 2.47, -4.44, -4.44, in TEST_F() 120 test::FillValues<float>(&expected_scale, {-1.6488, -1.6488}); in TEST_F() 124 test::FillValues<float>(&expected_offset, {27, 27}); in TEST_F()
|
D | identity_n_op_test.cc | 46 test::FillValues<int32>(&expected0, {1, 2, 3, 4, 5, 6}); in TEST_F() 49 test::FillValues<double>(&expected1, {7.3, 8.3, 9.3, 10.3, 11.3, 12.3}); in TEST_F() 59 test::FillValues<int32>(&expected, {1, 2, 3, 4, 5, 6}); in TEST_F() 61 test::FillValues<int32>(&expected, {7, 8, 9, 10, 11, 12}); in TEST_F() 71 test::FillValues<string>(&expected0, {"A", "b", "C", "d", "E", "f"}); in TEST_F() 74 test::FillValues<int32>(&expected1, {1, 3, 5, 7, 9, 11, 13, 15}); in TEST_F()
|
D | quantized_batch_norm_op_test.cc | 69 test::FillValues<float>(&input_float, in TEST_F() 76 test::FillValues<float>(&mean_float, {10, 20}); in TEST_F() 82 test::FillValues<float>(&variance_float, {0.25, 0.5}); in TEST_F() 88 test::FillValues<float>(&beta_float, {0.1, 0.6}); in TEST_F() 94 test::FillValues<float>(&gamma_float, {0.0, 0.0}); in TEST_F() 123 test::FillValues<float>( in TEST_F() 166 test::FillValues<float>(&input_float, in TEST_F() 173 test::FillValues<float>(&mean_float, {10, 20}); in TEST_F() 179 test::FillValues<float>(&variance_float, {0.25, 0.5}); in TEST_F() 185 test::FillValues<float>(&beta_float, {0.1, 0.6}); in TEST_F() [all …]
|
D | resize_bilinear_op_test.cc | 200 test::FillValues<float>(&expected, {1.0}); in TEST_F() 232 test::FillValues<float>(&expected, {1.0}); in TEST_F() 247 test::FillValues<float>(&expected, in TEST_F() 270 test::FillValues<float>(&expected, in TEST_F() 292 test::FillValues<float>(&expected, in TEST_F() 313 test::FillValues<float>(&expected, in TEST_F() 333 test::FillValues<float>(&expected, in TEST_F() 358 test::FillValues<float>(&expected, in TEST_F() 390 test::FillValues<float>(&expected, in TEST_F() 411 test::FillValues<float>(&expected, in TEST_F() [all …]
|
D | sequence_ops_test.cc | 66 test::FillValues<int32>(&expected, {0, 2, 4, 6, 8}); in TEST_F() 81 test::FillValues<float>(&expected, {0.5, 0.8, 1.1, 1.4, 1.7}); in TEST_F() 98 test::FillValues<double>(&expected, gtl::ArraySlice<double>(result)); in TEST_F() 113 test::FillValues<float>(&expected, {3.0, 5.0, 7.0}); in TEST_F() 149 test::FillValues<float>(&expected, {9.0}); in TEST_F() 164 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 | quantized_conv_ops_test.cc | 71 test::FillValues<float>(&image_float, in TEST_F() 86 test::FillValues<float>(&filter_float, {1, 4, 7, 2, 5, 8, 3, 6, 9}); in TEST_F() 124 test::FillValues<float>(&expected_float, {105, 150, 183, 95, 235, 312, 357, in TEST_F() 171 test::FillValues<qint32>( in TEST_F() 214 test::FillValues<qint32>(&expected, {348, 252, 274, 175}); in TEST_F() 257 test::FillValues<qint32>(&expected, {348, 252, 274, 175, // in TEST_F() 288 test::FillValues<float>(&image_float, in TEST_F() 298 test::FillValues<float>(&filter_float, {1, 4, 7, 2, 5, 8, 3, 6, 9}); in TEST_F() 315 test::FillValues<float>(&expected_float, {105, 150, 183, 95, 235, 312, 357, in TEST_F()
|
D | sparse_add_op_test.cc | 82 test::FillValues<int64>(&expected_indices, indices); in TEST_F() 86 test::FillValues<float>(&expected_values, {2, 4, 6, 8}); in TEST_F() 91 test::FillValues<int64>(&expected_shape, shape); in TEST_F() 130 test::FillValues<int64>(&expected_indices, \ 135 test::FillValues<VALTYPE>(&expected_values, {5, 1, 2, 6, 3, 4}); \ 140 test::FillValues<int64>(&expected_shape, shape); \ 196 test::FillValues<int64>(&expected_shape, shape); \
|
/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 | sparsify_gather_test.cc | 89 test::FillValues<float>(&weights, {0.2, 0.000001, 1.2, 0.001}); in TestSinglePartition() 110 test::FillValues<string>(&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<string>(&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 …]
|
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 | flatten_atrous_test.cc | 44 test::FillValues<float>( in TestFlattenAtrousConv() 51 test::FillValues<int>(&block_shape_data, {2, 2}); in TestFlattenAtrousConv() 56 test::FillValues<int>(&paddings_data, {1, 2, 1, 2}); in TestFlattenAtrousConv() 65 test::FillValues<float>(&weights_data, in TestFlattenAtrousConv() 74 test::FillValues<int>(&crops_data, {0, 1, 0, 1}); in TestFlattenAtrousConv()
|
/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()
|