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

Method Compile

tensorflow/compiler/tf2xla/kernels/next_after_op.cc:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31 explicit NextAfterOp(OpKernelConstruction* ctx) : XlaOpKernel(ctx) {}
32
33 void Compile(XlaOpKernelContext* ctx) override {
34 auto lhs = ctx->Input(0);
35 auto rhs = ctx->Input(1);
36 OP_REQUIRES_OK(ctx, BroadcastOpsToSame(&lhs, &rhs));
37 ctx->SetOutput(0, xla::NextAfter(lhs, rhs));
38 }
39};
40REGISTER_XLA_OP(Name("NextAfter"), NextAfterOp);
41

Callers

nothing calls this directly

Calls 4

BroadcastOpsToSameFunction · 0.85
NextAfterFunction · 0.50
InputMethod · 0.45
SetOutputMethod · 0.45

Tested by

no test coverage detected