Make_grid function for libtorch C++

Is there a function similar to make_grid function in torchvision utils for libtorch C++???