摘要:
print在python2中是关键字,在Python3中是函数 dict在python2中有has_key()方法,在python3中没有这个方法,用key in dict_name判断键是否在字典中 阅读全文
posted @ 2018-04-02 20:00
Apollo_zhanghongbo
阅读(154)
评论(0)
推荐(0)
摘要:
https://www.jianshu.com/p/db8ca931026a import tensorflow as tf import numpy as np def get_weights(shape, lambd): var = tf.Variable(tf.random_normal(sh 阅读全文
posted @ 2018-04-02 16:07
Apollo_zhanghongbo
阅读(479)
评论(0)
推荐(0)

浙公网安备 33010602011771号