Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for batch_dim_size (0.47 sec)

  1. tensorflow/compiler/mlir/quantization/common/lift_as_function_call.cc

      // All the lhs out dim and rhs out dim should be larger than the batch dims,
      // and they should not be mixed.
      int batch_dim_size = std::max(rhs_batch_dim_size, lhs_batch_dim_size);
      return lhs_out_idx_start >= batch_dim_size &&
             rhs_out_idx_start >= batch_dim_size;
    }
    
    absl::StatusOr<Method> GetQuantizationMethod(absl::Nonnull<Operation*> op) {
      const auto quantization_method_attr =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        // where the permutation is [0, 2, 3, 1, 4]
        int batch_idx = 0;
        int offset_idx = 0;
        int batch_dim_size = batch_dims.size();
        for (int i = 0; i < output_rank; ++i) {
          if (batch_idx >= batch_dims.size()) {
            transpose_params.permutation.push_back(batch_dim_size + offset_idx);
            ++offset_idx;
          } else if (offset_idx < original_offset_dims.size() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top