Solved by AfonsoSalgadoSousa in post #3 
              
              
                The solution for my problem was to use the output_padding parameter. Setting it to 1 resolves the ambiguity of the mapping of multiple input shapes to the same output shape.