Searched refs:assertArrayNear (Results 1 – 19 of 19) sorted by relevance
45 self.assertArrayNear(expected_output, value.output, 0.1)56 self.assertArrayNear(expected_output, value, 0.1)
82 self.assertArrayNear(expected, float_output.flatten(), 1.0)
559 self.assertArrayNear(self._LinSpace(1., 5., 1), np.array([1.]), 1e-5)560 self.assertArrayNear(self._LinSpace(1., 5., 2), np.array([1., 5.]), 1e-5)561 self.assertArrayNear(563 self.assertArrayNear(569 self.assertArrayNear(self._LinSpace(-1., -5., 1), np.array([-1.]), 1e-5)570 self.assertArrayNear(572 self.assertArrayNear(574 self.assertArrayNear(580 self.assertArrayNear(self._LinSpace(-1., 5., 1), np.array([-1.]), 1e-5)581 self.assertArrayNear([all …]
184 self.assertArrayNear(276 self.assertArrayNear(expected, np.ravel(value), 1e-5)
750 self.assertArrayNear(expected, value.flatten(), err)936 self.assertArrayNear(expected, value.flatten(), err)1117 self.assertArrayNear(value_2.flatten(), value.flatten(), err)1162 self.assertArrayNear(value_2.flatten(), value.flatten(), err)2438 self.assertArrayNear(expected, np.ravel(value), 1e-5)2560 self.assertArrayNear(expected, np.ravel(value), 1e-3)
741 self.assertArrayNear(expected_value.flatten(), actual_value.flatten(),
356 self.assertArrayNear(initial_precision, self.evaluate(p_obj.result()),404 self.assertArrayNear([0.5, 0.], self.evaluate(result), 0)420 self.assertArrayNear([expected_precision, 0], self.evaluate(result), 1e-3)439 self.assertArrayNear([expected_precision, 0], self.evaluate(p_obj.result()),561 self.assertArrayNear(initial_recall, self.evaluate(r_obj.result()), 1e-3)608 self.assertArrayNear([0.5, 0.], self.evaluate(result), 0)624 self.assertArrayNear([expected_recall, 0], self.evaluate(result), 1e-3)643 self.assertArrayNear([expected_recall, 0], self.evaluate(r_obj.result()),
1082 self.assertArrayNear(self.evaluate(mre_obj.normalizer), [1, 3], 1e-1)1086 self.assertArrayNear(self.evaluate(mre_obj2.normalizer), [1, 3], 1e-1)1955 self.assertArrayNear(self.evaluate(m_obj.total_cm)[0], [1, 0], 1e-1)1956 self.assertArrayNear(self.evaluate(m_obj.total_cm)[1], [3, 0], 1e-1)1958 self.assertArrayNear(self.evaluate(m_obj.total_cm)[0], [1, 0], 1e-1)1959 self.assertArrayNear(self.evaluate(m_obj.total_cm)[1], [3, 0], 1e-1)
283 self.assertArrayNear(loss, [84.3333, 143.3666], 1e-3)376 self.assertArrayNear(loss, [10.7333, 14.5666], 1e-3)
95 self.assertArrayNear(
1151 self.assertArrayNear(expected_leaf_1,1153 self.assertArrayNear(expected_leaf_2,1255 self.assertArrayNear(expected_leaf_1,1257 self.assertArrayNear(expected_leaf_2,1341 self.assertArrayNear(expected_leaf_1,1343 self.assertArrayNear(expected_leaf_2,1345 self.assertArrayNear(expected_leaf_3,1347 self.assertArrayNear(expected_leaf_4,
358 self.assertArrayNear(a, b, 0.001)362 self.assertArrayNear(a, b, 0.001)365 self.assertArrayNear(a, b, 0.001)
1977 def assertArrayNear(self, farray1, farray2, err, msg=None): member in TensorFlowTestCase
258 self.assertArrayNear(expected, np.ravel(value), 1e-4)
2442 self.assertArrayNear(scores, [0.25, 0.75], 0.1)2447 self.assertArrayNear(scores, [0.3328, 0.8], 0.001)2650 self.assertArrayNear(eval_results[1:4], [1, 1, 5], 0.1)
734 self.assertArrayNear(output, ref_output, 1e-1)
1143 self.assertArrayNear(output, ref_output, 1e-1)
390 self.assertArrayNear(eval_out, eval_out2, 0.001)
84 self.assertArrayNear(output.values.eval(), [4.0, 25.0], 1e-5)