- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 615 for ucast (0.06 sec)
-
src/cmd/compile/internal/test/testdata/gen/arithBoundaryGen.go
for _, i := range s.u { for _, j := range s.u { fmt.Fprintf(w, "utd%s{a: %d, b: %d, add: %d, sub: %d, mul: %d", s.sn, i, j, ucast(i+j, s), ucast(i-j, s), ucast(i*j, s)) if j != 0 { fmt.Fprintf(w, ", div: %d, mod: %d", ucast(i/j, s), ucast(i%j, s)) } fmt.Fprint(w, "},\n") } } fmt.Fprintf(w, "}\n") } else { // TODO: clean up this duplication
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize.mlir
func.return %4 : tensor<*xf32> } // CHECK: %[[q:.*]] = "quantfork.qcast"(%arg0) // CHECK: %[[sc1:.*]] = "quantfork.scast"(%[[q]]) : (tensor<*x!quant.uniform<i8:f32, 5.000000e-02:-10>>) // CHECK: %[[fcast:.*]] = "tf.Cast"(%[[sc1]]) <{Truncate = false}> : (tensor<*xi8>) -> tensor<*xf32> // CHECK: %[[avgpool_f32:.*]] = "tf.AvgPool"(%[[fcast]]) // CHECK-SAME: (tensor<*xf32>) -> tensor<*xf32> // CHECK: %[[round:.*]] = "tf.Round"(%[[avgpool_f32]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 19:32:28 UTC 2024 - 6.4K bytes - Viewed (0) -
platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java
* * @param outputType The type to cast the input to * @param object The object to be cast (must not be {@code null}) * @param <O> The type to be cast to * @param <I> The type of the object to be vast * @return The input object, cast to the output type */ public static <O, I> O cast(Class<O> outputType, I object) { try {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 3K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/support/Cast.kt
Paul Merlin <******@****.***> 1690890212 +0200
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 773 bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h
} }; // Inserts a "quant.qcast" and "quant.dcast" op pair (QDQs) in place of the // tf.FakeQyantWithMinMax{Vars|VarsPerChannel|Args}Op // before the op being constant folded. Since the constant // folding logic will use a "arith.constant" op to replace the // "tf.FakeQuantWithMinMaxVarsOp", the "quant.qcast" op is used to preserve // the quantization parameters as a TypeAttr and "quant.dcast" op used to
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/prepare_quantize/prepare_quantize.mlir
// CHECK-NOT: %[[q0:.*]] = "quantfork.qcast"(%[[cst0]]) // CHECK-NOT: %[[q1:.*]] = "quantfork.qcast"(%[[cst1]]) // CHECK: %[[q2:.*]] = "quantfork.qcast"(%[[cst2]]) // CHECK-SAME: quant.uniform<i8:f32, 0.023529411764705882:-128> // CHECK: %[[dq2:.*]] = "quantfork.dcast"(%[[q2]]) // CHECK-SAME: quant.uniform<i8:f32, 0.023529411764705882:-128> // CHECK: %[[q3:.*]] = "quantfork.qcast"(%[[cst3]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 19:52:06 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize.mlir
%1 = "quantfork.qcast"(%0) {volatile} : (tensor<2x3xf32>) -> tensor<2x3x!quant.uniform<i8<-127:127>:f32, 5.000000e-03>> %2 = "quantfork.dcast"(%1) : (tensor<2x3x!quant.uniform<i8<-127:127>:f32, 5.000000e-03>>) -> tensor<2x3xf32> %3 = "quantfork.qcast"(%arg0) {volatile} : (tensor<1x2xf32>) -> tensor<1x2x!quant.uniform<i8:f32, 6.000000e-03:-128>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 01:38:40 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/post_quantize.mlir
// CHECK-NOT: "quantfork.qcast" // CHECK-NOT: "quantfork.dcast" // CHECK: return %[[CST]] %cst = stablehlo.constant dense<[[-0.960978984, -0.390246302], [-0.790828585, -0.601039409], [-1.0280807, -1.02731466]]> : tensor<3x2xf32> %q = "quantfork.qcast"(%cst) {volatile} : (tensor<3x2xf32>) -> tensor<3x2x!quant.uniform<i8:f32, 0.013075299590241675:-64>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 18 20:32:46 UTC 2024 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_quantize_ptq.mlir
// CHECK: %[[q0:.*]] = "quantfork.qcast"(%arg0) // CHECK: %[[dq0:.*]] = "quantfork.dcast"(%[[q0]]) // CHECK-SAME: quant.uniform<i8:f32, 0.010039215461880554:-1> // CHECK: %[[maxpool:.*]] = "tf.MaxPool"(%[[dq0]]) // CHECK: %[[q1:.*]] = "quantfork.qcast"(%[[maxpool]]) // CHECK-SAME: quant.uniform<i8:f32, 0.010039215461880554:-1> // CHECK: %[[dq1:.*]] = "quantfork.dcast"(%[[q1]])
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 01 10:21:29 UTC 2023 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/tfl_to_std.cc
b.setInsertionPoint(op); if (auto dq = llvm::dyn_cast<DequantizeOp>(op)) { auto dcast = b.create<quantfork::DequantizeCastOp>( dq.getLoc(), dq.getOutput().getType(), dq.getInput()); dq.getOutput().replaceAllUsesWith(dcast); dq.erase(); } else if (auto q = llvm::dyn_cast<QuantizeOp>(op)) { auto qcast = b.create<quantfork::QuantizeCastOp>( q.getLoc(), q.getOutput().getType(), q.getInput());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 02:50:01 UTC 2024 - 3.5K bytes - Viewed (0)