Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for num_uses (0.11 sec)

  1. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

      const int num_uses = std::distance(dequant_op.getResult().use_begin(),
                                         dequant_op.getResult().use_end());
    
      // Whether to replace quantization params of the first dequantize op
      // after the quantized value is produced.
      // If there is a use other than the requantize states, then we can't clobber.
      bool clobber_first = num_uses <= states.size();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

          int64_t block_size = GetConv2DBlockSize(conv2d);
          auto arg_num = arg_num_and_num_users.value().arg_num;
          auto num_users = arg_num_and_num_users.value().num_users;
          argnum_and_convolutions[arg_num].emplace_back(conv2d, block_size);
          argnum_num_users[arg_num] = num_users;
          return WalkResult::interrupt();
        }
        return WalkResult::advance();
      });
      if (!conv2d_result.wasInterrupted()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  3. pilot/pkg/xds/discovery_test.go

    		}
    		time.Sleep(time.Millisecond * 10)
    	}
    	for queue.Pending() > 0 {
    		time.Sleep(time.Millisecond)
    	}
    	pushesMu.Lock()
    	defer pushesMu.Unlock()
    	for proxy, numPushes := range pushes {
    		if numPushes == 0 {
    			t.Fatalf("Proxy %v had 0 pushes", proxy)
    		}
    	}
    }
    
    func TestSendPushesSinglePush(t *testing.T) {
    	stopCh := make(chan struct{})
    	defer close(stopCh)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 00:26:45 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/strings/strings_test.go

    	// Make a string of all the runes.
    	numRunes := int(unicode.MaxRune + 1)
    	if testing.Short() {
    		numRunes = 1000
    	}
    	a := make([]rune, numRunes)
    	for i := range a {
    		a[i] = rune(i)
    	}
    	s := string(a)
    	// convert the cases.
    	upper := ToUpper(s)
    	lower := ToLower(s)
    
    	// Consistency checks
    	if n := utf8.RuneCountInString(upper); n != numRunes {
    		t.Error("rune count wrong in upper:", n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 12:58:37 UTC 2024
    - 53K bytes
    - Viewed (0)
  5. src/regexp/syntax/parse.go

    	instSize = 5 * 8 // byte, 2 uint32, slice is 5 64-bit words
    )
    
    // maxRunes is the maximum number of runes allowed in a regexp tree
    // counting the runes in all the nodes.
    // Ignoring character classes p.numRunes is always less than the length of the regexp.
    // Character classes can make it much larger: each \pL adds 1292 runes.
    // 128 MB is enough for 32M runes, which is over 26k \pL instances.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
Back to top