Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 107 for powx (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

      // CHECK-DAG: %[[RES_NO_FOLD:.*]] = "tf.Pow"(%arg0, %arg1)
      %0 = "tf.Pow"(%arg0, %arg1) : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32>
    
      // CHECK-DAG: %[[POW_ZERO:.*]] = "tf.Const"() <{value = dense<1.000000e+00> : tensor<4xf32>}> : () -> tensor<4xf32>
      %1 = "tf.Pow"(%arg0, %cst_zero) : (tensor<4xf32>, tensor<f32>) -> tensor<4xf32>
    
      // CHECK-NOT: "tf.Pow"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

      %0 = "tf.BitwiseAnd"(%arg0, %arg1) : (tensor<4xui32>, tensor<4xui32>) -> tensor<4xui32>
      func.return %0: tensor<4xui32>
    }
    
    // CHECK-LABEL: func @pow
    func.func @pow(%arg0: tensor<2xf32>) -> tensor<2xf32> {
      // CHECK-NEXT:  mhlo.power
      %0 = "tf.Pow"(%arg0, %arg0) : (tensor<2xf32>, tensor<2xf32>) -> tensor<2xf32>
      func.return %0: tensor<2xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_traits.h

          Builder builder(op->getContext());
          const IntegerType storage_type = builder.getIntegerType(BitWidth);
          const double scale = static_cast<double>(ScaleMantissa) *
                               std::pow(10.0, static_cast<double>(ScaleExp));
          return UniformQuantizedType::getChecked(
              Sign, storage_type, result_type.getElementType(), scale, ZeroPoint,
              StorageTypeMin, StorageTypeMax, builder.getUnknownLoc());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/hardwares/gpu_hardware.cc

    // tfl.Abs / tfl.Average_pool_2d / tfl.Cos / tfl.div / tfl.exp / tfl.hardswish /
    // tfl.log / tfl.logistic / tfl.max_pool_2d / tfl.mirror_pad / tfl.maximum /
    // tfl.custom / tfl.mean / tfl.minimum / tfl.pad / tfl.pow / tfl.prelu /
    // tfl.relu / tfl.relu6 / tfl.rsqrt / tfl.sin / tfl.slice / tfl.softmax /
    // tfl.space_to_depth / tfl.sqrt / tfl.square / tfl.squared_difference /
    // tfl.strided_slice / tfl.tanh / tfl.transpose / tfl.transpose_conv
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 06 03:08:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/math/IntMath.java

       * {@code BigInteger.valueOf(b).pow(k).intValue()}. This implementation runs in {@code O(log k)}
       * time.
       *
       * <p>Compare {@link #checkedPow}, which throws an {@link ArithmeticException} upon overflow.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       */
      @GwtIncompatible // failing tests
      public static int pow(int b, int k) {
        checkNonNegative("exponent", k);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. src/math/big/natconv.go

    	p, n = b, 1 // assuming b <= _M
    	for max := _M / b; p <= max; {
    		// p == b**n && p <= max
    		p *= b
    		n++
    	}
    	// p == b**n && p <= _M
    	return
    }
    
    // pow returns x**n for n > 0, and 1 otherwise.
    func pow(x Word, n int) (p Word) {
    	// n == sum of bi * 2**i, for 0 <= i < imax, and bi is 0 or 1
    	// thus x**n == product of x**(2**i) for all i where bi == 1
    	// (Russian Peasant Method for exponentiation)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 14.6K bytes
    - Viewed (0)
  7. src/math/stubs_s390x.s

    TEXT ·powTrampolineSetup(SB), NOSPLIT, $0
    	MOVB   ·hasVX(SB), R1
    	CMPBEQ R1, $1, vectorimpl               // vectorfacility = 1, vector supported
    	MOVD   $·powvectorfacility+0x00(SB), R1
    	MOVD   $·pow(SB), R2
    	MOVD   R2, 0(R1)
    	BR     ·pow(SB)
    
    vectorimpl:
    	MOVD $·powvectorfacility+0x00(SB), R1
    	MOVD $·powAsm(SB), R2
    	MOVD R2, 0(R1)
    	BR   ·powAsm(SB)
    
    GLOBL ·powvectorfacility+0x00(SB), NOPTR, $8
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 15 15:48:19 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/graph/dotgraph.go

    	if math.Abs(score) < 0.2 {
    		saturation *= math.Abs(score) / 0.2
    	}
    
    	// Apply 'shift' to move scores away from 0.0 (grey).
    	if score > 0.0 {
    		score = math.Pow(score, (1.0 - shift))
    	}
    	if score < 0.0 {
    		score = -math.Pow(-score, (1.0 - shift))
    	}
    
    	var r, g, b float64 // red, green, blue
    	if score < 0.0 {
    		g = value
    		r = value * (1 + saturation*score)
    	} else {
    		r = value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 20:51:42 UTC 2022
    - 14.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/math/IntMath.java

       * {@code BigInteger.valueOf(b).pow(k).intValue()}. This implementation runs in {@code O(log k)}
       * time.
       *
       * <p>Compare {@link #checkedPow}, which throws an {@link ArithmeticException} upon overflow.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       */
      @GwtIncompatible // failing tests
      public static int pow(int b, int k) {
        checkNonNegative("exponent", k);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.util.Arrays
    import java.util.concurrent.atomic.AtomicInteger
    import kotlin.math.pow
    import kotlin.test.assertFailsWith
    import okhttp3.TestUtil.headerEntries
    import okhttp3.internal.EMPTY_BYTE_ARRAY
    import okhttp3.internal.http2.Http2.FLAG_COMPRESSED
    import okhttp3.internal.http2.Http2.FLAG_END_HEADERS
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top