pyg-team / pytorch_geometric

Graph Neural Network Library for PyTorch
https://pyg.org
MIT License
21.33k stars 3.66k forks source link

Docs: segment_csr #2516

Closed yinyee closed 3 years ago

yinyee commented 3 years ago

Screenshot 2021-05-01 at 15 18 53

I was wondering if the size of the reduced dimension in out should be y instead of y-1 ?

yinyee commented 3 years ago

My mistake.

y-1 is correct, because given a series of y values, we are able to define y-1 buckets or ranges.

It helps me to draw an analogy with histograms.