Add missing support for types to ExtractFromIndexPositions.
Add missing support for types to ExtractFromIndexPositions.

Also allow to extract a scalar literal. This will be needed when we support
comparison computations.

PiperOrigin-RevId: 231928350

DavidNorman/tensorflow,alsrgv/tensorflow,arborh/tensorflow,petewarden/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,aldian/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,chemelnucfin/tensorflow,gunan/tensorflow,sarvex/tensorflow,freedomtan/tensorflow,yongtang/tensorflow,DavidNorman/tensorflow,xzturn/tensorflow,yongtang/tensorflow,renyi533/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,kevin-coder/tensorflow-fork,davidzchen/tensorflow,arborh/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,jbedorf/tensorflow,ghchinoy/tensorflow,alsrgv/tensorflow,chemelnucfin/tensorflow,jendap/tensorflow,paolodedios/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,annarev/tensorflow,aldian/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,frreiss/tensorflow-fred,jendap/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,sarvex/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,paolodedios/tensorflow,chemelnucfin/tensorflow,gautam1858/tensorflow,ageron/tensorflow,Intel-tensorflow/tensorflow,alsrgv/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,arborh/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,aldian/tensorflow,renyi533/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,petewarden/tensorflow,aldian/tensorflow,ageron/tensorflow,jbedorf/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,annarev/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,petewarden/tensorflow,ghchinoy/tensorflow,xzturn/tensorflow,ageron/tensorflow,ppwwyyxx/tensorflow,karllessard/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,DavidNorman/tensorflow,kevin-coder/tensorflow-fork,petewarden/tensorflow,aam-at/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,chemelnucfin/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,frreiss/tensorflow-fred,ghchinoy/tensorflow,jbedorf/tensorflow,aam-at/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,kevin-coder/tensorflow-fork,ageron/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,chemelnucfin/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,davidzchen/tensorflow,jendap/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,annarev/tensorflow,aldian/tensorflow,Intel-Corporation/tensorflow,aam-at/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,petewarden/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ghchinoy/tensorflow,xzturn/tensorflow,annarev/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,theflofly/tensorflow,kevin-coder/tensorflow-fork,aam-at/tensorflow,cxxgtxy/tensorflow,yongtang/tensorflow,annarev/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,frreiss/tensorflow-fred,arborh/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,karllessard/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,karllessard/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,alsrgv/tensorflow,alsrgv/tensorflow,renyi533/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,sarvex/tensorflow,sarvex/tensorflow,yongtang/tensorflow,ageron/tensorflow,yongtang/tensorflow,xzturn/tensorflow,renyi533/tensorflow,theflofly/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_saved_model,kevin-coder/tensorflow-fork,gunan/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,ageron/tensorflow,arborh/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,gunan/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,ghchinoy/tensorflow,annarev/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,ppwwyyxx/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,ageron/tensorflow,theflofly/tensorflow,davidzchen/tensorflow,theflofly/tensorflow,renyi533/tensorflow,aam-at/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow,yongtang/tensorflow,annarev/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,karllessard/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gautam1858/tensorflow,gunan/tensorflow,freedomtan/tensorflow,gunan/tensorflow,gunan/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,xzturn/tensorflow,xzturn/tensorflow,kevin-coder/tensorflow-fork,ppwwyyxx/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_tf_optimizer,jhseu/tensorflow,davidzchen/tensorflow,davidzchen/tensorflow,jendap/tensorflow,jhseu/tensorflow,sarvex/tensorflow,ghchinoy/tensorflow,jbedorf/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ageron/tensorflow,renyi533/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,kevin-coder/tensorflow-fork,ghchinoy/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,DavidNorman/tensorflow,xzturn/tensorflow,ghchinoy/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,xzturn/tensorflow,alsrgv/tensorflow,tensorflow/tensorflow,jendap/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,kevin-coder/tensorflow-fork,chemelnucfin/tensorflow,Intel-tensorflow/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,gunan/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,aldian/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,jbedorf/tensorflow,kevin-coder/tensorflow-fork,paolodedios/tensorflow,theflofly/tensorflow,jbedorf/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,paolodedios/tensorflow,ppwwyyxx/tensorflow,theflofly/tensorflow,arborh/tensorflow,arborh/tensorflow,chemelnucfin/tensorflow,theflofly/tensorflow,renyi533/tensorflow,renyi533/tensorflow,davidzchen/tensorflow,karllessard/tensorflow,DavidNorman/tensorflow,arborh/tensorflow,gunan/tensorflow,gautam1858/tensorflow,kevin-coder/tensorflow-fork,chemelnucfin/tensorflow,Intel-Corporation/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,annarev/tensorflow,jhseu/tensorflow,alsrgv/tensorflow,annarev/tensorflow,sarvex/tensorflow,ghchinoy/tensorflow,xzturn/tensorflow,aam-at/tensorflow,ppwwyyxx/tensorflow,petewarden/tensorflow,adit-chandra/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,jbedorf/tensorflow,theflofly/tensorflow,jbedorf/tensorflow,ageron/tensorflow,gunan/tensorflow,jendap/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,chemelnucfin/tensorflow,chemelnucfin/tensorflow,jhseu/tensorflow,ageron/tensorflow,adit-chandra/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,alsrgv/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,chemelnucfin/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,ageron/tensorflow,gunan/tensorflow,jendap/tensorflow,DavidNorman/tensorflow,jendap/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,renyi533/tensorflow,ppwwyyxx/tensorflow,xzturn/tensorflow,alsrgv/tensorflow,renyi533/tensorflow,cxxgtxy/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,arborh/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,jhseu/tensorflow,annarev/tensorflow,aam-at/tensorflow,karllessard/tensorflow,aam-at/tensorflow,jendap/tensorflow,Intel-Corporation/tensorflow,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,ageron/tensorflow,theflofly/tensorflow,ghchinoy/tensorflow,DavidNorman/tensorflow,alsrgv/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,jendap/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,alsrgv/tensorflow,jbedorf/tensorflow,cxxgtxy/tensorflow,kevin-coder/tensorflow-fork,yongtang/tensorflow,Intel-tensorflow/tensorflow,cxxgtxy/tensorflow,paolodedios/tensorflow,theflofly/tensorflow,karllessard/tensorflow,ppwwyyxx/tensorflow,gunan/tensorflow,jendap/tensorflow,theflofly/tensorflow