Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 136 for heuristics (0.21 sec)

  1. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.h

    #include "tensorflow/core/tfrt/fallback/op_cost_map.pb.h"
    
    namespace tensorflow {
    namespace tfrt_compiler {
    
    // Analyze costs for tensorflow operations.
    //
    // The current heuristic used is quite simple, which is to calculate the total
    // size of input tensors. The exception is that ops whose cost is irrelevant to
    // input sizes, such as tf.Shape and tf.Reshape, are whitelisted to have cheap
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.6.md

    ### StatefulSet
    
    * Fix zone placement heuristics so that multiple mounts in a StatefulSet pod are created in the same zone ([#40910](https://github.com/kubernetes/kubernetes/pull/40910), [@justinsb](https://github.com/justinsb))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 304K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssagen/ssa.go

    	p := s.Prog(op)
    	p.To.Type = obj.TYPE_BRANCH
    	s.Branches = append(s.Branches, Branch{P: p, B: target})
    	return p
    }
    
    // DebugFriendlySetPosFrom adjusts Pos.IsStmt subject to heuristics
    // that reduce "jumpy" line number churn when debugging.
    // Spill/fill/copy instructions from the register allocator,
    // phi functions, and instructions with a no-pos position
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 19:44:43 UTC 2024
    - 284.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/validation/DefaultTypeAwareProblemBuilder.java

                    builder.append('.');
                });
                builder.append(property)
                    .append("' ");
            }
            return builder.toString();
        }
    
        // A heuristic to determine if the type is relevant or not.
        // The "DefaultTask" type may appear in error messages
        // (if using "adhoc" tasks) but isn't visible to this
        // class so we have to rely on text matching for now.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverResult.java

         * For example, an artifact of type {@value org.apache.maven.api.Type#JAR} can be placed
         * either on the class-path or on the module-path. The project needs to make a choice
         * (possibly using heuristic rules), then to add the dependency in only one of the options
         * identified by {@link PathType}.
         *
         * @return file paths to place on the different tool options
         */
        @Nonnull
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  6. tools/istio-iptables/pkg/README.md

    So basically selecting the right binary for one of the above cases is a heuristic with 2 inputs:
    
    1. Does the particular binary variant (legacy, nft, ip6tables) even exist in $PATH?
    1. In the current netns context, are there already rules defined in one of (legacy, nft) tables? If so, prefer that one.
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 17:46:23 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/inline/inlheur/testdata/props/returns2.go

    // callsite: returns2.go:116:14|1 flagstr "" flagval 0 score 25 mask 0 maskstr ""
    // <endcallsites>
    // <endfuncpreamble>
    func T_two_calls_feed_ifswitch(q int) int {
    	// This case we don't handle; for the heuristic to kick in,
    	// all names in a given if/switch cond have to come from the
    	// same callsite
    	x := meaning(q)
    	y := meaning(-q)
    	if x < y {
    		switch x + y {
    		case 42:
    			return 1
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:01 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/plugins/imagelocality/image_locality.go

    // scaledImageScore returns an adaptively scaled score for the given state of an image.
    // The size of the image is used as the base score, scaled by a factor which considers how much nodes the image has "spread" to.
    // This heuristic aims to mitigate the undesirable "node heating problem", i.e., pods get assigned to the same or
    // a few nodes due to image locality.
    func scaledImageScore(imageState *framework.ImageStateSummary, totalNumNodes int) int64 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. pilot/pkg/leaderelection/k8sleaderelection/k8sresourcelock/interface.go

    // Timeout set for a client used to contact to Kubernetes should be lower than
    // RenewDeadline to keep a single hung request from forcing a leader loss.
    // Setting it to max(time.Second, RenewDeadline/2) as a reasonable heuristic.
    // nolint: lll
    func NewFromKubeconfig(lockType string, ns string, name string, rlc ResourceLockConfig, kubeconfig *restclient.Config, renewDeadline time.Duration) (Interface, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 6K bytes
    - Viewed (0)
  10. internal/kms/context.go

    func (c Context) MarshalText() ([]byte, error) {
    	if len(c) == 0 {
    		return []byte{'{', '}'}, nil
    	}
    
    	// Pre-allocate a buffer - 128 bytes is an arbitrary
    	// heuristic value that seems like a good starting size.
    	b := bytes.NewBuffer(make([]byte, 0, 128))
    	if len(c) == 1 {
    		for k, v := range c {
    			b.WriteString(`{"`)
    			escapeStringJSON(b, k)
    			b.WriteString(`":"`)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Jan 02 17:15:06 UTC 2022
    - 6K bytes
    - Viewed (0)
Back to top