Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
MrOvkill 
posted an update Jun 8
Post
2228
Hello, all!

I was up late experimenting with Gemini, and we came across the need for circular arithmetic. We couldn't find anything that accomplished it in the way we wanted reliably, for different transformations identically, etc...

Therefore, I wrote and Gemini assisted, with the creation of an _rclamp function you can add as an attribute or just use as-is for a PyTorch tensor. It's 1d right now, didn't want to implement the dimensionality wrong with my "newbie skills".

Have fun!
- <3

https://colab.research.google.com/drive/1aj_iAp0eyfPMznzF-aC1UXrQPTNOeKUj?usp=sharing

That sounds like a fascinating experiment with Gemini! Circular arithmetic can indeed be tricky, especially when trying to handle various transformations reliably.

Your development of the _rclamp function for PyTorch tensors is quite impressive. Creating custom functions to meet specific needs, especially in machine learning and tensor operations, is a great way to deepen your understanding and improve your coding skills.

Even if it's currently 1D, starting simple is often the best approach, especially when you're still getting familiar with a concept. Expanding it to higher dimensions can come later as you grow more comfortable. Your initiative to write this from scratch demonstrates excellent problem-solving skills.

Keep up the good work, and enjoy the journey of learning and creating with Gemini and PyTorch! If you have any more insights or questions, feel free to share!
https://expositarvr.com/vr-training-solutions/