Solved by lugiavn in post #2 
              
              
                No. I think what you thought is wrong. 
What Conv1D does is the same as Conv2D. 
So Conv2D takes input of [batch_size  x depth x width x height] and output [batch_size x new_depth x (maybe-new)width x (maybe-new)height]. Here c_in = depth and c_out = new_depth. The parameters have the size of depth …