To check current version of TensorFlow…
use the below commands
import tensorflow as tf
tf.__version__

Cheers!!
Logistic Regression Machine Learning Algorithm from Scratch in Python
Gradient Descent Machine Learning Algorithm from Scratch in Python