- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 94 for lhs0 (0.04 sec)
-
src/cmd/compile/internal/types2/decl.go
return } if debug { // obj must be one of lhs found := false for _, lhs := range lhs { if obj == lhs { found = true break } } if !found { panic("inconsistent lhs") } } // We have multiple variables on the lhs and one init expr. // Make sure all variables have been given the same type if
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.6K bytes - Viewed (0) -
src/go/types/decl.go
check.declare(check.scope, name, lhs[i], scopePos) } case varDecl: top := len(check.delayed) lhs0 := make([]*Var, len(d.spec.Names)) for i, name := range d.spec.Names { lhs0[i] = NewVar(name.Pos(), pkg, name.Name, nil) } // initialize all variables for i, obj := range lhs0 { var lhs []*Var var init ast.Expr switch len(d.spec.Values) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31K bytes - Viewed (0) -
src/cmd/compile/internal/types2/assignments.go
// If the lhs doesn't have a type yet, use the type of x. if lhs.typ == nil { lhs.typ = x.typ } check.assignment(x, lhs.typ, "constant declaration") if x.mode == invalid { return } lhs.val = x.val } // initVar checks the initialization lhs = x in a variable declaration. // If lhs doesn't have a type yet, it is given the type of x, // or Typ[Invalid] in case of an error.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 23 21:21:43 UTC 2024 - 16.4K bytes - Viewed (0) -
src/go/types/assignments.go
// If the lhs doesn't have a type yet, use the type of x. if lhs.typ == nil { lhs.typ = x.typ } check.assignment(x, lhs.typ, "constant declaration") if x.mode == invalid { return } lhs.val = x.val } // initVar checks the initialization lhs = x in a variable declaration. // If lhs doesn't have a type yet, it is given the type of x, // or Typ[Invalid] in case of an error.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 16.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions_fusion.td
def LiftDotGeneralWithBiasSameShape : Pat< (StableHLO_AddOp:$res (StableHLO_DotGeneralOp $lhs, $rhs, $dot_dimension_numbers, $precision_config), $bias), (LiftAsTFXlaCallModule<"composite_dot_general_with_bias_same_shape_fn"> (ArgumentList $lhs, $rhs, $bias), (ResultList $res), (NamedAttributeList (NamedAttr<"dot_dimension_numbers"> $dot_dimension_numbers),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 23.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
src/cmd/compile/internal/types2/stmt.go
// check lhs, if any lhs := guard.Lhs if lhs != nil { if lhs.Value == "_" { // _ := x.(type) is an invalid short variable declaration check.softErrorf(lhs, NoNewVar, "no new variable on left side of :=") lhs = nil // avoid declared and not used error below } else { check.recordDef(lhs, nil) // lhs variable is implicitly declared in each cause clause } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.7K bytes - Viewed (0)