/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/ |
D | logistic_regressor_test.py | 77 self.assertNear( 79 self.assertNear( 81 self.assertNear( 83 self.assertNear(0.5, eval_metrics[metric_key.MetricKey.AUC], err=1e-6) 84 self.assertNear( 86 self.assertNear( 88 self.assertNear( 95 self.assertNear( 98 self.assertNear( 100 self.assertNear( [all …]
|
D | kmeans_test.py | 177 self.assertNear(self.true_score, score2, self.true_score * 0.05) 199 self.assertNear(self.true_score, score, self.true_score * 0.01) 213 self.assertNear(score, np.sum(true_offsets), 0.01 * score)
|
D | linear_test.py | 1757 self.assertNear( 1815 self.assertNear( 1817 self.assertNear( 1819 self.assertNear( 1866 self.assertNear( 1868 self.assertNear( 1870 self.assertNear(
|
/external/tensorflow/tensorflow/contrib/opt/python/training/ |
D | agn_optimizer_test.py | 170 self.assertNear(0.1, sessions[0].run(var_0), 1e-6) 171 self.assertNear(0.6, sessions[0].run(var_1), 1e-6) 179 self.assertNear(0.3, sessions[0].run(var_0), 1e-6) 180 self.assertNear(0.8, sessions[0].run(var_1), 1e-6) 187 self.assertNear(0.1, sessions[0].run(var_0), 1e-6) 188 self.assertNear(0.6, sessions[0].run(var_1), 1e-6) 196 self.assertNear(0.2, sessions[0].run(var_0), 1e-6) 197 self.assertNear(0.7, sessions[0].run(var_1), 1e-6) 235 self.assertNear(0.1, sessions[0].run(var_0_g), 1e-6) 242 self.assertNear(0.2, sessions[0].run(var_0_g), 1e-6) [all …]
|
/external/tensorflow/tensorflow/contrib/tensor_forest/client/ |
D | eval_metrics_test.py | 41 self.assertNear(0.5, in_top_2_op.eval(), 0.0001) 58 self.assertNear(0.4, in_top_3_op.eval(), 0.0001) 69 self.assertNear(0.6, accuracy_op.eval(), 0.0001) 83 self.assertNear(0.813583, r2_op.eval(), 0.0001)
|
/external/tensorflow/tensorflow/contrib/distributions/python/kernel_tests/bijectors/ |
D | matrix_inverse_tril_test.py | 62 self.assertNear(expected_fldj_, fldj_, err=1e-3) 63 self.assertNear(-expected_fldj_, ildj_, err=1e-3) 80 self.assertNear(expected_fldj_, fldj_, err=1e-3) 81 self.assertNear(-expected_fldj_, ildj_, err=1e-3) 98 self.assertNear(expected_fldj_, fldj_, err=1e-3) 99 self.assertNear(-expected_fldj_, ildj_, err=1e-3)
|
/external/tensorflow/tensorflow/python/tools/ |
D | strip_unused_test.py | 54 self.assertNear(-4.0, output, 0.00001) 100 self.assertNear(20.0, output, 0.00001) 117 self.assertNear(6.0, output, 0.00001) 160 self.assertNear(-50.0, output, 0.00001)
|
D | freeze_graph_test.py | 67 self.assertNear(2.0, output, 0.00001) 118 self.assertNear(2.0, output, 0.00001) 182 self.assertNear(2.0, output, 0.00001) 219 self.assertNear(2.0, output, 0.00001) 266 self.assertNear(feature_value, output, 0.00001)
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | generate_streaming_test_wav_test.py | 34 self.assertNear(1.0, track_data[2500], 0.0001) 35 self.assertNear(0.0, track_data[3500], 0.0001)
|
D | input_data_test.py | 271 self.assertNear(0, spectrogram[0, 0, 0], 0.1) 272 self.assertNear(200, spectrogram[0, 0, 5], 0.1) 279 self.assertNear(0.0, features_min, 1e-5)
|
/external/tensorflow/tensorflow/contrib/graph_editor/tests/ |
D | transform_test.py | 151 self.assertNear( 165 self.assertNear(c_val, 2.001, ERROR_TOLERANCE) 166 self.assertNear(c_new_val, 3.001, ERROR_TOLERANCE) 181 self.assertNear(c_val, 2.001, ERROR_TOLERANCE) 182 self.assertNear(c_new_val["c"], 3.001, ERROR_TOLERANCE) 240 self.assertNear(g_val, 0.0, ERROR_TOLERANCE) 241 self.assertNear(res_val, 0.0, ERROR_TOLERANCE)
|
/external/tensorflow/tensorflow/contrib/linear_optimizer/python/ |
D | sdca_estimator_test.py | 535 self.assertNear( 592 self.assertNear( 594 self.assertNear( 596 self.assertNear( 642 self.assertNear( 644 self.assertNear( 646 self.assertNear(
|
/external/tensorflow/tensorflow/python/ops/ |
D | init_ops_v2_test.py | 271 self.assertNear(np.mean(x), expect_mean, err=1e-2) 272 self.assertNear(np.var(x), expect_var, err=1e-2) 287 self.assertNear(np.mean(x), expect_mean, err=1e-2) 288 self.assertNear(np.var(x), expect_var, err=1e-2) 304 self.assertNear(np.mean(x), expect_mean, err=1e-2) 305 self.assertNear(np.var(x), expect_var, err=1e-2) 317 self.assertNear(np.mean(x), expect_mean, err=1e-2) 318 self.assertNear(np.var(x), expect_var, err=1e-2)
|
/external/tensorflow/tensorflow/python/kernel_tests/distributions/ |
D | student_t_test.py | 424 self.assertNear(np.pi, np.mean(sample_vals), err=0.1) 425 self.assertNear(np.pi, mean_val, err=1e-6) 431 self.assertNear(stats.t.pdf(np.pi, 3., loc=np.pi), mean_pdf_val, err=1e-6) 460 self.assertNear(5., np.mean(sample_vals[:, 0, :]), err=0.1) 461 self.assertNear(6., np.mean(sample_vals[:, 1, :]), err=0.1) 468 self.assertNear( 472 self.assertNear( 485 self.assertNear(1., total, err=err)
|
/external/tensorflow/tensorflow/python/util/ |
D | dispatch_test.py | 64 self.assertNear(x_plus_y.score, 1.0, 0.001) 94 self.assertNear(result.score, 0.4, 0.001)
|
/external/tensorflow/tensorflow/contrib/factorization/python/ops/ |
D | factorization_ops_test.py | 154 self.assertNear( 246 self.assertNear( 323 self.assertNear( 422 self.assertNear( 494 self.assertNear( 766 self.assertNear( 769 self.assertNear(0, out[i][j], err=0.5, msg="%d, %d" % (i, j))
|
D | kmeans_test.py | 175 self.assertNear(self.true_score, score2, self.true_score * 0.05) 196 self.assertNear(self.true_score, score, self.true_score * 0.01) 208 self.assertNear(score, np.sum(true_offsets), 0.01 * score)
|
/external/tensorflow/tensorflow/python/training/ |
D | monitored_session_test.py | 1875 self.assertNear(3.2, session.run_step_fn(step_fn), 0.1) 1947 self.assertNear(3.2, session.run_step_fn(model.step_fn), 0.1) 1996 self._testing.assertNear(0.3 + 0.5 + 0.7, 1998 self._testing.assertNear(0.3 + 0.5 + 0.7 + 1.1, 2002 self.assertNear(0.3, step_context.session.run(stage_0), 0.1) 2027 self._testing.assertNear(0.3 + 0.5 + 0.7, 2029 self._testing.assertNear(0.3 + 0.5 + 0.7 + 1.1, 2033 self.assertNear(0.3, step_context.session.run(stage_0), 0.1) 2078 self.assertNear(3.2, session.run_step_fn(step_fn), 0.1) 2107 self.assertNear(3.2, session.run_step_fn(step_fn), 0.1) [all …]
|
/external/tensorflow/tensorflow/contrib/metrics/python/ops/ |
D | metric_ops_large_test.py | 63 self.assertNear(got_value, expected_value, 1.0)
|
/external/tensorflow/tensorflow/python/framework/ |
D | graph_util_test.py | 217 self.assertNear(4.0, output, 0.00001) 249 self.assertNear(2.0, output, 0.00001) 301 self.assertNear(2.0, output, 0.00001)
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | init_ops_test.py | 405 self.assertNear(np.mean(x), expect_mean, err=1e-2) 406 self.assertNear(np.var(x), expect_var, err=1e-2) 422 self.assertNear(np.mean(x), expect_mean, err=1e-2) 423 self.assertNear(np.var(x), expect_var, err=1e-2) 440 self.assertNear(np.mean(x), expect_mean, err=1e-2) 441 self.assertNear(np.var(x), expect_var, err=1e-2) 453 self.assertNear(np.mean(x), expect_mean, err=1e-2) 454 self.assertNear(np.var(x), expect_var, err=1e-2)
|
/external/tensorflow/tensorflow/contrib/distribute/python/ |
D | minimize_loss_test.py | 259 self.assertNear(expected_moving_means[i], moving_means[i], 0.0001) 356 self.assertNear(weight, 2 + 21.2 * distribution.num_replicas_in_sync, 360 self.assertNear(weight, 2 + 10.6, 0.0001)
|
/external/tensorflow/tensorflow/contrib/gan/python/features/python/ |
D | clip_weights_test.py | 60 self.assertNear(0.1, self.variables[0].eval(), 1e-7)
|
/external/tensorflow/tensorflow/contrib/ffmpeg/ |
D | decode_audio_op_test.py | 72 self.assertNear(
|
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/ |
D | losses_impl_test.py | 618 self.assertNear(expected_loss, combined_loss.eval(), 1e-5) 670 self.assertNear(gnorm_np, precond_gnorm_np, 1e-4) 697 self.assertNear(5.25, loss.eval(), 1e-5)
|