- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 266 for walkIf (0.16 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_host_computation_expansion.cc
for (Operation& cluster_op : cluster_ops) { if (IsTrivialUnaryOperation(&cluster_op) || HasOutsideCompilationAttribute(&cluster_op)) { auto walk_result = cluster_op.walk([&](Operation* op) { for (Value operand : op->getOperands()) { Operation* operand_op = GetOpOfValue(operand); if (head_outside_compiled_ops.count(operand_op)) continue;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_partitioned_op_conversion.cc
llvm::SmallVector<TF::TPUReplicateMetadataOp, 4> metadata; getOperation()->walk( [&metadata](TF::TPUReplicateMetadataOp op) { metadata.push_back(op); }); IntegerAttr num_cores_per_replica; if (metadata.size() == 1) { num_cores_per_replica = metadata.front().getNumCoresPerReplicaAttr(); } auto result = getOperation()->walk([&num_cores_per_replica](Operation* op) { std::optional<LogicalResult> status;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/call_graph_util.h
llvm::SmallVector<SymbolUserOpInterface> &ops) { std::stack<func::FuncOp> worklist; worklist.push(root); while (!worklist.empty()) { func::FuncOp u = worklist.top(); worklist.pop(); auto result = u.walk([&](SymbolUserOpInterface op) { if (llvm::isa<T, Types...>(op) && (!predicate || predicate(op))) { ops.push_back(op); return WalkResult::advance(); } llvm::SmallVector<func::FuncOp> callees;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Dec 16 06:18:49 UTC 2023 - 4.3K bytes - Viewed (0) -
subprojects/core-api/src/main/java/org/gradle/api/artifacts/result/ResolutionResult.java
*/ @UsedByScanPlugin @HasInternalProtocol public interface ResolutionResult { /** * Gives access to the root of resolved dependency graph. * You can walk the graph recursively from the root to obtain information about resolved dependencies. * For example, Gradle's built-in 'dependencies' task uses this to render the dependency tree. *
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 24 19:03:56 UTC 2023 - 4.6K bytes - Viewed (0) -
hack/verify-flags-underscore.py
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:06:51 UTC 2024 - 4.3K bytes - Viewed (0) -
pilot/pkg/config/monitor/file_snapshot.go
// eligible model.Config. This can be used as a configFunc when creating a Monitor. func (f *FileSnapshot) ReadConfigFiles() ([]*config.Config, error) { var result []*config.Config err := filepath.Walk(f.root, func(path string, info os.FileInfo, err error) error { if err != nil { return err } else if !supportedExtensions[filepath.Ext(path)] || (info.Mode()&os.ModeType) != 0 { return nil }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 17:36:33 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/hoist_loop_invariant.cc
llvm::DenseSet<ResourceHandle> GetReadOnlyVariables(func::FuncOp func) { llvm::DenseMap<ResourceHandle, llvm::SmallVector<Operation *, 4>> resources; // Get all VarHandleOps in the function. func.walk([&](Operation *op) { if (llvm::isa<VarHandleOp>(op)) { resources[GetResourceHandle(op)].push_back(op); } }); // Get read only variables by checking if their users only have read effect.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.3K bytes - Viewed (0) -
platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/SingleIncludePatternFileTree.java
import java.io.File; import java.util.ArrayDeque; import java.util.Arrays; import java.util.Deque; import java.util.List; import java.util.concurrent.atomic.AtomicBoolean; /** * Directory walker that supports a single Ant-style include pattern * and an optional exclude spec. Efficient in the sense that it will only * exhaustively scan a directory hierarchy if, and from the point where, * a '**' pattern is encountered.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_annotate_dynamic_shape_inputs.cc
return block_arg.getOwner()->getParentOp(); return value.getDefiningOp(); } void TPUAnnotateDynamicShapeInputsPass::runOnOperation() { getOperation().walk([&](tf_device::ClusterFuncOp cluster_func_op) { Builder builder(cluster_func_op->getContext()); // Skip non-tpu device cluster_func. auto cluster_id =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/go/types/format.go
if len(check.pkgPathMap[pkg.name]) > 1 { return strconv.Quote(pkg.path) } return pkg.name } return "" } // markImports recursively walks pkg and its imports, to record unique import // paths in pkgPathMap. func (check *Checker) markImports(pkg *Package) { if check.seenPkgMap[pkg] { return } check.seenPkgMap[pkg] = true
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.5K bytes - Viewed (0)