-
❓ Questions and Help#503 said
But #565 shows manual vectorization makes the optimization faster. This makes me confused. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The sentence is #503 is indeed misleading. There is some overhead associated with cost function vectorization, because the populating the data is done with for loops in Python. So if you have a really high number of costs being vectorized together, you may pay a significant cost. |
Beta Was this translation helpful? Give feedback.
The sentence is #503 is indeed misleading. There is some overhead associated with cost function vectorization, because the populating the data is done with for loops in Python. So if you have a really high number of costs being vectorized together, you may pay a significant cost.