- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 77 for sqrt1 (0.05 sec)
-
tensorflow/compiler/mlir/lite/tests/ops.mlir
func.return %0#0 : tensor<?xi32> } // ----- // test invalid Sqrt input func.func @testSqrtWithWrongInputType(tensor<? x i32>) -> tensor<? x i32> { ^bb0(%arg0: tensor<? x i32>): // expected-error @+1 {{tfl.sqrt' op operand #0 must be tensor of 32-bit float values}} %0 = "tfl.sqrt"(%arg0): (tensor<? x i32>) -> tensor<? x i32> func.return %0#0 : tensor<? x i32> } // -----
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 189.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/PPC64.rules
(Cvt32Fto64F ...) => (Copy ...) // Note v will have the wrong type for patterns dependent on Float32/Float64 (Cvt64Fto32F ...) => (FRSP ...) (CvtBoolToUint8 ...) => (Copy ...) (Round(32|64)F ...) => (LoweredRound(32|64)F ...) (Sqrt ...) => (FSQRT ...) (Sqrt32 ...) => (FSQRTS ...) (Floor ...) => (FFLOOR ...) (Ceil ...) => (FCEIL ...) (Trunc ...) => (FTRUNC ...) (Round ...) => (FROUND ...) (Copysign x y) => (FCPSGN y x) (Abs ...) => (FABS ...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 53.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir
// ----- // CHECK-LABEL: func @sqrt func.func @sqrt(%arg0: tensor<2xf32>) -> tensor<2xf32> { // CHECK: mhlo.sqrt %arg0 : tensor<2xf32> %0 = "tf.Sqrt"(%arg0) : (tensor<2xf32>) -> tensor<2xf32> func.return %0 : tensor<2xf32> } // ----- // CHECK-LABEL: func @sqrt_dynamic func.func @sqrt_dynamic(%arg0: tensor<?xf32>) -> tensor<?xf32> { // CHECK: mhlo.sqrt %arg0 : tensor<?xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 06 18:46:23 UTC 2024 - 335.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
if (!IsF32ShapedType(result_type)) return nullptr; auto compute = [](APFloat value) -> APFloat { float f = value.convertToFloat(); float result = std::sqrt(f); return APFloat(result); }; return ConstFoldUnaryOp(result_type, operands[0], compute); } //===----------------------------------------------------------------------===// // RsqrtOp
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/const-fold.mlir
%7 = "tfl.abs"(%0) : (tensor<f32>) -> tensor<f32> %8 = "tfl.sin"(%1) : (tensor<f32>) -> tensor<f32> %9 = "tfl.cos"(%2) : (tensor<f32>) -> tensor<f32> %10 = "tfl.log"(%3) : (tensor<f32>) -> tensor<f32> %11 = "tfl.sqrt"(%4) : (tensor<f32>) -> tensor<f32> %12 = "tfl.rsqrt"(%5) : (tensor<f32>) -> tensor<f32> %13 = "tfl.square"(%6) : (tensor<f32>) -> tensor<f32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 45.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir
} // CHECK-LABEL: func @sqrt( // CHECK-SAME: %[[VAL_0:.*]]: tensor<2xf32>) -> tensor<2xf32> { // CHECK: %[[VAL_1:.*]] = "tf.Sqrt"(%[[VAL_0]]) : (tensor<2xf32>) -> tensor<2xf32> // CHECK: return %[[VAL_1]] : tensor<2xf32> // CHECK: } func.func @sqrt(%arg0: tensor<2xf32>) -> tensor<2xf32> { %0 = "mhlo.sqrt"(%arg0) : (tensor<2xf32>) -> tensor<2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 340.2K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/RISCV64.rules
(And(64|32|16|8) ...) => (AND ...) (Or(64|32|16|8) ...) => (OR ...) (Xor(64|32|16|8) ...) => (XOR ...) (Neg(64|32|16|8) ...) => (NEG ...) (Neg(64|32)F ...) => (FNEG(D|S) ...) (Com(64|32|16|8) ...) => (NOT ...) (Sqrt ...) => (FSQRTD ...) (Sqrt32 ...) => (FSQRTS ...) (Copysign ...) => (FSGNJD ...) (Abs ...) => (FABSD ...) (FMA ...) => (FMADDD ...) (Min(64|32)F ...) => (LoweredFMIN(D|S) ...)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 07 14:57:07 UTC 2024 - 40.3K bytes - Viewed (0) -
src/cmd/go/go_test.go
// have one chunk. We want to run as many parallel scripts as possible, but // also want to give each script as high a limit as possible. // We arbitrarily split by sqrt(n) to try to balance those two goals. netTestLimit := int(math.Sqrt(float64(n))) netTestSem = make(chan struct{}, netTestLimit) reducedLimit := fmt.Sprintf(",%s=%d", base.NetLimitGodebug.Name(), n/netTestLimit)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/genericOps.go
{name: "RotateLeft16", argLength: 2}, {name: "RotateLeft8", argLength: 2}, // Square root. // Special cases: // +∞ → +∞ // ±0 → ±0 (sign preserved) // x<0 → NaN // NaN → NaN {name: "Sqrt", argLength: 1}, // √arg0 (floating point, double precision) {name: "Sqrt32", argLength: 1}, // √arg0 (floating point, single precision) // Round to integer, float64 only. // Special cases:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 42.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals(ImmutableSet.of(1, 2, 3), bimap.inverse().keySet()); assertEquals(ImmutableSet.of(1, 2, 3), sync.inverse().keySet()); } private static final Function<Integer, Double> SQRT_FUNCTION = in -> Math.sqrt(in); public void testTransformValues() { Map<String, Integer> map = ImmutableMap.of("a", 4, "b", 9); Map<String, Double> transformed = transformValues(map, SQRT_FUNCTION);
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (0)