针对这个问题,可以通过把表格与上下文的距离调小,表格与标题的距离调小。
\vspace{-0.8cm} %调整图片/表格与上下文的垂直距离
 -注意:该语句,要在begin{figure}和end{figure}上面和前面使用(可以分别使用)。
\setlength{\abovecaptionskip}{0cm} %调整图片/表格与上标题的垂直距离
 \setlength{\belowcaptionskip}{-0.2cm} %调整图片/表格与下标题的垂直距离
 -注意:要在\caption之前插入,才能修改标题与表的间距
\vspace{-0.2cm}
\begin{table}[t]\setlength{\abovecaptionskip}{0cm}\setlength{\belowcaptionskip}{-0.2cm}\small\caption{Mean computation time on different style transfer methods for 256 $\times$ 256 and 512 $\times$ 512 images. }\centering\begin{tabular}{c||cc}\hline\hlineMethod   &Time (256 px) & Time (512 px) \\\hline\hlineGatys   &  27.867  & 38.296     \\WCT          & 0.891  & 1.023       \\Avatar-Net    & 0.181   & 0.352      \\Style-Swap   & 0.054    & 0.265     \\AdaIN         & \textbf{0.018}  & \textbf{0.039}  \\SANet        & 0.026   & 0.073     \\\hlineSTACNet (Ours)        & 0.028  &0.072          \\\end{tabular}\label{tab:runtime} \vspace{-0.2cm}
\end{table}