- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 624 for walkIf (0.1 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tpu_cluster_util.cc
CallGraphNode* node = call_graph.resolveCallable(call, symbol_table); pending_call_nodes.emplace_back(node, tpu_cluster); } }; // Traverse ops in each TPU cluster. auto result = module.walk([&](tf_device::ClusterOp tpu_cluster) { std::optional<std::string> host_device; if (pass_host_device) { std::string host_device_value; if (failed(tensorflow::GetHostDeviceOutsideComputation(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 06 04:50:13 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/verify_no_outside_compilation_markers_pass.cc
} bool HasChildLaunchDeviceOp(Operation& op) { auto cluster_op = dyn_cast<tf_device::ClusterOp>(op); if (cluster_op == nullptr) return false; auto walk_result = cluster_op->walk([&](Operation* op) { if (IsLaunchOp(*op)) return WalkResult::interrupt(); return WalkResult::advance(); }); return walk_result.wasInterrupted(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 22 19:52:08 UTC 2023 - 3.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util_test.cc
module->walk([&](mlir::tf_device::ClusterFuncOp cluster_func) { cluster_func_ops.push_back(cluster_func); }); EXPECT_EQ(cluster_func_ops.size(), 1); EXPECT_TRUE(mlir::succeeded(tensorflow::EraseClusterFuncs(cluster_func_ops))); llvm::SmallVector<mlir::tf_device::ClusterFuncOp, 4> new_cluster_func_ops; module->walk([&](mlir::tf_device::ClusterFuncOp cluster_func) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 4.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ThemeHelper.java
if (logger.isDebugEnabled()) { logger.debug("{} does not exists.", dir); } return; } try (Stream<Path> walk = Files.walk(dir, FileVisitOption.FOLLOW_LINKS)) { walk.sorted(Comparator.reverseOrder()).forEach(f -> { if (logger.isDebugEnabled()) { logger.debug("Deleting {}", f); } try {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 5.7K bytes - Viewed (0) -
guava/src/com/google/common/base/Throwables.java
* </pre> * * @throws IllegalArgumentException if there is a loop in the causal chain */ public static Throwable getRootCause(Throwable throwable) { // Keep a second pointer that slowly walks the causal chain. If the fast pointer ever catches // the slower pointer, then there's a loop. Throwable slowPointer = throwable; boolean advanceSlowPointer = false; Throwable cause;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Mar 06 15:38:58 UTC 2024 - 20.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/test_resource_alias_analysis.cc
} // Assign ID for all results. for (auto result : TF::filter_resources(op->getResults())) assign_id(result); }); // Now walk each operation, and annotate it wil remarks for aliases for // each resource type result func.walk([&](Operation* op) { // For all attached regions, assign ID to the region arguments. for (Region& region : op->getRegions()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 19 00:13:50 UTC 2022 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_composite_to_tfl_custom.cc
int num_layers = 0, current_layer_index = 0; // First walk the function to count number of KV Caches. fn.walk([&](Operation* op) { auto composite = llvm::dyn_cast<stablehlo::CompositeOp>(op); if (!composite || !IsKVCacheCompositeOp(composite)) return; num_layers++; }); fn.walk([&](Operation* op) { // Process only StableHLO composite ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.8K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/dependencyManagement/workingWithDependencies-walkGraph/kotlin/settings.gradle.kts
rootProject.name = "walk-dependency-graph"...
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 43 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/cluster_ops_by_policy.cc
auto merged = Merge(constraint, persisted); return {constraints_[value] = merged, merged != persisted}; } void ValuesConstraintSet::Walk( llvm::function_ref<void(Value, ValueConstraint)> walk) const { for (auto &kv : constraints_) walk(kv.getFirst(), kv.getSecond()); } std::optional<ValueConstraint> ValuesConstraintSet::GetConstraint( Value value) const { auto it = constraints_.find(value);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 27.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc
Region& region) { auto parallel_group_attr = launch->getAttrOfType<StringAttr>(TF::kParallelExecAnnotation); auto result = region.walk([&](Operation* op) -> WalkResult { if (op->getDialect() != tf_dialect) return WalkResult::advance(); if (parallel_group_attr) { op->setAttr(TF::kParallelExecAnnotation, parallel_group_attr); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.5K bytes - Viewed (0)