def METHOD_NAME(n, m, k, transpose_a, transpose_b, dtype):
  def Test(self):
    if not googletest.is_gpu_available():
      tf_logging.info("Skipping BuildGraphTest %s",
                      (n, m, k, transpose_a, transpose_b))
      return
    tf_logging.info("Testing BuildGraphTest %s",
                    (n, m, k, transpose_a, transpose_b))
    self._VerifyBuildGraph(n, m, k, transpose_a, transpose_b, dtype)
  return Test