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

Method XlaCompileOp

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

Source from the content-addressed store, hash-verified

468}
469
470XlaCompileOp::XlaCompileOp(OpKernelConstruction* ctx)
471 : OpKernel(ctx),
472 constants_(ConstantsVector(ctx)),
473 resources_(ResourcesVector(ctx)),
474 function_(FunctionAttr(ctx)),
475 platform_info_(PlatformInfoFromContext(ctx)),
476 must_compile_(MustCompileAttr(ctx)) {}
477
478void XlaCompileOp::Compute(OpKernelContext* ctx) {
479 VLOG(3) << "XlaCompileOp " << def().name()

Callers

nothing calls this directly

Calls 5

ConstantsVectorFunction · 0.85
ResourcesVectorFunction · 0.85
PlatformInfoFromContextFunction · 0.85
MustCompileAttrFunction · 0.85
FunctionAttrFunction · 0.70

Tested by

no test coverage detected