code: def _stretch_matrix(data, m, n):
      orig_len = len(data)
      orig_m = m
      orig_n = n
      ratio = sqrt(len(data) / (m * n))
      m = int(floor(m * ratio))
      n = int(floor(n * ratio))
      data = np.ascontiguousarray(data[: m * n], dtype=data.dtype)
      return data.reshape((m, n)), m, n
  
file_path: cython-blis/tests/test_gemm.py
imports: from __future__ import division
  from hypothesis import given, assume
  from math import sqrt, floor
  import numpy
  import pytest
  from blis_tests_common import *
  from blis.py import gemm
label_desc: Use image node_id 1 for calling a global function with example usage: _stretch_matrix(data, m, n) and returns: data,  m,  n