辞梦

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

统计

06 2023 档案

TensorFlow
摘要:介绍 一个量, 在不同的参考系下按照某种特定的法则进行变换, 就是张量.** TensorFlow使用Tensor来表示数据 TensorFlow 在内部将张量表示为基本数据类型的n维数组 在TensorFlow所有的数据都是一个n维的数组,只是我们给它起了个名字叫做张量(Tensor) 阶(秩) 阅读全文

posted @ 2023-06-25 11:40 辞梦 阅读(15) 评论(0) 推荐(0) 编辑

python 日期和时间 函数
摘要:import time ticks = time.time() print("当前的时间戳是:" ) print(ticks) #获取当地时间 localtime = time.localtime(time.time()) print(localtime) #获取格式化的时间 lotime = ti 阅读全文

posted @ 2023-06-04 15:25 辞梦 阅读(63) 评论(0) 推荐(0) 编辑

python 列表,元组,字典
摘要:列表 list[] print("更新") list = [] list.append("aa") list.append('bb') print(list) print("删除") del list[1] print(list) print(len([1,2,3])) print([1,2,3]+ 阅读全文

posted @ 2023-06-04 15:09 辞梦 阅读(14) 评论(0) 推荐(0) 编辑

Python 的字符串内建函数
摘要:Python capitalize()方法 将字符串的第一个字母变成大写,其他字母变小写 print("第一个内建函数str.capitalize()") s1 = 'a,b' s2 = 'A,B' s3 = 'a,BCD' s4 = ' a,B' #因为a前面有个空格,所以不显示大写 print( 阅读全文

posted @ 2023-06-03 17:10 辞梦 阅读(235) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示