NFC - Handle IndexedValue corner case
NFC - Handle IndexedValue corner case

Implicit conversion don't play nicely in expressions such as:
`C() = A(i) * B(i)`.

Make `C()` return an IndexedValue instead of casting to ValueHandle.
This prevents double capture errors and is useful for the tutorial.

PiperOrigin-RevId: 240863223

paolodedios/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,cxxgtxy/tensorflow,arborh/tensorflow,arborh/tensorflow,tensorflow/tensorflow-pywrap_saved_model,freedomtan/tensorflow,renyi533/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,adit-chandra/tensorflow,sarvex/tensorflow,xzturn/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow,petewarden/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,davidzchen/tensorflow,aam-at/tensorflow,Intel-Corporation/tensorflow,annarev/tensorflow,renyi533/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,arborh/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,freedomtan/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,cxxgtxy/tensorflow,DavidNorman/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,petewarden/tensorflow,aldian/tensorflow,gautam1858/tensorflow,freedomtan/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,xzturn/tensorflow,adit-chandra/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,aldian/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,adit-chandra/tensorflow,cxxgtxy/tensorflow,aam-at/tensorflow,paolodedios/tensorflow,aldian/tensorflow,aam-at/tensorflow,renyi533/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,gautam1858/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,sarvex/tensorflow,tensorflow/tensorflow-pywrap_saved_model,adit-chandra/tensorflow,karllessard/tensorflow,yongtang/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,renyi533/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_saved_model,petewarden/tensorflow,annarev/tensorflow,ppwwyyxx/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,gunan/tensorflow,petewarden/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_saved_model,arborh/tensorflow,aam-at/tensorflow,jhseu/tensorflow,karllessard/tensorflow,sarvex/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ppwwyyxx/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,jhseu/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,petewarden/tensorflow,Intel-tensorflow/tensorflow,jhseu/tensorflow,Intel-Corporation/tensorflow,aldian/tensorflow,freedomtan/tensorflow,petewarden/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,renyi533/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,ppwwyyxx/tensorflow,jhseu/tensorflow,yongtang/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,Intel-tensorflow/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,arborh/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,DavidNorman/tensorflow,frreiss/tensorflow-fred,jhseu/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,Intel-tensorflow/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,adit-chandra/tensorflow,gunan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,yongtang/tensorflow,gunan/tensorflow,frreiss/tensorflow-fred,freedomtan/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,yongtang/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,frreiss/tensorflow-fred,tensorflow/tensorflow,arborh/tensorflow,Intel-tensorflow/tensorflow,paolodedios/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,DavidNorman/tensorflow,gunan/tensorflow,davidzchen/tensorflow,sarvex/tensorflow,karllessard/tensorflow,DavidNorman/tensorflow,freedomtan/tensorflow,Intel-Corporation/tensorflow,freedomtan/tensorflow,arborh/tensorflow,aldian/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,xzturn/tensorflow,karllessard/tensorflow,annarev/tensorflow,gunan/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,frreiss/tensorflow-fred,yongtang/tensorflow,aam-at/tensorflow,aam-at/tensorflow,annarev/tensorflow,aldian/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,frreiss/tensorflow-fred,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,yongtang/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,cxxgtxy/tensorflow,arborh/tensorflow,freedomtan/tensorflow,gautam1858/tensorflow,xzturn/tensorflow,arborh/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,gunan/tensorflow,gunan/tensorflow,yongtang/tensorflow,petewarden/tensorflow,tensorflow/tensorflow,renyi533/tensorflow,ppwwyyxx/tensorflow,DavidNorman/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,petewarden/tensorflow,renyi533/tensorflow,aam-at/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,karllessard/tensorflow,karllessard/tensorflow,paolodedios/tensorflow,Intel-Corporation/tensorflow,Intel-Corporation/tensorflow,karllessard/tensorflow,cxxgtxy/tensorflow,renyi533/tensorflow,tensorflow/tensorflow,arborh/tensorflow,tensorflow/tensorflow,annarev/tensorflow,xzturn/tensorflow,freedomtan/tensorflow,renyi533/tensorflow,annarev/tensorflow,sarvex/tensorflow,renyi533/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,aldian/tensorflow,sarvex/tensorflow,renyi533/tensorflow,frreiss/tensorflow-fred,davidzchen/tensorflow,paolodedios/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,freedomtan/tensorflow,paolodedios/tensorflow,jhseu/tensorflow,annarev/tensorflow,tensorflow/tensorflow,Intel-tensorflow/tensorflow,karllessard/tensorflow,annarev/tensorflow,sarvex/tensorflow,sarvex/tensorflow,arborh/tensorflow,xzturn/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_saved_model,xzturn/tensorflow,xzturn/tensorflow,davidzchen/tensorflow,cxxgtxy/tensorflow,gautam1858/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-pywrap_saved_model,cxxgtxy/tensorflow,freedomtan/tensorflow,davidzchen/tensorflow,yongtang/tensorflow