What this does
This plug reads the raw weights held in the socket's weights map across a set of slots, sums them, and overwrites each slot with its share of that total as a percentage rounded down. It asks the caller for count, the number of weight slots to iterate over in both passes. It fires whenever a caller runs it with that count supplied at execution time. Computing these percent shares by hand or against a stale sum would write incorrect proportions back into storage.
Actions · 17

















Related plugs · 8