code: def _meshgrid(height, width):
      x_linspace = tf.linspace(-1.0, 1.0, width)
      y_linspace = tf.linspace(-1.0, 1.0, height)
      x_coordinates, y_coordinates = tf.meshgrid(x_linspace, y_linspace)
      x_coordinates = tf.reshape(x_coordinates, shape=(1, -1))
      y_coordinates = tf.reshape(y_coordinates, shape=(1, -1))
      ones = tf.ones_like(x_coordinates)
      indices_grid = tf.concat([x_coordinates, y_coordinates, ones], 0)
      return indices_grid
  
file_path: keras-ocr/keras_ocr/recognition.py
imports: import typing
  import string
  import tensorflow
  from tensorflow import keras
  import numpy
  import cv2
  from .None import tools
label_desc: Use image node_id 3 for calling a global function with example usage: _meshgrid(height, width) and returns: indices_grid