A PyTorch implementation paper D-Former: A U-shaped Dilated Transformer for 3D Medical Image Segmentation for reference.
@article{dformer,
title={D-former: A u-shaped dilated transformer for 3d medical image segmentation},
author={Wu, Yixuan and Liao, Kuanlun and Chen, Jintai and Wang, Jinhong and Chen, Danny Z and Gao, Honghao and Wu, Jian},
journal={Neural Computing and Applications},
pages={1--14},
year={2022},
publisher={Springer}
}