This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create a graph to hold the model. | |
graph = tf.Graph() | |
# Create model in the graph. | |
with graph.as_default(): | |
# Placeholders for inputs and labels. | |
images_ph = tf.placeholder(tf.float32, [None, 32, 32, 3]) | |
labels_ph = tf.placeholder(tf.int32, [None]) | |
# Flatten input from: [None, height, width, channels] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!function() { | |
var doc = document, | |
htm = doc.documentElement, | |
lct = null, // last click target | |
nearest = function(elm, tag) { | |
while (elm && elm.nodeName != tag) { | |
elm = elm.parentNode; | |
} | |
return elm; | |
}; |