| 638 | } |
| 639 | |
| 640 | void 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 | |
| 648 | void TFE_OpAddInput(TFE_Op* op, TFE_TensorHandle* input, TF_Status* status) { |
| 649 | op->operation.AddInput(input->handle); |