- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for collapsed_slice_dims (0.43 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
return failure(); } // Verify that start_index_map and collapsed_slice_dims contains the same // values. auto start_index_map = gather_op.getDimensionNumbers().getStartIndexMap(); auto collapsed_slice_dims = gather_op.getDimensionNumbers().getCollapsedSliceDims(); if (start_index_map.size() != collapsed_slice_dims.size()) { return rewriter.notifyMatchFailure( gather_op,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
) -> tensor<2x3x2x2x!quant.uniform<i8:f32, 3.000000e-01:-5>> { %0 = "stablehlo.gather"(%arg0, %arg1) { dimension_numbers = #stablehlo.gather< offset_dims = [2, 3], collapsed_slice_dims = [0, 1], start_index_map = [0, 1], index_vector_dim = 2>, slice_sizes = array<i64: 1, 1, 2, 2>, indices_are_sorted = false } : (
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
ArrayRef<int64_t> slice_sizes = op.getSliceSizes(); ArrayRef<int64_t> collapsed_slice_dims = dim_numbers.getCollapsedSliceDims(); SmallVector<int64_t> slice_shape; for (int64_t i = 0; i < slice_sizes.size(); ++i) { // `collapsed_slice_dims` are excluded for slice shape. if (!llvm::is_contained(collapsed_slice_dims, i)) { slice_shape.push_back(slice_sizes[i]); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
auto collapsed_slice_dims = builder_.CreateVector(collapsed_slice_dims_vec); auto start_index_map = builder_.CreateVector(start_index_map_vec); auto slice_sizes = builder_.CreateVector( mlir::GetOptionalVector<int64_t>(gather_op.getSliceSizes())); auto gather_option = tflite::CreateStablehloGatherOptions( builder_, offset_dims, collapsed_slice_dims, start_index_map,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)