Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addMove (0.4 sec)

  1. pkg/scheduler/schedule_one_test.go

    	scache := internalcache.New(ctx, 100*time.Millisecond)
    	pod := podWithPort("pod.Name", "", 8080)
    	node := v1.Node{ObjectMeta: metav1.ObjectMeta{Name: "node1", UID: types.UID("node1")}}
    	scache.AddNode(logger, &node)
    
    	fns := []tf.RegisterPluginFunc{
    		tf.RegisterQueueSortPlugin(queuesort.Name, queuesort.New),
    		tf.RegisterBindPlugin(defaultbinder.Name, defaultbinder.New),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  2. pkg/controller/daemon/daemon_controller_test.go

    	err = manager.dsStore.Add(ds)
    	if err != nil {
    		t.Fatal(err)
    	}
    	manager.addNode(logger, node1)
    	if got, want := manager.queue.Len(), 0; got != want {
    		t.Fatalf("queue.Len() = %v, want %v", got, want)
    	}
    
    	node2 := newNode("node2", simpleNodeLabel)
    	manager.addNode(logger, node2)
    	if got, want := manager.queue.Len(), 1; got != want {
    		t.Fatalf("queue.Len() = %v, want %v", got, want)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

                                                     /*consume=*/true);
    
        if (status->status.ok()) {
          // Run shape inference function for newly added node.
          status->status = desc->graph->refiner.AddNode(ret);
        }
        if (status->status.ok()) {
          // Add the node to the name-to-node mapping.
          desc->graph->name_map[ret->name()] = ret;
        } else if (ret != nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

              (*node_name_map)[placeholder_node->name()] = placeholder_node;
              // Add the new placeholder node to the shape refiner.
              Status status = shape_refiner_->AddNode(placeholder_node);
              if (!status.ok()) {
                return EmitErrorWithLocationStr(*placeholder_node, status);
              }
            }
          } else {
            auto index_it = it->second.find(0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
Back to top