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

Method Compile

tensorflow/compiler/tf2xla/kernels/sendrecv_ops.cc:44–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42}
43
44void SendOp::Compile(XlaOpKernelContext* ctx) {
45 XlaCompiler* compiler = ctx->compiler();
46 xla::ChannelHandle channel;
47 OP_REQUIRES_OK(ctx, compiler->GetChannelHandle(tensor_name_, &channel));
48 xla::Send(ctx->Input(0), channel);
49}
50
51REGISTER_XLA_OP(Name("XlaSend"), SendOp);
52

Callers

nothing calls this directly

Calls 7

GetChannelHandleMethod · 0.80
SendFunction · 0.50
RecvFunction · 0.50
compilerMethod · 0.45
InputMethod · 0.45
SetOutputMethod · 0.45
builderMethod · 0.45

Tested by

no test coverage detected