Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for Unary (0.04 sec)

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

      (TF_ConstOp:$res DenseElementsAttr:$value),
      (Arith_ConstantOp $value),
      [(AnyStaticShapeTensor $res)], [], (addBenefit 10)>;
    
    //===----------------------------------------------------------------------===//
    // Unary ops patterns.
    //===----------------------------------------------------------------------===//
    def IsDataFormatNHWC : ConstantAttr<TF_ConvnetDataFormatAttr, "\"NHWC\"">;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  2. src/go/constant/value.go

    }
    
    // is63bit reports whether x can be represented using 63 bits.
    func is63bit(x int64) bool {
    	const s = 63
    	return -1<<(s-1) <= x && x <= 1<<(s-1)-1
    }
    
    // UnaryOp returns the result of the unary expression op y.
    // The operation must be defined for the operand.
    // If prec > 0 it specifies the ^ (xor) result size in bits.
    // If y is [Unknown], the result is [Unknown].
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

              (TF_ModOp $l, $r),
              [(IsLegalNumpyRankedBroadcast $l, $r, $broadcast_dimensions)]>;
    
    //===----------------------------------------------------------------------===//
    // Unary op patterns.
    //===----------------------------------------------------------------------===//
    
    def : Pat<(MHLO_ConvertOp MHLO_Tensor:$operand),
              (TF_CastOp $operand, ConstBoolAttrFalse)>;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/printer.go

    	case *CallExpr:
    		p.print(n.Fun, _Lparen)
    		p.printExprList(n.ArgList)
    		if n.HasDots {
    			p.print(_DotDotDot)
    		}
    		p.print(_Rparen)
    
    	case *Operation:
    		if n.Y == nil {
    			// unary expr
    			p.print(n.Op)
    			// if n.Op == lexical.Range {
    			// 	p.print(blank)
    			// }
    			p.print(n.X)
    		} else {
    			// binary expr
    			// TODO(gri) eventually take precedence into account
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  5. src/go/parser/parser_test.go

    	{name: "binary", format: "package main; var x = «1+»1"},
    	{name: "binaryparen", format: "package main; var x = «1+(«1»)»", parseMultiplier: 2}, // Parser nodes: BinaryExpr, ParenExpr
    	{name: "unary", format: "package main; var x = «^»1"},
    	{name: "addr", format: "package main; var x = «& »x"},
    	{name: "star", format: "package main; var x = «*»x"},
    	{name: "recv", format: "package main; var x = «<-»x"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/typecheck/expr.go

    			n.SetType(nil)
    			return n
    		}
    		base.Errorf("%v is not a type", l)
    		return n
    	}
    
    	n.SetType(t.Elem())
    	return n
    }
    
    // tcUnaryArith typechecks a unary arithmetic expression.
    func tcUnaryArith(n *ir.UnaryExpr) ir.Node {
    	n.X = Expr(n.X)
    	l := n.X
    	t := l.Type()
    	if t == nil {
    		n.SetType(nil)
    		return n
    	}
    	if !okfor[n.Op()][defaultType(t).Kind()] {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 23.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/labels/selector.go

    // matchType can be exact
    func (p *Parser) parseOperator() (op selection.Operator, err error) {
    	tok, lit := p.consume(KeyAndOperator)
    	switch tok {
    	// DoesNotExistToken shouldn't be here because it's a unary operator, not a binary operator
    	case InToken:
    		op = selection.In
    	case EqualsToken:
    		op = selection.Equals
    	case DoubleEqualsToken:
    		op = selection.DoubleEquals
    	case GreaterThanToken:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 31.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/SetsTest.java

        }
      }
    
      /** The 0-ary cartesian product is a single empty list. */
      public void testCartesianProduct_zeroary() {
        assertThat(Sets.cartesianProduct()).containsExactly(list());
      }
    
      /** A unary cartesian product is one list of size 1 for each element in the input set. */
      public void testCartesianProduct_unary() {
        assertThat(Sets.cartesianProduct(set(1, 2))).containsExactly(list(1), list(2));
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 47.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/_gen/LOONG64.rules

    (RotateLeft16 <t> x (MOVVconst [c])) => (Or16 (Lsh16x64 <t> x (MOVVconst [c&15])) (Rsh16Ux64 <t> x (MOVVconst [-c&15])))
    (RotateLeft32 x y) => (ROTR  x (NEGV <y.Type> y))
    (RotateLeft64 x y) => (ROTRV x (NEGV <y.Type> y))
    
    // unary ops
    (Neg(64|32|16|8) ...) => (NEGV ...)
    (Neg(32|64)F ...) => (NEG(F|D) ...)
    
    (Com(64|32|16|8) x) => (NOR (MOVVconst [0]) x)
    
    (Sqrt ...) => (SQRTD ...)
    (Sqrt32 ...) => (SQRTF ...)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 31.8K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/_gen/ARMOps.go

    		{name: "BFXU", argLength: 1, reg: gp11, asm: "BFXU", aux: "Int32"}, // extract W bits from bit L in arg0, then unsigned extend
    
    		// unary ops
    		{name: "MVN", argLength: 1, reg: gp11, asm: "MVN"}, // ^arg0
    
    		{name: "NEGF", argLength: 1, reg: fp11, asm: "NEGF"},   // -arg0, float32
    		{name: "NEGD", argLength: 1, reg: fp11, asm: "NEGD"},   // -arg0, float64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 24 00:21:13 UTC 2023
    - 41K bytes
    - Viewed (0)
Back to top