-
Pytorch Note1
[TOC]hook函数分为三个函数,分别是register_hook, register_backward_hook, register_forward_hook,第一个是针对Variable,后面两个是针对modules的1. register_hook函数针对中间层的Variable的梯度进行处理,比如修改和打印# 打印中间层Variable的梯度import torchfrom torch.autograd import Variablegrad_list = []def hook(...…
-
Hello World - Vno
What’s thisVno Jekyll is a theme for Jekyll. It is a port of my Ghost theme vno, which is originally developed from Dale Anthony’s Uno.Usage$ git clone https://github.com/onevcat/vno-jekyll.git your_site$ cd your_site$ bundler install$ bundler exe...…