Tensorflow: building and training a model with basic operations

Tudor Surdoiu
2 min readNov 14, 2021
Photo by Museums Victoria on Unsplash

In this article I am going to show you how to build a deep learning model in Tensorflow from basic tensor variables and operations, after that we are going to create a training loop with a custom data iterator, gradient calculation and optimization, all of that in just four steps.

Step 1: Prepare the data

--

--

Tudor Surdoiu

Bio digital jazz writer, sometimes knocking on the sky and listening to the sound.