/external/tensorflow/tensorflow/core/kernels/ |
D | quantize_and_dequantize_op_test.cc | 161 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-5); in TEST_P() 211 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-5); in TEST_P() 213 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-5); in TEST_P() 267 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-5); in TEST_P() 300 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-5); in TEST_F() 356 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-5); in TEST_P() 410 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-5); in TEST_P() 438 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-5); in TEST_F() 467 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-5); in TEST_F() 496 test::ExpectTensorNear<float>(expected, *GetOutput(0), 1e-5); in TEST_F() [all …]
|
D | debug_ops_test.cc | 303 test::ExpectTensorNear<double>(expected, *GetOutput(0), 1e-8); in TEST_F() 342 test::ExpectTensorNear<double>(expected, *GetOutput(0), 1e-8); in TEST_F() 370 test::ExpectTensorNear<double>(expected, *GetOutput(0), 1e-8); in TEST_F() 443 test::ExpectTensorNear<double>(expected, *GetOutput(0), 1e-8); in TEST_F() 468 test::ExpectTensorNear<double>(expected, *GetOutput(0), 1e-8); in TEST_F() 494 test::ExpectTensorNear<double>(expected, *GetOutput(0), 1e-8); in TEST_F() 521 test::ExpectTensorNear<double>(expected, *GetOutput(0), 1e-8); in TEST_F() 547 test::ExpectTensorNear<double>(expected, *GetOutput(0), 1e-8); in TEST_F() 573 test::ExpectTensorNear<double>(expected, *GetOutput(0), 1e-8); in TEST_F() 600 test::ExpectTensorNear<double>(expected, *GetOutput(0), 1e-8); in TEST_F() [all …]
|
D | ragged_tensor_to_tensor_op_test.cc | 109 test::ExpectTensorNear<float>( in TEST_F() 130 test::ExpectTensorNear<float>( in TEST_F() 167 test::ExpectTensorNear<float>( in TEST_F() 203 test::ExpectTensorNear<float>( in TEST_F() 348 test::ExpectTensorNear<float>( in TEST_F() 373 test::ExpectTensorNear<float>( in TEST_F() 400 test::ExpectTensorNear<float>(*GetOutput(0), in TEST_F() 441 test::ExpectTensorNear<float>( in TEST_F()
|
D | fused_batch_norm_op_test.cc | 60 test::ExpectTensorNear<float>(expected, *GetOutput(0), 0.01); in TEST_F() 64 test::ExpectTensorNear<float>(expected_mean, *GetOutput(1), 0.01); in TEST_F() 68 test::ExpectTensorNear<float>(expected_variance, *GetOutput(2), 0.01); in TEST_F() 95 test::ExpectTensorNear<float>(expected, *GetOutput(0), 0.01); in TEST_F() 99 test::ExpectTensorNear<float>(expected_mean, *GetOutput(1), 0.01); in TEST_F() 103 test::ExpectTensorNear<float>(expected_variance, *GetOutput(2), 0.01); in TEST_F() 129 test::ExpectTensorNear<float>(expected, *GetOutput(0), 0.01); in TEST_F() 156 test::ExpectTensorNear<float>(expected, *GetOutput(0), 0.01); in TEST_F() 184 test::ExpectTensorNear<float>(expected_x, *GetOutput(0), 0.01); in TEST_F() 188 test::ExpectTensorNear<float>(expected_scale, *GetOutput(1), 0.01); in TEST_F() [all …]
|
D | ragged_gather_op_test.cc | 81 test::ExpectTensorNear<float>( in TEST_F() 105 test::ExpectTensorNear<float>( in TEST_F() 156 test::ExpectTensorNear<float>( in TEST_F() 174 test::ExpectTensorNear<float>(*GetOutput(0), in TEST_F()
|
D | spectrogram_op_test.cc | 65 test::ExpectTensorNear<float>( in TEST() 99 test::ExpectTensorNear<float>( in TEST() 137 test::ExpectTensorNear<float>( in TEST()
|
D | batch_norm_op_test.cc | 58 test::ExpectTensorNear<float>(expected, *GetOutput(0), 0.01); in TEST_F() 85 test::ExpectTensorNear<Eigen::half>(expected, *GetOutput(0), 0.1); in TEST_F()
|
D | quantized_activation_ops_test.cc | 66 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F() 97 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F()
|
D | quantized_pooling_ops_test.cc | 80 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F() 125 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F()
|
D | quantized_bias_add_op_test.cc | 87 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F() 169 test::ExpectTensorNear<float>(expected_float, output_float, 20.0); in TEST_F()
|
D | quantized_concat_op_test.cc | 115 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TestSmall8Bit() 181 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TestSmall32Bit() 243 test::ExpectTensorNear<float>(expected_float, output_float, 1.0); in TestSecondDim8Bit()
|
D | mfcc_op_test.cc | 67 test::ExpectTensorNear<float>( in TEST()
|
/external/tensorflow/tensorflow/core/kernels/image/ |
D | colorspace_op_test.cc | 82 test::ExpectTensorNear<T>(expected, *GetOutput(0), 1e-6); in CheckRedMax() 96 test::ExpectTensorNear<T>(expected, *GetOutput(0), 1e-6); in CheckGreenMax() 110 test::ExpectTensorNear<T>(expected, *GetOutput(0), 1e-6); in CheckBlueMax() 123 test::ExpectTensorNear<T>(expected, *GetOutput(0), 1e-6); in CheckNegativeDifference() 179 test::ExpectTensorNear<T>(expected, *GetOutput(0), 1e-6); in CheckRedMax() 194 test::ExpectTensorNear<T>(expected, *GetOutput(0), 1e-6); in CheckGreenMax() 209 test::ExpectTensorNear<T>(expected, *GetOutput(0), 1e-6); in CheckBlueMax() 223 test::ExpectTensorNear<T>(expected, *GetOutput(0), 1e-6); in CheckNegativeDifference()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | quantize_weights_test.cc | 110 test::ExpectTensorNear<float>(original_outputs[0], quantized_outputs[0], in TestQuantizeWeights() 150 test::ExpectTensorNear<float>( in TEST_F() 152 test::ExpectTensorNear<float>( in TEST_F() 156 test::ExpectTensorNear<float>( in TEST_F() 158 test::ExpectTensorNear<float>( in TEST_F()
|
D | fold_batch_norms_test.cc | 83 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldBatchNormsConv2D() 134 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldBatchNormsDepthwiseConv2dNative() 195 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldBatchNormsConv2DShared() 196 test::ExpectTensorNear<float>(original_outputs[1], fused_outputs[1], 1e-5); in TestFoldBatchNormsConv2DShared() 242 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldBatchNormsMatMul()
|
D | fuse_convolutions_test.cc | 92 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFuseResizePadAndConv() 142 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFuseResizeAndConv() 194 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFusePadAndConv()
|
D | sparsify_gather_test.cc | 222 test::ExpectTensorNear<float>( in TestSinglePartition() 242 test::ExpectTensorNear<float>( in TestSinglePartition() 444 test::ExpectTensorNear<float>( in TestMultiPartition() 465 test::ExpectTensorNear<float>( in TestMultiPartition() 493 test::ExpectTensorNear<float>( in TestMultiPartition() 514 test::ExpectTensorNear<float>( in TestMultiPartition()
|
D | fold_old_batch_norms_test.cc | 117 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldOldBatchNorms() 195 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldOldBatchNormsAfterDepthwiseConv2dNative() 272 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 2e-5); in TestFoldFusedBatchNorms() 542 test::ExpectTensorNear<float>(original_outputs[0], fused_outputs[0], 1e-5); in TestFoldFusedBatchNormsWithBatchToSpace()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | common_subgraph_elimination_test.cc | 96 test::ExpectTensorNear<double>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 135 test::ExpectTensorNear<double>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 174 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F()
|
D | arithmetic_optimizer_test.cc | 150 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 182 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 228 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 261 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 307 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 355 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 506 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 592 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 779 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 829 test::ExpectTensorNear<complex64>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() [all …]
|
D | remapper_test.cc | 70 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 109 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-3); in TEST_F() 390 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 540 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 630 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 828 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 932 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F() 1005 test::ExpectTensorNear<float>(tensors[0], tensors_expected[0], 1e-6); in TEST_F()
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_dequantize_op_test.cc | 62 test::ExpectTensorNear<float>(expected, output, 0.1); in TEST_F() 108 test::ExpectTensorNear<T>(expected, output, 0.1); in ConvertAndCompare()
|
D | mkl_quantized_pooling_ops_test.cc | 130 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F() 198 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TEST_F()
|
D | mkl_quantized_concat_op_test.cc | 158 test::ExpectTensorNear<float>(expected_float, output_float, 0.2); in TestSmall8Bit() 233 test::ExpectTensorNear<float>(expected_float, output_float, 1.0); in TestSecondDim8Bit()
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_ops_test.cc | 115 test::ExpectTensorNear<float>( in TEST() 142 test::ExpectTensorNear<float>(out[0], test::AsTensor<float>({42.0f}, {}), in TEST() 150 test::ExpectTensorNear<float>(out[0], test::AsTensor<float>({1.0f}, {}), in TEST()
|