人间遨游
  • 首页
  • 归档

How does PyTorch calculate gradient: a programming perspective

发表于 2021-07-16   |   阅读次数 93

When using PyTorch to train a neural network model, an important step is backpropagation like this:

loss = criterion(y_pred, y)

loss.backward()

......

阅读全文 »

From city to city: 芝加哥游记

发表于 2021-05-16   |   阅读次数 122

自去年美国疫情沦陷,我们已经一年多没旅游了。这次趁着打完疫苗,约上朋友一道,计划来芝加哥玩。

出发之前,我们最早定了个城市南部的airbnb。一个芝加哥的朋友说,那个地方可不安全哟,去之前最好准备好救命钱、防狼喷雾,和安全套。由于我们实在想把安全套的钱省下来,最后我们取消了airbnb,在另......

阅读全文 »

Make conversation not war -- A review of The Fine Art of Small Talk

发表于 2021-04-16   |   阅读次数 211

Communication is an important skill. A vital type is to talk with strangers. When I interned in the industry, I need let the customers get clear about......

阅读全文 »
< 1 2 3 4 >
55 日志
14 标签
RSS
©2022
Powered By - Bitcron
Theme - NexT