Hi all,
I have a conceptual question (which I can back up with code if necessary). Let’s say I’m dealing with vector data where part of each vector is a cartesian coordinate (x,y), and I want to write a transform that maps each cartesian coordinate in each vector to its corresponding polar coordinate.
As far as I understand, the common practice is for transforms to operate on samples one-by-one.
Can I write this transform in a vectorized way, i.e. in a way that it transforms a batch of vectors at a time?
Thank you!