https://medium.com/@monocosmo77/working-with-implicit-neural-representation-part3-machine-learning-1d24d9434a67