Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for rhs (0.03 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

        [(IsTailOfShape $rhs, $lhs),
          (IsTailOfShape $lhs, $rhs),
          (IsTailOfShape $input1, $input2),
          (IsTailOfShape $input2, $input1),
          (SameElementType $input1, $input2)]>;
    
      // Move binary op batched RHS before reshape:
      // binary(reshape(lhs), rhs) => reshape(binary(lhs, flatten(rhs)))
      // Pattern targetted here is as follows-
      // [input, lhr, rhs] == [<1x1024x128>, <1x1024x8x16>, <1x1x8x16xf32>]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  2. src/go/printer/testdata/parser.go

    			return &ast.BadStmt{pos, body.End()}
    		}
    		// check rhs
    		if len(as.Rhs) != 1 {
    			p.errorExpected(as.Rhs[0].Pos(), "1 expression")
    			return &ast.BadStmt{pos, body.End()}
    		}
    		if rhs, isUnary := as.Rhs[0].(*ast.UnaryExpr); isUnary && rhs.Op == token.RANGE {
    			// rhs is range expression
    			// (any short variable declaration was handled by parseSimpleStat above)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

        self._emit_with_loc(
            '\n{} = {}{} {}, {} : {}'.format(ret, code, suffix, lhs, rhs, lhs_ty),
            op)
        return ret, lhs_ty
    
      def visit_AugAssign(self, node):
        lhs, lhs_ty = self.visit(node.target)
        rhs, rhs_ty = self.visit(node.value)
        ret, ret_ty = self._emit_binary_op(node.op, lhs, lhs_ty, rhs, rhs_ty)
        self.symbol_table.insert_symbol(node.target.id, ret, ret_ty)
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser.go

    		}
    
    		// expr_list op= expr_list
    		rhs := p.exprList()
    
    		if x, ok := rhs.(*TypeSwitchGuard); ok && keyword == _Switch && op == Def {
    			if lhs, ok := lhs.(*Name); ok {
    				// switch … lhs := rhs.(type)
    				x.Lhs = lhs
    				s := new(ExprStmt)
    				s.pos = x.Pos()
    				s.X = x
    				return s
    			}
    		}
    
    		return p.newAssignStmt(pos, op, lhs, rhs)
    
    	default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  5. src/go/parser/parser.go

    					// continue with first two expressions
    					lhs = lhs[0:2]
    				}
    				pos := p.pos
    				p.next()
    				rhs := p.parseRhs()
    				comm = &ast.AssignStmt{Lhs: lhs, TokPos: pos, Tok: tok, Rhs: []ast.Expr{rhs}}
    			} else {
    				// lhs must be single receive operation
    				if len(lhs) > 1 {
    					p.errorExpected(lhs[0].Pos(), "1 expression")
    					// continue with first expression
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  6. src/go/types/expr.go

    // (when invoked for an assignment operation where the binary expression is implicit).
    func (check *Checker) binary(x *operand, e ast.Expr, lhs, rhs ast.Expr, op token.Token, opPos token.Pos) {
    	var y operand
    
    	check.expr(nil, x, lhs)
    	check.expr(nil, &y, rhs)
    
    	if x.mode == invalid {
    		return
    	}
    	if y.mode == invalid {
    		x.mode = invalid
    		x.expr = y.expr
    		return
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      func.return %0 : tensor<*xf32>
    }
    
    // CHECK-LABEL: @truncate_div_int
    // CHECK-SAME: (%[[LHS:.*]]: tensor<*xi32>, %[[RHS:.*]]: tensor<*xi32>)
    func.func @truncate_div_int(%arg0: tensor<*xi32>, %arg1: tensor<*xi32>)
        -> tensor<*xi32> {
      // CHECK: %[[RESULT:.*]] = "tf.Div"(%[[LHS]], %[[RHS]])
      // CHECK: return %[[RESULT]]
      %0 = "tf.TruncateDiv"(%arg0, %arg1)
          : (tensor<*xi32>, tensor<*xi32>) -> tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/expr.go

    // (when invoked for an assignment operation where the binary expression is implicit).
    func (check *Checker) binary(x *operand, e syntax.Expr, lhs, rhs syntax.Expr, op syntax.Operator) {
    	var y operand
    
    	check.expr(nil, x, lhs)
    	check.expr(nil, &y, rhs)
    
    	if x.mode == invalid {
    		return
    	}
    	if y.mode == invalid {
    		x.mode = invalid
    		x.expr = y.expr
    		return
    	}
    
    	if isShift(op) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

            op.getLoc(), /*resultType0=*/
            mlir::cast<TensorType>(op.getResult().getType())
                .clone(output_uniform_quantized_type),
            /*lhs=*/op.getLhs(), /*rhs=*/op.getRhs(),
            /*dot_dimension_numbers=*/op.getDotDimensionNumbers(),
            /*precision_config=*/op.getPrecisionConfigAttr());
    
        rewriter.replaceAllUsesWith(op.getResult(), new_dot_general_op.getResult());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildScriptBuilder.java

         */
        public Expression methodInvocationExpression(String methodName, Object... methodArgs) {
            return new MethodInvocationExpression(null, methodName, expressionValues(methodArgs));
        }
    
        /**
         * Creates a property expression, to use as a method argument or the RHS of a property assignment.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 21 12:02:29 UTC 2023
    - 90K bytes
    - Viewed (0)
Back to top