摘要:
转置有两种用法 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
阅读(22)
评论(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
阅读(23)
评论(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
阅读(20)
评论(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
阅读(44)
评论(0)
推荐(0)
摘要:
一、strip函数原型 声明:s为字符串,rm为要删除的字符序列 s.strip(rm) 删除s字符串中开头、结尾处,位于rm删除序列的字符 s.lstrip(rm) 删除s字符串中开头处,位于 rm删除序列的字符 s.rs... 阅读全文
posted @ 2022-08-19 23:00
luoganttcc
阅读(63)
评论(0)
推荐(0)
摘要:
http://www.lfd.uci.edu/~gohlke/pythonlibs/ 阅读全文
posted @ 2022-08-19 23:00
luoganttcc
阅读(13)
评论(0)
推荐(0)
摘要:
http://www.lfd.uci.edu/~gohlke/pythonlibs/ 阅读全文
posted @ 2022-08-19 23:00
luoganttcc
阅读(15)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/rgvb178/p/6055213.html 阅读全文
posted @ 2022-08-19 23:00
luoganttcc
阅读(12)
评论(0)
推荐(0)
摘要:
http://www.cnblogs.com/rgvb178/p/6055213.html 阅读全文
posted @ 2022-08-19 23:00
luoganttcc
阅读(8)
评论(0)
推荐(0)
摘要:
Python中的random模块用于随机数生成,对几个random模块中的函数进行简单介绍。如下: random.random() 用于生成一个0到1的随机浮点数。如: import randomrandom.random() 输出: 0.37... 阅读全文
posted @ 2022-08-19 23:00
luoganttcc
阅读(42)
评论(0)
推荐(0)

浙公网安备 33010602011771号