Skip to content

Commit

Permalink
refine type of torch.roll
Browse files Browse the repository at this point in the history
  • Loading branch information
Tanyo Kwok committed Aug 9, 2022
1 parent 8e9a7ec commit 6a27099
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Dialect/Torch/Transforms/RefineTypes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ void TypeAnalysis::visitOperation(Operation *op,
AtenZero_Op, AtenIndexTensorOp, ValsemVariantAtenIndexPutImplOp,
AtenIndexPutOp, ValsemVariantAtenCopyOp, AtenZeroOp,
AtenIndexPutHackedTwinOp, AtenMaskedFillScalarOp, AtenFlipOp,
PrimAbsScalarOp, AtenNumpyTOp, AtenTriuOp>(op)) {
PrimAbsScalarOp, AtenNumpyTOp, AtenTriuOp, AtenRollOp>(op)) {
return incorporateKnowledge(op->getResult(0), operands[0]->getValue());
}

Expand Down

0 comments on commit 6a27099

Please sign in to comment.