\begin{tikzpicture}[scale=0.8, transform shape]
	\node at (0,0){
		\begin{tikzpicture}[scale=1.0,transform shape]
			\pgfmathsetmacro{\seedx}{0}
			\pgfmathsetmacro{\seedy}{0}

			\renewcommand{\forefillColor}{orange!40!white}
			\renewcommand{\borderColor}{white}
			\renewcommand{\toprsidefillcolor}{orange!50!white!50}
			\pgfmathsetmacro{\xcti}{\seedx+2.7}
			\pgfmathsetmacro{\ycti}{\seedy+0.0}
			\handmadecube{3.4}{2.7}{0.0}{\xcti}	{\ycti+0.15}{dashed}
				
			%%% first

			\renewcommand{\forefillColor}{purple!50!white}
			\renewcommand{\borderColor}{white}
			\renewcommand{\toprsidefillcolor}{purple!50!white!50}
				\pgfmathsetmacro{\xcti}{\seedx}
				\pgfmathsetmacro{\ycti}{\seedy}
				\handmadecube{0.5}{2}{0.01}{\xcti}{\ycti}
					\node (w1) at (\seedx-0.25,\seedy-0.25){\tiny -1.4}; 
					\node (w1) at (\seedx-0.25,\seedy-0.55){\tiny -0.4};
					\node (w1) at (\seedx-0.25,\seedy-0.85){\tiny 1};
					\node (w1) at (\seedx-0.25,\seedy-1.25){$\vdots$};
					\node (w1) at (\seedx-0.25,\seedy-1.85){\tiny -2};

					\node (w1) at (\seedx-0.25,\seedy-2.35){\tiny $s_{t-1}$}; 
					
			%%%%%%%%%%%%%%%%%%%%%%% 
			%%%%%%%%% odot

				\node [minimum width=1 cm](B) at (\seedx+0.25,\seedy-1){$\odot$}; 
				\node (w1) at (\seedx+1.5,\seedy-1){$=$};
				%%%%%%%%%%%%%%%%%%%
				%%%%%%%%%%%%%%%%%%%%second
				\pgfmathsetmacro{\xcti}{\seedx+1}
				\pgfmathsetmacro{\ycti}{\seedy}
				
				\renewcommand{\forefillColor}{red!50!white}
				\renewcommand{\borderColor}{white}
				\renewcommand{\toprsidefillcolor}{red!50!white!50}
				
				\handmadecube{0.5}{2}{0.01}{\xcti}{\ycti}
				
				\node (w1) at (\seedx+0.75,\seedy-0.25){\tiny 0.2}; 
				\node (w1) at (\seedx+0.75,\seedy-0.55){\tiny 0.34};
				\node (w1) at (\seedx+0.75,\seedy-0.85){\tiny 0.9};
				\node (w1) at (\seedx+0.75,\seedy-1.25){$\vdots$};
				\node (w1) at (\seedx+0.75,\seedy-1.85){\tiny 0.29};

				\node (w1) at (\seedx+0.75,\seedy-2.35){\tiny $o_{t-1}$}; 
				%%%%%%%%%%%%%%%%%%%%%%%%%%%
				%%%%%%%%%%% equal
				%%%%%%%%%%%%%%%%%%%%%%%%%% third
				\pgfmathsetmacro{\xcti}{\seedx+2.5}
				\pgfmathsetmacro{\ycti}{\seedy}
				
				\renewcommand{\forefillColor}{blue!50!white}
				\renewcommand{\borderColor}{white}
				\renewcommand{\toprsidefillcolor}{blue!50!white!50}
				
				\handmadecube{0.5}{2}{0.0}{\xcti}{\ycti}
				\node (w1) at (\seedx+2.25,\seedy-0.25){\tiny 0.5}; 
				\node (w1) at (\seedx+2.25,\seedy-0.55){\tiny 0.36};
				\node (w1) at (\seedx+2.25,\seedy-0.85){\tiny 0.9};
				\node (w1) at (\seedx+2.25,\seedy-1.25){$\vdots$};
				\node (w1) at (\seedx+2.25,\seedy-1.85){\tiny 0.6};

				\node (w1) at (\seedx+2.25,\seedy-2.35){\tiny $h_{t-1}$}; 
				%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

				\draw [decorate,decoration={brace,mirror,amplitude=5},xshift=-1,yshift=-2](-0.5,-2.45) -- (2.6,-2.45) node [black,midway,yshift=-8]{\footnotesize selective write};

			% \node [midway, below=15, Large] {Selective write} ;


				%%%%% input
				\renewcommand{\forefillColor}{cyan!50!white}
				\renewcommand{\borderColor}{white}
				\renewcommand{\toprsidefillcolor}{cyan!50!white!50}
					\pgfmathsetmacro{\xcti}{\seedx+4.3}
					\pgfmathsetmacro{\ycti}{\seedy-1.7}
					\handmadecube{0.5}{2}{0.01}{\xcti}{\ycti}
						\node (w1) at (\seedx+4.05,\seedy-1.7-0.25){\tiny 0.7}; 
						\node (w1) at (\seedx+4.05,\seedy-1.7-0.55){\tiny -0.2};
						\node (w1) at (\seedx+4.05,\seedy-1.7-0.85){\tiny 1.1};
						\node (w1) at (\seedx+4.05,\seedy-1.7-1.25){$\vdots$};
						\node (w1) at (\seedx+4.05,\seedy-1.7-1.85){\tiny -0.3};
						\node (w1) at (\seedx+4.05,\seedy-1.7-2.35){\tiny $x_{t}$}; 



				\pgfmathsetmacro{\seedx}{6.5}
				\pgfmathsetmacro{\seedy}{0}

				\renewcommand{\forefillColor}{magenta!40!white}
				\renewcommand{\borderColor}{white}
				\renewcommand{\toprsidefillcolor}{magenta!50!white!50}
				\pgfmathsetmacro{\xcti}{\seedx+0.2}
				\pgfmathsetmacro{\ycti}{\seedy+0.0}
				\handmadecube{0.9}{2.7}{0.0}{\xcti}	{\ycti+0.15}{dashed}
					
				%%% first

				\renewcommand{\forefillColor}{yellow!50!white}
				\renewcommand{\borderColor}{white}
				\renewcommand{\toprsidefillcolor}{yellow!50!white!50}
					\pgfmathsetmacro{\xcti}{\seedx}
					\pgfmathsetmacro{\ycti}{\seedy}
					\handmadecube{0.5}{2}{0.01}{\xcti}{\ycti}
						\node (w1) at (\seedx-0.25,\seedy-0.25){\tiny -1.4}; 
						\node (w1) at (\seedx-0.25,\seedy-0.55){\tiny -0.4};
						\node (w1) at (\seedx-0.25,\seedy-0.85){\tiny 1};
						\node (w1) at (\seedx-0.25,\seedy-1.25){$\vdots$};
						\node (w1) at (\seedx-0.25,\seedy-1.85){\tiny -2};

						\node (w1) at (\seedx-0.25,\seedy-2.35){\tiny ${s}_{t}$}; 
			\end{tikzpicture}
};
\end{tikzpicture}