Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for FindBestRematPoint (0.31 sec)

  1. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.cc

        }
        std::sort(pre_screen.begin(), pre_screen.end());
    
        for (; !pre_screen.empty(); pre_screen.pop_back()) {
          const auto& [max_savings, begin, end] = pre_screen.back();
          const auto insert_before = FindBestRematPoint(begin, end, peak.op_index);
          if (insert_before == operations_.size()) {
            continue;
          }
          const RematSpec this_remat = {begin, end, insert_before};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h

      // If I want to remat ops [begin, end) after the op at operation `peak_loc`,
      // find the latest point at which to reinsert them (the op before which to
      // insert.)
      int FindBestRematPoint(int begin, int end, int peak_loc) const;
    
      // The memory objects.
      struct Tensor {
        SizeT size;                   // The size of the object (in bytes.)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 14 20:57:44 UTC 2023
    - 12K bytes
    - Viewed (0)
Back to top