struct2tensor
