- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getUsedValuesDefinedAbove (0.23 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc
// removed afterwards.` void OutlineCluster(tf_device::ClusterOp cluster_op, SymbolTable* symbol_table, OpBuilder* builder) { llvm::SetVector<Value> live_ins; getUsedValuesDefinedAbove(cluster_op.getBody(), cluster_op.getBody(), live_ins); func::FuncOp outlined_func = BuildFunction(live_ins.getArrayRef(), cluster_op, symbol_table, builder);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 7.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
for (IslandOp island_op : islands_to_outline) { // Build the function signature. // First the captured values in the island are function arguments llvm::SetVector<Value> operands; getUsedValuesDefinedAbove(island_op.getBody(), operands); SmallVector<Type, 16> func_operand_types; func_operand_types.reserve(operands.size()); for (Value operand : operands)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/cluster_util.cc
if (op.isBeforeInBlock(c.ops.front()) || c.ops.contains(&op)) { continue; } // Gets the live in values of the `op` llvm::SetVector<Value> live_ins(op.operand_begin(), op.operand_end()); getUsedValuesDefinedAbove(op.getRegions(), live_ins); // Inserts if any of the `live_ins` depends on the ops in the cluster. if (llvm::any_of(live_ins, [&](Value value) { Operation* defining_op = value.getDefiningOp();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 28 00:32:55 UTC 2023 - 8.3K bytes - Viewed (0)