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

Function TF_GetXlaConstantFoldingDisabled

tensorflow/c/c_api_experimental.cc:86–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86unsigned char TF_GetXlaConstantFoldingDisabled() {
87 return static_cast<unsigned char>(
88 tensorflow::GetBuildXlaOpsPassFlags()->tf_xla_disable_constant_folding);
89}
90
91void TF_SetXlaConstantFoldingDisabled(unsigned char should_enable) {
92 tensorflow::GetBuildXlaOpsPassFlags()->tf_xla_disable_constant_folding =

Callers

nothing calls this directly

Calls 1

GetBuildXlaOpsPassFlagsFunction · 0.85

Tested by

no test coverage detected