Rewrite the 'rectangularness' computation. Since 'rectangularness' is now the largest-scale subdivision, it should not (anymore) have anything to do with the kernel layout. Rectangularness is now nothing but the shape 'aspect ratio', (rows/columns), of the destination matrix. This keeps concepts simpler and more orthogonal -- rectangularness is a property of the destination matrix alone, orthogonal to kernel. This will allow writing better, simpler block_map logic.
Rewrite the 'rectangularness' computation. Since 'rectangularness' is now the largest-scale subdivision, it should not (anymore) have anything to do with the kernel layout. Rectangularness is now nothing but the shape 'aspect ratio', (rows/columns), of the destination matrix. This keeps concepts simpler and more orthogonal -- rectangularness is a property of the destination matrix alone, orthogonal to kernel. This will allow writing better, simpler block_map logic.

PiperOrigin-RevId: 270108416

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