Skip to content

Instantly share code, notes, and snippets.

View gdshen's full-sized avatar

Guodong Shen gdshen

View GitHub Profile
import torch
import torch.nn as nn
from torch.autograd import Variable
import torch.optim as optim
a = torch.ones(1,2)
b = torch.nn.Linear(2,1)
b.zero_grad()
c = b(Variable(a))
@gdshen
gdshen / potatso_tiny.conf
Created July 10, 2016 02:03 — forked from s7lx/potatso_tiny.conf
A list of potatso for keywords need bypass
ruleSets:
- name: tiny_gfwlist
rules:
- instagram, PROXY
- blogspot, PROXY
- google, PROXY
- facebook, PROXY
- youtube, PROXY
- twitter, PROXY
- gmail, PROXY
@gdshen
gdshen / gist:9aec97c55f1547d15a2c1d8ffd7af708
Created April 10, 2016 15:15 — forked from entaroadun/gist:1653794
Recommendation and Ratings Public Data Sets For Machine Learning

Movies Recommendation:

Music Recommendation: