aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/dfs_hlo_visitor_with_default.h
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/compiler/xla/service/dfs_hlo_visitor_with_default.h')
-rw-r--r--tensorflow/compiler/xla/service/dfs_hlo_visitor_with_default.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/tensorflow/compiler/xla/service/dfs_hlo_visitor_with_default.h b/tensorflow/compiler/xla/service/dfs_hlo_visitor_with_default.h
index 987c91e5ba..f4316e0fb7 100644
--- a/tensorflow/compiler/xla/service/dfs_hlo_visitor_with_default.h
+++ b/tensorflow/compiler/xla/service/dfs_hlo_visitor_with_default.h
@@ -16,7 +16,7 @@ limitations under the License.
#ifndef TENSORFLOW_COMPILER_XLA_SERVICE_DFS_HLO_VISITOR_WITH_DEFAULT_H_
#define TENSORFLOW_COMPILER_XLA_SERVICE_DFS_HLO_VISITOR_WITH_DEFAULT_H_
-#include "tensorflow/compiler/xla/literal_util.h"
+#include "tensorflow/compiler/xla/literal.h"
#include "tensorflow/compiler/xla/service/dfs_hlo_visitor.h"
#include "tensorflow/compiler/xla/service/hlo_opcode.h"
#include "tensorflow/compiler/xla/types.h"
@@ -79,6 +79,9 @@ class DfsHloVisitorWithDefaultBase
Status HandleSelect(HloInstructionPtr select) override {
return DefaultAction(select);
}
+ Status HandleTupleSelect(HloInstructionPtr tuple_select) override {
+ return DefaultAction(tuple_select);
+ }
Status HandleDot(HloInstructionPtr dot) override {
return DefaultAction(dot);
}
@@ -112,6 +115,9 @@ class DfsHloVisitorWithDefaultBase
Status HandleConstant(HloInstructionPtr constant) override {
return DefaultAction(constant);
}
+ Status HandleIota(HloInstructionPtr iota) override {
+ return DefaultAction(iota);
+ }
Status HandleGetTupleElement(HloInstructionPtr get_tuple_element) override {
return DefaultAction(get_tuple_element);
}