上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 344 下一页
摘要: https://github.com/dennybritz 高中辍学的denny大牛啊,还是读英文吧 http://blog.topspeedsnail.com/page/2 斗大的熊猫 大牛 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(22) 评论(0) 推荐(0)
摘要: np.random.rand (,) np.random.rand 表示随机数为0-1之间 np.random.rand(100) #1*100的矩阵 # 生成100个0-1之间的随机数 其每个元素为0-1的随机数 #np.random.ran... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(66) 评论(0) 推荐(0)
摘要: #程序 不是我写的,注释是我做的,转载请注明“lg土木设计”#最小二乘法拟合,用y=ax+b a=weight b=biasesfrom __future__ import print_functionimport tensorflow as tfimpor... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(48) 评论(0) 推荐(0)
摘要: #程序 不是我写的,注释是我做的,转载请注明“lg土木设计”#最小二乘法拟合,用y=ax+b a=weight b=biasesfrom __future__ import print_functionimport tensorflow as tfimpor... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(39) 评论(0) 推荐(0)
摘要: 转置有两种用法 transepose 和x.T x = np.arange(9).reshape((3,3)) x Out[314]: array([[0, 1, 2], [3, 4, 5], [6, 7, 8]])... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(49) 评论(0) 推荐(0)
摘要: 转置有两种用法 transepose 和x.T x = np.arange(9).reshape((3,3)) x Out[314]: array([[0, 1, 2], [3, 4, 5], [6, 7, 8]])... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(42) 评论(0) 推荐(0)
摘要: b=list(range(5)) b [0, 1, 2, 3, 4] #列表 区别 a=np.arange(5) a array([0, 1, 2, 3, 4])# 矩阵 生成一个1*24的矩阵,在将她变成2*3*4的数体 c=np.arange(24... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(41) 评论(0) 推荐(0)
摘要: b=list(range(5)) b [0, 1, 2, 3, 4] #列表 区别 a=np.arange(5) a array([0, 1, 2, 3, 4])# 矩阵 生成一个1*24的矩阵,在将她变成2*3*4的数体 c=np.arange(24... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(35) 评论(0) 推荐(0)
摘要: import tensorflow as tf#发起会话sess = tf.Session()#两行都可以执行 具体意思见下方注释A = tf.Variable(tf.truncated_normal([2,3],0,1,dtype=tf.float32,se... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(64) 评论(0) 推荐(0)
摘要: 一、strip函数原型 声明:s为字符串,rm为要删除的字符序列 s.strip(rm) 删除s字符串中开头、结尾处,位于rm删除序列的字符 s.lstrip(rm) 删除s字符串中开头处,位于 rm删除序列的字符 s.rs... 阅读全文
posted @ 2022-08-19 23:00 luoganttcc 阅读(108) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 344 下一页