Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for S1 (0.03 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

    // * qn = quantized value for tensor n
    // * sn = scale for tensor n
    // * zn = zero point for tensor n
    //
    // r3 = r1 * r2
    //    = s1 (q1 - z1) * s2 (q2 - z2)
    //    = s1 s2 (q1 q2 - q1 z2 - q2 z1 + z1 z2)
    //
    // * z2 is zero, because it assumes symmetric quantization for the filter:
    //
    //    = s1 s2 (q1 q2 - q2 z1)
    //
    // In StableHLO text representation, the pattern is as the following
    // (simplified):
    //
    // ```
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            "s1"                  | { property().tap { add("s1") } }               || "$collectionName(class ${String.name}, [s1])"
            "[s1, s2]"            | { property().value(["s1, s2"]) }               || "$collectionName(class ${String.name}, [s1, s2])"
            "s1 + s2"             | { property().tap { add("s1"); add("s2") } }    || "$collectionName(class ${String.name}, [s1] + [s2])"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  3. pilot/pkg/model/sidecar_test.go

    				} else if s1 != s2 {
    					t.Errorf("Expected service %v in SidecarScope.Services should equal to that in SidecarScope.servicesByHostname", s1.Hostname)
    				}
    			}
    
    			for _, s1 := range tt.expectedServices {
    				serviceFound = false
    				for _, s2 := range sidecarScope.services {
    					if s1.Hostname == s2.Hostname {
    						serviceFound = true
    						break
    					}
    				}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 07 09:38:49 UTC 2024
    - 74.3K bytes
    - Viewed (0)
  4. src/strings/strings_test.go

    	for times := 0; times < 10; times++ {
    		for strLen := 5 + rand.Intn(5); strLen < 140; strLen += 10 { // Arbitrary
    			s1 := make([]byte, strLen)
    			for i := range s1 {
    				s1[i] = chars[rand.Intn(len(chars))]
    			}
    			s := string(s1)
    			for i := 0; i < 50; i++ {
    				begin := rand.Intn(len(s) + 1)
    				end := begin + rand.Intn(len(s)+1-begin)
    				sep := s[begin:end]
    				if i%4 == 0 {
    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/encoding/json/decode_test.go

    		s0[i] = byte(i)
    	}
    	b, err := Marshal(s0)
    	if err != nil {
    		t.Fatalf("Marshal error: %v", err)
    	}
    	var s1 []byte
    	if err := Unmarshal(b, &s1); err != nil {
    		t.Fatalf("Unmarshal error: %v", err)
    	}
    	if !bytes.Equal(s0, s1) {
    		t.Errorf("Marshal:")
    		diff(t, s0, s1)
    	}
    }
    
    type Xint struct {
    	X int
    }
    
    func TestUnmarshalInterface(t *testing.T) {
    	var xint Xint
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  6. src/time/format.go

    	"June",
    	"July",
    	"August",
    	"September",
    	"October",
    	"November",
    	"December",
    }
    
    // match reports whether s1 and s2 match ignoring case.
    // It is assumed s1 and s2 are the same length.
    func match(s1, s2 string) bool {
    	for i := 0; i < len(s1); i++ {
    		c1 := s1[i]
    		c2 := s2[i]
    		if c1 != c2 {
    			// Switch to lower-case; 'a'-'A' is known to be a single bit.
    			c1 |= 'a' - 'A'
    			c2 |= 'a' - 'A'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelValidator.java

                    location = tracker.getLocation(EMPTY);
                }
            }
    
            return location;
        }
    
        private static boolean equals(String s1, String s2) {
            String c1 = s1 == null ? "" : s1.trim();
            String c2 = s2 == null ? "" : s2.trim();
            return c1.equals(c2);
        }
    
        private static Severity getSeverity(ModelBuilderRequest request, int errorThreshold) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Jun 10 11:04:53 UTC 2024
    - 73.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

      // the sizes are the same both before and after the reshape.
      def MoveBinaryOpBeforeReshape#BinaryOp : Pat<
        (BinaryOp (TFL_ReshapeOp:$lhs $input1, (Arith_ConstantOp:$shape1 $s1)),
                  (TFL_ReshapeOp:$rhs $input2, (Arith_ConstantOp:$shape2 $s2)),
                  $act_fn),
        (TFL_ReshapeOp (BinaryOp $input1, $input2, $act_fn), $shape1),
        [(IsTailOfShape $rhs, $lhs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                }
            }
    
            return location != null ? new org.apache.maven.model.InputLocation(location) : null;
        }
    
        private static boolean equals(String s1, String s2) {
            String c1 = s1 == null ? "" : s1.trim();
            String c2 = s2 == null ? "" : s2.trim();
            return c1.equals(c2);
        }
    
        private static Severity getSeverity(ModelBuildingRequest request, int errorThreshold) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat May 18 14:09:22 UTC 2024
    - 76K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/api_test.go

    		{`package g3; type N[A any] int; func (N[_]) m() {}`, `N`, `type g3.N[A any] int`},
    
    		// Uses of fields are instantiated.
    		{`package s1; type N[A any] struct{ a A }; var f = N[int]{}.a`, `a`, `field a int`},
    		{`package s1; type N[A any] struct{ a A }; func (r N[B]) m(b B) { r.a = b }`, `a`, `field a B`},
    
    		// Uses of methods are uses of the instantiated method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
Back to top