3 ms·
I am learning now TensorFlow and I have no knowledge of the other possible frameworks. What surprise me the most is that, at least tf, is almost declarative as
by siscia 10y ago
I am learning now TensorFlow and I have no knowledge of the other possible frameworks.
What surprise me the most is that, at least tf, is almost declarative as framework.
I needed to add some random noise to a point in a multidimensional space so to generate other n points, close to first one.
In python I would loop through n, each time I would add some noise to the initial point and then I would push it into a list or whatever structure, a list compression.
In tf I am "stacking" n times the original point so to obtain n times that same point, then I am generating n random noise and finally I am adding the two.
The second solution more elegant in my opinion but require an important mental shift.
If the other frameworks are somehow similar at tf your biggest hurdle will be this kind of mental shift, just pick one.