Added dtype declaration for differents inputs dtypes.