grid_depth function

Depth-Aware Grid Generation for Neural Networks