- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for ReorderOpResultUses (0.87 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/cluster_util.h
// `tf.OpB`, which won't dominate the region. This function reorders all users // of the cluster op to be placed after the cluster op itself so that SSA // dominance is preserved after cluster op creation. void ReorderOpResultUses(mlir::Operation* cluster); } // namespace mlir::TF
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 21 22:33:23 UTC 2023 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_formation.cc
ReplaceLiveOutExternalUses(live_outs, launch_op); // Ensure that users of the launch op's results appear after the launch op // in order to preserve the dominance property. TF::ReorderOpResultUses(launch_op); } std::string GetDevice(Operation* op) { auto device_attr = op->getAttrOfType<StringAttr>("device"); return device_attr ? device_attr.getValue().str() : ""; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 05 13:30:21 UTC 2023 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/cluster_util.cc
// built. for (auto& target_cluster : nearest_clusters) { all_clusters[target_cluster.first()].push_back(target_cluster.second); } return all_clusters; } void ReorderOpResultUses(mlir::Operation* cluster) { mlir::Block* const cluster_block = cluster->getBlock(); llvm::SetVector<mlir::Operation*> ops_to_reorder; llvm::SmallVector<mlir::Value> worklist;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 28 00:32:55 UTC 2023 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc
op->dropAllReferences(); op->erase(); } // Ensure that users of the call op's results appear after the launch op in // order to preserve the dominance property. TF::ReorderOpResultUses(call_op); } } // namespace common } // namespace TFL
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0)