Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 251 for lhs0 (0.18 sec)

  1. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/ConstructorComparatorTest.groovy

        def "constructors with fewer parameters are first"() {
            def lhs = Stub(ClassGenerator.GeneratedConstructor)
            lhs.parameterTypes >> [String]
            def rhs = Stub(ClassGenerator.GeneratedConstructor)
            rhs.parameterTypes >> [String, Number]
    
            expect:
            comparator.compare(lhs, rhs) == -1
            comparator.compare(rhs, lhs) == 1
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/optimize.mlir

    // RUN: stablehlo-quant-opt -optimize-int-graph -split-input-file %s -verify-diagnostics | FileCheck %s
    
    // CHECK-LABEL: func @convolution_add_add
    func.func @convolution_add_add(
        %lhs: tensor<?x3x2x1xi8>, %rhs: tensor<2x1x1x1xi8>,
        %zp_offset: tensor<?x2x2x1xi32>, %bias: tensor<1xi32>
      ) -> tensor<?x2x2x1xi32> {
      // CHECK-DAG: %[[conv:.*]] = mhlo.convolution
      // CHECK-DAG: %[[combined:.*]] = chlo.broadcast_add %[[zp_offset:.*]], %[[bias:.*]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 24 02:26:47 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. src/go/types/stmt.go

    		case token.ASSIGN, token.DEFINE:
    			if len(s.Lhs) == 0 {
    				check.error(s, InvalidSyntaxTree, "missing lhs in assignment")
    				return
    			}
    			if s.Tok == token.DEFINE {
    				check.shortVarDecl(inNode(s, s.TokPos), s.Lhs, s.Rhs)
    			} else {
    				// regular assignment
    				check.assignVars(s.Lhs, s.Rhs)
    			}
    
    		default:
    			// assignment operations
    			if len(s.Lhs) != 1 || len(s.Rhs) != 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/dynamiccertificates/cert_key_test.go

    func TestCertKeyContentEquals(t *testing.T) {
    	tests := []struct {
    		name     string
    		lhs      *certKeyContent
    		rhs      *certKeyContent
    		expected bool
    	}{
    		{
    			name:     "both nil",
    			expected: true,
    		},
    		{
    			name:     "lhs nil",
    			rhs:      &certKeyContent{},
    			expected: false,
    		},
    		{
    			name:     "rhs nil",
    			lhs:      &certKeyContent{},
    			expected: false,
    		},
    		{
    			name:     "same",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 22 13:27:45 UTC 2019
    - 4.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/cel/openapi/values_test.go

    		SchemaProps: spec.SchemaProps{Type: []string{"object"}},
    	}
    )
    
    func TestEquality(t *testing.T) {
    	cases := []struct {
    		name  string
    		lhs   ref.Val
    		rhs   ref.Val
    		equal bool
    	}{
    		{
    			name: "map lists are equal regardless of order",
    			lhs: UnstructuredToVal([]interface{}{
    				map[string]interface{}{
    					"key": "a",
    					"val": 1,
    				},
    				map[string]interface{}{
    					"key": "b",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:30:17 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

        (BinaryOp (TFL_ReshapeOp:$lhs $input, (Arith_ConstantOp:$shape $s)),
                  $rhs, $act_fn),
        (BinaryOp $input, $rhs, $act_fn),
        [(AnyStaticShapeTensor $input),
         (AnyStaticShapeTensor $rhs),
         (IsRankLessThanEqualTo $input, $lhs),
         (IsRankLessThanEqualTo $lhs, $rhs),
         (IsReducedTailOfShape $lhs, $input),
         (HasOneUseOrUsedByOnlyBinaryOps $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)
  7. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

            op, "unary einsum equation does not require transpose");
      } else if (needs_reduce_sum && !needs_transpose) {
        rewriter.replaceOp(op, lhs);
        return success();
      }
    
      lhs = createTransposeOp(lhs, lhs.getLoc(), lhs_transpose, &rewriter);
      rewriter.replaceOp(op, lhs);
      return success();
    }
    
    std::vector<int64_t> inverseTransposeVector(
        llvm::ArrayRef<int64_t> input, llvm::ArrayRef<int32_t> permutation) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  8. src/crypto/internal/edwards25519/tables_test.go

    	// Expect T1 + T2 = T3 + T4
    
    	var accP1xP1 projP1xP1
    	lhs := NewIdentityPoint()
    	rhs := NewIdentityPoint()
    
    	accP1xP1.Add(lhs, &tmp1)
    	lhs.fromP1xP1(&accP1xP1)
    	accP1xP1.Add(lhs, &tmp2)
    	lhs.fromP1xP1(&accP1xP1)
    
    	accP1xP1.Add(rhs, &tmp3)
    	rhs.fromP1xP1(&accP1xP1)
    	accP1xP1.Add(rhs, &tmp4)
    	rhs.fromP1xP1(&accP1xP1)
    
    	if lhs.Equal(rhs) != 1 {
    		t.Errorf("Consistency check on nafLookupTable5 failed")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 21:53:10 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/typecheck/stmt.go

    	// so that the conversion below happens).
    
    	checkLHS := func(i int, typ *types.Type) {
    		if n := lhs[i]; typ != nil && ir.DeclaredBy(n, stmt) && n.Type() == nil {
    			base.Assertf(typ.Kind() == types.TNIL, "unexpected untyped nil")
    			n.SetType(defaultType(typ))
    		}
    		if lhs[i].Typecheck() == 0 {
    			lhs[i] = AssignExpr(lhs[i])
    		}
    		checkassign(lhs[i])
    	}
    
    	assignType := func(i int, typ *types.Type) {
    		checkLHS(i, typ)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:10:54 UTC 2023
    - 17.8K bytes
    - Viewed (0)
  10. maven-xml-impl/src/test/java/org/apache/maven/internal/xml/XmlNodeImplTest.java

         *
         * @throws java.lang.Exception if any.
         */
        @Test
        void testCombineId() throws Exception {
            String lhs = "<props>" + "<property combine.id='LHS-ONLY'><name>LHS-ONLY</name><value>LHS</value></property>"
                    + "<property combine.id='TOOVERWRITE'><name>TOOVERWRITE</name><value>LHS</value></property>"
                    + "</props>";
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top