Here it is:

  
      gist.github.com
  
  
    https://gist.github.com/prajjwal1/d88b8cd63b9177fe1e544b036455eac9 67
hook.py
from __future__ import absolute_import

import torch
from torch import nn
from torch.nn import functional as F
import torchvision

def conv_layer(ni,nf,kernel_size=3,stride=1):
    return nn.Sequential(
            nn.Conv2d(ni,nf,kernel_size=kernel_size,bias=False,stride=stride,padding=kernel_size//2),
This file has been truncated. show original