Builds the WaveNet model as described in van den Oord et al., WaveNet: A Generative Model for Raw Audio.
1 2 3 4 |
filters |
Integer, the dimensionality of the output space (i.e. the number of output filters in the convolution). |
kernel_size |
An integer or list of a single integer, specifying the length of the 1D convolution window. |
residual_blocks |
if a single integer: the number of residual blocks in the model - the dilation rate of each block 'i' is calculated by '2^i'. If a vector, then it's used as the dilation rate of each residual block. |
input_shape |
input shape for the model (not including the axis dimension). Typically length 2 numeric vector. Used to build the 'input_tensor' if no 'input_tensor' is specified. |
input_tensor |
Tensor to use as input for the model. Usually a 3d tensor. |
initial_kernel_size |
kernel size of the first causal convolution. |
initial_filters |
number of filters in the initial causal convolution. |
output_channels |
number of channels in the output. |
output_activation |
activation function for the last layer. Default: 'softmax' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.