aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/client/tf_session_helper.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/client/tf_session_helper.cc')
-rw-r--r--tensorflow/python/client/tf_session_helper.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/tensorflow/python/client/tf_session_helper.cc b/tensorflow/python/client/tf_session_helper.cc
index 5ffcc514d5..0eba9b8569 100644
--- a/tensorflow/python/client/tf_session_helper.cc
+++ b/tensorflow/python/client/tf_session_helper.cc
@@ -13,10 +13,6 @@ See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
-// We define the PY_ARRAY_UNIQUE_SYMBOL in this .cc file and provide an
-// ImportNumpy function to populate it.
-#define TF_IMPORT_NUMPY
-
#include "tensorflow/python/client/tf_session_helper.h"
#include <cstring>
@@ -636,8 +632,6 @@ void TF_PRun_wrapper(TF_Session* session, const char* handle,
NameVector(), out_status, out_values, nullptr);
}
-void ImportNumpy() { import_array1(); }
-
string EqualGraphDefWrapper(const string& actual, const string& expected) {
GraphDef actual_def;
if (!actual_def.ParseFromString(actual)) {