"vscode:/vscode.git/clone" did not exist on "c52a33a13165f7a63219b8575f2f0c74858a99b0"
Commit 8e0a7b60 authored by rusty1s's avatar rusty1s
Browse files

clean up [skip ci]

parent dc82ebfb
......@@ -40,10 +40,10 @@ All included operations are broadcastable, work on varying data types, are imple
### Binaries
#### PyTorch 1.5.0
We provide pip wheels for all major OS/PyTorch/CUDA combinations, see [here](https://pytorch-geometric.com/whl).
#### PyTorch 1.5.0
To install the binaries for PyTorch 1.5.0, simply run
```
......
......@@ -5,7 +5,6 @@ import os.path as osp
import torch
__version__ = '2.0.4'
expected_torch_version = (1, 4)
try:
for library in ['_version', '_scatter', '_segment_csr', '_segment_coo']:
......
......@@ -50,9 +50,11 @@ def scatter_mean(src: torch.Tensor, index: torch.Tensor, dim: int = -1,
count.clamp_(1)
count = broadcast(count, out, dim)
if torch.is_floating_point(out):
out.true_divide_(count)
out.div_(count)
# out.true_divide_(count)
else:
out.floor_divide_(count)
out.div_(count)
# out.floor_divide_(count)
return out
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment