Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for new_filter_values (0.23 sec)

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

      // Construct the value array of transposed filter. Assumes 2D matrix.
      SmallVector<int8_t> new_filter_values(filter_values.size(), /*Value=*/0);
      for (int i = 0; i < filter_shape[0]; ++i) {
        for (int j = 0; j < filter_shape[1]; ++j) {
          const int old_idx = i * filter_shape[1] + j;
          const int new_idx = j * filter_shape[0] + i;
          new_filter_values[new_idx] = filter_values[old_idx];
        }
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
Back to top