File tree 1 file changed +0
-9
lines changed
1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -55,11 +55,6 @@ torch_xla::XlaOpVector AdaptiveAvgPool3dBackward::Lower(
55
55
}
56
56
57
57
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);
63
58
xla::XlaOp xla_input = loctx->GetOutputOp (operand (0 ));
64
59
xla::XlaOp xla_t1 = loctx->GetOutputOp (operand (1 ));
65
60
xla::XlaOp xla_t2 = loctx->GetOutputOp (operand (2 ));
@@ -68,10 +63,6 @@ torch_xla::XlaOpVector Addcdiv::Lower(LoweringContext* loctx) const {
68
63
}
69
64
70
65
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);
75
66
xla::XlaOp xla_input = loctx->GetOutputOp (operand (0 ));
76
67
xla::XlaOp xla_t1 = loctx->GetOutputOp (operand (1 ));
77
68
xla::XlaOp xla_t2 = loctx->GetOutputOp (operand (2 ));
You can’t perform that action at this time.
0 commit comments