Home
last modified time | relevance | path

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

/third_party/mindspore/mindspore/numpy/
Dutils.py22 from .utils_const import _tile_size, _add_unit_axes, _raise_type_error, _type_convert, \
80 shape = _add_unit_axes(F.shape(x), ndim, axis == -1)
Darray_ops.py29 _check_same_type, _check_axis_valid, _add_unit_axes, _broadcast_tuples, \
1226 reps = _add_unit_axes(reps, ndim)
1228 shape = _add_unit_axes(shape, len(reps))
2177 …choices = F.reshape(choices, choices.shape[:1] + _add_unit_axes(choices.shape[1:], len(shape_choic…
Dutils_const.py365 def _add_unit_axes(shape, ndim, append=False): function
Dmath_ops.py42 _check_dtype, _list_comprehensions, _tuple_setitem, _add_unit_axes, _seq_prod, \
2880 a = F.reshape(a, _add_unit_axes(shape_a, 2*ndim, True))
2881 a = F.tile(a, _add_unit_axes(shape_b, 2*ndim, False))