def conv1d(x, W):
    'conv1d returns a 1d convolution layer.'
    return tf.nn.conv1d(x, W, 1, 'SAME')
conv1d returns a 1d convolution layer.
def conv1d(x, W):
    
    return tf.nn.conv1d(x, W, 1, 'SAME')