From db573482f4f8712ff173f9bb511dceef4128228c Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" <gardener@tensorflow.org> Date: Tue, 19 May 2020 16:13:13 -0700 Subject: [PATCH] Add a folder for numpy API PiperOrigin-RevId: 312374580 Change-Id: Ic8be81b738659668814e956d7fd4da7972944257 --- tensorflow/python/ops/numpy/BUILD | 16 ++++++++++++++++ tensorflow/python/ops/numpy/__init__.py | 19 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 tensorflow/python/ops/numpy/BUILD create mode 100644 tensorflow/python/ops/numpy/__init__.py diff --git a/tensorflow/python/ops/numpy/BUILD b/tensorflow/python/ops/numpy/BUILD new file mode 100644 index 00000000000..c5b8828d0d5 --- /dev/null +++ b/tensorflow/python/ops/numpy/BUILD @@ -0,0 +1,16 @@ +# TF numpy API + +package( + default_visibility = [ + "//tensorflow:internal", + ], + licenses = ["notice"], # Apache 2.0 +) + +py_library( + name = "numpy", + srcs = [ + "__init__.py", + ], + srcs_version = "PY2AND3", +) diff --git a/tensorflow/python/ops/numpy/__init__.py b/tensorflow/python/ops/numpy/__init__.py new file mode 100644 index 00000000000..d78a4c3a6fb --- /dev/null +++ b/tensorflow/python/ops/numpy/__init__.py @@ -0,0 +1,19 @@ +# Copyright 2020 The TensorFlow Authors. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# ============================================================================== +"""Tensorflow numpy API.""" + +from __future__ import absolute_import +from __future__ import division +from __future__ import print_function