tensorflow入門學習(3)——tensorflow共享變量

當建立複雜的模塊時,一般你須要共享大量變量集而且若是你還想在同一個地方初始化這全部的變量, 能夠經過共享變量實現。python 先看一個圖片過濾器的情景:web def my_image_filter(input_images): conv1_weights = tf.Variable(tf.random_normal([5, 5, 32, 32]), name="conv
相關文章
相關標籤/搜索