Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 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/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)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/stablehlo/ops/stablehlo_op_quant_spec_test.cc

            %1 = stablehlo.constant dense<2> : tensor<2x3x2xi64>
            %2 = "stablehlo.gather"(%0, %1) {
              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
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. 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 (1)
  6. tensorflow/compiler/mlir/lite/schema/schema.fbs

      DilateOptions,
      StablehloRngBitGeneratorOptions,
      ReduceWindowOptions (deprecated),
      StableHLOCompositeOptions,
    }
    
    table StablehloGatherOptions{
      offset_dims : [long];
      collapsed_slice_dims : [long];
      start_index_map : [long];
      index_vector_dim : long;
      slice_sizes : [long];
      indices_are_sorted : bool;
    }
    
    table StablehloTransposeOptions{
      permutation : [long];
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. 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)
Back to top