- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for collapsed_slice_dims (0.21 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/tests/convert_tf_xla_op_to_tf_op.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 32.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc
builder.getI64Type()), start_indices)); absl::flat_hash_set<int64_t> collapsed_dims; collapsed_dims.insert(dimension_numbers.collapsed_slice_dims().begin(), dimension_numbers.collapsed_slice_dims().end()); // Slice operand by constructed start_indices and slice_sizes. auto slice_op = builder.create<TF::SliceOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 13.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.cc
op->slice_sizes, builder))); attributes.emplace_back(builder.getNamedAttr( "collapsed_slice_dims", BuildVhloTensorV1Attr( {static_cast<int64_t>(op->collapsed_slice_dims.size())}, op->collapsed_slice_dims, builder))); attributes.emplace_back(builder.getNamedAttr( "start_index_map", BuildVhloTensorV1Attr(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 38K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 04 07:19:09 UTC 2024 - 14.8K bytes - Viewed (0) -
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/tests/flatbuffer2mlir/vhlo.mlir
func.func @gather(%operand: tensor<3x4x2xi32>, %start_indices: tensor<2x3x2xi64>) -> tensor<2x3x2x2xi32>{ %result = "vhlo.gather_v1"(%operand, %start_indices) <{ offset_dims = #vhlo.tensor_v1<dense<[2, 3]> : tensor<2xi64>>, collapsed_slice_dims = #vhlo.tensor_v1<dense<0> : tensor<1xi64>>, start_index_map = #vhlo.tensor_v1<dense<[1, 0]> : tensor<2xi64>>, index_vector_dim = #vhlo.integer_v1<2 : i64>,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 31.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/stablehlo/tests/legalize_hlo.mlir
// CHECK: } func.func @convert_gather(%arg0: tensor<147456xf16>, %arg1: tensor<192x256x1xi32>) -> tensor<192x256xf16> { %0 = "mhlo.gather"(%arg0, %arg1) { dimension_numbers = #mhlo.gather< collapsed_slice_dims = [0], index_vector_dim = 2, start_index_map = [0], >, indices_are_sorted = false, slice_sizes = dense<1> : tensor<1xi64>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 29 07:26:59 UTC 2024 - 340.2K bytes - Viewed (0)