\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{amsmath, amssymb, latexsym}
\DeclareMathOperator{\ReLU}{ReLU}
 
\usepackage{tikz}
\usepackage{xcolor}
\definecolor{fc}{HTML}{1E90FF}
\definecolor{h}{HTML}{228B22}
\definecolor{bias}{HTML}{87CEFA}
\definecolor{noise}{HTML}{8B008B}
\definecolor{conv}{HTML}{FFA500}
\definecolor{pool}{HTML}{B22222}
\definecolor{up}{HTML}{B22222}
\definecolor{view}{HTML}{FFFFFF}
\definecolor{bn}{HTML}{FFD700}
\tikzset{fc/.style={black,draw=black,fill=fc,rectangle,minimum height=1cm}}
\tikzset{h/.style={black,draw=black,fill=h,rectangle,minimum height=1cm}}
\tikzset{bias/.style={black,draw=black,fill=bias,rectangle,minimum height=1cm}}
\tikzset{noise/.style={black,draw=black,fill=noise,rectangle,minimum height=1cm}}
\tikzset{conv/.style={black,draw=black,fill=conv,rectangle,minimum height=1cm}}
\tikzset{conv2/.style={black,draw=black,fill=conv,rectangle,minimum height=1cm}}
\tikzset{conv2t/.style={black,draw=black,fill=green,rectangle,minimum height=1cm}}
\tikzset{pool/.style={black,draw=black,fill=pool,rectangle,minimum height=1cm}}
\tikzset{drop/.style={black,draw=black,fill=pool,rectangle,minimum height=1cm}}
\tikzset{up/.style={black,draw=black,fill=up,rectangle,minimum height=1cm}}
\tikzset{view/.style={black,draw=black,fill=view,rectangle,minimum height=1cm}}
\tikzset{bn/.style={black,draw=black,fill=bn,rectangle,minimum height=1cm}}
 
\usepackage{xspace}
\newcommand*{\eg}{\emph{e.g.}\@\xspace}
\newcommand*{\Eg}{\emph{E.g.}\@\xspace}
\newcommand*{\ie}{\emph{i.e.}\@\xspace}
\newcommand*{\etc}{\emph{etc.}\@\xspace}
\newcommand*{\etal}{\emph{et al.}\@\xspace}
\newcommand*{\cf}{\emph{cf.}\@\xspace}
\newcommand*{\vs}{\emph{vs.}\@\xspace}
 
\begin{document}
 
\begin{figure}
  \centering
  \hspace*{-0.75cm}
  \begin{tikzpicture}
    \node (y) at (0,0) {$\mathbf{X}$};
    \node (yl) at (0,-3) {.};
 
    \node[conv,rotate=90,minimum width=4.5cm] (conv1) at (1.25,0) {\small$\text{Conv1D}_{64, 7, 2}$\,+\,$\ReLU$};
    \node[drop,rotate=90,minimum width=3.5cm] (drop1) at (3.,0) {\small$\text{DropOut}$};
    \node[conv2,rotate=90,minimum width=3.5cm] (conv2) at (4.75,0) {\small$\text{Conv1D}_{32, 7, 2}$\,+\,$\ReLU$};
    \node[conv2t,rotate=90,minimum width=3.5cm] (convt) at (6.5,0) {\small$\text{Conv1DT}_{32, 7, 2}$\,+\,$\ReLU$};
    \node[drop,rotate=90,minimum width=3.5cm] (drop2) at (8.25,0) {\small$\text{DropOut}$};
    \node[conv2t,rotate=90,minimum width=4.5cm] (conv2t) at (10,0) {\small$\text{Conv1DT}_{64, 7, 2}$\,+\,$\ReLU$};
    \node[conv2t,rotate=90,minimum width=3.5cm] (conv3t) at (11.75,0) {\small$\text{Conv1DT}_{22, 7, 1}$};
    
    \node (ry) at (13,0) {$\mathbf{\hat{X}}$};
    \node (ryl) at (13,0-3) {.};
    
    \draw[->,ultra thick] (y) -- (conv1);
    \draw[->,ultra thick] (conv1) -- (drop1);
    \draw[->,ultra thick] (drop1) -- (conv2);
    \draw[->,ultra thick] (conv2) -- (convt);
    \draw[->,ultra thick] (convt) -- (drop2);
    \draw[<-,ultra thick] (conv2t) -- (drop2);
    \draw[->,ultra thick] (conv2t) -- (conv3t);
    \draw[->,ultra thick] (conv3t) -- (ry);
    \draw[dashed] (y) -- (yl);
    \draw[dashed] (ry) -- (ryl);
    \draw[dashed,<->] (yl)  to node[above] {$\overline{|\mathbf{\hat{X}}-\mathbf{X}|}$} (ryl);
 
  \end{tikzpicture}
\end{figure}

\end{document}
