Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 36 for Unary (0.07 sec)

  1. src/compress/bzip2/bzip2.go

    	// tree indexes telling us which tree to use for each 50 symbol block.
    	numSelectors := br.ReadBits(15)
    	treeIndexes := make([]uint8, numSelectors)
    
    	// The tree indexes are move-to-front transformed and stored as unary
    	// numbers.
    	mtfTreeDecoder := newMTFDecoderWithRange(numHuffmanTrees)
    	for i := range treeIndexes {
    		c := 0
    		for {
    			inc := br.ReadBits(1)
    			if inc == 0 {
    				break
    			}
    			c++
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 13K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

        (MHLO_ReverseOp $values, (ConvertAxisAttr $values, $axis))>;
    
    //===----------------------------------------------------------------------===//
    // Unary op patterns.
    //===----------------------------------------------------------------------===//
    
    foreach Mapping = [
                       [TF_AbsOp, MHLO_AbsOp],
                       [TF_CeilOp, MHLO_CeilOp],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top