Open wadeaikobe opened 2 years ago
if causal: shift = int((convolution_width / 2) + (int(dilation_rate[0] - 1) / 2)) pad = tf.zeros([tf.shape(inputs)[0], shift, inputs.shape.as_list()[2]]) inputs = tf.concat([pad, inputs], axis=1)
shift may should plus 1
shift may should plus 1