scripts/particles_train.py
def distance_metric(x):
    """ Outputs 2.5 for closed and 5 for open dimer
    """
    d = model.dimer_distance_tf(x)
    dscaled = 3.0 * (d - 1.5)
    return 2.5 * (1.0 + tf.sigmoid(dscaled))
 Outputs 2.5 for closed and 5 for open dimer
    
Outputs 2.5 for closed and 5 for open dimer
Outputs 2 . 5 for closed and 5 for open dimer
def distance_metric(x):
    d = model.dimer_distance_tf(x)
    dscaled = 3.0 * (d - 1.5)
    return 2.5 * (1.0 + tf.sigmoid(dscaled))
def distance_metric ( x ) : d = model . dimer_distance_tf ( x ) dscaled = 3.0 * ( d - 1.5 ) return 2.5 * ( 1.0 + tf . sigmoid ( dscaled ) )
Outputs 2.5 for closed and 5 for open dimer
Outputs 2 . 5 for closed and 5 for open dimer
""" Outputs 2.5 for closed and 5 for open dimer
    """
x