[MLIR][Tensor] Remove assert in PadOp builder
The assert is misplaced as the result type is allowed to be null. A few lines below the result type is inferred if it is passed a nullptr. Besides, this behavior is described in the documentation of the builder. Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D136262
parent
d146a524
Please register or sign in to comment