primeqa.util.file_utils.str2np#

primeqa.util.file_utils.str2np(s: str, *, dtype=<class 'numpy.float16'>)#

Convert compact string representation of numpy ndarry to numpy vector :param s: base64 encoded string of numpy binary :param dtype: numpy datatype of the saved array :return: 1-D array (shape is not preserved)