Skip to content

Commit 1545db5

Browse files
committed
prints
1 parent 7febeb3 commit 1545db5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

test/test_forward.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,8 @@ def test_forward(test, dtype, device):
118118
src = tensor(test['src'], dtype, device)
119119
index = tensor(test['index'], torch.long, device)
120120
expected = tensor(test['expected'], dtype, device)
121+
print(src)
122+
print(index)
121123

122124
op = getattr(torch_scatter, 'scatter_{}'.format(test['name']))
123125
out = op(src, index, test['dim'], fill_value=test['fill_value'])

torch_scatter/mul.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
class ScatterMul(Function):
88
@staticmethod
99
def forward(ctx, out, src, index, dim):
10+
print("DRIN")
1011
func = get_func('scatter_mul', src)
1112
func(src, index, out, dim)
1213

0 commit comments

Comments
 (0)