Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created August 27, 2018 19:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NMZivkovic/1cf8305c78ca93fd0c3236abb9e3139b to your computer and use it in GitHub Desktop.
Save NMZivkovic/1cf8305c78ca93fd0c3236abb9e3139b to your computer and use it in GitHub Desktop.
#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