Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NumericVerify (0.16 sec)

  1. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/numeric_verify.mlir

    // CHECK:      {
    // CHECK-NEXT:    version: 3,
    // CHECK-NEXT:    operator_codes: [ {
    // CHECK-NEXT:    deprecated_builtin_code: 32,
    // CHECK-NEXT:    custom_code: "NumericVerify",
    // CHECK-NEXT:    builtin_code: CUSTOM
    // CHECK-NEXT:  } ],
    // CHECK-NEXT:  subgraphs: [ {
    // CHECK-NEXT:    tensors: [ {
    // CHECK-NEXT:      shape: [ 4 ],
    // CHECK-NEXT:      buffer: 1,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/quantize-numeric-verify.mlir

    // DEBUG: %[[f_split:.*]]:2 = "tfl.split"
    // DEBUG: %[[q_split:.*]]:2 = "tfl.split"
    // DEBUG: "tfl.NumericVerify"(%[[q_split]]#1, %[[f_split]]#1) <{log_if_failed = true, tolerance = 5.000000e+00 : f32}>
    // DEBUG: "tfl.NumericVerify"(%[[q_split]]#0, %[[f_split]]#0) <{log_if_failed = true, tolerance = 5.000000e+00 : f32}>
    }
    
    // DEBUG-LABEL: NotQuantizePow
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/lite/quantize_model.h

    //
    // Returns a partially quantized model if `fully_quantize` is false. Returns a
    // non-OK status if the quantization fails.
    //
    // When `verify_numeric` is true, the model will have it's original float ops
    // and NumericVerify ops to compare output values from the quantized and float
    // ops.
    //
    // When `legacy_float_scale` is true, the quantizer will use float scale instead
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 23:15:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_config.h

            return 16;
          case tensorflow::DT_INT32:
          case tensorflow::DT_QINT32:
            return 32;
          default:
            return 0;
        }
      }
    
      // Whether to add the NumericVerify ops to verify numbers before and after
      // quantization.
      bool verify_numeric = false;
      // Whether to add verification for layer by layer, or on whole model. When
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 10:16:19 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

                return failure();
              }
            }
          }
    
          // An op with float inputs and outputs are expected when it's used by a
          // NumericVerify op. Skip this op.
          if (enable_verify && UsedBy<VerifierT>(quantizing_op)) {
            continue;
          }
    
          bool is_operand_or_result_modified = false;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

          if (!builtin_code && dyn_cast<mlir::TFL::NumericVerifyOp>(&inst)) {
            // The first operand is the quantized activation, the target of this
            // NumericVerify op.
            auto quantized_op_val = inst.getOperands().front();
            tensor_name = "NumericVerify/" + UniqueName(quantized_op_val) + ":" +
                          std::to_string(tensor_index_map[quantized_op_val]);
          }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        TFL_I64Tensor:$index
      );
    }
    
    def TFL_NumericVerifyOp : Op<TFL_Dialect, "NumericVerify", [
        QuantizableResult,
        SameOperandsShape,
        DeclareOpInterfaceMethods<TFL_RuntimeVerification>]> {
    
      let summary = "Verifies the numericals of the two operands";
    
      let description = [{
        The NumericVerify op is a debugging op to verify the numericals of the two
        activations. It is a custom op in TFLite.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top