Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 590 for walkP (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/kubeadm/app/util/patches/patches.go

    		}
    		patches = append(patches, string(patchJSON))
    	}
    
    	return &patchSet{
    		targetName: targetName,
    		patchType:  patchType,
    		patches:    patches,
    	}, nil
    }
    
    // getPatchSetsFromPath walks a path, ignores sub-directories and non-patch files, and
    // returns a list of patchFile objects.
    func getPatchSetsFromPath(targetPath string, knownTargets []string, output io.Writer) ([]*patchSet, []string, []string, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/visitor.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package schema
    
    // Visitor recursively walks through a structural schema.
    type Visitor struct {
    	// Structural is called on each Structural node in the schema, before recursing into
    	// the subtrees. It is allowed to mutate s. Return true if something has been changed.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top