tensorflow 动态获取 BatchSzie 的大小实例
我就废话不多说了,大家还是直接看代码吧~ import tensorflow as tf import sys with tf.variable_scope('ha'): a1 = tf.get_variable('a', shape=[], dtype=tf.int32) with tf.variable_scope('haha'): a2 = tf.get_variable('a', shape=[], dtype=tf.int32) with tf.variable_scope('hahaha'): a3 = tf.get_variable('a',
下载地址
用户评论