input and output dtypes