- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 187 for ancestors (0.48 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) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc
a.attr(), b.attr(), [](const string& s) { return s; }, [](const AttrValue& v) { return v.DebugString(); }, [](const string& key, const AttrValue& av, const AttrValue& bv) { if (key == "ancestors") { // The ancestors are added from a set so the order is unpredictable; // just compare set equality not list equality. std::unordered_set<string> a_set(av.list().s().begin(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 113.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/prepare_tpu_computation_for_tf_export.mlir
} // CHECK-LABEL: @RewriteHostComputeMlirOp func.func @RewriteHostComputeMlirOp(%arg0: tensor<*xf32>, %arg1: tensor<3x?xf64>) -> (tensor<*xf32>) { // CHECK: "tf.XlaHostCompute"(%arg0, %arg1) // CHECK-SAME: ancestors = [] // CHECK-SAME: cost_estimate_ns = 1000000 : i64 // CHECK-SAME: key = "" // CHECK-SAME: recv_key = "host_compute_channel_recv" // CHECK-SAME: send_key = "host_compute_channel_send"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 18:46:36 UTC 2024 - 9.2K bytes - Viewed (0) -
src/mdo/transformer.vm
return transformer.apply(value); } #foreach ( $class in $model.allClasses ) #if ( $class.name != "InputSource" && $class.name != "InputLocation" ) #set ( $ancestors = $Helper.ancestors( $class ) ) #set ( $allFields = $Helper.xmlFields( $class ) ) protected ${class.name} transform${class.name}(${class.name} target) { if (target == null) { return null; }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 7.6K 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) -
tensorflow/compiler/mlir/lite/flatbuffer_import.h
// If `use_external_constant` is true, it will create `tfl.external_const` // instead of `tfl.const`. // If `experimental_prune_unreachable_nodes_unconditionally` is true, nodes that // are not ancestors of the output nodes will be pruned. mlir::OwningOpRef<mlir::ModuleOp> FlatBufferToMlir( absl::string_view buffer, mlir::MLIRContext* context, mlir::Location base_loc, bool use_external_constant = false,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 51K bytes - Viewed (0) -
src/mdo/model.vm
#set ( $package = "${packageModelV4}" ) #set ( $root = $model.getClass( $model.getRoot($version), $version ) ) #foreach ( $class in $model.allClasses ) #set ( $ancestors = $Helper.ancestors( $class ) ) #set ( $allFields = [] ) #set ( $inheritedFields = [] ) #foreach ( $cl in $ancestors ) #if ( $cl != $class ) #set ( $dummy = $inheritedFields.addAll( $cl.getFields($version) ) ) #end
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Feb 07 21:28:01 UTC 2024 - 17.1K 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)