freqs = tf.reshape(
        tf.cast(params["freqs"].get_value(), dtype=tf.float64),
        [params["freqs"].get_value().shape[0], 1],