File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
core/conversion/converters/impl Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,6 @@ auto element_wise_registrations TRTORCH_UNUSED =
218
218
}})
219
219
.pattern({" aten::div.Scalar(Tensor self, Scalar other) -> (Tensor)" ,
220
220
[](ConversionCtx* ctx, const torch::jit::Node* n, args& args) -> bool {
221
- // TODO: Remove with functionalization
222
221
auto self = args[0 ].ITensorOrFreeze (ctx);
223
222
auto otherScalar = args[1 ].unwrapToScalar ().to <float >();
224
223
auto other = tensor_to_const (ctx, torch::tensor ({otherScalar}));
@@ -249,7 +248,6 @@ auto element_wise_registrations TRTORCH_UNUSED =
249
248
}})
250
249
.pattern({" aten::div_.Scalar(Tensor self, Scalar other) -> (Tensor)" ,
251
250
[](ConversionCtx* ctx, const torch::jit::Node* n, args& args) -> bool {
252
- // TODO: Remove with functionalization
253
251
auto self = args[0 ].ITensorOrFreeze (ctx);
254
252
auto otherScalar = args[1 ].unwrapToScalar ().to <float >();
255
253
auto other = tensor_to_const (ctx, torch::tensor ({otherScalar}));
You can’t perform that action at this time.
0 commit comments