- Sort Score
- Result 10 results
- Languages All
Results 181 - 190 of 203 for dequantize (0.16 sec)
-
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) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/add_dump_tensor_op.cc
// quantized_tensor_data.pb. // Since this process doesn't happen for per layer, we need to set file_name // as quantized_tensor_data.pb here. // TODO: b/296933893 - Refactor the debugger code when no quantize option // is added std::string file_name = debugger_type_ == DebuggerConfig::DEBUGGER_TYPE_WHOLE_MODEL ? "unquantized_tensor_data.pb" : "quantized_tensor_data.pb";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 22:55:22 UTC 2024 - 13K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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)