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

Function MustCompileAttr

tensorflow/compiler/jit/kernels/xla_ops.cc:454–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454bool MustCompileAttr(OpKernelConstruction* ctx) {
455 bool must_compile;
456 OP_REQUIRES_OK_RETURN(ctx, false,
457 ctx->GetAttr("must_compile", &must_compile));
458 return must_compile;
459}
460} // namespace
461
462XlaLocalLaunchOp::XlaLocalLaunchOp(OpKernelConstruction* ctx)

Callers 1

XlaCompileOpMethod · 0.85

Calls 1

GetAttrMethod · 0.45

Tested by

no test coverage detected