- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 87 for pseudo_const (0.56 sec)
-
tensorflow/compiler/mlir/lite/tests/quantize-dynamic-range.mlir
func.return %mm : tensor<1x3x3x12xf32> // CHECK: %[[w:.*]] = "tfl.pseudo_qconst"() <{qtype = tensor<512x12x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>, // CHECK: %[[mm:.*]] = "tfl.batch_matmul"(%arg0, %[[w]]) <{adj_x = false, adj_y = false // CHECK-SAME: , asymmetric_quantize_inputs = true // CHECK: return %[[mm:.*]] // PerTensor: %[[w:.*]] = "tfl.pseudo_qconst"() <{qtype = tensor<512x12x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 23 21:09:00 UTC 2024 - 23.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/modify_io_nodes.mlir
%1 = "tfl.pseudo_qconst"() {qtype = tensor<32x3x3x3x!quant.uniform<i8<-127:127>:f32, 0.021826678373682216:151>>, value = dense<-76> : tensor<32x3x3x3xi8>} : () -> tensor<32x3x3x3x!quant.uniform<i8<-127:127>:f32, 0.021826678373682216>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 19.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/optimize_op_order.mlir
// CHECK-NEXT: tfl.dequantize } // CHECK-LABEL: dequantize_pushdown_gather_with_reduction func.func @dequantize_pushdown_gather_with_reduction(%arg0: tensor<2xi32>) -> tensor<2x2xf32> { %w = "tfl.pseudo_qconst"() {qtype = tensor<12x2x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>, value = dense<127> : tensor<12x2xi8>} : () -> tensor<12x2x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 01 02:06:15 UTC 2022 - 3.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/quantization.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/mul_v2.mlir
// CHECK-NEXT: has_rank: true // CHECK-NEXT: }, { // CHECK-NEXT: shape: [ 3 ], // CHECK-NEXT: type: INT8, // CHECK-NEXT: buffer: 2, // CHECK-NEXT: name: "tfl.pseudo_qconst", // CHECK-NEXT: quantization: { // CHECK-NEXT: scale: [ 0.1 ], // CHECK-NEXT: zero_point: [ 0 ] // CHECK-NEXT: }, // CHECK-NEXT: has_rank: true // CHECK-NEXT: }, {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/mul_v3.mlir
// CHECK-NEXT: has_rank: true // CHECK-NEXT: }, { // CHECK-NEXT: shape: [ 3 ], // CHECK-NEXT: type: INT8, // CHECK-NEXT: buffer: 2, // CHECK-NEXT: name: "tfl.pseudo_qconst", // CHECK-NEXT: quantization: { // CHECK-NEXT: scale: [ 1.0 ], // CHECK-NEXT: zero_point: [ 0 ] // CHECK-NEXT: }, // CHECK-NEXT: has_rank: true // CHECK-NEXT: }, {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 14 16:41:28 UTC 2022 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
// uint8 doesn't require same operands and results scales. bool is_uint8 = !sign && (bit_width == 8); return !is_uint8; } }]; } def TFL_ConstOp : Op<TFL_Dialect, "pseudo_const", [ConstantLike, Pure, FirstAttrDerivedResultType, QuantizableResult, DeclareOpInterfaceMethods<TFL_RuntimeVerification>]> { let summary = "Constant pseudo op."; let description = [{
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
Type type, Location loc) { // If this is a constant bytes attribute or the result type doesn't match the // attribute type, then generate a tfl.pseudo_const. if (value.isa<ConstBytesAttr>() || (value.isa<ElementsAttr>() && value.cast<ElementsAttr>().getType() != type)) return builder.create<ConstOp>(loc, type, value.cast<ElementsAttr>());
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/quantization/common/quantization_lib/quantization.td
For example, if the kernel does not support dynamic range quantization the graph will be converted into the following IR: %q_w = "tfl.pseudo_qconst"() { qtype = tensor<64x3x3x3x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>> %w = "tfl.dequantize"(%q_w) : (tensor<64x3x3x3x!quant.uniform<i8<-127:127>:f32, 1.000000e+00>>) ->
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 05 07:39:40 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity.pbtxt
# MLIR-SAME: outputs = "output" # MLIR: %[[shape:.*]] = arith.constant dense<[1, -1, 31]> : tensor<3xi32> # MLIR: %[[bias:.*]] = "tfl.pseudo_qconst"() <{qtype = tensor<186x!quant.uniform<i32:f32:0 # MLIR: %[[weight:.*]] = "tfl.pseudo_qconst"() <{qtype = tensor<186x1x1x256x!quant.uniform<i8<-127:127>:f32:0, {0.12581039038230116,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 13.8K bytes - Viewed (0)