Skip to content

Commit

Permalink
[NFC] Add a 'TODO' annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
wujiawei.jw committed Aug 2, 2022
1 parent 3751125 commit cb8c417
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Conversion/TorchToMhlo/MhloLegalizeUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ Value getSplatConstTensor(ConversionPatternRewriter &rewriter, Operation *op,
return const_op.getResult();
}

// TODO: Support for variable scalar.
LogicalResult torchScalarToMhloTensor(ConversionPatternRewriter &rewriter,
Operation *op, Value torchScalarValue,
Value &mhloTensor, Type dtype,
Expand Down

0 comments on commit cb8c417

Please sign in to comment.