Skip to content

Commit e6205a5

Browse files
committed
update the comment
Signed-off-by: inocsin <[email protected]>
1 parent b9ddc86 commit e6205a5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

core/conversion/converters/impl/element_wise.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,6 @@ auto element_wise_registrations TRTORCH_UNUSED =
218218
}})
219219
.pattern({"aten::div.Scalar(Tensor self, Scalar other) -> (Tensor)",
220220
[](ConversionCtx* ctx, const torch::jit::Node* n, args& args) -> bool {
221-
// TODO: Remove with functionalization
222221
auto self = args[0].ITensorOrFreeze(ctx);
223222
auto otherScalar = args[1].unwrapToScalar().to<float>();
224223
auto other = tensor_to_const(ctx, torch::tensor({otherScalar}));
@@ -249,7 +248,6 @@ auto element_wise_registrations TRTORCH_UNUSED =
249248
}})
250249
.pattern({"aten::div_.Scalar(Tensor self, Scalar other) -> (Tensor)",
251250
[](ConversionCtx* ctx, const torch::jit::Node* n, args& args) -> bool {
252-
// TODO: Remove with functionalization
253251
auto self = args[0].ITensorOrFreeze(ctx);
254252
auto otherScalar = args[1].unwrapToScalar().to<float>();
255253
auto other = tensor_to_const(ctx, torch::tensor({otherScalar}));

0 commit comments

Comments
 (0)