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

Function put

tensorflow/compiler/xla/python/xla_client.py:628–630  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

626 backend = backend or get_local_backend()
627
628 def put(arg):
629 return Buffer.from_pyval(
630 arg, device=executable.local_devices()[0], backend=backend)
631
632 arguments = [put(arg) for arg in arguments]
633 return executable.Execute(arguments).to_py()

Callers 1

Calls 2

from_pyvalMethod · 0.45
local_devicesMethod · 0.45

Tested by

no test coverage detected