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

Method TransferToInfeedLocal

tensorflow/compiler/xla/client/local_client.cc:395–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

393}
394
395Status LocalClient::TransferToInfeedLocal(const LiteralSlice& literal,
396 int device_ordinal) {
397 TF_ASSIGN_OR_RETURN(se::StreamExecutor * executor,
398 backend().stream_executor(device_ordinal));
399 return backend().transfer_manager()->TransferLiteralToInfeed(executor,
400 literal);
401}
402
403StatusOr<Literal> LocalClient::TransferFromOutfeedLocal(const Shape& shape,
404 int device_ordinal) {

Callers 3

PYBIND11_MODULEFunction · 0.80
XLA_TEST_FFunction · 0.80

Calls 5

backendFunction · 0.85
stream_executorMethod · 0.80
TF_ASSIGN_OR_RETURNFunction · 0.50
transfer_managerMethod · 0.45

Tested by 1

XLA_TEST_FFunction · 0.64