
Python
记录学习和Python的知识点
从天而降小可爱
这个作者很懒,什么都没留下…
展开
-
python,pytorch的零碎函数知识点
1,isinstance 描述:isinstance() 函数来判断一个对象是否是一个已知的类型,类似 type()。 区别:isinstance() 与 type() 区别: type() 不会认为子类是一种父类类型,不考虑继承关系。 isinstance() 会认为子类是一种父类类型,考虑继承关系。 如果要判断两个类型是否相同推荐使用 isinstance()。 语法:isinst...转载 2019-02-19 09:39:54 · 405 阅读 · 0 评论 -
python——matplotlib绘图入门
见收藏列表转载 2019-02-19 11:20:07 · 211 阅读 · 0 评论