Step 5 – Preparing the TensorFlow graph