Created
November 9, 2018 08:22
-
-
Save YusukeSuzuki/6db4041a70742a2f089590142c2a8320 to your computer and use it in GitHub Desktop.
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
| import tensorflow as tf | |
| import numpy as np | |
| from keras.layers import Conv2D | |
| img = tf.constant(np.ones([16,128,128,3]), dtype=tf.float32) | |
| conv = Conv2D(32, 3) | |
| y = conv(img) | |
| graph = tf.get_default_graph() | |
| print(graph.as_graph_def()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment