Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 137 for walkFn (0.16 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc

    }
    
    TEST_F(LegalizationOpConfigTest, ExpectsFalseForNonMlirOps) {
      TF_EXPECT_OK(CreateMlirModule());
      TF_ASSERT_OK_AND_ASSIGN(FuncOp main, GetMain());
    
      main.walk([&](Operation* op) { EXPECT_FALSE(IsOpLegalizedWithMlir(*op)); });
    }
    
    TEST_F(LegalizationOpConfigTest, ExpectsTrueForMlirTypeID) {
      EXPECT_TRUE(IsTypeLegalizedWithMlir(TypeID::get<TF::ModOp>()));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 30 03:31:01 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

    LogicalResult ResourceAnalyzer::AnalyzeRegion(Region& region) {
      // Avoid infinite recursion.
      if (!discovered_.insert(&region).second) {
        return success();
      }
    
      region.walk([&](Operation* op) {
        if (isa<TF::ReadVariableOp, func::ReturnOp, YieldOp>(op)) {
          return;
        }
        if (auto assign_variable = dyn_cast<TF::AssignVariableOp>(op)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/cmd/go/internal/clean/clean.go

    			if err := sh.RemoveAll(logFile); err != nil && !printedErrors {
    				printedErrors = true
    				base.Error(err)
    			}
    		}
    	}
    
    	if cleanTestcache && !cleanCache {
    		// Instead of walking through the entire cache looking for test results,
    		// we write a file to the cache indicating that all test results from before
    		// right now are to be ignored.
    		dir, _ := cache.DefaultDir()
    		if dir != "off" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. cmd/main.go

    		sort.Strings(closestCommands)
    		// Suggest other close commands - allow missed, wrongly added and
    		// even transposed characters
    		for _, value := range commandsTree.Walk(commandsTree.Root()) {
    			if sort.SearchStrings(closestCommands, value) < len(closestCommands) {
    				continue
    			}
    			// 2 is arbitrary and represents the max
    			// allowed number of typed errors
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

    // tf_executor::NextIterationSinkOp to break the cycle introduced by itself.
    static void SplitNextIteration(Block &block) {
      // TODO(b/207144333): Supports callback for unregistered ops
      block.walk([&](Operation *op) {
        if (op->getName().getStringRef() != "tfg.NextIteration") return;
        mlir::OpBuilder builder(op);
    
        llvm::SmallVector<Value, 2> new_operands;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/execution/taskgraph/ParallelTaskExecutionIntegrationTest.groovy

                blockingServer.expectConcurrent(":cPing")
                run ":cPing", ":aPing"
            }
        }
    
        @Timeout(30)
        def "handles an exception thrown while walking the task graph when a finalizer is present"() {
            given:
            withParallelThreads(2)
    
            buildFile << """
                class BrokenTask extends DefaultTask {
                    @OutputFiles
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 14:00:51 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. pilot/pkg/serviceregistry/aggregate/controller.go

    	// are installed in multiple clusters.
    	smap := make(map[host.Name]int)
    	index := 0
    	services := make([]*model.Service, 0)
    	// Locking Registries list while walking it to prevent inconsistent results
    	for _, r := range c.GetRegistries() {
    		svcs := r.Services()
    		if r.Provider() != provider.Kubernetes {
    			index += len(svcs)
    			services = append(services, svcs...)
    		} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 15 06:28:11 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. src/runtime/traceback.go

    package runtime
    
    import (
    	"internal/abi"
    	"internal/bytealg"
    	"internal/goarch"
    	"internal/stringslite"
    	"runtime/internal/sys"
    	"unsafe"
    )
    
    // The code in this file implements stack trace walking for all architectures.
    // The most important fact about a given architecture is whether it uses a link register.
    // On systems with link registers, the prologue for a non-leaf function stores the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  9. platforms/documentation/docs/build.gradle

                    "snippet-dependency-management-working-with-dependencies-walk-graph_groovy_walking-dependency-graph.sample",
                    "snippet-dependency-management-working-with-dependencies-walk-graph_kotlin_walking-dependency-graph.sample",
    
                    "snippet-ide-eclipse_groovy_wtpWithXml.sample",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/ConfigurationCacheEncryptionIntegrationTest.groovy

            EncryptionKind.KEYSTORE | true      | true
            EncryptionKind.ENV_VAR  | true      | false
        }
    
        private boolean isFoundInDirectory(File startDir, byte[] toFind) {
            try (Stream<Path> tree = Files.walk(startDir.toPath(), FileVisitOption.FOLLOW_LINKS)) {
                return tree.filter { it.toFile().file }
                    .anyMatch {
                        isSubArray(Files.readAllBytes(it), toFind)
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top