Searched refs:np_fun (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/python/ops/numpy_ops/ |
D | np_utils_test.py | 41 def np_fun(x): function 45 @np_utils.np_doc(None, np_fun=np_fun) 70 def np_fun(x): function 74 @np_utils.np_doc(None, np_fun=np_fun) 90 def np_fun(x): function 94 @np_utils.np_doc(None, np_fun=np_fun) 128 def np_fun(x, y=1, **kwargs): function 132 @np_utils.np_doc(None, np_fun=np_fun) 137 @np_utils.np_doc(None, np_fun=np_fun) 143 @np_utils.np_doc(None, np_fun=np_fun) [all …]
|
D | np_utils.py | 177 def _prepare_np_fun_name_and_fun(np_fun_name, np_fun): argument 193 if np_fun is not None: 194 assert not isinstance(np_fun, str) 195 if np_fun is None: 198 np_fun = getattr(np, str(np_fun_name)) 200 np_fun = None 202 assert np_fun is not None 203 np_fun_name = np_fun.__name__ 204 return np_fun_name, np_fun 368 def np_doc(np_fun_name, np_fun=None, export=True, link=None): argument [all …]
|
D | np_math_ops_test.py | 52 np_fun, argument 65 np_fun(arg1, arg2), 76 np_fun(arg1, arg2), 133 def _testUnaryOp(self, math_fun, np_fun, name): argument 139 math_fun(arg1), np_fun(arg1), msg='{}({})'.format(name, arg1))
|
D | np_array_ops_test.py | 767 def _testReduce(self, math_fun, np_fun, name): argument 785 np_fun(arg1, axis=axis, **kwargs),
|