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

Method XlaLocalLaunchBase

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

Source from the content-addressed store, hash-verified

201} // namespace
202
203XlaLocalLaunchBase::XlaLocalLaunchBase(OpKernelConstruction* ctx,
204 const std::vector<int>& constants,
205 const std::vector<int>& resources,
206 const NameAttrList& function)
207 : OpKernel(ctx),
208 constants_(constants),
209 resources_(resources),
210 function_(function),
211 platform_info_(PlatformInfoFromContext(ctx)) {}
212
213static Status BuildCompilationCache(OpKernelContext* ctx,
214 const XlaPlatformInfo& platform_info,

Callers

nothing calls this directly

Calls 1

PlatformInfoFromContextFunction · 0.85

Tested by

no test coverage detected