Converting torch tensor to UFL

Hello,

Is it possible to convert a torch tensor to UFL type?

Thanks