Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for Unary (0.05 sec)

  1. src/go/types/expr.go

    	typ = Unalias(typ)
    	if tpar, _ := typ.(*TypeParam); tpar != nil {
    		return tpar.underIs(f)
    	}
    	return f(under(typ))
    }
    
    // The unary expression e may be nil. It's passed in for better error messages only.
    func (check *Checker) unary(x *operand, e *ast.UnaryExpr) {
    	check.expr(nil, x, e.X)
    	if x.mode == invalid {
    		return
    	}
    
    	op := e.Op
    	switch op {
    	case token.AND:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/github.com/ianlancetaylor/demangle/demangle.go

    	} else if isLower(c) {
    		a, _ = st.operatorName(false)
    		if _, ok := a.(*Cast); ok {
    			isCast = true
    		}
    		if op, ok := a.(*Operator); ok && op.Name == `operator"" ` {
    			n := st.sourceName()
    			a = &Unary{Op: op, Expr: n, Suffix: false, SizeofType: false}
    		}
    	} else if c == 'D' && len(st.str) > 1 && st.str[1] == 'C' {
    		var bindings []AST
    		st.advance(2)
    		for {
    			binding := st.sourceName()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 94.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. src/cmd/compile/internal/syntax/parser.go

    	switch x := x.(type) {
    	case *Name:
    		return x, nil
    	case *Operation:
    		if x.Y == nil {
    			break // unary expr
    		}
    		switch x.Op {
    		case Mul:
    			if name, _ := x.X.(*Name); name != nil && (force || isTypeElem(x.Y)) {
    				// x = name *x.Y
    				op := *x
    				op.X, op.Y = op.Y, nil // change op into unary *op.Y
    				return name, &op
    			}
    		case Or:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      });
      if (!args_same_op) return failure();
    
      // Collect unary operations operands.
      auto unary_operands = llvm::map_range(op.getValues(), [](Value arg) -> Value {
        return arg.getDefiningOp()->getOperand(0);
      });
      SmallVector<Value, 8> unary_ops_args(unary_operands);
    
      // Concatenate unary ops operands.
      auto concat_unary_operands = CreateTfOp<ConcatV2Op>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      if (dim_size != op.getNumResults())
        return op.emitOpError("result count must be equal to ") << dim_size;
    
      return success();
    }
    
    namespace {
    
    // Hoist coefficient-wise unary operation out of the Unpack op:
    //
    //   %unpacked:N = "tf.Unpack"(%0)
    //   %neg0 = "tf.Neg"(%unpacked#0)
    //   %neg1 = "tf.Neg"(%unpacked#1)
    //   ...
    //   %negN-1 = "tf.Neg"(%unpacked:N-1)
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  9. 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)
  10. 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
    - 49.2K bytes
    - Viewed (0)
Back to top