Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,248 for ucast (0.05 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_xla.mlir

    // CHECK: %[[scast:.*]] = "quantfork.scast"(%[[conv]]
    // CHECK: %[[fcast:.*]] = "tf.Cast"(%[[scast]]) <{Truncate = false}> : (tensor<*xi8>) -> tensor<*xf32>
    // CHECK: %[[avgpool_f32:.*]] = "tf.AvgPool"(%[[fcast]])
    // CHECK-SAME: (tensor<*xf32>) -> tensor<*xf32>
    // CHECK: %[[round:.*]] = "tf.Round"(%[[avgpool_f32]])
    // CHECK: %[[icast:.*]] = "tf.Cast"(%[[round]]) <{Truncate = false}> : (tensor<*xf32>) -> tensor<*xi8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

    // A QuantizeCast (qcast) represents a potential type shift from a quantizable
    // type to a quantized type.
    //
    // At runtime, a qcast will apply the transformation expressed by its
    // operand and result type. For flexibility during transformation, it is also
    // possible to have a qcast that performs no transformation (both its
    // operand and result type are quantizable).
    //
    // A qcast will typically originate from either:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td

    // A QuantizeCast (qcast) represents a potential type shift from a quantizable
    // type to a quantized type.
    //
    // At runtime, a qcast will apply the transformation expressed by its
    // operand and result type. For flexibility during transformation, it is also
    // possible to have a qcast that performs no transformation (both its
    // operand and result type are quantizable).
    //
    // A qcast will typically originate from either:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions.mlir

        %0 = "quantfork.qcast"(%cst) : (tensor<2x2x3x2xf32>) -> tensor<2x2x3x2x!quant.uniform<i8<-127:127>:f32:3, {4.000000e-03,5.000000e-03}>>
        %1 = "quantfork.dcast"(%0) : (tensor<2x2x3x2x!quant.uniform<i8<-127:127>:f32:3, {4.000000e-03,5.000000e-03}>>) -> tensor<*xf32>
        %2 = "quantfork.qcast"(%arg0) : (tensor<1x2x2x3xf32>) -> tensor<1x2x2x3x!quant.uniform<i8:f32, 8.000000e-03>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 01:23:21 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top