随笔分类 -  技术流

摘要:What is spaghetti code exactly? Spaghetti code is the general term used for any source code that’s hard to understand because it has no defined struct 阅读全文
posted @ 2022-12-29 13:14 keeps_you_warm 阅读(24) 评论(0) 推荐(0) 编辑
摘要:Kubernetes is an open-source container orchestration system for automating software deployment, scaling, and management. 全栈开发:A Full Stack Developer i 阅读全文
posted @ 2022-06-22 03:59 keeps_you_warm 阅读(26) 评论(0) 推荐(0) 编辑
摘要:The return of Pytorch.nn.LSTM is: output, (h_n, c_n) Outputs: output, (h_n, c_n) output (seq_len, batch, hidden_size * num_directions): tensor contain 阅读全文
posted @ 2020-07-16 22:41 keeps_you_warm 阅读(175) 评论(0) 推荐(0) 编辑
摘要:LSTM input and output shape: The input of the LSTM is always is a 3D array. (batch_size, time_steps, seq_len) The output of the LSTM could be a 2D arr 阅读全文
posted @ 2020-05-12 01:42 keeps_you_warm 阅读(1142) 评论(0) 推荐(0) 编辑
摘要:首先,我们需要简单了解下偏函数的作用:和装饰器一样,它可以扩展函数的功能,但又不完成等价于装饰器。通常应用的场景是当我们要频繁调用某个函数时,其中某些参数是已知的固定值,通常我们可以调用这个函数多次,但这样看上去似乎代码有些冗余,而偏函数的出现就是为了很少的解决这一个问题。 它返回一个偏函数对象,这 阅读全文
posted @ 2020-05-08 16:20 keeps_you_warm 阅读(146) 评论(0) 推荐(0) 编辑
摘要:在python的函数(function)定义中,只要出现了yield表达式(Yield expression),那么事实上定义的是一个generator function, 调用这个generator function返回值是一个generator。 >>> def gen_example(): . 阅读全文
posted @ 2020-05-06 01:02 keeps_you_warm 阅读(196) 评论(0) 推荐(0) 编辑
摘要:LSTM input dimension must be three-dimension. References: Module类、实现Flatten类、Module类作用、数据增强 How to Reshape Input Data for Long Short-Term Memory Netwo 阅读全文
posted @ 2020-04-26 00:45 keeps_you_warm 阅读(218) 评论(0) 推荐(0) 编辑
摘要:Apache MADlib: big data machine learning in SQL. support PostgreSQL 11. Madlib runs in database on Postgres. It's an effort to bing machine learning i 阅读全文
posted @ 2020-04-06 16:57 keeps_you_warm 阅读(193) 评论(0) 推荐(0) 编辑
摘要:Basic knowledge: 1. Class VS Instance; class Student(object): def __init__(self, name, score): self.__name = name self.__score = score def print_score 阅读全文
posted @ 2020-02-26 23:39 keeps_you_warm 阅读(156) 评论(0) 推荐(0) 编辑
摘要:python中的装饰器分为两类:函数装饰器和类装饰器. here and here2 阅读全文
posted @ 2020-02-22 18:44 keeps_you_warm 阅读(85) 评论(0) 推荐(0) 编辑
摘要:docker:组装 使用Postgres数据库的web应用 登录到psql的方法: psql --host=localhost --dbname=database-name --username=postgres sudo -u postgres psql database-name docker 阅读全文
posted @ 2020-02-10 22:02 keeps_you_warm 阅读(349) 评论(0) 推荐(0) 编辑

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