Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 681 for SplitV (0.17 sec)

  1. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

      // Splits the weights into 4: i, f, c, o.
      const int splits = 4;
    
      Operation* weights_array;
      if (failed(CreateEqualSizeSplitVOp(transposed_weight_kernel, 0, splits,
                                         func_op.getLoc(), builder,
                                         &weights_array)))
        return failure();
    
      // Splits the recurrent_weights into 4:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testplugin/plugin_test.go

    	}
    
    	// Use -ldflags=-debugtextsize=262144 to let the linker split text section
    	// at a smaller size threshold, so it actually splits for the test binary.
    	goCmd(nil, "build", "-ldflags=-debugtextsize=262144", "-o", "host-split.exe", "./host")
    	run(t, "./host-split.exe")
    
    	// Check that we did split text sections.
    	syms := goCmd(nil, "tool", "nm", "host-split.exe")
    	if !strings.Contains(syms, "runtime.text.1") {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/features/features.go

    func NewFeatureGate(f *FeatureList, value string) (map[string]bool, error) {
    	featureGate := map[string]bool{}
    	for _, s := range strings.Split(value, ",") {
    		if len(s) == 0 {
    			continue
    		}
    
    		arr := strings.SplitN(s, "=", 2)
    		if len(arr) != 2 {
    			return nil, errors.Errorf("missing bool value for feature-gate key:%s", s)
    		}
    
    		k := strings.TrimSpace(arr[0])
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 13:55:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. pkg/bootstrap/config.go

    // ParseDownwardAPI parses fields which are stored as format `%s=%q` back to a map
    func ParseDownwardAPI(i string) (map[string]string, error) {
    	res := map[string]string{}
    	for _, line := range strings.Split(i, "\n") {
    		sl := strings.SplitN(line, "=", 2)
    		if len(sl) != 2 {
    			continue
    		}
    		key := sl[0]
    		// Strip the leading/trailing quotes
    		val, err := strconv.Unquote(sl[1])
    		if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:02:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. src/cmd/trace/main.go

    func (t *parsedTrace) endTime() trace.Time {
    	return t.events[len(t.events)-1].Time()
    }
    
    // splitTrace splits the trace into a number of ranges, each resulting in approx 100 MiB of
    // json output (the trace viewer can hardly handle more).
    func splitTrace(parsed *parsedTrace) ([]traceviewer.Range, error) {
    	// TODO(mknyszek): Split traces by generation by doing a quick first pass over the
    	// trace to identify all the generation boundaries.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/model/generator.go

    }
    
    type envoyFilterGenerator struct{}
    
    func (efg envoyFilterGenerator) permission(key, value string, _ bool) (*rbacpb.Permission, error) {
    	// Split key of format "experimental.envoy.filters.a.b[c]" to "envoy.filters.a.b" and "c".
    	parts := strings.SplitN(strings.TrimSuffix(strings.TrimPrefix(key, "experimental."), "]"), "[", 2)
    
    	if len(parts) != 2 {
    		return nil, fmt.Errorf("invalid key: %v", key)
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 18:02:42 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/security.go

    	re(`-pthread`),
    	re(`-rdynamic`),
    	re(`-shared`),
    	re(`-?-static([-a-z0-9+]*)`),
    	re(`-?-stdlib=([^@\-].*)`),
    	re(`-v`),
    
    	// Note that any wildcards in -Wl need to exclude comma,
    	// since -Wl splits its argument at commas and passes
    	// them all to the linker uninterpreted. Allowing comma
    	// in a wildcard would allow tunneling arbitrary additional
    	// linker arguments through one of these.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. cmd/sftp-server.go

    			allowPubKeys = filterAlgos(arg, strings.Split(tokens[1], ","), supportedPubKeyAuthAlgos)
    		case "kex-algos":
    			allowKexAlgos = filterAlgos(arg, strings.Split(tokens[1], ","), supportedKexAlgos)
    		case "cipher-algos":
    			allowCiphers = filterAlgos(arg, strings.Split(tokens[1], ","), supportedCiphers)
    		case "mac-algos":
    			allowMACs = filterAlgos(arg, strings.Split(tokens[1], ","), supportedMACs)
    		case "trusted-user-ca-key":
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. istioctl/pkg/proxyconfig/proxyconfig_test.go

    		},
    		{ // clusters invalid
    			args:           strings.Split("clusters invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    			wantException:  true, // "istioctl proxy-config clusters invalid" should fail
    		},
    		{ // listeners invalid
    			args:           strings.Split("listeners invalid", " "),
    			expectedString: "unable to retrieve Pod: pods \"invalid\" not found",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/tests/import_quant_stats.mlir

      %0:2 = "tfl.split"(%cst, %arg0) {num_splits = 2 : i32} : (tensor<i32>, tensor<4xf32>) -> (tensor<2xf32>, tensor<2xf32>)
        loc(fused["skip1.cc":10:8, "op", callsite("skip2" at "skip3.cc":10:8)])
      func.return %0#0, %0#1 : tensor<2xf32>, tensor<2xf32>
    
    // CHECK-NEXT: %[[split:.*]]:2 = "tfl.split"
    // CHECK-NEXT: %[[stats1:.*]] = "quantfork.stats"(%[[split]]#0) <{layerStats = dense<[-1.000000e+00, 1.000000e+00]>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top