Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for MiniDynamicBuffer (0.18 sec)

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

      // TensorFlow and TensorFlow Lite use different string encoding formats.
      // Convert to TensorFlow Lite format is it's a constant string tensor.
      if (tensor.dtype() == tensorflow::DT_STRING) {
        ::mlir::TFL::MiniDynamicBuffer dynamic_buffer;
        auto flat = tensor.flat<::tensorflow::tstring>();
        for (int i = 0; i < flat.size(); ++i) {
          const auto& str = flat(i);
          if (!dynamic_buffer.AddString(str.c_str(), str.length()).ok()) {
    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