Home
last modified time | relevance | path

Searched refs:ExpectTensorNear (Results 1 – 25 of 59) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/
Dquantize_and_dequantize_op_test.cc161 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 …]
Ddebug_ops_test.cc303 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 …]
Dragged_tensor_to_tensor_op_test.cc109 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()
Dfused_batch_norm_op_test.cc60 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 …]
Dragged_gather_op_test.cc81 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()
Dspectrogram_op_test.cc65 test::ExpectTensorNear<float>( in TEST()
99 test::ExpectTensorNear<float>( in TEST()
137 test::ExpectTensorNear<float>( in TEST()
Dbatch_norm_op_test.cc58 test::ExpectTensorNear<float>(expected, *GetOutput(0), 0.01); in TEST_F()
85 test::ExpectTensorNear<Eigen::half>(expected, *GetOutput(0), 0.1); in TEST_F()
Dquantized_activation_ops_test.cc66 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()
Dquantized_pooling_ops_test.cc80 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()
Dquantized_bias_add_op_test.cc87 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()
Dquantized_concat_op_test.cc115 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()
Dmfcc_op_test.cc67 test::ExpectTensorNear<float>( in TEST()
/external/tensorflow/tensorflow/core/kernels/image/
Dcolorspace_op_test.cc82 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/
Dquantize_weights_test.cc110 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()
Dfold_batch_norms_test.cc83 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()
Dfuse_convolutions_test.cc92 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()
Dsparsify_gather_test.cc222 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()
Dfold_old_batch_norms_test.cc117 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/
Dcommon_subgraph_elimination_test.cc96 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()
Darithmetic_optimizer_test.cc150 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 …]
Dremapper_test.cc70 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/
Dmkl_dequantize_op_test.cc62 test::ExpectTensorNear<float>(expected, output, 0.1); in TEST_F()
108 test::ExpectTensorNear<T>(expected, output, 0.1); in ConvertAndCompare()
Dmkl_quantized_pooling_ops_test.cc130 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()
Dmkl_quantized_concat_op_test.cc158 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/
Dcc_ops_test.cc115 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()

123