Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getStartIndices (0.17 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        start_indices_vector.reserve(op.getStartIndices().size());
        Value clamp_min = rewriter.create<TF::ConstOp>(
            op.getLoc(),
            rewriter.getIntegerAttr(signed_start_indices_element_type, 0));
        for (uint64_t i = 0, e = op.getStartIndices().size(); i < e; ++i) {
          // Always put a cast there.
          auto start = op.getStartIndices()[i];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        ArrayRef<int64_t> idx_shape(rank);
        TensorType idx_type =
            operand_type.cloneWith(idx_shape, rewriter.getI32Type());
    
        ArrayRef<int64_t> start_idx_i64 = op.getStartIndices();
        ArrayRef<int64_t> limit_idx_i64 = op.getLimitIndices();
    
        SmallVector<int32_t> start_idx_i32 =
            CastI64ArrayToI32(start_idx_i64).value();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      if (input_shape == xla::Shape() || input_shape.is_unbounded_dynamic())
        return false;
    
      xla::Shape start_indices_shape =
          xla::TypeToShape(op.getStartIndices().getType());
      if (start_indices_shape == xla::Shape()) return false;
    
      xla::GatherDimensionNumbers gather_dim_numbers;
      if (!gather_dim_numbers.ParseFromString(op.getDimensionNumbers().str()))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      // Check if update replaces the whole tensor, meaning operand and update has
      // the same shape and all start indices are zero.
      DenseIntElementsAttr indices_attr;
      if (matchPattern(getStartIndices(), m_Constant(&indices_attr)) &&
          indices_attr.isSplat() && indices_attr.getSplatValue<int>() == 0 &&
          getOperand().getType().hasStaticShape() &&
          getUpdate().getType().hasStaticShape() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top