Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for collapsed_slice_dims (0.39 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/composite-lowering.mlir

      %16 = "mhlo.gather"(%15, %14) <{dimension_numbers = #mhlo.gather<offset_dims = [0, 1, 2], collapsed_slice_dims = [3], start_index_map = [3], index_vector_dim = 1>, slice_sizes = dense<[4, 8, 64, 1]> : tensor<4xi64>}>...
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 32.6K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_same_scale.mlir

        %7 = "stablehlo.gather"(%6, %arg2) {
        dimension_numbers = #stablehlo.gather<
          offset_dims = [2, 3],
          collapsed_slice_dims = [0],
          start_index_map = [1, 0],
          index_vector_dim = 2>,
        slice_sizes = array<i64: 1, 2, 2>,
        indices_are_sorted = false
      } : (tensor<3x4x2xf32>, tensor<2x3x2xi64>) -> tensor<2x3x2x2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

        }
        slice_sizes_value =
            rewriter.create<tensor::FromElementsOp>(loc, slice_sizes_vals);
    
        // collapsed_slice_dims
        SmallVector<int64_t, 4> collapsed_slice_dims;
        collapsed_slice_dims.reserve(num_index_dims);
        for (int64_t i = 0; i < num_index_dims; ++i) {
          collapsed_slice_dims.push_back(i);
        }
        // offset_dims
        SmallVector<int64_t, 4> offset_dims;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/schema/schema_generated.h

      { auto _e = collapsed_slice_dims(); if (_e) { _o->collapsed_slice_dims.resize(_e->size()); for (::flatbuffers::uoffset_t _i = 0; _i < _e->size(); _i++) { _o->collapsed_slice_dims[_i] = _e->Get(_i); } } else { _o->collapsed_slice_dims.resize(0); } }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
Back to top