Home
last modified time | relevance | path

Searched refs:_ExecuteAndCompareClose (Results 1 – 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/python/
Dxla_client_test.py60 def _ExecuteAndCompareClose(self, member in ComputationTest
145 self._ExecuteAndCompareClose(c, expected=bfloat16(4.25))
150 self._ExecuteAndCompareClose(c, expected=4.25)
155 self._ExecuteAndCompareClose(c, expected=4.25)
160 self._ExecuteAndCompareClose(c, expected=3)
165 self._ExecuteAndCompareClose(c, expected=3)
172 self._ExecuteAndCompareClose(
180 self._ExecuteAndCompareClose(c, expected=[-3, 6.6, 2.4, -2.1])
187 self._ExecuteAndCompareClose(c, expected=[-3, 6.6, 2.4, -2.1])
194 self._ExecuteAndCompareClose(c, expected=[0.75, 1.25, 1.5, -5.4])
[all …]