Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 464 for scores (0.22 sec)

  1. src/cmd/compile/internal/types2/scope.go

    func NewScope(parent *Scope, pos, end syntax.Pos, comment string) *Scope {
    	s := &Scope{parent, nil, 0, nil, pos, end, comment, false}
    	// don't add children to Universe scope!
    	if parent != nil && parent != Universe {
    		parent.children = append(parent.children, s)
    		s.number = len(parent.children)
    	}
    	return s
    }
    
    // Parent returns the scope's containing (parent) scope.
    func (s *Scope) Parent() *Scope { return s.parent }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. src/go/types/scope.go

    // and looked up by name. The zero value for Scope is a ready-to-use
    // empty scope.
    type Scope struct {
    	parent   *Scope
    	children []*Scope
    	number   int               // parent.children[number-1] is this scope; 0 if there is no parent
    	elems    map[string]Object // lazily allocated
    	pos, end token.Pos         // scope extent; may be invalid
    	comment  string            // for debugging only
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/scope.h

      // scopes, or scopes derived from an existing scope object.
    
      /// Return a new scope.
      /// This creates a new graph and all operations constructed in this graph
      /// should use the returned object as the "root" scope.
      static Scope NewRootScope();
    
      /// Return a new scope. Ops created with this scope will have
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 09:08:33 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/volumebinding/volume_binding.go

    	// build score function
    	var scorer volumeCapacityScorer
    	if fts.EnableVolumeCapacityPriority {
    		shape := make(helper.FunctionShape, 0, len(args.Shape))
    		for _, point := range args.Shape {
    			shape = append(shape, helper.FunctionShapePoint{
    				Utilization: int64(point.Utilization),
    				Score:       int64(point.Score) * (framework.MaxNodeScore / config.MaxCustomPriorityScore),
    			})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 16 14:13:06 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/noderesources/fit.go

    )
    
    // nodeResourceStrategyTypeMap maps strategy to scorer implementation
    var nodeResourceStrategyTypeMap = map[config.ScoringStrategyType]scorer{
    	config.LeastAllocated: func(args *config.NodeResourcesFitArgs) *resourceAllocationScorer {
    		resources := args.ScoringStrategy.Resources
    		return &resourceAllocationScorer{
    			Name:      string(config.LeastAllocated),
    			scorer:    leastResourceScorer(resources),
    			resources: resources,
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  6. tensorflow/cc/framework/scope.cc

    #include "tensorflow/core/common_runtime/shape_refiner.h"
    #include "tensorflow/core/framework/node_def_util.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/lib/strings/str_util.h"
    
    namespace tensorflow {
    
    Scope::Scope(Impl* impl) : impl_(impl) {}
    
    Scope::Scope(const Scope& other) : impl_(new Impl(*other.impl())) {}
    
    Scope::~Scope() {}
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

          for (int i = 0; i < minLength; i++) {
            int result = Shorts.compare(left[i], right[i]);
            if (result != 0) {
              return result;
            }
          }
          return left.length - right.length;
        }
    
        @Override
        public String toString() {
          return "Shorts.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/primitives/Shorts.java

          for (int i = 0; i < minLength; i++) {
            int result = Shorts.compare(left[i], right[i]);
            if (result != 0) {
              return result;
            }
          }
          return left.length - right.length;
        }
    
        @Override
        public String toString() {
          return "Shorts.lexicographicalComparator()";
        }
      }
    
      /**
       * Sorts the elements of {@code array} in descending order.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 25.1K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    type store struct {
    	client              *clientv3.Client
    	codec               runtime.Codec
    	versioner           storage.Versioner
    	transformer         value.Transformer
    	pathPrefix          string
    	groupResource       schema.GroupResource
    	groupResourceString string
    	watcher             *watcher
    	leaseManager        *leaseManager
    }
    
    func (s *store) RequestWatchProgress(ctx context.Context) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go

    			name:         "pod with multiple large images, node2 is preferred",
    		},
    		{
    			// Pod: gcr.io/30 gcr.io/40
    
    			// Node1
    			// Image: gcr.io/20:latest 20MB, gcr.io/30:latest 30MB, gcr.io/40:latest 40MB
    			// Score: 100 * (30M + 40M * 1/2 - 23M) / (1000M * 2 - 23M) = 1
    
    			// Node2
    			// Image: 100 * (30M - 23M) / (1000M * 2 - 23M) = 0
    			// Score: 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
Back to top