Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SetMax (0.08 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      float rmin, rmax;
      if (&semantics == &APFloat::IEEEsingle()) {
        rmin = op.getMin().convertToFloat();
        rmax = op.getMax().convertToFloat();
      } else {
        rmin = op.getMin().convertToDouble();
        rmax = op.getMax().convertToDouble();
      }
      // Range boundaries must be valid.
      if (rmin >= rmax) {
        return op.emitOpError("range is invalid: [" + Twine(std::to_string(rmin)) +
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

                     element_type)) {
        std::vector<float> mins = {static_cast<float>(qtype.getMin())};
        std::vector<float> maxs = {static_cast<float>(qtype.getMax())};
        q_params = tflite::CreateQuantizationParameters(
            builder_, builder_.CreateVector<float>(mins),
            builder_.CreateVector<float>(maxs));
      }
      return tflite::CreateTensor(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
Back to top