Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for set_element_type (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/common/ir/UniformSupport.cc

      int64_t chunk_size =
          std::accumulate(std::next(shape.begin(), quantization_dim_ + 1),
                          shape.end(), 1, std::multiplies<int64_t>());
      Type new_element_type =
          IntegerType::get(attr.getContext(), storage_bit_width_);
      return attr.mapValues(new_element_type, [&](const APFloat &old) {
        int chunk_index = flatten_index / chunk_size;
        flatten_index++;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 02:10:16 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top