Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#Calculate learning rate and radius
decay_function = tf.subtract(1.0, tf.div(self._iter_input, self._num_iter))
_current_learning_rate = tf.multiply(self._learning_rate, decay_function)
_current_radius = tf.multiply(self._radius, decay_function)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment