Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for lhs_args (0.45 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

          assert(!hoist_params->lhs_args[kv.second]);
          assert(!hoist_params->rhs_args[kv.second]);
    
          if (hoist_params->scalar_operand_idx == 1) {
            hoist_params->lhs_args[kv.second] = kv.first;
            hoist_params->rhs_args[kv.second] = identity_const;
          } else {
            assert(hoist_params->scalar_operand_idx == 0);
            hoist_params->lhs_args[kv.second] = identity_const;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            tester.lastArgs.size() == 3
            tester.lastArgs.first() == "1"
            tester.lastArgs[1] == "2"
            tester.lastArgs.last() instanceof Action
    
            when:
            tester.overloaded("1") { assert it == "subject" }
    
            then:
            tester.lastMethod == "overloaded"
            tester.lastArgs.size() == 2
            tester.lastArgs.first() == "1"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

        llvm::StringRef equation, RankedTensorType lhs_ty,
        RankedTensorType rhs_ty) {
      llvm::StringRef lhs_rhs;
      llvm::StringRef out;
      std::tie(lhs_rhs, out) = equation.split("->");
      if (lhs_rhs.empty() || out.empty()) return std::nullopt;
    
      llvm::StringRef lhs;
      llvm::StringRef rhs;
      std::tie(lhs, rhs) = lhs_rhs.split(',');
      if (lhs.empty() || rhs.empty()) return std::nullopt;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/assignments.go

    	}
    
    	// create dummy variables where the lhs is invalid
    	for i, obj := range lhsVars {
    		if obj == nil {
    			lhsVars[i] = NewVar(lhs[i].Pos(), check.pkg, "_", nil)
    		}
    	}
    
    	check.initVars(lhsVars, rhs, nil)
    
    	// process function literals in rhs expressions before scope changes
    	check.processDelayed(top)
    
    	if len(newVars) == 0 && !hasErr {
    		check.softErrorf(pos, NoNewVar, "no new variables on left side of :=")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 23 21:21:43 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. src/go/types/assignments.go

    	}
    
    	// create dummy variables where the lhs is invalid
    	for i, obj := range lhsVars {
    		if obj == nil {
    			lhsVars[i] = NewVar(lhs[i].Pos(), check.pkg, "_", nil)
    		}
    	}
    
    	check.initVars(lhsVars, rhs, nil)
    
    	// process function literals in rhs expressions before scope changes
    	check.processDelayed(top)
    
    	if len(newVars) == 0 && !hasErr {
    		check.softErrorf(pos, NoNewVar, "no new variables on left side of :=")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  6. src/go/types/stmt.go

    				// Collect them for later analysis.
    				lhsVars = append(lhsVars, obj)
    			}
    			check.stmtList(inner, clause.Body)
    			check.closeScope()
    		}
    
    		// If lhs exists, we must have at least one lhs variable that was used.
    		if lhs != nil {
    			var used bool
    			for _, v := range lhsVars {
    				if v.used {
    					used = true
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/stmt.go

    			// For the "declared and not used" error, all lhs variables act as
    			// one; i.e., if any one of them is 'used', all of them are 'used'.
    			// Collect them for later analysis.
    			lhsVars = append(lhsVars, obj)
    		}
    		check.stmtList(inner, clause.Body)
    		check.closeScope()
    	}
    
    	// If lhs exists, we must have at least one lhs variable that was used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/testshared/shared_test.go

    func cloneGOROOTDeps(goroot string) error {
    	// Before we clone GOROOT, figure out which packages we need to copy over.
    	listArgs := []string{
    		"list",
    		"-deps",
    		"-f", "{{if and .Standard (not .ForTest)}}{{.ImportPath}}{{end}}",
    	}
    	stdDeps := goCmd(nil, append(listArgs, minpkgs...)...)
    	testdataDeps := goCmd(nil, append(listArgs, "-test", "./...")...)
    
    	pkgs := append(strings.Split(strings.TrimSpace(stdDeps), "\n"),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 26 01:54:41 UTC 2023
    - 36.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      // CHECK-DAG: %[[LHS_AXIS:.*]] = "tf.Const"() <{value = dense<1> : tensor<i32>}>
    
      // CHECK: %[[ADD_LHS_CONCAT:.*]] = "tf.Pack"(%arg2, %arg3) <{axis = 0 : i64}> {device = "/job:localhost/replica:0/task:0/device:GPU:0"}
      // CHECK: %[[MUL_LHS_CONCAT:.*]] = "tf.ConcatV2"(%arg0, %arg1, %[[LHS_AXIS]]) {device = "/job:localhost/replica:0/task:0/device:GPU:0"}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
Back to top