
você pode me ajudar a criar uma tabela semelhante a esta?
Não sei como fazer algo semelhante, principalmente porque não consigo encontrar informações sobre o título das duas tabulares.
EDITAR: tentei desta forma:
\documentclass{article}
\usepackage{array}
\usepackage{makecell}
\begin{document}
\begin{table}
\centering
\begin{tabular}{|c|>{\centering\arraybackslash}p{11cm} |}
\hline
& EfficientFace module \\ \hline
Stage1 & \makecell{Reshape \\ Conv1D [k=3, d=64, s=1] + BN1D + ReLU \\ Conv1D [k=3, d=64, s=1] + BN1D + ReLU} \\ \hline
Stage2 & \makecell{Conv1D [k=3, d=128, s=1] + BN1D + ReLU \\ Conv1D [k=3, d=128, s=1] + BN1D + ReLU} \\ \hline
Predict & Global Average Pooling + Linear \\ \hline
\end{tabular}
\begin{tabular}{|c|>{\centering\arraybackslash}p{11cm} |}
\hline
Stage1 & \makecell{Conv1D [k=3, d=64] + BN1D + ReLU + MaxPool1d [2x1] \\ Conv1D [k=3, d=128] + BN1D + ReLU + MaxPool1d [2x1]} \\ \hline
Stage2 & \makecell{Conv1D [k=3, d=256] + BN1D + ReLU + MaxPool1d [k=2] \\ Conv1D [k=3, d=128] + BN1D + ReLU + MPool1D [k=2]} \\ \hline
Predict & Global Average Pooling + Linear \\ \hline
\end{tabular}
\caption{Architecture of the visual and audio modules}
\label{tab:modules_architecture}
\end{table}
\end{document}
E eu consegui algo assim:
Responder1
Como um truque rápido, você poderia usar uma única tabela e inserir seus títulos como linhas nesta tabela:
\documentclass{article}
\usepackage{tabularx}
\usepackage{multirow}
\begin{document}
\begin{table}
\centering
\begin{tabularx}{\linewidth}{|c|X|}
\multicolumn{2}{c}{first title}\\
\hline
& EfficientFace module \\ \hline
\multirow{3}{*}{Stage1} & Reshape \\
& Conv1D [k=3, d=64, s=1] + BN1D + ReLU \\
& Conv1D [k=3, d=64, s=1] + BN1D + ReLU \\ \hline
\multirow{2}{*}{Stage2} & Conv1D [k=3, d=128, s=1] + BN1D + ReLU \\
& Conv1D [k=3, d=128, s=1] + BN1D + ReLU \\ \hline
Predict & Global Average Pooling + Linear \\ \hline
\multicolumn{2}{c}{}\\
\multicolumn{2}{c}{second title}\\
\hline
\multirow{2}{*}{Stage1} & Conv1D [k=3, d=64] + BN1D + ReLU + MaxPool1d [2x1] \\
& Conv1D [k=3, d=128] + BN1D + ReLU + MaxPool1d [2x1] \\ \hline
\multirow{2}{*}{Stage2} & Conv1D [k=3, d=256] + BN1D + ReLU + MaxPool1d [k=2] \\
& Conv1D [k=3, d=128] + BN1D + ReLU + MPool1D [k=2] \\ \hline
Predict & Global Average Pooling + Linear \\ \hline
\end{tabularx}
\caption{Architecture of the visual and audio modules}
\label{tab:my_label}
\end{table}
\end{document}
Responder2
Assim?
Com o uso do código tblr
do tabularray
pacote, a tabela acima é concisa e clara. A tabela é escrita como duas tabelas:
\documentclass{article}
\usepackage{tabularray}
\begin{document}
\begin{table}[htb]
\centering
Architecture of the visual branch
\par\smallskip
\begin{tblr}{hline{1,2,4-Z}, vlines,
colspec = {c X[l,m]},
cell{2}{1} = {r=2}{},
cell{1,2}{2} = {c=1}{c},
rowsep=3pt
}
& EfficientFace module \\
Stage1 & Reshape \\[-1ex]
& {Conv1D [k=3, d=64, s=1] + BN1D + ReLU \\
Conv1D [k=3, d=64, s=1] + BN1D + ReLU} \\
Stage2 & {Conv1D [k=3, d=128, s=1] + BN1D + ReLU \\
Conv1D [k=3, d=128, s=1] + BN1D + ReLU} \\
Predict & Global Average Pooling + Linear \\
\end{tblr}
\bigskip
Architecture of the audio branch
\par\smallskip
\begin{tblr}{hlines, vlines,
colspec = {c X[l,m]},
rowsep=3pt
}
Stage1 & {Conv1D [k=3, d=64] + BN1D + ReLU + MaxPool1d [2x1] \\
Conv1D [k=3, d=128] + BN1D + ReLU + MaxPool1d [2x1]} \\
Stage2 & {Conv1D [k=3, d=256] + BN1D + ReLU + MaxPool1d [k=2] \\
Conv1D [k=3, d=128] + BN1D + ReLU + MPool1D [k=2]} \\
Predict & Global Average Pooling + Linear \\
\end{tblr}
\caption{Architecture of the visual and audio modules}
\label{tab:my_label}
\end{table}
\end{document}