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