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

Function FunctionAttr

tensorflow/compiler/jit/kernels/cuda_graph_mode_ops.cc:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60namespace {
61
62NameAttrList FunctionAttr(OpKernelConstruction* ctx) {
63 const NameAttrList* func;
64 OP_REQUIRES_OK_RETURN(ctx, NameAttrList(), ctx->GetAttr("function", &func));
65 return *func;
66}
67
68class CgmodeExecutableClosure {
69 public:

Callers 1

CgmodeCompileOpMethod · 0.70

Calls 2

NameAttrListClass · 0.50
GetAttrMethod · 0.45

Tested by

no test coverage detected