Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 384 for calculateId (0.24 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/model/CalculatedValueContainer.java

        private final DisplayName displayName;
        // Null when the value has been calculated and assigned to the result field. When not null the result has not been calculated
        // or is currently being calculated or has just been calculated. It is possible for both this field and the result field to be
        // non-null at the same time for a brief period just after the result has been calculated
        @Nullable
        private volatile CalculationState<T, S> calculationState;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:26:19 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py

      MinMax calibration calculates the global min and global max values.
    
      global min = min of given sample inputs
      global max = max of given sample inputs
      """
    
      def get_min_max_value(self) -> tuple[float, float]:
        """Calculates the global min and max values.
    
        Returns:
          (min_value, max_value): Min and max calculated using MinMax
        """
        return (
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 11 19:29:56 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/replica_calculator.go

    		if err != nil {
    			return 0, time.Time{}, fmt.Errorf("unable to calculate ready pods: %s", err)
    		}
    		replicaCount = int32(math.Ceil(usageRatio * float64(readyPodCount)))
    	} else {
    		// Scale to zero or n pods depending on usageRatio
    		replicaCount = int32(math.Ceil(usageRatio))
    	}
    
    	return replicaCount, timestamp, err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ConfigurationBuildDependenciesIntegrationTest.groovy

            failure.assertHasCause("Could not get resource '${module.pom.uri}'")
        }
    
        @ToBeFixedForConfigurationCache
        def "does not download anything when task dependencies are calculated for configuration that is used as a task input"() {
            def module = mavenHttpRepo.module("test", "test", "1.0").publish()
            buildFile << """
                allprojects {
                    repositories {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types/size.go

    		CheckSize(t1)
    
    	case TCHANARGS:
    		t1 := t.ChanArgs()
    		CalcSize(t1) // just in case
    		// Make sure size of t1.Elem() is calculated at this point. We can
    		// use CalcSize() here rather than CheckSize(), because the top-level
    		// (possibly recursive) type will have been calculated before the fake
    		// chanargs is handled.
    		CalcSize(t1.Elem())
    		if t1.Elem().width >= 1<<16 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      return folded_results.front();
    }
    
    // Calculates zero-point offset by reducing the weight and multiply it with zp.
    // Originally, we have:
    //   output = (int8_input - input_zp) * (int8_weight - weight_zp)
    // So, offset = input_zp * int8_weight + weight_zp * int8_input
    // - input_zp * weight_zp.
    // This function calculates the `offset` value mentioned above. Note that the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  7. pkg/scheduler/framework/plugins/podtopologyspread/scoring.go

    			// when scoring later.
    			s.IgnoredNodes.Insert(node.Node().Name)
    			continue
    		}
    		for i, constraint := range s.Constraints {
    			// per-node counts are calculated during Score.
    			if constraint.TopologyKey == v1.LabelHostname {
    				continue
    			}
    			pair := topologyPair{key: constraint.TopologyKey, value: node.Node().Labels[constraint.TopologyKey]}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 15 03:30:06 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  8. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildOperationsIntegrationTest.groovy

            treeTaskGraphOps.size() == 2
            treeTaskGraphOps[0].displayName == "Calculate build tree task graph"
            treeTaskGraphOps[0].parentId == applyRootProjectBuildScript.id
            treeTaskGraphOps[1].displayName == "Calculate build tree task graph"
            treeTaskGraphOps[1].parentId == root.id
    
            // The task graph for buildB is calculated multiple times, once for the buildscript dependency and again for the production dependency
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 09 13:43:40 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/api/internal/provider/ProviderInternal.java

     *     However, when the value itself is also calculated from work node outputs, then the provider will carry dependencies on the work nodes that produce the value (as the consumer does care about the value).
     *     </p>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/docs/userguide/authoring-builds/tasks/lazy_configuration.adoc

    ```
    modifiedFiles.finalizeValueOnRead()
    ```
    
    In other words, this method calculates the final value lazily as required, whereas `finalizeValue()` calculates the final value eagerly.
    This method can be used when the value may be expensive to calculate or may not have been configured yet.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:33:15 UTC 2024
    - 30.1K bytes
    - Viewed (0)
Back to top