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

Function TF_SetXlaEnableLazyCompilation

tensorflow/c/c_api_experimental.cc:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74unsigned char TF_SetXlaEnableLazyCompilation(unsigned char enable) {
75 tensorflow::BuildXlaOpsPassFlags* flags =
76 tensorflow::GetBuildXlaOpsPassFlags();
77 bool original = flags->tf_xla_enable_lazy_compilation;
78 flags->tf_xla_enable_lazy_compilation = enable;
79 return original;
80}
81
82void TF_SetXlaAutoJitMode(const char* mode) {
83 tensorflow::SetXlaAutoJitFlagFromFlagString(mode);

Callers

nothing calls this directly

Calls 1

GetBuildXlaOpsPassFlagsFunction · 0.85

Tested by

no test coverage detected