40#include <torch/script.h>
41#include <torch/torch.h>
60template <
class type_f>
72template <
class type_f>
75template <
class type_f>
78template <
class type_f>
Implementation of the assert function for ITHACA-FV.
torch::Tensor field2Torch(Field< vector > &field)
Field< vector > torch2Field(torch::Tensor &torchTensor)
torch::Tensor ptrList2Torch(PtrList< Field< vector > > &ptrList)
PtrList< Field< type_f > > torch2PtrList(torch::Tensor &tTensor)