18 #ifndef TENSORFLOW_COMPILER_XLA_SERVICE_COPY_INSERTION_H_ 19 #define TENSORFLOW_COMPILER_XLA_SERVICE_COPY_INSERTION_H_ 21 #include "tensorflow/compiler/xla/service/buffer_liveness.h" 25 #include "tensorflow/compiler/xla/service/hlo_pass_interface.h" 26 #include "tensorflow/core/lib/gtl/flatmap.h" 54 tensorflow::StringPiece name()
const override {
return "copy-insertion"; }
81 #endif // TENSORFLOW_COMPILER_XLA_SERVICE_COPY_INSERTION_H_
Definition: copy_insertion.h:52
StatusOr< bool > Run(HloModule *module) override
Run the pass on the given module.
Definition: copy_insertion.cc:1112
namespace for xla
Definition: client_library.cc:26
static StatusOr< bool > AddCopiesForBufferAssignment(HloModule *module)
Definition: copy_insertion.cc:1239
Definition: hlo_module.h:52