Searched refs:assertArrayNear (Results 1 – 12 of 12) sorted by relevance
574 self.assertArrayNear(self._LinSpace(1., 5., 1), np.array([1.]), 1e-5)575 self.assertArrayNear(self._LinSpace(1., 5., 2), np.array([1., 5.]), 1e-5)576 self.assertArrayNear(578 self.assertArrayNear(584 self.assertArrayNear(self._LinSpace(-1., -5., 1), np.array([-1.]), 1e-5)585 self.assertArrayNear(587 self.assertArrayNear(589 self.assertArrayNear(595 self.assertArrayNear(self._LinSpace(-1., 5., 1), np.array([-1.]), 1e-5)596 self.assertArrayNear([all …]
320 self.assertArrayNear(func_output.numpy(), [0.69314], 0.001)323 self.assertArrayNear(eager_output.numpy(), [0.69314], 0.001)344 self.assertArrayNear(func_outputs.numpy(), [0.5], 0.001)347 self.assertArrayNear(eager_outputs.numpy(), [0.5], 0.001)365 self.assertArrayNear(func_output.numpy(), [0.5], 0.001)368 self.assertArrayNear(eager_output.numpy(), [0.5], 0.001)391 self.assertArrayNear(func_outputs[0].numpy(), [0.25], 0.001)392 self.assertArrayNear(func_outputs[1].numpy(), [-0.125], 0.001)395 self.assertArrayNear(eager_outputs[0].numpy(), [0.25], 0.001)396 self.assertArrayNear(eager_outputs[1].numpy(), [-0.125], 0.001)
41 self.assertArrayNear(expected_output, value.output, 0.1)52 self.assertArrayNear(expected_output, value, 0.1)
80 self.assertArrayNear(expected, float_output.flatten(), 1.0)
81 self.assertArrayNear(
418 self.assertArrayNear(a, b, 0.001)422 self.assertArrayNear(a, b, 0.001)425 self.assertArrayNear(a, b, 0.001)
2874 def assertArrayNear(self, farray1, farray2, err, msg=None): member in TensorFlowTestCase
1178 self.assertArrayNear(expected, value.flatten(), err)1359 self.assertArrayNear(value_2.flatten(), value.flatten(), err)1404 self.assertArrayNear(value_2.flatten(), value.flatten(), err)2705 self.assertArrayNear(expected, np.ravel(value), 1e-5)2830 self.assertArrayNear(expected, np.ravel(value), 2e-3)
844 self.assertArrayNear(expected_value.flatten(), actual_value.flatten(),
562 self.assertArrayNear(expected, np.ravel(value), 1e-5)
285 self.assertArrayNear(expected, np.ravel(value), 1e-4)
4141 self.assertArrayNear(expected_output[0], output_data[0], err=1e-2)4172 self.assertArrayNear(expected_output[0], output_data[0], err=1e-2)4386 self.assertArrayNear(4443 self.assertArrayNear(