18 #ifndef TENSORFLOW_COMPILER_XLA_SERVICE_HLO_CSE_H_ 19 #define TENSORFLOW_COMPILER_XLA_SERVICE_HLO_CSE_H_ 22 #include "tensorflow/compiler/xla/service/hlo_pass_interface.h" 32 class HloCSE :
public HloPassInterface {
36 explicit HloCSE(
bool is_layout_sensitive)
37 : is_layout_sensitive_(is_layout_sensitive) {}
39 tensorflow::StringPiece name()
const override {
return "cse"; }
43 StatusOr<bool> Run(
HloModule* module)
override;
46 bool is_layout_sensitive_;
51 #endif // TENSORFLOW_COMPILER_XLA_SERVICE_HLO_CSE_H_
namespace for xla
Definition: client_library.cc:26
Definition: hlo_module.h:52