Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 203 for dequantize (0.19 sec)

  1. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.td

      let regions = (region SizedRegion<1>:$body);
      let hasVerifier = 1;
    }
    
    def Quantization_ReturnOp : Quantization_Op<"return", [Terminator]> {
      let summary = [{
        The `return` operation terminates a quantize region and returns values.
      }];
    
      let arguments = (ins Variadic<AnyTensor>:$results);
    }
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 09 03:10:59 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. src/log/log_test.go

    	}
    }
    
    func TestUTCFlag(t *testing.T) {
    	var b strings.Builder
    	l := New(&b, "Test:", LstdFlags)
    	l.SetFlags(Ldate | Ltime | LUTC)
    	// Verify a log message looks right in the right time zone. Quantize to the second only.
    	now := time.Now().UTC()
    	l.Print("hello")
    	want := fmt.Sprintf("Test:%d/%.2d/%.2d %.2d:%.2d:%.2d hello\n",
    		now.Year(), now.Month(), now.Day(), now.Hour(), now.Minute(), now.Second())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 20:04:37 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/aot/compile.cc

    #include "absl/base/call_once.h"
    #include "llvm-c/Target.h"
    #include "llvm/Support/ManagedStatic.h"
    #include "tensorflow/compiler/aot/codegen.h"
    #include "tensorflow/compiler/aot/flags.h"
    #include "tensorflow/compiler/aot/quantize.h"
    #include "tensorflow/compiler/tf2xla/tf2xla.h"
    #include "tensorflow/compiler/tf2xla/tf2xla_util.h"
    #include "xla/client/client_library.h"
    #include "xla/client/compile_only_client.h"
    #include "xla/client/xla_computation.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 08:28:57 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/quantize_xla.mlir

    // RUN: tf-quant-opt %s -split-input-file -quant-lift-quantizable-spots-as-functions -quant-quantize='target-opset=XLA' -verify-each=false | FileCheck %s
    
    func.func private @conv(%input: tensor<1x3x4x3xf32> {tf._user_specified_name = "input_tensor"}) -> tensor<*xf32> attributes {tf._construction_context = "kEagerRuntime", tf._input_shapes = [#tf_type.shape<1x3x4x3>]} {
      %weight = arith.constant dense_resource<__elided__> : tensor<2x3x3x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:32:28 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td

      let regions = (region SizedRegion<1>:$body);
      let hasVerifier = 1;
    }
    
    def quantfork_ReturnOp : quantfork_Op<"return", [Terminator]> {
      let summary = [{
        The `return` operation terminates a quantize region and returns values.
      }];
    
      let arguments = (ins Variadic<AnyTensor>:$results);
    }
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/BUILD

            "passes/prepare_quantize.inc",
            "passes/prepare_quantize_drq.cc",
            "passes/preprocess_op.cc",
            "passes/preprocess_op.inc",
            "passes/propagate_quantize_type.cc",
            "passes/quantize.cc",
            "passes/quantize_composite_functions.cc",
            "passes/quantize_composite_functions.inc",
            "passes/quantize_weights.cc",
            "passes/quantized_function_library.h",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. src/runtime/mgcpacer_test.go

    	return func() float64 {
    		sum := f()
    		for _, s := range fs {
    			sum += s()
    		}
    		return sum
    	}
    }
    
    // quantize returns a new stream that rounds f to a multiple
    // of mult at each step.
    func (f float64Stream) quantize(mult float64) float64Stream {
    	return func() float64 {
    		r := f() / mult
    		if r < 0 {
    			return math.Ceil(r) * mult
    		}
    		return math.Floor(r) * mult
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 13:53:21 UTC 2023
    - 39.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc

            return false;
          });
    }
    
    // Return the half_range value that is used by DequantizeOp. half_range is used
    // to offset the quantized representation before it gets scaled. In the case
    // of negative quantize types, this offset is half the type's range.
    static DenseElementsAttr DequantizeHalfRange(OpBuilder *builder, Value input) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/BUILD

            "passes/merge_fusion_with_dequantize.cc",
            "passes/nchw_convolution_to_nhwc.cc",
            "passes/optimize_graph.cc",
            "passes/post_quantize.cc",
            "passes/prepare_quantize.cc",
            "passes/quantize.cc",
            "passes/quantize_composite_functions.cc",
            "passes/quantize_weight.cc",
            "passes/remove_sharding_custom_call.cc",
            "passes/remove_sharding_custom_call.inc",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 02:59:01 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_op_with_region.mlir

    // RUN: stablehlo-quant-opt %s -split-input-file -stablehlo-quantize -verify-each=false | FileCheck %s
    
    // Tests if reduce_window op following quantized function is quantized.
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 12 : i32, producer = 1722 : i32}, tf_saved_model.semantics} {
      // CHECK-LABEL: main_00
      // CHECK-SAME: %[[ARG0:.*]]: tensor<2x3x1x1024xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 20:32:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top