Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for min_maxs (0.11 sec)

  1. tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc

      if (info.params_size() == 0) return;
    
      SmallVector<APFloat, 4> min_maxs;
      min_maxs.reserve(info.params_size() * 2);
      for (const auto &param : info.params()) {
        llvm::APFloat min(param.min_max().min());
        llvm::APFloat max(param.min_max().max());
        min_maxs.push_back(min);
        min_maxs.push_back(max);
      }
      // The layer stats contain only the first min/max pairs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_import.cc

      if (mins.size() != maxs.size() || mins.empty()) return nullptr;
    
      llvm::SmallVector<llvm::APFloat, 4> min_maxs;
      min_maxs.reserve(mins.size() * 2);
      for (int i = 0, end = mins.size(); i < end; ++i) {
        llvm::APFloat min(mins[i]);
        llvm::APFloat max(maxs[i]);
        min_maxs.push_back(min);
        min_maxs.push_back(max);
      }
      // The layer stats contain only the first min/max pairs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 66.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/quantization_info.proto

        int32 zero_point = 2;
      }
    
      // Params to quantize the axis. Only one of the field can be used.
      message PerAxisParams {
        oneof params_oneof {
          // min/max of the ranges.
          MinMax min_max = 1;
    
          // affine parameters to quantize the per axis value.
          AffineParams affine_params = 2;
        }
      }
    
      // The metadata defines the target properties.
      message Metadata {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 08 03:45:04 UTC 2019
    - 2.3K bytes
    - Viewed (0)
  4. src/runtime/minmax.go

    Matthew Dempsky <******@****.***> 1684455363 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 18:15:22 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/quantization/tests/import_quant_stats.mlir

    // RUN: tf-opt %s -quant-import-stats --quant-test-stats='entries { name: "op" params { min_max { min: -1 max: 1 } } } entries { name: "op_0:0" params { min_max { min: -2 max: 2 } } }  entries { name_regex: "op_*" params { min_max { min: -3 max: 3 } } }' | FileCheck %s
    
    
    // CHECK-LABEL: import_stats_skip
    func.func @import_stats_skip(%arg0: tensor<4xf32>, %cst: tensor<i32>) -> (tensor<2xf32>,tensor<2xf32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 06:25:50 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/quant_stats.pbtxt.stats

    entries {
      name: "Add"
      params {
        min_max {
          min: -1
          max: 1
        }
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 08 10:14:32 UTC 2019
    - 88 bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc

              return;
            }
    
            auto min_max = GetMinMaxValuesForArgument(func_name, i);
            // The input min/max or mean/std are not specified, then skip.
            if (!min_max.first.has_value() || !min_max.second.has_value()) return;
    
            TypeAttr params = quant::GetQuantizedTypeAttr(
                builder, input_type, builder.getF64FloatAttr(min_max.first.value()),
    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/lite/transforms/prepare_quantize.cc

              return;
            }
    
            auto min_max = GetMinMaxValuesForArgument(func_name, i);
            // The input min/max or mean/std are not specified, then skip.
            if (!min_max.first.has_value() || !min_max.second.has_value()) return;
    
            TypeAttr params = quant::GetQuantizedTypeAttr(
                builder, input_type, builder.getF64FloatAttr(min_max.first.value()),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

          if (flag.has_mean_value() && flag.has_std_value()) {
            TF_ASSIGN_OR_RETURN(
                auto min_max, InputStatsToMinMax(flag.mean_value(),
                                                 flag.std_value(), inference_type));
            node_mins->push_back(min_max.first);
            node_maxs->push_back(min_max.second);
          } else {
            node_mins->push_back(std::nullopt);
            node_maxs->push_back(std::nullopt);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  10. src/math/acos_s390x.s

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include "textflag.h"
    
    // Minimax polynomial coefficients and other constants
    DATA ·acosrodataL13<> + 0(SB)/8, $0.314159265358979323E+01   //pi
    DATA ·acosrodataL13<> + 8(SB)/8, $-0.0
    DATA ·acosrodataL13<> + 16(SB)/8, $0x7ff8000000000000    //Nan
    DATA ·acosrodataL13<> + 24(SB)/8, $-1.0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 20 17:42:08 UTC 2018
    - 3.7K bytes
    - Viewed (0)
Back to top