\begin{tikzpicture}[scale= 0.8, transform shape]
  	      	\onslide<1->{
      		\node [rectangle, minimum height=3mm, minimum width=3mm,text width=2cm, align=center] (w1) at (0.5,-3){\includegraphics[scale=0.05]{images/bird.png}};
      		\node [rectangle, minimum height=3mm, minimum width=3mm,text width=4cm, align=center] (w1) at (3,-5){Question: What is the bird's color};
		}
  	      	\onslide<1->{
      		\node [rectangle, minimum height=3mm, minimum width=3mm,text width=4cm, align=center] (w1) at (3,4.5){O/p: White};
		}
  	      	\onslide<4->{
		\draw[draw=red!60,fill=red!20,thick,solid,rounded corners] (-1,-4) rectangle (7.5,1.5);
      		\node [rectangle, minimum height=3mm, minimum width=3mm,text width=2cm, align=center] (w1) at (0.5,-3){\includegraphics[scale=0.05]{images/bird.png}};
%		\draw[draw=red!60,fill=red!20,thick,solid,rounded corners] (-0.6,-1.4) rectangle (3.5,1.5);
      		\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A) at (0,1){};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb) at (0,-0.5){};
      		\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (0,-1.2){\tiny What};
      		\draw[->](Aemb)--(A);
      		
      		\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A1) at (1,1){};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb1) at (1,-0.5){};
      		\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (1,-1.2){\tiny is};
      		\draw[->](Aemb1)--(A1);
      		\draw[->](A)--(A1);

      		\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A2) at (2,1){};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb2) at (2,-0.5){};
      		\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (2,-1.2){\tiny the};
      		\draw[->](Aemb2)--(A2);
      		\draw[->](A1)--(A2);

      		\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A3) at (3,1){};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb3) at (3,-0.5){};
      		\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (3,-1.2){\tiny bird's};
      		\draw[->](Aemb3)--(A3);
      		\draw[->](A2)--(A3);

      		\node [rectangle, minimum height=8mm, minimum width=3mm, fill=blue!50, draw=black] (A4) at (4,1){};
      		\node [rectangle, minimum height=10mm, minimum width=3mm, fill=orange!50, draw=black] (Aemb4) at (4,-0.5){};
      		\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] (w1) at (4,-1.2){\tiny color};
      		\draw[->](Aemb4)--(A4);
      		\draw[->](A3)--(A4);



      		\node [rectangle, minimum height=1cm, minimum width=2cm, fill=yellow, draw=black] (N1) at (3,-3){\tiny CNN};
      		\node [rectangle, minimum height=6mm, minimum width=2.4cm, fill=red!50, draw=black] (A5) at (6,1){};
      		   	\node [rectangle, minimum height=3mm, minimum width=3mm,text width=1cm, align=center] at (6.15,1.7) (ss) {\small $s$};
      		\node [rectangle, minimum height=3mm, minimum width=1cm, fill=red!50, draw=black] (N) at (5.4,1){\tiny{$\tilde{h}_{\textsc{t}}$}};
      		\node [rectangle, minimum height=3mm, minimum width=1cm, fill=red!50, draw=black] (N) at (6.6,1){\tiny{ $\hat{h}_I$}};
      		\draw[->](A4)--(A5);
      		\draw[-](N1)--(6,-3);
      		\draw[-](6,-3)--(A5);
		}
		\onslide<5->{
		\draw[draw=red!60,fill=green!20,thick,solid,rounded corners] (5,2) rectangle (7,4);
      		\node [rectangle, minimum height=3mm, minimum width=1.5cm, fill=blue!50, draw=black] (B) at (6,2.5){};
      		\draw[->](A5)--(B);
      		\node [rectangle, minimum height=3mm, minimum width=1.5cm, fill=green!200, draw=black] (C) at (6,3.5){};
      		\node [rectangle, minimum height=3mm, minimum width=1.5cm, align=center] (w1) at (6,3.8){\tiny White};
      		\draw[->](B)--(C);
      		\draw[-](5.7,3.35)--(5.7,3.65);
      		\draw[-](5.9,3.35)--(5.9,3.65);
	}
\end{tikzpicture}
