Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 785 for Nodes (0.82 sec)

  1. tensorflow/c/experimental/grappler/grappler.cc

      TF_SetStatus(status, TF_OK, "");
      const std::unordered_set<std::string>& nodes =
          reinterpret_cast<const tensorflow::grappler::GrapplerItem*>(item)
              ->NodesToPreserve();
      *num_values = nodes.size();
      *storage_size = 0;
      for (const std::string& str : nodes) {
        *storage_size += str.size();
      }
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 15K bytes
    - Viewed (0)
  2. pkg/scheduler/internal/cache/snapshot_test.go

    		pods                         []*v1.Pod
    		nodes                        []*v1.Node
    		expectedNodesInfos           []*framework.NodeInfo
    		expectedNumNodes             int
    		expectedPodsWithAffinity     int
    		expectedPodsWithAntiAffinity int
    		expectedUsedPVCSet           sets.Set[string]
    	}{
    		{
    			name:  "no pods no nodes",
    			pods:  nil,
    			nodes: nil,
    		},
    		{
    			name: "single pod single node",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 05 08:00:25 UTC 2023
    - 12K bytes
    - Viewed (0)
  3. tensorflow/cc/framework/gradients.cc

        }
      }
      // BFS from nodes in 'inputs_' along out edges for the entire graph. Internal
      // output nodes are recorded during the traversal. All nodes that are output
      // nodes but not internal output nodes are considered the frontier of the
      // output nodes, and thus our stop backprop nodes.
      while (!queue.empty()) {
        std::pair<Node*, Node*> p = queue.front();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/DefaultFinalizedExecutionPlan.java

                    if (!node.allDependenciesSuccessful()) {
                        // Nodes whose dependencies have failed are added to the 'readyNodes' queue.
                        // This is because of history, where all nodes were added to this queue regardless of their status.
                        // Instead, the nodes should be cancelled when a dependent fails and never added to the queue.
                        //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 28 21:49:39 UTC 2022
    - 28.1K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/imagelocality/image_locality_test.go

    			// Score: 100 * (250M/2 - 23M)/(1000M * 2 - 23M) = 5
    			pod:          &v1.Pod{Spec: test40250},
    			nodes:        []*v1.Node{makeImageNode("node1", node403002000), makeImageNode("node2", node25010)},
    			expectedList: []framework.NodeScore{{Name: "node1", Score: 0}, {Name: "node2", Score: 5}},
    			name:         "two images spread on two nodes, prefer the larger image one",
    		},
    		{
    			// Pod: gcr.io/40 gcr.io/300
    
    			// Node1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 19 06:17:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/poset.go

    func (po *poset) setchl(i uint32, l posetEdge) { po.nodes[i].l = l }
    func (po *poset) setchr(i uint32, r posetEdge) { po.nodes[i].r = r }
    func (po *poset) chl(i uint32) uint32          { return po.nodes[i].l.Target() }
    func (po *poset) chr(i uint32) uint32          { return po.nodes[i].r.Target() }
    func (po *poset) children(i uint32) (posetEdge, posetEdge) {
    	return po.nodes[i].l, po.nodes[i].r
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 04 17:23:05 UTC 2023
    - 37.2K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/testing/testvolumespec.go

    	fakeClient.AddReactor("update", "nodes", func(action core.Action) (handled bool, ret runtime.Object, err error) {
    		updateAction := action.(core.UpdateAction)
    		node := updateAction.GetObject().(*v1.Node)
    		for index, n := range nodes.Items {
    			if n.Name == node.Name {
    				nodes.Items[index] = *node
    			}
    		}
    		return true, updateAction.GetObject(), nil
    	})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 17 08:48:30 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/devicemanager/manager.go

    			return false
    		}
    
    		// If one or the other of nodes[i] or nodes[j] is the fake NUMA node -1 (they can't both be)
    		if nodes[i] == nodeWithoutTopology {
    			return false
    		}
    		if nodes[j] == nodeWithoutTopology {
    			return true
    		}
    
    		// Otherwise both nodes[i] and nodes[j] are real NUMA nodes that are not in the 'hint's' affinity list.
    		return perNodeDevices[nodes[i]].Len() < perNodeDevices[nodes[j]].Len()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 12:01:56 UTC 2024
    - 43K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/attach_detach_controller_test.go

    			t.Fatalf("Error getting list of nodes %v", err)
    		}
    		if i > 100 {
    			t.Fatalf("Time out while waiting for the node informer sync: found %d nodes, expected %d nodes", len(nodeList), nodesNum)
    		}
    		time.Sleep(100 * time.Millisecond)
    		nodeList, err = informerFactory.Core().V1().Nodes().Lister().List(labels.Everything())
    		i++
    	}
    	i = 0
    	podList, err := informerFactory.Core().V1().Pods().Lister().List(labels.Everything())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. pkg/kubelet/apis/podresources/server_v1_test.go

    			DeviceIds:    []string{"dev0", "dev1"},
    			Topology:     &podresourcesapi.TopologyInfo{Nodes: []*podresourcesapi.NUMANode{{ID: numaID}}},
    		},
    	}
    
    	cpus := []int64{12, 23, 30}
    
    	memory := []*podresourcesapi.ContainerMemory{
    		{
    			MemoryType: "memory",
    			Size_:      1073741824,
    			Topology:   &podresourcesapi.TopologyInfo{Nodes: []*podresourcesapi.NUMANode{{ID: numaID}}},
    		},
    		{
    			MemoryType: "hugepages-1Gi",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 45.9K bytes
    - Viewed (0)
Back to top