Home
last modified time | relevance | path

Searched refs:ContractEdge (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/utils/
Dcycle_detector_test.cc69 TEST_F(GraphCyclesTest, ContractEdge) { in TEST_F() argument
77 EXPECT_FALSE(g_.ContractEdge(1, 3).hasValue()); in TEST_F()
81 EXPECT_EQ(*g_.ContractEdge(1, 2), 2); in TEST_F()
87 EXPECT_EQ(*g_.ContractEdge(2, 3), 2); in TEST_F()
Dcycle_detector.cc271 llvm::Optional<int32_t> GraphCycles::ContractEdge(int32_t a, int32_t b) { in ContractEdge() function in mlir::GraphCycles
/external/tensorflow/tensorflow/compiler/xla/service/graphcycles/
Dgraphcycles_test.cc476 TEST_F(GraphCyclesTest, ContractEdge) { in TEST_F() argument
483 EXPECT_FALSE(g_.ContractEdge(1, 3).has_value()); in TEST_F()
488 EXPECT_EQ(g_.ContractEdge(1, 2).value(), 2); in TEST_F()
495 EXPECT_EQ(g_.ContractEdge(2, 3).value(), 2); in TEST_F()
555 node = g.ContractEdge(nodes[i], node).value(); in BM_ContractEdge()
Dgraphcycles.h88 absl::optional<int32> ContractEdge(int32 a, int32 b);
Dgraphcycles.cc371 absl::optional<int32> GraphCycles::ContractEdge(int32 a, int32 b) { in ContractEdge() function in tensorflow::GraphCycles
/external/tensorflow/tensorflow/compiler/mlir/hlo/include/mlir-hlo/utils/
Dcycle_detector.h137 llvm::Optional<int32_t> ContractEdge(int32_t a, int32_t b);
/external/tensorflow/tensorflow/compiler/tf2tensorrt/segment/
Dsegment.cc574 void ContractEdge(SimpleEdge* edge, SimpleGraph* graph, in ContractEdge() function
898 ContractEdge(e, graph.get(), &remove_edges); in SegmentGraph()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Dmhlo_fusion.cc360 auto optional_merged_node = cycle_detector_.ContractEdge(from, to); in MergeClusters()
/external/tensorflow/tensorflow/compiler/jit/
Dmark_for_compilation_pass.cc397 auto optional_merged_node = cycles_graph_.ContractEdge(from, to); in MergeClusters()