Last active
March 9, 2018 19:05
-
-
Save ispamm/71ffc62d142990c6faf1ac079b3b5ff9 to your computer and use it in GitHub Desktop.
This file contains 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
# Initialize the network | |
net = SingleHiddenLayerNetwork() | |
# Get all variables | |
len(net.variables) # Print: 0 | |
# Make some prediction | |
net(tf.constant(2.0, shape=(1,1))) | |
# Get all variables (again) | |
len(net.variables) # Print: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment