Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created August 26, 2018 17:40
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/bde9d216b34e36a9aff071318178ae34 to your computer and use it in GitHub Desktop.
Save NMZivkovic/bde9d216b34e36a9aff071318178ae34 to your computer and use it in GitHub Desktop.
#Initializing variables and placeholders
self._weights = tf.Variable(tf.random_normal([x*y, input_dim]))
self._locations = self._generate_index_matrix(x, y)
self._input = tf.placeholder("float", [input_dim])
self._iter_input = tf.placeholder("float")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment