Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for addRow (0.17 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        // Match Add.
        auto add_op =
            dyn_cast_or_null<TFL::AddOp>(fc_op.getInput().getDefiningOp());
        if (!add_op) return failure();
        if (add_op.getFusedActivationFunction() != "NONE") return failure();
    
        // Don't match adds where the added constant is not 1D.
        {
          auto addend_shape = mlir::cast<ShapedType>(add_op.getRhs().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

          return failure();
        }
    
        if (fuse_bias_constant) {
          Operation* add_op = FindUserOfType<stablehlo::AddOp>(op);
          if (add_op == nullptr) {
            LLVM_DEBUG(llvm::dbgs() << "Failed to find AddOp for bias fusion.\n");
            return failure();
          }
          Operation* bias_const_op = GetBiasConstOp(add_op);
          if (bias_const_op == nullptr) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/framework_test.go

    			t.Errorf("preFilter2 called %v, expected: 1", preFilter2.PreFilterCalled)
    		}
    		if preFilter2.AddCalled != 1 {
    			t.Errorf("AddPod called %v, expected: 1", preFilter2.AddCalled)
    		}
    		if preFilter2.RemoveCalled != 1 {
    			t.Errorf("AddPod called %v, expected: 1", preFilter2.RemoveCalled)
    		}
    	})
    }
    
    func TestRunPreFilterPlugins(t *testing.T) {
    	tests := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

            return failure();
        } else {
          return failure();
        }
    
        return success();
      }
    };
    
    class ConvertReduceOpToTfSum
        : public ConvertReduceOpToTfOp<mhlo::AddOp, TF::SumOp, TF::AddOp> {
     public:
      using ConvertReduceOpToTfOp::ConvertReduceOpToTfOp;
    
      LogicalResult MatchInitValue(Value init_value) const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  5. pkg/kubelet/kubelet_test.go

    	kubelet.kubeClient = testKubelet.fakeKubeClient
    	defer testKubelet.fakeKubeClient.ClearActions()
    	kubelet.podManager.AddPod(testPod1)
    	kubelet.podManager.AddPod(testPod2)
    	kubelet.podManager.AddPod(testPod3)
    	kubelet.podWorkers.(*fakePodWorkers).running = map[types.UID]bool{
    		testPod1.UID: true,
    		testPod2.UID: true,
    		testPod3.UID: true,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one_test.go

    	// and would be removed itself (without any explicit actions on schedulernodeinfo). Even in that case,
    	// explicitly AddPod will as well correct the behavior.
    	firstPod.Spec.NodeName = node.Name
    	if err := scache.AddPod(logger, firstPod); err != nil {
    		t.Fatalf("err: %v", err)
    	}
    	if err := scache.RemovePod(logger, firstPod); err != nil {
    		t.Fatalf("err: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  7. pkg/controller/daemon/daemon_controller_test.go

    		if err != nil {
    			t.Fatal(err)
    		}
    		err = manager.dsStore.Add(ds2)
    		if err != nil {
    			t.Fatal(err)
    		}
    		pod1 := newPod("pod1-", "node-0", simpleDaemonSetLabel, ds1)
    		manager.addPod(logger, pod1)
    		if got, want := manager.queue.Len(), 1; got != want {
    			t.Fatalf("queue.Len() = %v, want %v", got, want)
    		}
    		key, done := manager.queue.Get()
    		if key == "" || done {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

    // AddOp
    //===----------------------------------------------------------------------===//
    
    void AddOp::getCanonicalizationPatterns(RewritePatternSet& results,
                                            MLIRContext* context) {
      results.add<AddToAddV2>(context);
    }
    
    //===----------------------------------------------------------------------===//
    // AddNOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  9. pkg/controller/job/job_controller_test.go

    	pod1 := newPod("pod1", job1)
    	pod2 := newPod("pod2", job2)
    	informer.Core().V1().Pods().Informer().GetIndexer().Add(pod1)
    	informer.Core().V1().Pods().Informer().GetIndexer().Add(pod2)
    
    	jm.addPod(logger, pod1)
    	verifyEmptyQueueAndAwaitForQueueLen(ctx, t, jm, 1)
    	key, done := jm.queue.Get()
    	if key == "" || done {
    		t.Fatalf("failed to enqueue controller for pod %v", pod1.Name)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 15:36:36 UTC 2024
    - 229.2K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet.go

    		}
    		return false, err
    	}
    
    	// Fetch the pull secrets for the pod
    	pullSecrets := kl.getPullSecretsForPod(pod)
    
    	// Ensure the pod is being probed
    	kl.probeManager.AddPod(pod)
    
    	if utilfeature.DefaultFeatureGate.Enabled(features.InPlacePodVerticalScaling) {
    		// Handle pod resize here instead of doing it in HandlePodUpdates because
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
Back to top