See title. This is unnecessary. If we move these two constants out as static variables (because they really are constant), then we can just retrieve them when necessary. Furthermore, this allows us to calculate weights factors ahead of time, which can then just be sliced rather than recalculated.
See title. This is unnecessary. If we move these two constants out as static variables (because they really are constant), then we can just retrieve them when necessary. Furthermore, this allows us to calculate weights factors ahead of time, which can then just be sliced rather than recalculated.