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

Function TFE_OpSetXLACompilation

tensorflow/c/eager/c_api.cc:640–646  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

638}
639
640void TFE_OpSetXLACompilation(TFE_Op* op, unsigned char enable) {
641 op->operation.SetUseXla(enable);
642#ifndef TENSORFLOW_EAGER_USE_XLA
643 LOG(WARNING) << "This call is a no-op, as the TensorFlow library is not "
644 "built with XLA support.";
645#endif // TENSORFLOW_EAGER_USE_XLA
646}
647
648void TFE_OpAddInput(TFE_Op* op, TFE_TensorHandle* input, TF_Status* status) {
649 op->operation.AddInput(input->handle);

Callers 3

Execute_MatMul_XLA_CPUFunction · 0.85
Execute_Min_XLA_CPUFunction · 0.85
TESTFunction · 0.85

Calls 1

SetUseXlaMethod · 0.80

Tested by 3

Execute_MatMul_XLA_CPUFunction · 0.68
Execute_Min_XLA_CPUFunction · 0.68
TESTFunction · 0.68