[XLA:Python] Fix segfaults in to_py() call.
[XLA:Python] Fix segfaults in to_py() call.

We must "initialize" the NumPy array interface in each translation unit.'

PiperOrigin-RevId: 294931799
Change-Id: Ie5cddd4590913d1c32bca4a4661d5e1c0de85191

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