| 72 | } |
| 73 | |
| 74 | unsigned 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 | |
| 82 | void TF_SetXlaAutoJitMode(const char* mode) { |
| 83 | tensorflow::SetXlaAutoJitFlagFromFlagString(mode); |
nothing calls this directly
no test coverage detected