Sorted segment sum
Sorted segment sum: a task in life-science-SWE1.0 (Harbor dataset). Adding sorted segment sum function in pytorch utils.py. This torch function is analogous to tf.segment sum (https://www.tensorflow.org/api docs/python/tf/math/segment sum).
The task
Adding sorted_segment_sum function in pytorch_utils.py. This torch function is analogous to tf.segment_sum (https://www.tensorflow.org/api_docs/python/tf/math/segment_sum).
Part of scalingX/life-science-SWE1.0.