code: def flatten_grid_locations(grid_locations, image_height, image_width):
      return torch.reshape(
          grid_locations, [image_height * image_width, 2]
      )
  
file_path: espnet/espnet/utils/spec_augment.py
imports: import random
  import torch
label_desc: Use image node_id 7 for calling a global function with example usage: flatten_grid_locations(grid_locations, image_height, image_width) and returns: torch