Skip to content

Commit

Permalink
[NFC] merge update from main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
wujiawei.jw committed Aug 2, 2022
1 parent cb8c417 commit 24264e9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/Conversion/TorchToMhlo/MhloLegalizeUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,6 @@ Value promoteAndBroadcast(ConversionPatternRewriter &rewriter, Value input,
return bcast_op.getResult();
}

<<<<<<< HEAD
SmallVector<size_t> toPositiveDims(ArrayRef<int64_t> dims, int64_t rank) {
SmallVector<size_t> posDims;
posDims.reserve(rank);
Expand Down Expand Up @@ -429,7 +428,6 @@ FailureOr<Value> unsqueezeTensor(PatternRewriter &rewriter, Operation *op,
.getResult();
}

=======
Value getConstantOfShape(PatternRewriter &rewriter, Location loc,
const APFloat &constant, Value shape,
TensorType outType) {
Expand All @@ -440,6 +438,5 @@ Value getConstantOfShape(PatternRewriter &rewriter, Location loc,
rewriter.getI64TensorAttr({}))
.getResult();
}
>>>>>>> [MHLO] Support for dynamic shape in basic op conversion by introducing CHLO dialect
} // namespace mhlo
} // namespace mlir

0 comments on commit 24264e9

Please sign in to comment.