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

Function FunctionAttr

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

Source from the content-addressed store, hash-verified

446}
447
448NameAttrList FunctionAttr(OpKernelConstruction* ctx) {
449 const NameAttrList* func;
450 OP_REQUIRES_OK_RETURN(ctx, NameAttrList(), ctx->GetAttr("function", &func));
451 return *func;
452}
453
454bool MustCompileAttr(OpKernelConstruction* ctx) {
455 bool must_compile;

Callers 3

XlaLocalLaunchOpMethod · 0.70
XlaCompileOpMethod · 0.70
GetAssociatedFunctionsFunction · 0.50

Calls 2

NameAttrListClass · 0.50
GetAttrMethod · 0.45

Tested by

no test coverage detected