kernel = tf.get_default_graph().get_tensor_by_name( os.path.split(b.name)[0] + '/kernel:0')
bias = tf.get_default_graph().get_tensor_by_name( os.path.split(b.name)[0] + '/bias:0')
kernel = tf.get_default_graph().get_tensor_by_name( os.path.split(b.name)[0] + '/kernel:0')
bias = tf.get_default_graph().get_tensor_by_name( os.path.split(b.name)[0] + '/bias:0')
本文标题:如何获取tf.layers.dense中的kernel和bias
本文链接:https://www.haomeiwen.com/subject/dtdqnqtx.html
网友评论