def _rand(self, shape, dtype):
    vals = np.array(np.random.normal((- 10), 10, np.prod(shape)), dtype=dtype)
    if (dtype in (np.complex64, np.complex128)):
        imag = np.array(np.random.normal((- 10), 10, np.prod(shape)), dtype=dtype)
        vals += (1j * imag)
    return vals.reshape(shape)
def _rand(self, shape, dtype):
    vals = np.array(np.random.normal((- 10), 10, np.prod(shape)), dtype=dtype)
    if (dtype in (np.complex64, np.complex128)):
        imag = np.array(np.random.normal((- 10), 10, np.prod(shape)), dtype=dtype)
        vals += (1j * imag)
    return vals.reshape(shape)