TensorFlow has an image ssim, but nothing for 1D (Structural Similarity Index Measure - SSIM).
After looking into the git hub for the tf.image.ssim, it d
tf.image.ssim