- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for takeVector (0.43 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_head_tail_outside_compilation.cc
} return WalkResult::advance(); }); if (!walk_result.wasInterrupted()) head_outside_compiled_ops.insert(&cluster_op); } return head_outside_compiled_ops.takeVector(); } // Moves head outside compiled ops into its own `tf_device.LaunchOp` // computation before the cluster. void CreateHeadComputation(OpBuilder* builder,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 20.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/extract_tpu_copy_with_dynamic_shape_op.cc
new_launch_op_results.insert(operand); } } for (Value result : tpu_copy_with_dynamic_shape_op->getResults()) { new_launch_op_results.remove(result); } return new_launch_op_results.takeVector(); } // Create a new host launch op which contains all the old launch op body // except the dynamic shape copy op. tf_device::LaunchOp CreateNewHostLaunchOpWithNewResult( tf_device::LaunchOp* old_launch_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/cluster_util.cc
} if (ops_to_reorder.insert(op)) { llvm::append_range(worklist, op->getResults()); } } } llvm::SmallVector<mlir::Operation*, 0> sorted = ops_to_reorder.takeVector(); llvm::sort(sorted, [](mlir::Operation* lhs, mlir::Operation* rhs) { return lhs->isBeforeInBlock(rhs); }); for (mlir::Operation* const op : llvm::reverse(sorted)) { op->moveAfter(cluster);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jul 28 00:32:55 UTC 2023 - 8.3K bytes - Viewed (0)