[TF-numpy] Adds some constants.

PiperOrigin-RevId: 317421570
Change-Id: I467e979095fbd2311a64913e6419ca8317f68734
This commit is contained in:
Peng Wang 2020-06-19 19:42:33 -07:00 committed by TensorFlower Gardener
parent 7ee328496f
commit 09ec15539e

View File

@ -40,6 +40,11 @@ from tensorflow.python.ops.numpy_ops import np_dtypes
from tensorflow.python.ops.numpy_ops import np_utils from tensorflow.python.ops.numpy_ops import np_utils
pi = np.pi
e = np.e
inf = np.inf
@np_utils.np_doc_only('dot') @np_utils.np_doc_only('dot')
def dot(a, b): # pylint: disable=missing-docstring def dot(a, b): # pylint: disable=missing-docstring