Home
last modified time | relevance | path

Searched refs:apply_along_axis (Results 1 – 4 of 4) sorted by relevance

/third_party/mindspore/mindspore/numpy/
D__init__.py34 rot90, select, array_split, choose, size, array_str, apply_along_axis,
Darray_creations.py39 apply_along_axis, where, moveaxis
2346 arr = apply_along_axis(func, i, arr, pad_width[i], i, kwargs)
Darray_ops.py2260 def apply_along_axis(func1d, axis, arr, *args, **kwargs): function
/third_party/mindspore/tests/st/numpy_native/
Dtest_array_ops.py1524 mnp_res = mnp.apply_along_axis(mnp.diag, i, mnp_arr)
1525 onp_res = onp.apply_along_axis(onp.diag, i, onp_arr)
1527 mnp_res = mnp.apply_along_axis(lambda x: x[0], 2, mnp_arr)
1528 onp_res = onp.apply_along_axis(lambda x: x[0], 2, onp_arr)
1530 … mnp_res = mnp.apply_along_axis(lambda x, y, offset=0: (x[4] - y)*offset, 2, mnp_arr, 1, offset=3)
1531 … onp_res = onp.apply_along_axis(lambda x, y, offset=0: (x[4] - y)*offset, 2, onp_arr, 1, offset=3)