Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for last_val (0.11 sec)

  1. pkg/controller/tainteviction/timed_workers_test.go

    	queue.AddWork(context.TODO(), NewWorkArgs("4", "4"), now, now)
    	queue.AddWork(context.TODO(), NewWorkArgs("5", "5"), now, now)
    	wg.Wait()
    	lastVal := atomic.LoadInt32(&testVal)
    	if lastVal != 5 {
    		t.Errorf("Expected testVal = 5, got %v", lastVal)
    	}
    }
    
    func TestExecuteDelayed(t *testing.T) {
    	testVal := int32(0)
    	wg := sync.WaitGroup{}
    	wg.Add(5)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:23:56 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/tensorflow/fallback_to_flex_patterns.td

    // make it easier to create Relu1 matching patterns.
    def SwapMaximumOperands : Pat<
      (TF_MaximumOp (TF_ConstOp:$cst $cst_val), $input),
      (TF_MaximumOp $input, $cst)>;
    
    def SwapMinimumOperands : Pat<
      (TF_MinimumOp (TF_ConstOp:$cst $cst_val), $input),
      (TF_MinimumOp $input, $cst)>;
    
    // Relu1 activation is represented as a couple of Max and Min ops, The following
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 29 21:02:21 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc

      auto lhs_start = lhs_vals.begin();
      auto rhs_start = rhs_vals.begin();
    
      for (int i = 0; i < num_results; ++i) {
        auto lhs_val = lhs_splat ? *lhs_start : *(lhs_start++);
        auto rhs_val = rhs_splat ? *rhs_start : *(rhs_start++);
        auto signed_lhs_val = AddSign(lhs_val);
        auto signed_rhs_val = AddSign(rhs_val);
        if (signed_rhs_val.isZero()) {
          return failure();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 06:11:55 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top