Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IncrementIndex (0.11 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

        ind += (current_index[i] % shape[i]) * mul;
        mul *= shape[i];
      }
      return ind;
    }
    
    // Helper method that increment index represented in 'current_index_ptr'
    // in the shape of 'result_shape'.
    void IncrementIndex(ArrayRef<int64_t> result_shape,
                        llvm::SmallVectorImpl<int64_t> &current_index) {
      for (int i = result_shape.size() - 1; i >= 0; --i) {
        current_index[i]++;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        ind += (current_index[i] % shape[i]) * mul;
        mul *= shape[i];
      }
      return ind;
    }
    
    // Helper method that increment index represented in 'current_index_ptr'
    // in the shape of 'result_shape'.
    void IncrementIndex(ArrayRef<int64_t> result_shape,
                        std::vector<int64_t>* current_index_ptr) {
      std::vector<int64_t>& current_index = *current_index_ptr;
      for (int i = result_shape.size() - 1; i >= 0; --i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top