Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for preset_method (0.53 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/fill_quantization_options_test.cc

        const tsl::protobuf::Message& x) {
      return ::testing::MakePolymorphicMatcher(ProtoStringMatcher(x));
    }
    
    void FillPresetQuantizationOptionsTestHelper(
        const PresetQuantizationMethod::PresetMethod preset_quantization_options,
        const QuantizationComponentSpec expected_activation_component,
        const QuantizationComponentSpec expected_weight_component,
        const QuantizationComponentSpec expected_bias_component) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils_test.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_dialect.h"
    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir::quant {
    namespace {
    
    using QuantMethod = tensorflow::quantization::QuantizationMethod::PresetMethod;
    
    class EmptyPatternRewriter : public mlir::PatternRewriter {
     public:
      explicit EmptyPatternRewriter(const OpBuilder& op_builder)
          : mlir::PatternRewriter(op_builder) {}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Sep 11 00:47:05 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    using QuantMethod =
        ::tensorflow::quantization::QuantizationMethod::PresetMethod;
    using ::tensorflow::quantization::OpSet;
    
    class LiftQuantizableSpotsAsFunctionsDRQPass
        : public PassWrapper<LiftQuantizableSpotsAsFunctionsDRQPass,
                             OperationPass<ModuleOp>> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/error_util.h"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    using QuantMethod = tensorflow::quantization::QuantizationMethod::PresetMethod;
    using ::tensorflow::quantization::OpSet;
    
    class InsertQuantizedFunctionsPass
        : public PassWrapper<InsertQuantizedFunctionsPass,
                             OperationPass<ModuleOp>> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

    // The preprocess-op Pass.
    //
    namespace mlir {
    namespace quant {
    
    namespace {
    
    using QuantMethod =
        ::tensorflow::quantization::QuantizationMethod::PresetMethod;
    using QuantizationUnit = std::pair<Operation*, int>;
    using QuantizationUnits = llvm::SetVector<QuantizationUnit>;
    using ::tensorflow::quantization::OpSet;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h"
    #include "tensorflow/core/util/quantization/uniform_quant_ops_attr.pb.h"
    
    namespace mlir::quant {
    
    using QuantMethod = tensorflow::quantization::QuantizationMethod::PresetMethod;
    
    enum class OpType {
      kDynamicRangeOp,  // Dynamic Range kernels only have rhs attr.
      kUnaryOp,         // Unary ops have one min/max attr.
      kBinaryOp,        // Binary ops have lhs/rhs attr.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

    // The prepare-quantize Pass.
    //
    namespace mlir {
    namespace quant {
    
    namespace {
    
    using QuantMethod = tensorflow::quantization::QuantizationMethod::PresetMethod;
    
    // Applies prepare quantization on the model in TF dialect. This pass runs
    // before the quantization pass and propagate the quantization parameters
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

    #include "tensorflow/core/ir/importexport/convert_tensor.h"
    
    namespace mlir {
    namespace quant {
    namespace {
    
    using QuantMethod = tensorflow::quantization::QuantizationMethod::PresetMethod;
    using ::tensorflow::quantization::OpSet;
    
    constexpr absl::string_view kQuantizeCompositeFunctionsStepName =
        "_quantize_composite_functions";
    constexpr StringRef kQuantizeFuncName = "quantize_i8";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
Back to top