def testFloatRandomTransposeBoth(self):
    for _ in range(10):
        (n, k, m) = np.random.randint(1, 100, size=3)
        x = self._randMatrix(k, n, np.float32)
        y = self._randMatrix(m, k, np.float32)
        self._testCpuMatmul(x, y, True, True)
        self._testGpuMatmul(x, y, True, True)
def testFloatRandomTransposeBoth(self):
    for _ in range(10):
        (n, k, m) = np.random.randint(1, 100, size=3)
        x = self._randMatrix(k, n, np.float32)
        y = self._randMatrix(m, k, np.float32)
        self._testCpuMatmul(x, y, True, True)
        self._testGpuMatmul(x, y, True, True)