Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for multiplication (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    }
    
    def TF_XlaSparseDenseMatmulWithStaticBufferSizeOp : TF_Op<"XlaSparseDenseMatmulWithStaticBufferSize", [Pure]> {
      let summary = "A XLA op which performs the dense-sparse matrix multiplication.";
    
      let arguments = (ins
        TF_Int32Tensor:$row_pointers,
        TF_Int32Tensor:$sorted_sample_ids,
        TF_Int32Tensor:$sorted_token_ids,
        TF_Float32Tensor:$sorted_gains,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

          """A model with two matmul ops."""
    
          @def_function.function
          def matmul(self, input_tensor: core.Tensor) -> Mapping[str, core.Tensor]:
            """Performs a matrix multiplication.
    
            Args:
              input_tensor: Input tensor to matmul with the filter.
    
            Returns:
              A 'output' -> output tensor mapping
            """
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. src/math/big/int_test.go

    	for _, a := range prodZZ {
    		arg := a
    		testFunZZ(t, "MulZZ", MulZZ, arg)
    
    		arg = argZZ{a.z, a.y, a.x}
    		testFunZZ(t, "MulZZ symmetric", MulZZ, arg)
    	}
    }
    
    // mulBytes returns x*y via grade school multiplication. Both inputs
    // and the result are assumed to be in big-endian representation (to
    // match the semantics of Int.Bytes and Int.SetBytes).
    func mulBytes(x, y []byte) []byte {
    	z := make([]byte, len(x)+len(y))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 58.5K bytes
    - Viewed (0)
  4. src/go/types/expr.go

    }
    
    // This is only used for operations that may cause overflow.
    var op2str2 = [...]string{
    	token.ADD: "addition",
    	token.SUB: "subtraction",
    	token.XOR: "bitwise XOR",
    	token.MUL: "multiplication",
    	token.SHL: "shift",
    }
    
    // If typ is a type parameter, underIs returns the result of typ.underIs(f).
    // Otherwise, underIs returns the result of f(under(typ)).
    func underIs(typ Type, f func(Type) bool) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  5. src/runtime/mgcscavenge.go

    	// looks strange but the purpose is to arrive at an integer division
    	// (e.g. if retainExtraPercent = 12.5, then we get a divisor of 8)
    	// that also avoids the overflow from a multiplication.
    	gcPercentGoal += gcPercentGoal / (1.0 / (retainExtraPercent / 100.0))
    	// Align it to a physical page boundary to make the following calculations
    	// a bit more exact.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:48:45 UTC 2024
    - 52.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    }
    
    // This is only used for operations that may cause overflow.
    var op2str2 = [...]string{
    	syntax.Add: "addition",
    	syntax.Sub: "subtraction",
    	syntax.Xor: "bitwise XOR",
    	syntax.Mul: "multiplication",
    	syntax.Shl: "shift",
    }
    
    // If typ is a type parameter, underIs returns the result of typ.underIs(f).
    // Otherwise, underIs returns the result of f(under(typ)).
    func underIs(typ Type, f func(Type) bool) bool {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. src/runtime/mprof.go

    	var r int64
    	if rate <= 0 {
    		r = 0 // disable profiling
    	} else if rate == 1 {
    		r = 1 // profile everything
    	} else {
    		// convert ns to cycles, use float64 to prevent overflow during multiplication
    		r = int64(float64(rate) * float64(ticksPerSecond()) / (1000 * 1000 * 1000))
    		if r == 0 {
    			r = 1
    		}
    	}
    
    	atomic.Store64(&blockprofilerate, uint64(r))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  8. pkg/scheduler/internal/queue/scheduling_queue.go

    func (p *PriorityQueue) calculateBackoffDuration(podInfo *framework.QueuedPodInfo) time.Duration {
    	duration := p.podInitialBackoffDuration
    	for i := 1; i < podInfo.Attempts; i++ {
    		// Use subtraction instead of addition or multiplication to avoid overflow.
    		if duration > p.podMaxBackoffDuration-duration {
    			return p.podMaxBackoffDuration
    		}
    		duration += duration
    	}
    	return duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 61.4K bytes
    - Viewed (0)
Back to top