- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 106 for ancestors (0.16 sec)
-
src/cmd/vendor/golang.org/x/tools/internal/analysisinternal/analysis.go
func WalkASTWithParent(n ast.Node, f func(n ast.Node, parent ast.Node) bool) { var ancestors []ast.Node ast.Inspect(n, func(n ast.Node) (recurse bool) { if n == nil { ancestors = ancestors[:len(ancestors)-1] return false } var parent ast.Node if len(ancestors) > 0 { parent = ancestors[len(ancestors)-1] } ancestors = append(ancestors, n) return f(n, parent) }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 11.7K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileHierarchySet.java
* * A file is contained in the set if it or one of its ancestors has * been added to the set. */ public abstract boolean contains(File file); /** * Checks if the given path is contained in the set. * * A path is contained in the set if it or one of its ancestors has * been added to the set. */ public abstract boolean contains(String path);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:38 UTC 2024 - 13.4K bytes - Viewed (0) -
platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeStateTest.groovy
parent1.ownStrictVersionConstraints != StrictVersionConstraints.EMPTY parent2.ownStrictVersionConstraints == StrictVersionConstraints.EMPTY } def "computes intersection of ancestors"() { when: def parent1Edge = edge(root, false) def parent2Edge = edge(root, false) def parent1 = parent1Edge.targetComponent.nodes[0]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jun 07 14:19:34 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc
} // Checks if an op is a supported HLO control flow op. bool IsControlFlowOp(Operation* op) { return isa<IfOp, WhileOp>(op); } // Collects control flow op ancestors of a given op, up until FuncOp. If any // ancestor is not a control flow op or a FuncOp, or of a single block region, // an error will be returned. LogicalResult GetControlFlowAncestors(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 40.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/raise_target_subgraphs.cc
// `{ tac.device = "GPU", tac.inference_type = "FLOAT"}` to a function // with the matching attributes. Assumed is that device type "CPU" // is the only device that is allowed to call other devices. I.e. ancestors of a // "CPU" `Operation` may only `Operations` without a device or other "CPU" // `Operations`. Implied is that "CPU" ops may contain subgraphs of different
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/prepare_tpu_computation_for_tf_export.cc
} constexpr int64_t kDefaultCostEstimate = 1000000; rewriter.replaceOpWithNewOp<TF::XlaHostComputeOp>( op, op.getResultTypes(), op.getInputs(), /*ancestors=*/rewriter.getArrayAttr({}), rewriter.getArrayAttr(shape_attrs), /*shape_inference_graph=*/ cloned_func ? SymbolRefAttr::get(cloned_func) : SymbolRefAttr(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc
return WalkResult::interrupt(); } return WalkResult::advance(); }); return tpu_compile_successor; } // Get all the Blocks underneath `top` that are "in the scope" of `bottom`, // i.e., are ancestors. llvm::DenseSet<Block*> GetAllBlocksBetween(Operation* bottom, Operation* top) { llvm::DenseSet<Block*> blocks; Operation* op = bottom; while (op && op != top) { blocks.insert(op->getBlock());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.4K bytes - Viewed (0) -
src/cmd/go/internal/modfetch/codehost/codehost.go
RecentTag(ctx context.Context, rev, prefix string, allowed func(tag string) bool) (tag string, err error) // DescendsFrom reports whether rev or any of its ancestors has the given tag. // // DescendsFrom must return true for any tag returned by RecentTag for the // same revision. DescendsFrom(ctx context.Context, rev, tag string) (bool, error) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Apr 14 18:50:24 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/extract_outside_compilation.cc
}) .wasInterrupted(); } // Returns whether `op` or any ancestors of `op` are outside compiled. bool HasOutsideCompilationAncestor(Operation* op) { while (op) { if (op->hasAttr(kXlaOutsideCompilationAttr)) { return true; } op = op->getParentOp(); } return false; } // Returns whether any ancestors of `op` are outside compiled.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir
// CHECK: tf.XlaHostCompute // CHECK-SAME:_xla_original_oc_node_name = "hcb0", _xla_token_input_nodes = ["_xla_token_arg_node"] "tf.XlaHostCompute"(%cst) <{ancestors = [], cost_estimate_ns = 1000000 : i64, key = "_host_callback", recv_key = "", send_key = "", shapes = [], tpu_core = 0 : i64}> {_xla_original_oc_node_name = "hcb0", _xla_token_input_nodes = ["_xla_token_arg_node"]} : (tensor<i32>) -> ()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 16:22:32 UTC 2024 - 29.5K bytes - Viewed (0)