Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PowerOfTwoBound (0.1 sec)

  1. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.cc

    #include <cmath>
    
    #include "absl/container/flat_hash_set.h"
    #include "tensorflow/core/framework/types.pb.h"
    
    namespace mlir {
    namespace TFL {
    
    double PowerOfTwoBound(double value) {
      return std::pow(2, std::ceil(std::log2(value)));
    }
    
    tensorflow::DataType GetQuantizedInferenceType(bool is_signed,
                                                   int number_of_bits) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 03 12:08:30 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        "input_to_cell_intermediate", "input_to_output_intermediate",
        "effective_hidden_scale_intermediate"};
    
    // Calculates the minimum power of two that is not less than the value.
    double PowerOfTwoBound(double value);
    
    tensorflow::DataType GetQuantizedInferenceType(bool is_signed,
                                                   int activation_number_of_bits);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top