Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for PackInt4ValuesDensely (0.15 sec)

  1. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

        std::vector<uint8_t> data;
        for (mlir::APInt v : attr.getValues<mlir::APInt>()) {
          data.emplace_back(static_cast<uint8_t>(*(v.getRawData())));
        }
        auto packed_buffer = tflite::PackInt4ValuesDensely(data);
        if (use_buffer_offset_) {
          buffer_data_map_[index] =
              std::string(packed_buffer.begin(), packed_buffer.end());
          return tflite::CreateBuffer(builder_, 0, 1, 1);
        } else {
    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