Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 203 for dequantize (0.19 sec)

  1. src/image/gif/writer.go

    		// might not start at (0, 0).
    		//
    		// TODO: Pick a better sub-sample of the Plan 9 palette.
    		pm = image.NewPaletted(b, palette.Plan9[:opts.NumColors])
    		if opts.Quantizer != nil {
    			pm.Palette = opts.Quantizer.Quantize(make(color.Palette, 0, opts.NumColors), m)
    		}
    		opts.Drawer.Draw(pm, b, m, b.Min)
    	}
    
    	// When calling Encode instead of EncodeAll, the single-frame image is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:38:09 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_composit_functions_debugging.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-insert-quantized-functions -quant-quantize-composite-functions | FileCheck --check-prefix=TF %s
    // RUN: tf-quant-opt %s -split-input-file -quant-insert-quantized-functions -quant-quantize-composite-functions='target-opset=XLA' | FileCheck --check-prefix=XLA %s
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 01:23:21 UTC 2023
    - 80.5K bytes
    - Viewed (0)
  3. src/image/draw/draw.go

    	Set(x, y int, c color.Color)
    	SetRGBA64(x, y int, c color.RGBA64)
    }
    
    // Quantizer produces a palette for an image.
    type Quantizer interface {
    	// Quantize appends up to cap(p) - len(p) colors to p and returns the
    	// updated palette suitable for converting m to a paletted image.
    	Quantize(p color.Palette, m image.Image) color.Palette
    }
    
    // Op is a Porter-Duff compositing operator.
    type Op int
    
    const (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 11 17:08:05 UTC 2024
    - 33.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

          return emitError(loc, type_or_err.status().ToString()),
                 type_or_err.status();
        }
        auto type = std::move(type_or_err).value();
    
        if (op_name == "tfl.quantize") {
          // Special case for quantize: return type must also be in qtype attribute
          op_state.addAttribute("qtype", mlir::TypeAttr::get(type));
        } else if (op_name == "tfl.reshape" && op_state.operands.size() == 1) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/BUILD

            "transforms/post_quantize.cc",
            "transforms/prepare_quantize.cc",
            "transforms/prepare_quantize_dynamic_range.cc",
            "transforms/prepare_quantize_helper.cc",
            "transforms/quantize.cc",
            "transforms/quantize_variables.cc",
            "utils/generated_op_quant_spec_getters.inc",
        ],
        hdrs = [
            "transforms/passes.h",
            "transforms/prepare_quantize_helper.h",
        ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 49.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/schema/schema_generated.h

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_same_scale.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-quantize -verify-each=false | FileCheck %s
    
    module attributes {tf_saved_model.semantics} {
      // CHECK-LABEL: same_scale_after_composite
      // CHECK-SAME: %[[ARG0:.*]]: tensor<1x2xf32>
      // CHECK-SAME: %[[ARG1:.*]]: tensor<2x3xf32>
      func.func private @same_scale_after_composite(%arg0: tensor<1x2xf32>, %arg1: tensor<2x3xf32>) -> tensor<3x1xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/arch/ppc64/ppc64asm/tables.go

    		[6]*argField{ap_ImmSigned_11_15, ap_FPReg_6_10, ap_FPReg_16_20, ap_ImmUnsigned_21_22}},
    	{DQUAICC, 0xfc0001ff00000000, 0xec00008700000000, 0x0, // DFP Quantize Immediate Z23-form (dquai. TE,FRT,FRB,RMC)
    		[6]*argField{ap_ImmSigned_11_15, ap_FPReg_6_10, ap_FPReg_16_20, ap_ImmUnsigned_21_22}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 334.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -verify-diagnostics \
    // RUN:     -stablehlo-quantize-composite-functions | FileCheck %s
    // RUN: stablehlo-quant-opt %s -split-input-file -verify-diagnostics \
    // RUN:     -stablehlo-quantize-composite-functions=enable-per-channel-quantized-weight=false | FileCheck --check-prefix=CHECK-PER-TENSOR %s
    
    // Tests that basic dot_general is properly quantized.
    
    module attributes {tf_saved_model.semantics} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 91.6K bytes
    - Viewed (0)
  10. src/math/big/float.go

    // quotient is the exclusive OR of the operands’ signs; the sign of a sum,
    // or of a difference x−y regarded as a sum x+(−y), differs from at most
    // one of the addends’ signs; and the sign of the result of conversions,
    // the quantize operation, the roundToIntegral operations, and the
    // roundToIntegralExact (see 5.3.1) is the sign of the first or only operand.
    // These rules shall apply even when operands or results are zero or infinite.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
Back to top