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

Function TF_SetXlaConstantFoldingDisabled

tensorflow/c/c_api_experimental.cc:91–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91void TF_SetXlaConstantFoldingDisabled(unsigned char should_enable) {
92 tensorflow::GetBuildXlaOpsPassFlags()->tf_xla_disable_constant_folding =
93 static_cast<bool>(should_enable);
94}
95
96void TF_SetXlaMinClusterSize(int size) {
97 tensorflow::MarkForCompilationPassFlags* flags =

Callers

nothing calls this directly

Calls 1

GetBuildXlaOpsPassFlagsFunction · 0.85

Tested by

no test coverage detected