Skip to content

Commit b734a75

Browse files
committed
remove comment
1 parent c175cbd commit b734a75

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

torch_xla/csrc/ops/ops_lower_fn.cpp

-9
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,6 @@ torch_xla::XlaOpVector AdaptiveAvgPool3dBackward::Lower(
5555
}
5656

5757
torch_xla::XlaOpVector Addcdiv::Lower(LoweringContext* loctx) const {
58-
// xla::XlaOp xla_input = loctx->GetOutputOp(operand(0));
59-
// torch::lazy::Value constant = GetIrValueForScalar(
60-
// value, tensor1->shape().get().element_type(), input->GetDevice());
61-
// torch::lazy::Value div = tensor1->GetIrValue() / tensor2->GetIrValue();
62-
// return input->CreateFrom(input->GetIrValue() + div * constant);
6358
xla::XlaOp xla_input = loctx->GetOutputOp(operand(0));
6459
xla::XlaOp xla_t1 = loctx->GetOutputOp(operand(1));
6560
xla::XlaOp xla_t2 = loctx->GetOutputOp(operand(2));
@@ -68,10 +63,6 @@ torch_xla::XlaOpVector Addcdiv::Lower(LoweringContext* loctx) const {
6863
}
6964

7065
torch_xla::XlaOpVector Addcmul::Lower(LoweringContext* loctx) const {
71-
// torch::lazy::Value constant = GetIrValueForScalar(
72-
// value, tensor1->shape().get().element_type(), input->GetDevice());
73-
// torch::lazy::Value mul = tensor1->GetIrValue() * tensor2->GetIrValue();
74-
// return input->CreateFrom(input->GetIrValue() + mul * constant);
7566
xla::XlaOp xla_input = loctx->GetOutputOp(operand(0));
7667
xla::XlaOp xla_t1 = loctx->GetOutputOp(operand(1));
7768
xla::XlaOp xla_t2 = loctx->GetOutputOp(operand(2));

0 commit comments

Comments
 (0)