2 ms·
Unfortunately np.vectorize doesn’t do anything smart. From the docs: The vectorize function is provided primarily for convenience, not for performance. The im
by rand_r 6y ago
Unfortunately np.vectorize doesn’t do anything smart.
From the docs:
The vectorize function is provided primarily for convenience, not for performance. The implementation is essentially a for loop.
- PartiallyTyped 6y agoAh right, yes I remember. Perhaps .vmap from pytorch?