import tensorflow as tf


    elif actL == 'esp' or actL == 'relu': #r2 score

         norm= tf.reduce_mean( tf.squared_difference(Y,tf.reduce_mean(Y)) )
         accuracy = 1 - tf.divide( tf.reduce_mean(tf.squared_difference(an, Y)), norm)

