Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 38 of 38 for dimension_numbers (0.18 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize/quantize_same_scale.mlir

        %6 = "quantfork.dcast"(%5) : (tensor<3x4x2x!quant.uniform<i8:f32, 0.13170163023705575:-1>>) -> tensor<3x4x2xf32>
        %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>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 35.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

      }
    
      Value dot_result =
          builder
              .create<TF::XlaDotV2Op>(
                  loc, /*output=*/output.getType(),
                  /*lhs=*/input,
                  /*rhs=*/weight,
                  /*dimension_numbers=*/
                  builder.getStringAttr(dnums.SerializeAsString()),
                  /*precision_config=*/builder.getStringAttr(precision_config_str))
              .getResult();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/quantize_composite_functions.mlir

      func.func private @composite_gather_fn(%arg0: tensor<3x4x2xf32>, %arg1: tensor<2x3x2xi32>) -> tensor<2x3x2x2xf32> attributes {_from_xla_call_module} {
        %0 = "stablehlo.gather"(%arg0, %arg1) {
          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>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 91.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/compose_uniform_quantized_type_pass.cc

        // dimension, assuming the filter format is `[0, 1, i, o]`.
        // TODO: b/291029962 - Lift the assumption above and retrieve the
        // quantization dimension from the `dimension_numbers` attribute.
        UniformQuantizedPerAxisType filter_quantized_element_type =
            CreateI8F32UniformQuantizedPerAxisType(
                filter_op->getLoc(), *rewriter.getContext(), filter_scale_values,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/lift_quantizable_spots_as_functions.mlir

    func.func @gather_fn() -> tensor<2x3x2x2xi32> {
      %0 = stablehlo.constant dense<1> : tensor<3x4x2xi32>
      %1 = stablehlo.constant dense<1> : 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: Fri May 10 04:07:09 UTC 2024
    - 49.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

      kernel_spatial_dimensions.resize(num_spatial_dims);
      std::iota(kernel_spatial_dimensions.begin(), kernel_spatial_dimensions.end(),
                0);
    
      return builder->getNamedAttr(
          "dimension_numbers",
          ConvDimensionNumbersAttr::get(
              builder->getContext(), batch_dim, feature_dim, spatial_dims,
              kernel_input_feature_dim, kernel_output_feature_dim,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      %strides = "tf.Const"() {value = dense<[3, 1, 1]> : tensor<3xi32>} : () -> tensor<3xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

        DefaultValuedOptionalAttr<I64Attr, "1">:$batch_group_count,
        DefaultValuedOptionalAttr<I64Attr, "1">:$feature_group_count,
        DefaultValuedOptionalAttr<StrAttr, "\"\"">:$dimension_numbers,
        DefaultValuedOptionalAttr<I64Attr, "-1">:$lhs_quantization_axis,
        I64Attr:$lhs_quantization_min_val,
        I64Attr:$lhs_quantization_max_val,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top