#pragma once #include torch::Tensor grid_cpu(torch::Tensor pos, torch::Tensor size, torch::optional optional_start, torch::optional optional_end);