MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _Execute

Method _Execute

tensorflow/compiler/xla/python/xla_client_test.py:466–470  ·  view source on GitHub ↗
(self, c, arguments)

Source from the content-addressed store, hash-verified

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()

Callers 4

testQRMethod · 0.45
testSVDMethod · 0.45
testGatherMethod · 0.45
testNextAfterMethod · 0.45

Calls 4

CompileMethod · 0.45
BuildMethod · 0.45
from_pyvalMethod · 0.45
ExecuteMethod · 0.45

Tested by

no test coverage detected