Created
November 11, 2017 16:00
-
-
Save Hiroshiba/95d10aeccb48c5b98520293ba154075a to your computer and use it in GitHub Desktop.
chainer's Convolution1D
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import chainer | |
class Convolution1D(chainer.links.ConvolutionND): | |
def __init__(self, in_channels, out_channels, ksize, stride=1, pad=0, | |
nobias=False, initialW=None, initial_bias=None, | |
cover_all=False): | |
super(Convolution1D, self).__init__( | |
ndim=1, | |
in_channels=in_channels, | |
out_channels=out_channels, | |
ksize=ksize, | |
stride=stride, | |
pad=pad, | |
nobias=nobias, | |
initialW=initialW, | |
initial_bias=initial_bias, | |
cover_all=cover_all, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment