Templatize linalg::LowerToLoops - NFC
Templatize linalg::LowerToLoops - NFC

This modification will allow to easily plug lowering of linalg ops to different types of loops (affine, loop.for and other future constructs).
This is purely NFC for now.

PiperOrigin-RevId: 280652186

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