Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 83 for Quantile (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions_xla.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-insert-quantized-functions -quant-quantize-composite-functions='quantization-method=ptq target-opset=XLA' | FileCheck %s
    // RUN: tf-quant-opt %s -split-input-file -quant-insert-quantized-functions -quant-quantize-composite-functions='quantization-method=ptq target-opset=XLA enable-per-channel-quantization=true' | FileCheck --check-prefix=PerChannel %s
    
    module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jan 08 01:16:10 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composite_functions.mlir

    // CHECK-DAG: %[[w_quant:.*]] = "tf.Const"() <{value = dense<{{\[\[\[\[}}40, 20]
    // CHECK-DAG: {{\[\[\[}}-87, -42]
    
    // CHECK: %[[quantize:.*]] = "tf.PartitionedCall"(%arg0, %[[in_scale]], %[[in_zp]])
    // CHECK-SAME: f = @quantize_i8
    // CHECK: %[[conv_quant:.*]] = "tf.PartitionedCall"(%[[quantize]], %[[w_quant]], %[[b_quant]],
    // CHECK-SAME: %[[in_scale]], %[[in_zp]], %[[w_scale]], %[[w_zp]],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 01:23:21 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/mmu.go

    	for i := 0; i < samples; i++ {
    		window := time.Duration(math.Exp(float64(i)/(samples-1)*(logMax-logMin) + logMin))
    		if quantiles == nil {
    			plot[i] = make([]float64, 2)
    			plot[i][1] = mmuCurve.MMU(window)
    		} else {
    			plot[i] = make([]float64, 1+len(quantiles))
    			copy(plot[i][1:], mmuCurve.MUD(window, quantiles))
    		}
    		plot[i][0] = float64(window)
    	}
    
    	// Create JSON response.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

        // This is the argument used to refer to the pass in
        // the textual format (on the commandline for example).
        return "quant-quantize-weights";
      }
    
      StringRef getDescription() const final {
        // This is a brief description of the pass.
        return "Quantize weights used by quantizable ops.";
      }
    
      void getDependentDialects(DialectRegistry& registry) const override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h"
    
    //===----------------------------------------------------------------------===//
    // The prepare-quantize-drq Pass.
    //
    namespace mlir {
    namespace quant {
    
    namespace {
    
    using QuantizationUnit = std::pair<Operation*, int>;
    using QuantizationUnits = llvm::SetVector<QuantizationUnit>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.h

      // Inserts the Quantize ops for requantizing a block argument.
      void RequantizeArg(BlockArgument arg, RequantizeStates& states);
    
      // Inserts the Quantize and Dequantize ops to quantize the value and returns
      // the Quantize op.
      void RequantizeValue(Value value, RequantizeStates& states, Location loc);
    
      // Returns the quantization parameter satisfies the same scale
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 20 11:42:17 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/modify_io_nodes.mlir

    func.func @modified(%arg0: tensor<1x224x224x3xf32>) -> tensor<1x401408xf32> attributes {tf.entry_function = {control_outputs = "", inputs = "input", outputs = "output"}} {
      %cst = arith.constant dense<[1, 401408]> : tensor<2xi32>
      %0 = "tfl.quantize"(%arg0) {qtype = tensor<1x224x224x3x!quant.uniform<i8:f32, 7.812500e-03>>} : (tensor<1x224x224x3xf32>) -> tensor<1x224x224x3x!quant.uniform<i8:f32, 7.812500e-03>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.td

      let summary = "Restores function name from XlaCallModule op.";
    }
    
    def QuantizeCompositeFunctionsPass : Pass<"stablehlo-quantize-composite-functions", "ModuleOp"> {
      let summary = "Quantize composite functions with QDQ input / outputs.";
      let options = [
        Option<"enable_per_channel_quantized_weight_",
            "enable-per-channel-quantized-weight",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

    #include "tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h"
    
    //===----------------------------------------------------------------------===//
    // The post-quantize Passes.
    //
    namespace mlir {
    namespace TFL {
    namespace {
    #define GEN_PASS_DEF_POSTQUANTIZEPASS
    #define GEN_PASS_DEF_POSTQUANTIZEREMOVEQDQPASS
    #include "tensorflow/compiler/mlir/lite/transforms/passes.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/quantization.mlir

    // CHECK: {
    // CHECK-NEXT:  version: 3,
    // CHECK-NEXT:  operator_codes: [ {
    // CHECK-NEXT:    deprecated_builtin_code: 114,
    // CHECK-NEXT:    version: 1,
    // CHECK-NEXT:    builtin_code: QUANTIZE
    // CHECK-NEXT:  }, {
    // CHECK-NEXT:    deprecated_builtin_code: 3,
    // CHECK-NEXT:    version: 1,
    // CHECK-NEXT:    builtin_code: CONV_2D
    // CHECK-NEXT:  }, {
    // CHECK-NEXT:    deprecated_builtin_code: 22,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 11.9K bytes
    - Viewed (0)
Back to top