Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 22 of 22 for MIN_VALUE (0.37 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py

            This will be the source to calculate min and max values from.
          calibration_options_serialized: Serialized `CalibrationOptions`. Specifies
            how the min / max should be calculated.
    
        Returns:
          (min_value, max_value): Min and max calculated using calib_opts. `None`
          upon error.
        """
        # LINT.ThenChange(py_function_lib.h:get_calibration_min_max_value)
    
        # Deserialize values passed from c++.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 05:32:11 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

      quant::UniformQuantizedType GetFixedOutputRange(
          bool is_signed, int bit_width) {
        auto result_type = getOutput().getType();
        // central_value = min_value / 2 + (max_value - 1) / 2 + 1
        // zero_point = central_value
        // scale = 1. / (central_value - min_value)
        return quant::GetFixedOutputRange(is_signed, bit_width, result_type,
            /*scale=*/1.0 / (1<<(bit_width-1)), /*zero_point=*/0);
      }
      }];
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top