Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created October 19, 2018 17:51
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/991f49e426503a5954c52cee5ad5268d to your computer and use it in GitHub Desktop.
Save NMZivkovic/991f49e426503a5954c52cee5ad5268d to your computer and use it in GitHub Desktop.
def train(self, input_vects):
for iter_no in range(self._num_iter):
for input_vect in input_vects:
self._sess.run(self._training,
feed_dict={self._input_sample: input_vect})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment