- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for current_index_ptr (0.14 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc
for (int i = shape.size() - 1; i >= 0; --i) { 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> ¤t_index) { for (int i = result_shape.size() - 1; i >= 0; --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) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
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) { current_index[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)