<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[*]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/m0_37908533</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; m0_37908533]]></copyright><item><title><![CDATA[pytorch中children()，modules()，named_children()，named_modules()，named_parameters()，parameters()的区别]]></title><link>https://blog.youkuaiyun.com/m0_37908533/article/details/115270360</link><guid>https://blog.youkuaiyun.com/m0_37908533/article/details/115270360</guid><author>m0_37908533</author><pubDate>Sat, 27 Mar 2021 20:36:10 +0800</pubDate><description><![CDATA[children()：返回包含直接子模块的迭代器



for module in model.children():
    print(module)
    
GRU(34, 144, num_layers=2, batch_first=True, bidirectional=True)
Sequential(
  (0): Linear(in_features=288, out_features=144, bias=True)
  (1): ReLU()
  (2): Linear(in_fe...]]></description><category></category></item><item><title><![CDATA[如何将交叉引用参考文献批量变为上标]]></title><link>https://blog.youkuaiyun.com/m0_37908533/article/details/113076641</link><guid>https://blog.youkuaiyun.com/m0_37908533/article/details/113076641</guid><author>m0_37908533</author><pubDate>Sun, 24 Jan 2021 11:41:18 +0800</pubDate><description><![CDATA[第一步：Ctrl+H

第二步：查找内容处：[^#]

第三步：鼠标点击到“替换为”

第四步：“Ctrl”“Shift”“=”，框框下就会显示“上标”

第五步：全部替换


]]></description><category></category></item><item><title><![CDATA[【Python笔记】判断list是否为空]]></title><link>https://blog.youkuaiyun.com/m0_37908533/article/details/108529736</link><guid>https://blog.youkuaiyun.com/m0_37908533/article/details/108529736</guid><author>m0_37908533</author><pubDate>Fri, 11 Sep 2020 11:05:45 +0800</pubDate><description><![CDATA[Python中判断list是否为空有以下两种方式：

方式一：


1 list_temp = []
2 if len(list_temp):
3     # 存在值即为真
4 else:
5     # list_temp是空的

方式二：


1 list_temp = []
2 if list_temp:
3     # 存在值即为真
4 else:
5     # list_temp是空的


以上两种方法均可以判断出 list_temp 列表是否是空列表，第二个方法要优于第一个方法，在Python]]></description><category></category></item></channel></rss>