Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for add_shape (0.3 sec)

  1. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

          return failure();
        }
        // It is already a 1-D constant, no change.
        auto old_shape = shape.getShapedType().getShape();
        if (old_shape.size() == 1) {
          return failure();
        }
        // Verify all the leading dimensions are length one, except the last one.
        for (auto it = ++old_shape.rbegin(); it != old_shape.rend(); ++it) {
          if (*it != 1) {
            reshape->emitError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

        Type output_type = op.getResult().getType();
        const int64_t rank = operand_type.getRank();
    
        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();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
Back to top