Switch to unified view

a b/BioSeqNet/resnest/torch/readme.txt
1
Replace `2d` with `1d`.
2
3
resnet.py
4
Add `num_channels=4` as the an argument of `class ResNet` and replace `conv_layer(3,` with `conv_layer(num_channels,`
5
6
splat.py
7
Replace `stride=(1,1)` with `stride=1`, `padding=(0,0)` with `padding=0`, `dilation=(1,1)` with `dilation=1`
8
9
Replace `self.rectify = rectify and (padding[0] > 0 or padding[1] > 0)` with `self.rectify = rectify and (padding > 0)`
10
11
Replace `atten = self.rsoftmax(atten).view(batch, -1, 1, 1)` with `atten = self.rsoftmax(atten).view(batch, -1, 1)`
12