how can translate this numpy code to both pytorch and libtorch: np.vstack([fourier_basis[:cutoff, :], fourier_basis[:cutoff, :] )])
確定! 回上一頁