[docs]classCircularPad(nn.Module):"""Circular padding layer used in the paper [1]. Parameters ---------- x : torch.Tensor Input tensor. Returns ------- torch.Tensor Padded tensor. References ---------- [1] Sîmpetru, R.C., Osswald, M., Braun, D.I., Oliveira, D.S., Cakici, A.L., Del Vecchio, A., 2022. Accurate Continuous Prediction of 14 Degrees of Freedom of the Hand from Myoelectrical Signals through Convolutive Deep Learning, in: 2022 44th Annual International Conference of the IEEE Engineering in Medicine & Biology Society (EMBC), pp. 702–706. https://doi.org/10.1109/EMBC48229.2022.9870937 """def__init__(self):super(CircularPad,self).__init__()