Adds NumPy LICENSE and lists of NumPy API symbols that `tf.experimental.numpy` implements to tensorflow/third_party/py/numpy/

PiperOrigin-RevId: 317755065
Change-Id: I0efd21b4bf917b7f14ec30e0b5710954844de448
This commit is contained in:
Peng Wang 2020-06-22 16:08:32 -07:00 committed by TensorFlower Gardener
parent b5adbbcf0e
commit 76ac3e6a5f
5 changed files with 1052 additions and 0 deletions

60
third_party/py/numpy/LICENSE vendored Normal file
View File

@ -0,0 +1,60 @@
Copyright (c) 2005-2019, NumPy Developers.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of the NumPy Developers nor the names of any
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
The NumPy repository and source distributions bundle several libraries that are
compatibly licensed. We list these here.
Name: Numpydoc
Files: doc/sphinxext/numpydoc/*
License: 2-clause BSD
For details, see doc/sphinxext/LICENSE.txt
Name: scipy-sphinx-theme
Files: doc/scipy-sphinx-theme/*
License: 3-clause BSD, PSF and Apache 2.0
For details, see doc/scipy-sphinx-theme/LICENSE.txt
Name: lapack-lite
Files: numpy/linalg/lapack_lite/*
License: 3-clause BSD
For details, see numpy/linalg/lapack_lite/LICENSE.txt
Name: tempita
Files: tools/npy_tempita/*
License: BSD derived
For details, see tools/npy_tempita/license.txt
Name: dragon4
Files: numpy/core/src/multiarray/dragon4.c
License: One of a kind
For license text, see numpy/core/src/multiarray/dragon4.c

4
third_party/py/numpy/README.md vendored Normal file
View File

@ -0,0 +1,4 @@
# numpy_ops
The folder tf_numpy_api/ contains lists of NumPy API symbols that the
`numpy_ops` internal module in TensorFlow implements.

View File

@ -0,0 +1,58 @@
path: "numpy_ops.ndarray"
tf_class {
is_instance: "<class \'tensorflow.python.ops.numpy_ops.np_arrays.ndarray\'>"
is_instance: "<class \'tensorflow.python.framework.composite_tensor.CompositeTensor\'>"
is_instance: "<type \'object\'>"
member {
name: "T"
mtype: "<type \'property\'>"
}
member {
name: "data"
mtype: "<type \'property\'>"
}
member {
name: "dtype"
mtype: "<type \'property\'>"
}
member {
name: "ndim"
mtype: "<type \'property\'>"
}
member {
name: "shape"
mtype: "<type \'property\'>"
}
member {
name: "size"
mtype: "<type \'property\'>"
}
member_method {
name: "__init__"
argspec: "args=[\'self\', \'shape\', \'dtype\', \'buffer\'], varargs=None, keywords=None, defaults=[\"<class \'float\'>\", \'None\'], "
}
member_method {
name: "astype"
argspec: "args=[\'self\', \'dtype\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "from_tensor"
argspec: "args=[\'cls\', \'tensor\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "ravel"
argspec: "args=[\'a\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "reshape"
argspec: "args=[\'a\'], varargs=newshape, keywords=kwargs, defaults=None"
}
member_method {
name: "tolist"
argspec: "args=[\'self\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "transpose"
argspec: "args=[\'a\', \'axes\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
}

View File

@ -0,0 +1,903 @@
path: "numpy_ops"
tf_module {
member {
name: "bool_"
mtype: "<type \'type\'>"
}
member {
name: "complex128"
mtype: "<type \'type\'>"
}
member {
name: "complex64"
mtype: "<type \'type\'>"
}
member {
name: "complex_"
mtype: "<type \'type\'>"
}
member {
name: "e"
mtype: "<class \'float\'>"
}
member {
name: "float16"
mtype: "<type \'type\'>"
}
member {
name: "float32"
mtype: "<type \'type\'>"
}
member {
name: "float64"
mtype: "<type \'type\'>"
}
member {
name: "float_"
mtype: "<type \'type\'>"
}
member {
name: "iinfo"
mtype: "<type \'type\'>"
}
member {
name: "inexact"
mtype: "<type \'type\'>"
}
member {
name: "inf"
mtype: "<class \'float\'>"
}
member {
name: "int16"
mtype: "<type \'type\'>"
}
member {
name: "int32"
mtype: "<type \'type\'>"
}
member {
name: "int64"
mtype: "<type \'type\'>"
}
member {
name: "int8"
mtype: "<type \'type\'>"
}
member {
name: "int_"
mtype: "<type \'type\'>"
}
member {
name: "ndarray"
mtype: "<type \'type\'>"
}
member {
name: "object_"
mtype: "<type \'type\'>"
}
member {
name: "pi"
mtype: "<class \'float\'>"
}
member {
name: "random"
mtype: "<type \'module\'>"
}
member {
name: "string_"
mtype: "<type \'type\'>"
}
member {
name: "uint16"
mtype: "<type \'type\'>"
}
member {
name: "uint32"
mtype: "<type \'type\'>"
}
member {
name: "uint64"
mtype: "<type \'type\'>"
}
member {
name: "uint8"
mtype: "<type \'type\'>"
}
member {
name: "unicode_"
mtype: "<type \'type\'>"
}
member_method {
name: "abs"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "absolute"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "add"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "all"
argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "allclose"
argspec: "args=[\'a\', \'b\', \'rtol\', \'atol\', \'equal_nan\'], varargs=None, keywords=None, defaults=[\'1e-05\', \'1e-08\', \'False\'], "
}
member_method {
name: "amax"
argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "amin"
argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "angle"
argspec: "args=[\'z\', \'deg\'], varargs=None, keywords=None, defaults=[\'False\'], "
}
member_method {
name: "any"
argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "append"
argspec: "args=[\'arr\', \'values\', \'axis\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "arange"
argspec: "args=[\'start\', \'stop\', \'step\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\', \'1\', \'None\'], "
}
member_method {
name: "arccos"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "arccosh"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "arcsin"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "arcsinh"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "arctan"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "arctan2"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "arctanh"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "argmax"
argspec: "args=[\'a\', \'axis\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "argmin"
argspec: "args=[\'a\', \'axis\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "argsort"
argspec: "args=[\'a\', \'axis\', \'kind\', \'order\'], varargs=None, keywords=None, defaults=[\'-1\', \'quicksort\', \'None\'], "
}
member_method {
name: "around"
argspec: "args=[\'a\', \'decimals\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "array"
argspec: "args=[\'val\', \'dtype\', \'copy\', \'ndmin\'], varargs=None, keywords=None, defaults=[\'None\', \'True\', \'0\'], "
}
member_method {
name: "array_equal"
argspec: "args=[\'a1\', \'a2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "asanyarray"
argspec: "args=[\'a\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "asarray"
argspec: "args=[\'a\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "ascontiguousarray"
argspec: "args=[\'a\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "atleast_1d"
argspec: "args=[], varargs=arys, keywords=None, defaults=None"
}
member_method {
name: "atleast_2d"
argspec: "args=[], varargs=arys, keywords=None, defaults=None"
}
member_method {
name: "atleast_3d"
argspec: "args=[], varargs=arys, keywords=None, defaults=None"
}
member_method {
name: "average"
argspec: "args=[\'a\', \'axis\', \'weights\', \'returned\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'False\'], "
}
member_method {
name: "bitwise_and"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "bitwise_not"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "bitwise_or"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "bitwise_xor"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "broadcast_arrays"
argspec: "args=[], varargs=args, keywords=kwargs, defaults=None"
}
member_method {
name: "broadcast_to"
argspec: "args=[\'array\', \'shape\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "cbrt"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "ceil"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "clip"
argspec: "args=[\'a\', \'a_min\', \'a_max\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "compress"
argspec: "args=[\'condition\', \'a\', \'axis\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "concatenate"
argspec: "args=[\'arys\', \'axis\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "conj"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "conjugate"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "copy"
argspec: "args=[\'a\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "cos"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "cosh"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "count_nonzero"
argspec: "args=[\'a\', \'axis\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "cross"
argspec: "args=[\'a\', \'b\', \'axisa\', \'axisb\', \'axisc\', \'axis\'], varargs=None, keywords=None, defaults=[\'-1\', \'-1\', \'-1\', \'None\'], "
}
member_method {
name: "cumprod"
argspec: "args=[\'a\', \'axis\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "cumsum"
argspec: "args=[\'a\', \'axis\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "deg2rad"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "diag"
argspec: "args=[\'v\', \'k\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "diag_indices"
argspec: "args=[\'n\', \'ndim\'], varargs=None, keywords=None, defaults=[\'2\'], "
}
member_method {
name: "diagflat"
argspec: "args=[\'v\', \'k\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "diagonal"
argspec: "args=[\'a\', \'offset\', \'axis1\', \'axis2\'], varargs=None, keywords=None, defaults=[\'0\', \'0\', \'1\'], "
}
member_method {
name: "diff"
argspec: "args=[\'a\', \'n\', \'axis\'], varargs=None, keywords=None, defaults=[\'1\', \'-1\'], "
}
member_method {
name: "divide"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "divmod"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "dot"
argspec: "args=[\'a\', \'b\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "dsplit"
argspec: "args=[\'ary\', \'indices_or_sections\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "dstack"
argspec: "args=[\'tup\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "einsum"
argspec: "args=[\'subscripts\'], varargs=operands, keywords=kwargs, defaults=None"
}
member_method {
name: "empty"
argspec: "args=[\'shape\', \'dtype\'], varargs=None, keywords=None, defaults=[\"<class \'float\'>\"], "
}
member_method {
name: "empty_like"
argspec: "args=[\'a\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "equal"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "exp"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "exp2"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "expand_dims"
argspec: "args=[\'a\', \'axis\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "expm1"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "eye"
argspec: "args=[\'N\', \'M\', \'k\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\', \'0\', \"<class \'float\'>\"], "
}
member_method {
name: "fabs"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "finfo"
argspec: "args=[\'dtype\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "fix"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "flip"
argspec: "args=[\'m\', \'axis\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "fliplr"
argspec: "args=[\'m\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "flipud"
argspec: "args=[\'m\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "float_power"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "floor"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "floor_divide"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "full"
argspec: "args=[\'shape\', \'fill_value\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "full_like"
argspec: "args=[\'a\', \'fill_value\', \'dtype\', \'order\', \'subok\', \'shape\'], varargs=None, keywords=None, defaults=[\'None\', \'K\', \'True\', \'None\'], "
}
member_method {
name: "gcd"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "geomspace"
argspec: "args=[\'start\', \'stop\', \'num\', \'endpoint\', \'dtype\', \'axis\'], varargs=None, keywords=None, defaults=[\'50\', \'True\', \'None\', \'0\'], "
}
member_method {
name: "greater"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "greater_equal"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "heaviside"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "hsplit"
argspec: "args=[\'ary\', \'indices_or_sections\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "hstack"
argspec: "args=[\'tup\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "hypot"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "identity"
argspec: "args=[\'n\', \'dtype\'], varargs=None, keywords=None, defaults=[\"<class \'float\'>\"], "
}
member_method {
name: "imag"
argspec: "args=[\'a\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "inner"
argspec: "args=[\'a\', \'b\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "isclose"
argspec: "args=[\'a\', \'b\', \'rtol\', \'atol\', \'equal_nan\'], varargs=None, keywords=None, defaults=[\'1e-05\', \'1e-08\', \'False\'], "
}
member_method {
name: "iscomplex"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "iscomplexobj"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "isfinite"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "isinf"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "isnan"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "isneginf"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "isposinf"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "isreal"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "isrealobj"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "isscalar"
argspec: "args=[\'a\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "issubdtype"
argspec: "args=[\'arg1\', \'arg2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "ix_"
argspec: "args=[], varargs=args, keywords=None, defaults=None"
}
member_method {
name: "kron"
argspec: "args=[\'a\', \'b\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "lcm"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "less"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "less_equal"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "linspace"
argspec: "args=[\'start\', \'stop\', \'num\', \'endpoint\', \'retstep\', \'dtype\', \'axis\'], varargs=None, keywords=None, defaults=[\'50\', \'True\', \'False\', \"<class \'float\'>\", \'0\'], "
}
member_method {
name: "log"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "log10"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "log1p"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "log2"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "logaddexp"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "logaddexp2"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "logical_and"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "logical_not"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "logical_or"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "logical_xor"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "logspace"
argspec: "args=[\'start\', \'stop\', \'num\', \'endpoint\', \'base\', \'dtype\', \'axis\'], varargs=None, keywords=None, defaults=[\'50\', \'True\', \'10.0\', \'None\', \'0\'], "
}
member_method {
name: "matmul"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "max"
argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "maximum"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "mean"
argspec: "args=[\'a\', \'axis\', \'dtype\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'None\'], "
}
member_method {
name: "meshgrid"
argspec: "args=[], varargs=xi, keywords=kwargs, defaults=None"
}
member_method {
name: "min"
argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "minimum"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "mod"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "moveaxis"
argspec: "args=[\'a\', \'source\', \'destination\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "multiply"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "nanmean"
argspec: "args=[\'a\', \'axis\', \'dtype\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'None\'], "
}
member_method {
name: "nanprod"
argspec: "args=[\'a\', \'axis\', \'dtype\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'False\'], "
}
member_method {
name: "nansum"
argspec: "args=[\'a\', \'axis\', \'dtype\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'False\'], "
}
member_method {
name: "ndim"
argspec: "args=[\'a\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "negative"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "nextafter"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "nonzero"
argspec: "args=[\'a\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "not_equal"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "ones"
argspec: "args=[\'shape\', \'dtype\'], varargs=None, keywords=None, defaults=[\"<class \'float\'>\"], "
}
member_method {
name: "ones_like"
argspec: "args=[\'a\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "outer"
argspec: "args=[\'a\', \'b\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "pad"
argspec: "args=[\'ary\', \'pad_width\', \'mode\', \'constant_values\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "polyval"
argspec: "args=[\'p\', \'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "positive"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "power"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "prod"
argspec: "args=[\'a\', \'axis\', \'dtype\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'None\'], "
}
member_method {
name: "promote_types"
argspec: "args=[\'type1\', \'type2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "ptp"
argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "rad2deg"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "ravel"
argspec: "args=[\'a\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "real"
argspec: "args=[\'val\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "reciprocal"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "remainder"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "repeat"
argspec: "args=[\'a\', \'repeats\', \'axis\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "reshape"
argspec: "args=[\'a\', \'newshape\', \'order\'], varargs=None, keywords=None, defaults=[\'C\'], "
}
member_method {
name: "result_type"
argspec: "args=[], varargs=arrays_and_dtypes, keywords=None, defaults=None"
}
member_method {
name: "roll"
argspec: "args=[\'a\', \'shift\', \'axis\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "rot90"
argspec: "args=[\'m\', \'k\', \'axes\'], varargs=None, keywords=None, defaults=[\'1\', \'(0, 1)\'], "
}
member_method {
name: "round"
argspec: "args=[\'a\', \'decimals\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "select"
argspec: "args=[\'condlist\', \'choicelist\', \'default\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "shape"
argspec: "args=[\'a\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "sign"
argspec: "args=[\'x\', \'out\', \'where\'], varargs=None, keywords=kwargs, defaults=[\'None\', \'None\'], "
}
member_method {
name: "signbit"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "sin"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "sinc"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "sinh"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "sort"
argspec: "args=[\'a\', \'axis\', \'kind\', \'order\'], varargs=None, keywords=None, defaults=[\'-1\', \'quicksort\', \'None\'], "
}
member_method {
name: "split"
argspec: "args=[\'ary\', \'indices_or_sections\', \'axis\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "sqrt"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "square"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "squeeze"
argspec: "args=[\'a\', \'axis\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "stack"
argspec: "args=[\'arrays\', \'axis\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "std"
argspec: "args=[\'a\', \'axis\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "subtract"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "sum"
argspec: "args=[\'a\', \'axis\', \'dtype\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'None\'], "
}
member_method {
name: "swapaxes"
argspec: "args=[\'a\', \'axis1\', \'axis2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "take"
argspec: "args=[\'a\', \'indices\', \'axis\', \'out\', \'mode\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'clip\'], "
}
member_method {
name: "take_along_axis"
argspec: "args=[\'arr\', \'indices\', \'axis\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "tan"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "tanh"
argspec: "args=[\'x\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "tensordot"
argspec: "args=[\'a\', \'b\', \'axes\'], varargs=None, keywords=None, defaults=[\'2\'], "
}
member_method {
name: "tile"
argspec: "args=[\'a\', \'reps\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "trace"
argspec: "args=[\'a\', \'offset\', \'axis1\', \'axis2\', \'dtype\'], varargs=None, keywords=None, defaults=[\'0\', \'0\', \'1\', \'None\'], "
}
member_method {
name: "transpose"
argspec: "args=[\'a\', \'axes\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "tri"
argspec: "args=[\'N\', \'M\', \'k\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\', \'0\', \'None\'], "
}
member_method {
name: "tril"
argspec: "args=[\'m\', \'k\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "triu"
argspec: "args=[\'m\', \'k\'], varargs=None, keywords=None, defaults=[\'0\'], "
}
member_method {
name: "true_divide"
argspec: "args=[\'x1\', \'x2\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "vander"
argspec: "args=[\'x\', \'N\', \'increasing\'], varargs=None, keywords=None, defaults=[\'None\', \'False\'], "
}
member_method {
name: "var"
argspec: "args=[\'a\', \'axis\', \'dtype\', \'out\', \'ddof\', \'keepdims\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \'None\', \'0\', \'None\'], "
}
member_method {
name: "vdot"
argspec: "args=[\'a\', \'b\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "vsplit"
argspec: "args=[\'ary\', \'indices_or_sections\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "vstack"
argspec: "args=[\'tup\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "where"
argspec: "args=[\'condition\', \'x\', \'y\'], varargs=None, keywords=None, defaults=[\'None\', \'None\'], "
}
member_method {
name: "zeros"
argspec: "args=[\'shape\', \'dtype\'], varargs=None, keywords=None, defaults=[\"<class \'float\'>\"], "
}
member_method {
name: "zeros_like"
argspec: "args=[\'a\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
}

View File

@ -0,0 +1,27 @@
path: "numpy_ops.random"
tf_module {
member_method {
name: "rand"
argspec: "args=[], varargs=size, keywords=None, defaults=None"
}
member_method {
name: "randint"
argspec: "args=[\'low\', \'high\', \'size\', \'dtype\'], varargs=None, keywords=None, defaults=[\'None\', \'None\', \"<class \'int\'>\"], "
}
member_method {
name: "randn"
argspec: "args=[], varargs=args, keywords=None, defaults=None"
}
member_method {
name: "random"
argspec: "args=[\'size\'], varargs=None, keywords=None, defaults=[\'None\'], "
}
member_method {
name: "seed"
argspec: "args=[\'s\'], varargs=None, keywords=None, defaults=None"
}
member_method {
name: "uniform"
argspec: "args=[\'low\', \'high\', \'size\'], varargs=None, keywords=None, defaults=[\'0.0\', \'1.0\', \'None\'], "
}
}