In [23]: dim_snp = (1,7000,208)
In [24]: (1, dim_snp, 1)
Out[24]: (1, (1, 7000, 208), 1)
In [25]: np.zeros((1, dim_snp, 1))
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-25-10a1e967522d> in <module>
----> 1 np.zeros((1, dim_snp, 1))
TypeError: 'tuple' object cannot be interpreted as an integer
In [26]: np.zeros((1, 1, 700, 208, 1)).shape
Out[26]: (1, 1, 700, 208, 1)