Add test case for py_func with bool types
Add test case for py_func with bool types

Signed-off-by: Yong Tang <765086fe2e0c1f980161f127fec596800f327f62@outlook.com>

dongjoon-hyun/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,meteorcloudy/tensorflow,alsrgv/tensorflow,AnishShah/tensorflow,gunan/tensorflow,aldian/tensorflow,asimshankar/tensorflow,eaplatanios/tensorflow,girving/tensorflow,renyi533/tensorflow,alsrgv/tensorflow,dancingdan/tensorflow,karllessard/tensorflow,alsrgv/tensorflow,ghchinoy/tensorflow,gautam1858/tensorflow,ageron/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,nburn42/tensorflow,lukeiwanski/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,sarvex/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,lukeiwanski/tensorflow,dancingdan/tensorflow,alsrgv/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,jendap/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-pywrap_saved_model,asimshankar/tensorflow,yongtang/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow,Intel-Corporation/tensorflow,davidzchen/tensorflow,AnishShah/tensorflow,karllessard/tensorflow,apark263/tensorflow,dancingdan/tensorflow,dongjoon-hyun/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,asimshankar/tensorflow,apark263/tensorflow,manipopopo/tensorflow,theflofly/tensorflow,jalexvig/tensorflow,annarev/tensorflow,jhseu/tensorflow,seanli9jan/tensorflow,freedomtan/tensorflow,snnn/tensorflow,ageron/tensorflow,aam-at/tensorflow,Bismarrck/tensorflow,theflofly/tensorflow,jendap/tensorflow,manipopopo/tensorflow,brchiu/tensorflow,jbedorf/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,ageron/tensorflow,gautam1858/tensorflow,ppwwyyxx/tensorflow,yanchen036/tensorflow,jalexvig/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,dancingdan/tensorflow,seanli9jan/tensorflow,dendisuhubdy/tensorflow,aselle/tensorflow,hehongliang/tensorflow,dongjoon-hyun/tensorflow,kobejean/tensorflow,nburn42/tensorflow,annarev/tensorflow,seanli9jan/tensorflow,ageron/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,karllessard/tensorflow,kevin-coder/tensorflow-fork,AnishShah/tensorflow,caisq/tensorflow,meteorcloudy/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,manipopopo/tensorflow,dongjoon-hyun/tensorflow,alshedivat/tensorflow,jalexvig/tensorflow,jart/tensorflow,jendap/tensorflow,cxxgtxy/tensorflow,nburn42/tensorflow,aam-at/tensorflow,aam-at/tensorflow,kevin-coder/tensorflow-fork,alsrgv/tensorflow,ZhangXinNan/tensorflow,petewarden/tensorflow,arborh/tensorflow,ageron/tensorflow,girving/tensorflow,benoitsteiner/tensorflow-xsmm,girving/tensorflow,ZhangXinNan/tensorflow,kevin-coder/tensorflow-fork,aselle/tensorflow,freedomtan/tensorflow,alsrgv/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,adit-chandra/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,paolodedios/tensorflow,frreiss/tensorflow-fred,seanli9jan/tensorflow,kobejean/tensorflow,lukeiwanski/tensorflow,drpngx/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,jart/tensorflow,adit-chandra/tensorflow,dongjoon-hyun/tensorflow,yongtang/tensorflow,jendap/tensorflow,asimshankar/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,DavidNorman/tensorflow,girving/tensorflow,girving/tensorflow,xzturn/tensorflow,ZhangXinNan/tensorflow,seanli9jan/tensorflow,gunan/tensorflow,petewarden/tensorflow,jalexvig/tensorflow,davidzchen/tensorflow,dendisuhubdy/tensorflow,girving/tensorflow,ZhangXinNan/tensorflow,AnishShah/tensorflow,kobejean/tensorflow,benoitsteiner/tensorflow-xsmm,Intel-Corporation/tensorflow,dendisuhubdy/tensorflow,Intel-tensorflow/tensorflow,jbedorf/tensorflow,jbedorf/tensorflow,kevin-coder/tensorflow-fork,aam-at/tensorflow,caisq/tensorflow,xzturn/tensorflow,ageron/tensorflow,manipopopo/tensorflow,nburn42/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,karllessard/tensorflow,aselle/tensorflow,girving/tensorflow,jart/tensorflow,manipopopo/tensorflow,brchiu/tensorflow,caisq/tensorflow,girving/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Bismarrck/tensorflow,asimshankar/tensorflow,DavidNorman/tensorflow,benoitsteiner/tensorflow-xsmm,gautam1858/tensorflow,xodus7/tensorflow,nburn42/tensorflow,Bismarrck/tensorflow,hehongliang/tensorflow,aselle/tensorflow,chemelnucfin/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,brchiu/tensorflow,yongtang/tensorflow,dongjoon-hyun/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,aam-at/tensorflow,gunan/tensorflow,yongtang/tensorflow,jendap/tensorflow,xodus7/tensorflow,paolodedios/tensorflow,alshedivat/tensorflow,theflofly/tensorflow,karllessard/tensorflow,adit-chandra/tensorflow,ghchinoy/tensorflow,girving/tensorflow,dongjoon-hyun/tensorflow,xzturn/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jart/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,arborh/tensorflow,AnishShah/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ageron/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,brchiu/tensorflow,jendap/tensorflow,brchiu/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,ZhangXinNan/tensorflow,apark263/tensorflow,ghchinoy/tensorflow,sarvex/tensorflow,jendap/tensorflow,manipopopo/tensorflow,ppwwyyxx/tensorflow,theflofly/tensorflow,xodus7/tensorflow,jart/tensorflow,aselle/tensorflow,dongjoon-hyun/tensorflow,caisq/tensorflow,snnn/tensorflow,freedomtan/tensorflow,alshedivat/tensorflow,tensorflow/tensorflow,ppwwyyxx/tensorflow,gojira/tensorflow,apark263/tensorflow,xzturn/tensorflow,snnn/tensorflow,DavidNorman/tensorflow,AnishShah/tensorflow,xodus7/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,dongjoon-hyun/tensorflow,seanli9jan/tensorflow,Bismarrck/tensorflow,meteorcloudy/tensorflow,alshedivat/tensorflow,eaplatanios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,meteorcloudy/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,dancingdan/tensorflow,jalexvig/tensorflow,kevin-coder/tensorflow-fork,Intel-tensorflow/tensorflow,gunan/tensorflow,hfp/tensorflow-xsmm,tensorflow/tensorflow-experimental_link_static_libraries_once,jbedorf/tensorflow,Intel-tensorflow/tensorflow,gautam1858/tensorflow,ZhangXinNan/tensorflow,DavidNorman/tensorflow,annarev/tensorflow,meteorcloudy/tensorflow,benoitsteiner/tensorflow-xsmm,dendisuhubdy/tensorflow,ppwwyyxx/tensorflow,dancingdan/tensorflow,manipopopo/tensorflow,kobejean/tensorflow,hfp/tensorflow-xsmm,aam-at/tensorflow,arborh/tensorflow,sarvex/tensorflow,DavidNorman/tensorflow,Intel-Corporation/tensorflow,jart/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,caisq/tensorflow,kevin-coder/tensorflow-fork,yanchen036/tensorflow,ageron/tensorflow,gunan/tensorflow,jhseu/tensorflow,AnishShah/tensorflow,ppwwyyxx/tensorflow,ghchinoy/tensorflow,paolodedios/tensorflow,eaplatanios/tensorflow,DavidNorman/tensorflow,aldian/tensorflow,annarev/tensorflow,nburn42/tensorflow,jbedorf/tensorflow,aldian/tensorflow,dendisuhubdy/tensorflow,ppwwyyxx/tensorflow,Intel-Corporation/tensorflow,jalexvig/tensorflow,jbedorf/tensorflow,frreiss/tensorflow-fred,eaplatanios/tensorflow,drpngx/tensorflow,kobejean/tensorflow,aselle/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,sarvex/tensorflow,kevin-coder/tensorflow-fork,drpngx/tensorflow,hehongliang/tensorflow,caisq/tensorflow,hfp/tensorflow-xsmm,nburn42/tensorflow,chemelnucfin/tensorflow,eaplatanios/tensorflow,ghchinoy/tensorflow,adit-chandra/tensorflow,theflofly/tensorflow,freedomtan/tensorflow,snnn/tensorflow,xodus7/tensorflow,ZhangXinNan/tensorflow,manipopopo/tensorflow,yongtang/tensorflow,hfp/tensorflow-xsmm,kobejean/tensorflow,petewarden/tensorflow,lukeiwanski/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aselle/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,drpngx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,hfp/tensorflow-xsmm,cxxgtxy/tensorflow,paolodedios/tensorflow,ppwwyyxx/tensorflow,alshedivat/tensorflow,Bismarrck/tensorflow,Intel-Corporation/tensorflow,apark263/tensorflow,xodus7/tensorflow,Intel-tensorflow/tensorflow,gojira/tensorflow,apark263/tensorflow,ZhangXinNan/tensorflow,dongjoon-hyun/tensorflow,davidzchen/tensorflow,aselle/tensorflow,gunan/tensorflow,gojira/tensorflow,jbedorf/tensorflow,chemelnucfin/tensorflow,ZhangXinNan/tensorflow,lukeiwanski/tensorflow,chemelnucfin/tensorflow,cxxgtxy/tensorflow,ghchinoy/tensorflow,kobejean/tensorflow,paolodedios/tensorflow,theflofly/tensorflow,jhseu/tensorflow,aldian/tensorflow,chemelnucfin/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,ageron/tensorflow,chemelnucfin/tensorflow,Intel-Corporation/tensorflow,lukeiwanski/tensorflow,yanchen036/tensorflow,hfp/tensorflow-xsmm,alshedivat/tensorflow,aldian/tensorflow,jhseu/tensorflow,xzturn/tensorflow,karllessard/tensorflow,jalexvig/tensorflow,yongtang/tensorflow,xzturn/tensorflow,alshedivat/tensorflow,annarev/tensorflow,davidzchen/tensorflow,ageron/tensorflow,asimshankar/tensorflow,adit-chandra/tensorflow,gojira/tensorflow,theflofly/tensorflow,girving/tensorflow,arborh/tensorflow,freedomtan/tensorflow,jart/tensorflow,petewarden/tensorflow,benoitsteiner/tensorflow-xsmm,eaplatanios/tensorflow,eaplatanios/tensorflow,Intel-tensorflow/tensorflow,drpngx/tensorflow,Bismarrck/tensorflow,Bismarrck/tensorflow,paolodedios/tensorflow,brchiu/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,caisq/tensorflow,kobejean/tensorflow,xodus7/tensorflow,ghchinoy/tensorflow,renyi533/tensorflow,drpngx/tensorflow,drpngx/tensorflow,hfp/tensorflow-xsmm,dancingdan/tensorflow,sarvex/tensorflow,arborh/tensorflow,renyi533/tensorflow,freedomtan/tensorflow,lukeiwanski/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,Bismarrck/tensorflow,apark263/tensorflow,Intel-tensorflow/tensorflow,Bismarrck/tensorflow,benoitsteiner/tensorflow-xsmm,petewarden/tensorflow,dendisuhubdy/tensorflow,xzturn/tensorflow,petewarden/tensorflow,dancingdan/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,arborh/tensorflow,xodus7/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,annarev/tensorflow,ghchinoy/tensorflow,ghchinoy/tensorflow,hfp/tensorflow-xsmm,benoitsteiner/tensorflow-xsmm,adit-chandra/tensorflow,nburn42/tensorflow,AnishShah/tensorflow,xodus7/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,kobejean/tensorflow,kevin-coder/tensorflow-fork,eaplatanios/tensorflow,sarvex/tensorflow,alshedivat/tensorflow,renyi533/tensorflow,renyi533/tensorflow,meteorcloudy/tensorflow,davidzchen/tensorflow,jart/tensorflow,cxxgtxy/tensorflow,renyi533/tensorflow,Bismarrck/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,theflofly/tensorflow,annarev/tensorflow,caisq/tensorflow,davidzchen/tensorflow,jart/tensorflow,Intel-tensorflow/tensorflow,manipopopo/tensorflow,hfp/tensorflow-xsmm,seanli9jan/tensorflow,jendap/tensorflow,cxxgtxy/tensorflow,gojira/tensorflow,gojira/tensorflow,tensorflow/tensorflow,aldian/tensorflow,apark263/tensorflow,drpngx/tensorflow,yongtang/tensorflow,gunan/tensorflow,caisq/tensorflow,seanli9jan/tensorflow,arborh/tensorflow,yanchen036/tensorflow,adit-chandra/tensorflow,Intel-Corporation/tensorflow,ageron/tensorflow,jendap/tensorflow,jhseu/tensorflow,kobejean/tensorflow,jbedorf/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,gunan/tensorflow,dancingdan/tensorflow,cxxgtxy/tensorflow,jbedorf/tensorflow,Intel-tensorflow/tensorflow,brchiu/tensorflow,snnn/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,seanli9jan/tensorflow,karllessard/tensorflow,Intel-Corporation/tensorflow,dancingdan/tensorflow,hehongliang/tensorflow,DavidNorman/tensorflow,snnn/tensorflow,gojira/tensorflow,lukeiwanski/tensorflow,ageron/tensorflow,caisq/tensorflow,annarev/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,dancingdan/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,benoitsteiner/tensorflow-xsmm,ghchinoy/tensorflow,brchiu/tensorflow,meteorcloudy/tensorflow,dongjoon-hyun/tensorflow,aselle/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ghchinoy/tensorflow,gojira/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,seanli9jan/tensorflow,apark263/tensorflow,manipopopo/tensorflow,AnishShah/tensorflow,hfp/tensorflow-xsmm,nburn42/tensorflow,renyi533/tensorflow,snnn/tensorflow,Intel-tensorflow/tensorflow,aam-at/tensorflow,Bismarrck/tensorflow,chemelnucfin/tensorflow,aselle/tensorflow,gunan/tensorflow,gunan/tensorflow,asimshankar/tensorflow,AnishShah/tensorflow,karllessard/tensorflow,chemelnucfin/tensorflow,aam-at/tensorflow,hehongliang/tensorflow,ghchinoy/tensorflow,renyi533/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,theflofly/tensorflow,xodus7/tensorflow,alshedivat/tensorflow,brchiu/tensorflow,jhseu/tensorflow,apark263/tensorflow,alsrgv/tensorflow,dendisuhubdy/tensorflow,hehongliang/tensorflow,AnishShah/tensorflow,hehongliang/tensorflow,jalexvig/tensorflow,snnn/tensorflow,girving/tensorflow,arborh/tensorflow,kevin-coder/tensorflow-fork,yongtang/tensorflow,karllessard/tensorflow,annarev/tensorflow,paolodedios/tensorflow,annarev/tensorflow,jhseu/tensorflow,yongtang/tensorflow,alsrgv/tensorflow,yanchen036/tensorflow,snnn/tensorflow,benoitsteiner/tensorflow-xsmm,ZhangXinNan/tensorflow,dendisuhubdy/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_saved_model,yanchen036/tensorflow,ZhangXinNan/tensorflow,drpngx/tensorflow,jendap/tensorflow,alsrgv/tensorflow,jbedorf/tensorflow,aselle/tensorflow,kevin-coder/tensorflow-fork,cxxgtxy/tensorflow,theflofly/tensorflow,brchiu/tensorflow,frreiss/tensorflow-fred,hfp/tensorflow-xsmm,petewarden/tensorflow,xzturn/tensorflow,jbedorf/tensorflow,arborh/tensorflow,xodus7/tensorflow,meteorcloudy/tensorflow,aldian/tensorflow,gojira/tensorflow,jendap/tensorflow,manipopopo/tensorflow,gautam1858/tensorflow,jalexvig/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,asimshankar/tensorflow,ppwwyyxx/tensorflow,meteorcloudy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gojira/tensorflow,kobejean/tensorflow,eaplatanios/tensorflow,jalexvig/tensorflow,karllessard/tensorflow,jart/tensorflow,xzturn/tensorflow,ppwwyyxx/tensorflow,jalexvig/tensorflow,meteorcloudy/tensorflow,asimshankar/tensorflow,lukeiwanski/tensorflow,alshedivat/tensorflow,adit-chandra/tensorflow,theflofly/tensorflow,alsrgv/tensorflow,chemelnucfin/tensorflow,dendisuhubdy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,dendisuhubdy/tensorflow,nburn42/tensorflow,adit-chandra/tensorflow,lukeiwanski/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow,aldian/tensorflow,brchiu/tensorflow,snnn/tensorflow,apark263/tensorflow,snnn/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_tf_optimizer,DavidNorman/tensorflow,gautam1858/tensorflow,alsrgv/tensorflow,jbedorf/tensorflow,nburn42/tensorflow,aam-at/tensorflow,seanli9jan/tensorflow,ppwwyyxx/tensorflow,kevin-coder/tensorflow-fork,davidzchen/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,gunan/tensorflow,yanchen036/tensorflow,theflofly/tensorflow,drpngx/tensorflow,asimshankar/tensorflow,gojira/tensorflow,yanchen036/tensorflow,frreiss/tensorflow-fred,Intel-tensorflow/tensorflow,alshedivat/tensorflow,benoitsteiner/tensorflow-xsmm,eaplatanios/tensorflow,benoitsteiner/tensorflow-xsmm,eaplatanios/tensorflow,arborh/tensorflow,arborh/tensorflow