(self, c, arguments)
| 464 | """Tests focusing on execution with Buffers.""" |
| 465 | |
| 466 | def _Execute(self, c, arguments): |
| 467 | compiled_c = c.Build().Compile() |
| 468 | arg_buffers = [xla_client.Buffer.from_pyval(arg) for arg in arguments] |
| 469 | result_buffer = compiled_c.Execute(arg_buffers) |
| 470 | return result_buffer.to_py() |
| 471 | |
| 472 | def testConstantSum(self): |
| 473 | c = self._NewComputation() |
no test coverage detected