Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 39 for commutative (0.4 sec)

  1. guava/src/com/google/common/collect/Range.java

       * yields the empty range {@code [5..5)}.
       *
       * <p>The intersection exists if and only if the two ranges are {@linkplain #isConnected
       * connected}.
       *
       * <p>The intersection operation is commutative, associative and idempotent, and its identity
       * element is {@link Range#all}).
       *
       * @throws IllegalArgumentException if {@code isConnected(connectedRange)} is {@code false}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/api/resource/amount_test.go

    			if c != test.c {
    				t.Errorf("%v: unexpected result: %d", test, c)
    			}
    		} else {
    			if c != test.a {
    				t.Errorf("%v: overflow addition mutated source: %d", test, c)
    			}
    		}
    
    		// addition is commutative
    		c = test.b
    		if ok := c.Add(test.a); ok != test.ok {
    			t.Errorf("%v: unexpected ok: %t", test, ok)
    		}
    		if ok {
    			if c != test.c {
    				t.Errorf("%v: unexpected result: %d", test, c)
    			}
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 13 20:54:15 UTC 2023
    - 7K bytes
    - Viewed (0)
  3. tensorflow/c/ops.h

    //   <type-list> is the name of an attr with type "list(type)".
    TF_CAPI_EXPORT extern void TF_OpDefinitionBuilderAddOutput(
        TF_OpDefinitionBuilder* builder, const char* output_spec);
    
    // Sets the commutative property for the op built by the given builder.
    TF_CAPI_EXPORT extern void TF_OpDefinitionBuilderSetIsCommutative(
        TF_OpDefinitionBuilder* builder, bool is_commutative);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 16.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Range.java

       * yields the empty range {@code [5..5)}.
       *
       * <p>The intersection exists if and only if the two ranges are {@linkplain #isConnected
       * connected}.
       *
       * <p>The intersection operation is commutative, associative and idempotent, and its identity
       * element is {@link Range#all}).
       *
       * @throws IllegalArgumentException if {@code isConnected(connectedRange)} is {@code false}
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. src/math/big/floatconv.go

    	// division by b**(-fcount). An exponent means multiplication by
    	// ebase**exp. Finally, mantissa normalization (shift left) requires
    	// a correcting multiplication by 2**(-shiftcount). Multiplications
    	// are commutative, so we can apply them in any order as long as there
    	// is no loss of precision. We only have powers of 2 and 10, and
    	// we split powers of 10 into the product of the same powers of
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/regalloc.go

    					goto ok
    				}
    				if opcodeTable[v.Op].commutative && !s.liveAfterCurrentInstruction(v.Args[1]) {
    					args[0], args[1] = args[1], args[0]
    					goto ok
    				}
    				if s.values[v.Args[0].ID].rematerializeable {
    					// We can rematerialize the input, don't worry about clobbering it.
    					goto ok
    				}
    				if opcodeTable[v.Op].commutative && s.values[v.Args[1].ID].rematerializeable {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/op.go

    	asm               obj.As
    	generic           bool      // this is a generic (arch-independent) opcode
    	rematerializeable bool      // this op is rematerializeable
    	commutative       bool      // this operation is commutative (e.g. addition)
    	resultInArg0      bool      // (first, if a tuple) output of v and v.Args[0] must be allocated to the same register
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 22 15:29:10 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/CollectCollectors.java

              BinaryOperator<V> mergeFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        // not UNORDERED because we don't know if mergeFunction is commutative
        return Collector.of(
            () -> new EnumMapAccumulator<K, V>(mergeFunction),
            (accum, t) -> {
              /*
               * We assign these to variables before calling checkNotNull to work around a bug in our
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/CollectCollectors.java

              BinaryOperator<V> mergeFunction) {
        checkNotNull(keyFunction);
        checkNotNull(valueFunction);
        checkNotNull(mergeFunction);
        // not UNORDERED because we don't know if mergeFunction is commutative
        return Collector.of(
            () -> new EnumMapAccumulator<K, V>(mergeFunction),
            (accum, t) -> {
              /*
               * We assign these to variables before calling checkNotNull to work around a bug in our
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:21:40 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

          And<[CPred<"TFL::VerifyAddOpShapeConstraints(llvm::cast<AddOp>($_op))">,
               OperandsSameElementTypeConstraintBasePred]>>,
        ResultsBroadcastableShape,
        Pure,
        Commutative,
        QuantizableResult,
        DeclareOpInterfaceMethods<TFL_ArithmeticCount>]> {
      let summary = "Addition operator";
    
      let description = [{
        Element-wise addition operation.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top