Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for first_if (0.3 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/merge_control_flow.cc

      OpBuilder builder(first_if);
      builder.setInsertionPoint(if_op_segment.back().getOperation());
    
      auto new_if_op = builder.create<TF::IfRegionOp>(
          first_if.getLoc(), merged_return_types, first_if.getCond(),
          llvm::all_of(if_op_segment,
                       [&](TF::IfRegionOp op) { return op.getIsStateless(); }),
          first_if.get_thenFuncNameAttr(), first_if.get_elseFuncNameAttr());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 17 07:31:01 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  2. platforms/core-execution/file-watching/src/test/groovy/org/gradle/internal/watch/registry/impl/HierarchicalFileWatcherUpdaterTest.groovy

        }
    
        def "keeps watching outermost hierarchy until there is no content left"() {
            def firstDir = file("first").createDir()
            def secondDir = file("second").createDir()
            def directoryWithinFirst = file("first/within").createDir()
    
            registerWatchableHierarchies([directoryWithinFirst, firstDir, secondDir])
    
            when:
            addSnapshotInWatchableHierarchy(secondDir)
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 13:24:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/PrecompiledScriptPluginTasksIntegrationTest.kt

                """
                package plugins
                """
            )
    
    
            val firstDir = existing(firstLocation)
            val secondDir = newDir(secondLocation)
            firstDir.copyRecursively(secondDir)
    
            val cachedTasks = listOf(
                ":extractPrecompiledScriptPluginPlugins",
                ":generateExternalPluginSpecBuilders",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 10:30:22 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. pkg/kubelet/userns/userns_manager.go

    func (m *UsernsManager) allocateOne(pod types.UID) (firstID uint32, length uint32, err error) {
    	firstZero, found, err := m.used.AllocateNext()
    	if err != nil {
    		return 0, 0, err
    	}
    	if !found {
    		return 0, 0, fmt.Errorf("could not find an empty slot to allocate a user namespace")
    	}
    
    	klog.V(5).InfoS("new pod user namespace allocation", "podUID", pod)
    
    	firstID = uint32((firstZero + m.off) * userNsLength)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  5. platforms/extensibility/plugin-development/src/integTest/groovy/org/gradle/plugin/devel/plugins/PrecompiledGroovyPluginsIntegrationTest.groovy

            def cacheDir = createDir("cache-dir")
    
            def firstDir = createDir("first-location")
            firstDir.file("settings.gradle") << """
                rootProject.name = "test"
                buildCache {
                    local {
                        directory = file("../${cacheDir.name}")
                    }
                }
            """
            firstDir.file("buildSrc/build.gradle") << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 28.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

        # bins[i + 1] = lower_bound + (i + 1) * bin_width
        # So hist_mids[i] = (lower_bound + bin_width / 2) + bin_width * i
        first_mid = self._lower_bound + self._bin_width / 2
        last_mid = first_mid + (self._num_bins - 1) * self._bin_width
        self._hist_mids = np.linspace(first_mid, last_mid, self._num_bins)
    
      def _get_dequantized_hist_mids_after_quantize(
          self, quant_min: float, quant_max: float
      ) -> np.ndarray:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/tf2xla_rewriter_test.cc

          XlaComputation& computation) {
        SourceMgrDiagnosticHandler sourceMgrHandler(source_manager_, &context_);
    
        mlir::Operation& first_op = GetFirstOpFromMain();
    
        Tf2XlaRewriterTestPeer test_peer(&first_op);
        return test_peer.ImportXlaComputationIntoModule(computation);
      }
    
     protected:
      MLIRContext context_;
      OwningOpRef<ModuleOp> module_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:16:07 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/DependenciesAttributesIntegrationTest.groovy

                plugins {
                    id("base")
                }
    
                task wrongZip(type: Zip) {
                    archiveBaseName = "wrong"
                }
                task firstZip(type: Zip) {
                    archiveBaseName = "first"
                }
    
                configurations {
                    consumable("blah") {
                        attributes {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 13 02:13:52 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  9. platforms/native/language-native/src/integTest/groovy/org/gradle/language/AbstractNativeLanguageIntegrationTest.groovy

            install.exec().out == helloWorldApp.frenchOutput
        }
    
        @ToBeFixedForConfigurationCache
        def "link order is stable across project directories for the same sources"() {
            def firstCopy = file("firstDir")
            def secondCopy = file("secondDir")
            [ firstCopy, secondCopy ].each { projectDir ->
                projectDir.file("settings.gradle").touch()
                def buildFile = projectDir.file("build.gradle")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  10. pkg/kubelet/userns/userns_manager_test.go

    		mappingLen     uint32
    		maxPods        int
    		success        bool
    	}{
    		{
    			name:    "default",
    			success: true,
    		},
    		{
    			name:           "firstID not multiple",
    			mappingFirstID: 65536 + 1,
    		},
    		{
    			name:           "firstID is less than 65535",
    			mappingFirstID: 1,
    		},
    		{
    			name:           "mappingLen not multiple",
    			mappingFirstID: 65536,
    			mappingLen:     65536 + 1,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top